Vault7: CIA Hacking Tools Revealed
Navigation: » Latest version
Common Issues
error "'module' object has no attribute '__main_leaf__'"
After running remote_commit, sometimes all tests fail with the above error. It means there's a clock sync issue between the commit environment and the test server. Because python uses the datestamp to figure out if it should recompile *.pyc's, having incorrect clocks can mess things up.
I'm not sure why things will work a lot, and then suddenly fail, but either of the following should fix it:
- Reset your clock in your dev VMVirtual Machine back a few minutes/hours/whatever
- Remove all *.pyc files from everywhere - your environment and your directory on the server (/proj/testing/commits/YOUR_NAME/)
Overmind tests pause and no images get reaped/reverted
The symptoms here is that a test stays "running" for a long long time, but digging in to test case just has a run_task.log showing that no reaping is going on. If this is the case, the reaper process has died on the test server. Log in as root and run '/etc/init.d/reaper restart'
Test Server remote_commits runs s. l.. o... w....
Sometimes the Linux test server just starts running very slow. This is likely due to "defunct" processes stuck running. Log in to the test server as root and carefully kill processes that are hogging resources and defunct.