Race condition between tests
The failure of DaVinciExamples.tupling.test_davinci_tupling_from_hlt2 exposes an intermittent issue. Some tests seem to write to the same file (in this case tuple_D0_Kpi_10evts.root
) and this leads to problems (file corruption). This seems to happen quite rarely (I didn't find other instances of this happening from a quick look).
Traceback (most recent call last):
File "/workspace/build/LHCb/InstallArea/x86_64_v2-centos7-clang12-opt/python/GaudiConf/QMTest/LHCbTest.py", line 286, in ValidateOutput
return super(LHCbTest, self).ValidateOutput(stdout, stderr, result)
File "/workspace/build/Gaudi/InstallArea/x86_64_v2-centos7-clang12-opt/python/GaudiTesting/QMTTest.py", line 137, in ValidateOutput
exec(self.validator, globals(), exported_symbols)
File "<string>", line 90, in <module>
File "/cvmfs/lhcb.cern.ch/lib/lcg/releases/ROOT/6.24.06-a63a9/x86_64-centos7-clang12-opt/lib/ROOT/pythonization/_tfile.py", line 67, in _TFileOpen
raise OSError('Failed to open file {}'.format(str(args[0])))
OSError: Failed to open file ./tuple_D0_Kpi_10evts.root
/cc @dfazzini