cmssw: too many different non-versioned layouts for `pair`
Something similar was already reported in 11_3_0_pre3 https://mattermost.web.cern.ch/cms-o-and-c/pl/dzqcc5poriy5zx5igm9bjr7npw
Here is a report mentioned in Feb 28 TRK POG meeting, in a simpler setup using interactive prompt: (I tired in CMSSW_12_3_X_2022-02-28-1100 and in a bit older CMSSW_12_3_0_pre1)
FWLiteEnabler::enable();
e = new TChain("Events");
e->Add("root://cms-xrd-global.cern.ch//store/data/Commissioning2021/MinimumBias8/RECO/900GeVnomkFit_FEVT-v1/40000/aa98e17b-012c-492b-8e12-e530018cd464.root");
e->Add("root://cms-xrd-global.cern.ch//store/data/Commissioning2021/MinimumBias8/RECO/900GeVnomkFit_FEVT-v1/40000/ab71db55-c0e9-4e85-84a9-1508280782ff.root");
e->GetEntries();
leads to warnings first, right after the file open
Warning in <TClass::Init>: no dictionary for class pair<reco::Muon::MuonTrackType,edm::Ref<vector<reco::Track>,reco::Track,edm::refhelper::FindUsingAdvance<vector<reco::Track>,reco::Track> > > is available
then a bit later
Warning in <TStreamerInfo::BuildCheck>:
The class pair<reco::Muon::MuonTrackType,edm::Ref<vector<reco::Track>,reco::Track,edm::refhelper::FindUsingAdvance<vector<reco::Track>,reco::Track> > > transitioned from not having a specified class version
to having a specified class version (the current class version is 1).
However too many different non-versioned layouts of the class have been
loaded so far. This prevent the proper reading of objects written with
the class layout version 2, in particular from the file:
root://cms-xrd-global.cern.ch//store/data/Commissioning2021/MinimumBias8/RECO/900GeVnomkFit_FEVT-v1/40000/ab71db55-c0e9-4e85-84a9-1508280782ff.root.
To work around this issue, load fewer 'old' files in the same ROOT session.
Warning in <TStreamerInfo::CompareContent>: The following data member of
the on-file layout version 2 of class 'pair<reco::Muon::MuonTrackType,edm::Ref<vector<reco::Track>,reco::Track,edm::refhelper::FindUsingAdvance<vector<reco::Track>,reco::Track> > >' differs from
the in-memory layout version 2:
reco::Muon::MuonTrackType first; //
vs
reco::Muon::MuonTrackType first; //
in the cmsRun jobs reading these files leads to an exception.
An exception of category 'FileOpenError' occurred while
[0] Calling InputSource::readFile_
[1] Calling RootInputFileSequence::initTheFile()
Additional Info:
[a] Calling RootInputFileSequence::initTheFile(): fail to open the file with name root://gfe02.grid.hep.ph.ic.ac.uk:1097///store/data/Commissioning2021/MinimumBias8/RECO/900GeVnomkFit_FEVT-v1/40000/ab71db55-c0e9-4e85-84a9-1508280782ff.root
[b] Input file root://cms-xrootd.gridpp.ac.uk//store/data/Commissioning2021/MinimumBias8/RECO/900GeVnomkFit_FEVT-v1/40000/ab71db55-c0e9-4e85-84a9-1508280782ff.root?tried=gfe02.grid.hep.ph.ic.ac.uk could not be opened.
[c] Fatal Root Error: @SUB=TStreamerInfo::BuildCheck
The class pair<reco::Muon::MuonTrackType,edm::Ref<vector<reco::Track>,reco::Track,edm::refhelper::FindUsingAdvance<vector<reco::Track>,reco::Track> > > transitioned from not having a specified class version
to having a specified class version (the current class version is 1).
However too many different non-versioned layouts of the class have been
loaded so far. This prevent the proper reading of objects written with
the class layout version 2, in particular from the file:
root://cms-xrootd.gridpp.ac.uk//store/data/Commissioning2021/MinimumBias8/RECO/900GeVnomkFit_FEVT-v1/40000/ab71db55-c0e9-4e85-84a9-1508280782ff.root.
To work around this issue, load fewer 'old' files in the same ROOT session.
----- End Fatal Exception
The process history for these files is
Processing History:
LHC '' '"CMSSW_12_0_3_patch1"' [1] (dd392193a5747b5c718c2371e7635ff9)
HLT '' '"CMSSW_12_0_3_patch1"' [1] (e49133644bc5afeef3ab479fd4e5745b)
RECO '' '"CMSSW_12_1_1"' [1] (99bd6b628277dec42c83d9e3e5a6dff3)
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 25 (25 by maintainers)
@mmusich