Crash while running in `--distributed=driver mode`
A crash appears while running in --distributed=driver mode
. The crash affects jobs randomly, without any specific pattern. Usually, it affects 2% of the jobs submitted.
Here the error:
Traceback (most recent call last):
File "/home/users/c/c/ccaputo/AZH/NanoAOD/bamboovenv/bin/bambooRun", line 59, in <module>
modInst.run()
File "/home/users/c/c/ccaputo/AZH/NanoAOD/bamboovenv/lib/python3.6/site-packages/bamboo/analysismodules.py", line 140, in run
self.processTrees(self.args.input, self.args.output, tree=self.args.treeName, certifiedLumiFile=self.args.certifiedLumiFile, runRange=self.args.runRange, era=self.args.era, sample=self.args.sample)
File "/home/users/c/c/ccaputo/AZH/NanoAOD/bamboovenv/lib/python3.6/site-packages/bamboo/analysismodules.py", line 301, in processTrees
tree, noSel, backend, runAndLS = self.prepareTree(tup, era=era, sample=sample)
File "/home/users/c/c/ccaputo/AZH/NanoAOD/HZAlltautau/ZAtolltautau.py", line 65, in prepareTree
jesUncertaintySources=["Total"])
File "/home/users/c/c/ccaputo/AZH/NanoAOD/bamboovenv/lib/python3.6/site-packages/bamboo/analysisutils.py", line 231, in configureJets
with JetDatabaseCache("JRDatabase", repository="cms-jet/JRDatabase", cachedir=cachedir) as jrDBCache:
File "/home/users/c/c/ccaputo/AZH/NanoAOD/bamboovenv/lib/python3.6/site-packages/bamboo/jetdatabasecache.py", line 39, in __enter__
self._status = json.load(sFile)
File "/cvmfs/sft.cern.ch/lcg/releases/Python/3.6.5-54b64/x86_64-centos7-gcc8-opt/lib/python3.6/json/__init__.py", line 299, in load
parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
File "/cvmfs/sft.cern.ch/lcg/releases/Python/3.6.5-54b64/x86_64-centos7-gcc8-opt/lib/python3.6/json/__init__.py", line 354, in loads
return _default_decoder.decode(s)
File "/cvmfs/sft.cern.ch/lcg/releases/Python/3.6.5-54b64/x86_64-centos7-gcc8-opt/lib/python3.6/json/decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/cvmfs/sft.cern.ch/lcg/releases/Python/3.6.5-54b64/x86_64-centos7-gcc8-opt/lib/python3.6/json/decoder.py", line 357, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)