Skip to content

Fix ca-dump-upgrade for Athena,master,latest

Thomas Strebler requested to merge tstreble/training-dataset-dumper:r22 into r22

Fix error encountered in latest master nightly

Traceback (most recent call last):
  File "/atlas/strebler/BTag_ITK/TDD/test/build/x86_64-centos7-gcc11-opt/bin/ca-dump-upgrade", line 19, in <module>
    from DerivationFrameworkMCTruth.TruthDerivationToolsConfig import DFCommonTruthClassificationToolCfg
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/master_Athena_x86_64-centos7-gcc11-opt/2022-07-18T2101/Athena/23.0.4/InstallArea/x86_64-centos7-gcc11-opt/python/DerivationFrameworkMCTruth/TruthDerivationToolsConfig.py", line 16, in <module>
    if hasattr(ConfigFlags,'Sim') and hasattr(ConfigFlags.Sim,'SimBarcodeOffset'):
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/master_Athena_x86_64-centos7-gcc11-opt/2022-07-18T2101/Athena/23.0.4/InstallArea/x86_64-centos7-gcc11-opt/python/AthenaConfiguration/AthConfigFlags.py", line 123, in __getattr__
    return self._flags._get( merged )
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/master_Athena_x86_64-centos7-gcc11-opt/2022-07-18T2101/Athena/23.0.4/InstallArea/x86_64-centos7-gcc11-opt/python/AthenaConfiguration/AthConfigFlags.py", line 283, in _get
    return self._flagdict[name].get(self)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/master_Athena_x86_64-centos7-gcc11-opt/2022-07-18T2101/Athena/23.0.4/InstallArea/x86_64-centos7-gcc11-opt/python/AthenaConfiguration/AthConfigFlags.py", line 66, in get
    val=self._setDef(flagdict)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/master_Athena_x86_64-centos7-gcc11-opt/2022-07-18T2101/Athena/23.0.4/InstallArea/x86_64-centos7-gcc11-opt/python/SimulationConfig/SimConfigFlags.py", line 25, in _checkSimBarcodeOffsetConf
    mdstring = GetFileMD(prevFlags.Input.Files).get("SimBarcodeOffset", "0")
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/master_Athena_x86_64-centos7-gcc11-opt/2022-07-18T2101/Athena/23.0.4/InstallArea/x86_64-centos7-gcc11-opt/python/AthenaConfiguration/AutoConfigFlags.py", line 56, in GetFileMD
    raise RuntimeError('Input file name not set, instead _ATHENA_GENERIC_INPUTFILE_NAME_ found. Cannot read metadata.')
RuntimeError: Input file name not set, instead _ATHENA_GENERIC_INPUTFILE_NAME_ found. Cannot read metadata.

Potentially linked to atlas/athena@45e01a09

Merge request reports