Oh, this feature has an issue on buildbots. For the 2 workers which allows more than 1 job in parallel, cleantest removes working directories of other running tests...
"x86 Gentoo Installed with X 3.7" is fighting with "x86 Gentoo Installed with X 3.8" for example: when a 3.8 job started, it removed working directories of 2 tests of the 3.7 job. This buildbot uses a single temporary directory for all Python branches: /buildbot/tmp/tmpdir.
I'm not sure how to fix this issue:
* Modify buildbot configuration to ensure that each branch uses a dedicated temporary directory.
* Modify regrtest to check if process <pid> is still running when deleting test_python_<pid>.
* Another idea? |