Test error from trunk
I noticed that I was seeing an error in test_ReduceCppGlobalPID.py in the merge branch recently. I did not manifest itself on the test server however. I have now checked this on different machines however and it persists and is now all part of the latest release. It looks like something trivial to solve but I think it is real even if it only shows up on some machines. See the attached for details.
Updated by Dobbs, Adam over 9 years ago
More interesting the more I look at it. The directories do exist, but are empty after the test terminates. I have tried removing them from the command line and then re-running the test, but the same error crops up. As far as I can tell the right command to remove a directory tree in python is being used by the test (shutil.rmtree) and when I tried to remove one of those directories by hand in python, it did it without problem.
Note: I see the same thing running on both the Imperial HEP machines running CentOS, and the RAL PPD cluster, both using a clean version of MAUS-v0.8.3 (I think I tried it on my Ubuntu laptop too...)
Updated by Rajaram, Durga over 9 years ago
What are the file permissions for the directory(ies) that are left hanging around?
I have pushed a fix to lp:~durga/maus/1435
asking it to forcibly remove the directory with rm -rf
#shutil.rmtree(PDFdirectory) os.system('rm -rf %s' % PDFdirectory)
I can't reproduce the error here, so can you try it and let me know if the fix resolves the problem?