Skip to content

Fix Run2 check with CA flags in LLPToolsConfig

Thomas Strebler requested to merge LLPTools_CAFlags into main

Follow up to !61580 (merged)

Fix LLP1 failure https://bigpanda.cern.ch/art/jobs/?package=DerivationFrameworkEventAugmentationART&branch=main/Athena/x86_64-centos7-gcc11-opt&ntag_full=2023-09-25T2101

04:00:24 Traceback (most recent call last):
04:00:24   File "/srv/workDir/./runargs.Derivation.py", line 54, in <module>
04:00:24     fromRunArgs(runArgs)
04:00:24   File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/main_Athena_x86_64-centos7-gcc11-opt/2023-09-25T2101/Athena/24.0.13/InstallArea/x86_64-centos7-gcc11-opt/python/DerivationFrameworkConfiguration/DerivationSkeleton.py", line 120, in fromRunArgs
04:00:24     cfg.merge(derivationConfig(flags))
04:00:24   File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/main_Athena_x86_64-centos7-gcc11-opt/2023-09-25T2101/Athena/24.0.13/InstallArea/x86_64-centos7-gcc11-opt/python/DerivationFrameworkLLP/LLP1.py", line 446, in LLP1Cfg
04:00:24     acc.merge(LLP1KernelCfg(ConfigFlags, name="LLP1Kernel", StreamName = 'StreamDAOD_LLP1', TriggerListsHelper = LLP1TriggerListsHelper))
04:00:24   File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/main_Athena_x86_64-centos7-gcc11-opt/2023-09-25T2101/Athena/24.0.13/InstallArea/x86_64-centos7-gcc11-opt/python/DerivationFrameworkLLP/LLP1.py", line 132, in LLP1KernelCfg
04:00:24     acc.merge(LRTElectronLHSelectorsCfg(ConfigFlags))
04:00:24   File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/main_Athena_x86_64-centos7-gcc11-opt/2023-09-25T2101/Athena/24.0.13/InstallArea/x86_64-centos7-gcc11-opt/python/DerivationFrameworkLLP/LLPToolsConfig.py", line 195, in LRTElectronLHSelectorsCfg
04:00:24     from AtlasGeoModel.CommonGMJobProperties import CommonGeometryFlags as geoFlags
04:00:24   File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/main_Athena_x86_64-centos7-gcc11-opt/sw/lcg/releases/LCG_102b_ATLAS_27/ROOT/6.26.08/x86_64-centos7-gcc11-opt/lib/ROOT/_facade.py", line 153, in _importhook
04:00:24     return _orig_ihook(name, *args, **kwds)
04:00:24   File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/main_Athena_x86_64-centos7-gcc11-opt/2023-09-25T2101/Athena/24.0.13/InstallArea/x86_64-centos7-gcc11-opt/python/AtlasGeoModel/CommonGMJobProperties.py", line 7, in <module>
04:00:24     from AthenaCommon.GlobalFlags import globalflags
04:00:24   File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/main_Athena_x86_64-centos7-gcc11-opt/sw/lcg/releases/LCG_102b_ATLAS_27/ROOT/6.26.08/x86_64-centos7-gcc11-opt/lib/ROOT/_facade.py", line 153, in _importhook
04:00:24     return _orig_ihook(name, *args, **kwds)
04:00:24   File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/main_Athena_x86_64-centos7-gcc11-opt/2023-09-25T2101/Athena/24.0.13/InstallArea/x86_64-centos7-gcc11-opt/python/AthenaCommon/GlobalFlags.py", line 154, in <module>
04:00:24     jobproperties.Global.add_JobProperty(i)
04:00:24   File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/main_Athena_x86_64-centos7-gcc11-opt/2023-09-25T2101/Athena/24.0.13/InstallArea/x86_64-centos7-gcc11-opt/python/AthenaCommon/JobProperties.py", line 613, in add_JobProperty
04:00:24     setattr(self,new_flag.__name__,new_flag(self._context_name))
04:00:24   File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/main_Athena_x86_64-centos7-gcc11-opt/2023-09-25T2101/Athena/24.0.13/InstallArea/x86_64-centos7-gcc11-opt/python/AthenaCommon/JobProperties.py", line 143, in __init__
04:00:24     raise RuntimeError("JobProperty should not be called in pure CA config")
04:00:24 RuntimeError: JobProperty should not be called in pure CA config

Merge request reports