-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Runtime error from SiPixelQualityESProducer
using cmsDriver.py -s .. HLT:[db]:[config] ..
#42492
Comments
A new Issue was created by @missirol Marino Missiroli. @Dr15Jones, @perrotta, @dpiparo, @rappoccio, @makortel, @smuzaffar can you please review it and eventually sign/assign? Thanks. cms-bot commands are listed here |
The "test2" example in the description works at runtime, and the python output of from Configuration.Eras.Era_Run3_2023_cff import Run3_2023
process = cms.Process('HLT',Run3_2023)
# import of standard configurations
process.load('Configuration.StandardSequences.Services_cff')
process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
process.load('FWCore.MessageService.MessageLogger_cfi')
process.load('Configuration.EventContent.EventContent_cff')
process.load('SimGeneral.MixingModule.mix_2023_Fills_8807_8901_ProjectedPileup_PoissonOOTPU_cfi')
process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
process.load('Configuration.StandardSequences.MagneticField_cff')
process.load('Configuration.StandardSequences.Digi_cff')
process.load('Configuration.StandardSequences.DigiToRaw_cff')
process.load('HLTrigger.Configuration.HLT_GRun_cff')
process.load('Configuration.StandardSequences.EndOfProcess_cff')
process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff') What (I think) happens is that
In short, this returns the correct configuration because the loading of |
The "test1" example in the description fails at runtime, and the python output of from Configuration.Eras.Era_Run3_2023_cff import Run3_2023
process = cms.Process('HLT',Run3_2023)
# import of standard configurations
process.load('Configuration.StandardSequences.Services_cff')
process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
process.load('FWCore.MessageService.MessageLogger_cfi')
process.load('Configuration.EventContent.EventContent_cff')
process.load('SimGeneral.MixingModule.mix_2023_Fills_8807_8901_ProjectedPileup_PoissonOOTPU_cfi')
process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
process.load('Configuration.StandardSequences.MagneticField_cff')
process.load('Configuration.StandardSequences.Digi_cff')
process.load('Configuration.StandardSequences.SimL1Emulator_cff')
process.load('Configuration.StandardSequences.DigiToRaw_cff')
process.load('Configuration.StandardSequences.EndOfProcess_cff')
process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
[..]
import HLTrigger.Configuration.Utilities
process.loadHltConfiguration("run3:/dev/CMSSW_13_0_0/GRun/V140",type='GRun') What (I think) happens is that
One more note on
is equivalent to
, meaning that what matters at runtime is the content of the python file.
|
To my knowledge, the easiest way to solve this is to remove this ESProducer from the HLT This ad-hoc removal is normally done in Such removal is okay as long as the process loads This change is done in cms-tsg-storm@cf289c7, and will be integrated via one of the next HLT-menu PRs. |
An alternative way would be to simplify the implementation of This was tried in missirol@50bf3da. The downside of this approach is the use |
Trying to summarise.
Feel free to add feedback/corrections/suggestions. |
at least for from Configuration.Eras.Modifier_run2_SiPixel_2018_cff import run2_SiPixel_2018
removeSiPixelQualityForDigitizerESProducer_ = (~run2_SiPixel_2018).makeProcessModifier( _removeSiPixelQualityForDigitizerESProducer ) to be honest I don't remember exactly why we chose to use it only for 2018 onwards in #25885 (perhaps to spare including the labeled payload in too many Global Tags), perhaps @tsusa remembers better. |
other than the above
looks a good improvement. I would go ahead with a PR (@cms-sw/trk-dpg-l2 FYI). |
assign alca, trk-dpg
|
New categories assigned: trk-dpg,alca @perrotta,@connorpa,@consuegs,@francescobrivio,@sroychow,@saumyaphor4252,@tvami you have been requested to review this Pull request/Issue and eventually sign? Thanks |
assign hlt
It would be useful to have some kind of HLT unit test to spot this kind of issues earlier, or a better way to remove the relevant ES modules (as opposed to having an hard-coded list). |
New categories assigned: hlt @missirol,@Martin-Grunewald you have been requested to review this Pull request/Issue and eventually sign? Thanks |
Sorry, but wouldn't it be safer to make the two ways of loading simply provide identical output and order? |
If you mean having process.loadHltConfiguration(..) in the same place as process.load('HLTrigger.Configuration.HLT_[..]_cff') in the python file produced by |
The script in [1] contains two tests ("test1" and "test2") which only differ in how the HLT step is loaded by
cmsDriver.py
. InCMSSW_13_0_11
, "test1" and "test2" are in principle equivalent, sinceGRun/V140
corresponds to the "GRun" HLT menu available in the release. The issue is that "test1" fails at runtime with the error in [2], while "test2" works as intended. This was reported by @mmusich in relation to PDMVRELVALS-204 (in the latter JIRA ticket,GRun/V151
was used, while in [1] I'm usingGRun/V140
just to take the same HLT menu as the one ofHLT:GRun
inCMSSW_13_0_11
).The problem is triggered by the use of the syntax
-s HLT:[db]:[config]
, which allows to download a given HLT configuration ([config]
) from one of the ConfDB databases ([db]
), as opposed to using one of the HLT menus available in CMSSW (the latter menus can be loaded with the more common syntax-s HLT:[menu]
, where[menu]
is a keyword associated to a given HLT menu, e.g.-s HLT:GRun
for the latest pp menu available in the release). The main difference between-s HLT:[menu]
and-s HLT:[db]:[config]
is in the order in which the HLT configuration and othercff
files are loaded into thecms.Process
in the python file produced bycmsDriver.py
.This issue summarises a few findings in relation to the runtime error in [2].
[1]
[2] Error from
test1.log
The text was updated successfully, but these errors were encountered: