dmwm / CRABServer

16 stars 38 forks source link

make possible to run validation tests in parallel #8755

Open belforte opened 3 weeks ago

belforte commented 3 weeks ago

in the new CI pipeline based on GitLab runner, we have hit the situation where two scripts run at same time creating races in accessing ~/.crab3 cache file.

Should modify test script so that every crab command explicitly uses -d <directory> option. And also point CRAB3_CRAB_CACHE to /dev/null to avoid possible access conflicts, see https://github.com/dmwm/CRABClient/issues/5337

That will allow running CCV in parallel with other tests. CV is not straightforward, since having -d option or not should ideally part of the test itself.

It looks to me that ST test is safe on this regard. But should be reviewed.