Skip to content

Fix dependency of functor cache and GaudiConfig2 (follow up !2537)

Rosen Matev requested to merge rmatev-fix-functor-cache-build into master

The original MR !2537 (merged) had a typo in the target name.

The typical symptom is an intermittent failure such as https://lhcb-nightlies.web.cern.ch/logs/build/nightly/lhcb-master-mr/1110/x86_64-centos7-clang8-opt/Rec/#show_Phys_FunctorCache/Phys_FunctorCache_2

(build/Phys/FunctorCache)$ /workspace/venv/centos7/bin/xenv --xml build/config/Rec-build.xenv gaudirun.py -n -o FunctorTestCache_srcs/FunctorTestCache.pkl Phys/FunctorCache/options/DisableLoKiCacheFunctors.py Phys/FunctorCache/options/SilenceErrors.py Phys/FunctorCache/options/SuppressLogMessages.py Phys/FunctorCore/tests/options/test_functors.py 
Traceback (most recent call last):
  File "Gaudi/InstallArea/x86_64-centos7-clang8-opt/scripts/gaudirun.py", line 501, in <module>
    from GaudiConfig2 import CALLABLE_FORMAT, mergeConfigs, invokeConfig, Configurable
  File "Gaudi/InstallArea/x86_64-centos7-clang8-opt/python/GaudiConfig2/__init__.py", line 12, in <module>
    from GaudiConfig2._db import ConfigurablesDB
  File "Gaudi/InstallArea/x86_64-centos7-clang8-opt/python/GaudiConfig2/_db.py", line 53, in <module>
    _DB = ConfDB2()
  File "Gaudi/InstallArea/x86_64-centos7-clang8-opt/python/GaudiConfig2/_db.py", line 34, in __init__
    for key in db:
  File "/cvmfs/lhcb.cern.ch/lib/lcg/releases/LCG_97a/Python/2.7.16/x86_64-centos7-clang8-opt/lib/python2.7/UserDict.py", line 130, in __iter__
    for k in self.keys():
  File "/cvmfs/lhcb.cern.ch/lib/lcg/releases/LCG_97a/Python/2.7.16/x86_64-centos7-clang8-opt/lib/python2.7/shelve.py", line 101, in keys
    return self.dict.keys()
  File "/cvmfs/lhcb.cern.ch/lib/lcg/releases/LCG_97a/Python/2.7.16/x86_64-centos7-clang8-opt/lib/python2.7/bsddb/__init__.py", line 303, in keys
    return _DeadlockWrap(self.db.keys)
  File "/cvmfs/lhcb.cern.ch/lib/lcg/releases/LCG_97a/Python/2.7.16/x86_64-centos7-clang8-opt/lib/python2.7/bsddb/dbutils.py", line 68, in DeadlockWrap
    return function(*_args, **_kwargs)
bsddb.db.DBPageNotFoundError: (-30986, 'BDB0075 DB_PAGE_NOTFOUND: Requested page not found')
[command exited with 1]

Merge request reports