Bug: `run_athena` job failing because of `check_jo_consistency` checks
When running in CI run_athena
gives the following:
18:39:53 Shortened traceback (most recent user call last):
18:39:53 File "/cvmfs/atlas.cern.ch/repo/sw/software/21.6/AthGeneration/21.6.13/InstallArea/x86_64-slc6-gcc62-opt/jobOptions/EvgenJobTransforms/skel.GENtoEVGEN.py", line 246, in <module>
18:39:53 include(check_jofiles)
18:39:53 File "/cvmfs/atlas.cern.ch/repo/sw/Generators/MC16JobOptions/scripts/check_jo_consistency.py", line 128, in <module>
18:39:53 main()
18:39:53 File "/cvmfs/atlas.cern.ch/repo/sw/Generators/MC16JobOptions/scripts/check_jo_consistency.py", line 123, in main
18:39:53 check_mc15includes(file)
18:39:53 File "/cvmfs/atlas.cern.ch/repo/sw/Generators/MC16JobOptions/scripts/check_jo_consistency.py", line 98, in check_mc15includes
18:39:53 with open(file) as f:
18:39:53 IOError: [Errno 2] No such file or directory: '421xxx/421305/mc.Sh_288_Wmunu_EnhLogPtV.py'
18:39:53 Py:Athena INFO leaving with code 8: "an unknown exception occurred"
This is because of /cvmfs/atlas.cern.ch/repo/sw/Generators/MC16JobOptions/scripts/check_jo_consistency.py L123.
/cvmfs/atlas.cern.ch/repo/sw/Generators/MC16JobOptions/scripts/check_jo_consistency.py
returns in this case:
421xxx/421999/mc.Sh_228_Wmunu_EnhLogPtV.py
so when running from 421xxx/tmp_421999
the python file can't locate the jo file.