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
[12_4_X Backport] Add checks for ECAL DQM setup objects to prevent crashes on runs with no calibration data #38504
[12_4_X Backport] Add checks for ECAL DQM setup objects to prevent crashes on runs with no calibration data #38504
Conversation
A new Pull Request was created by @alejands (Alejandro Sanchez) for CMSSW_12_4_X. It involves the following packages:
@emanueleusai, @ahmad3213, @cmsbuild, @jfernan2, @pmandrik, @micsucmed, @rvenditti can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
type ecal |
backport of #38503 |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-9afaeb/25773/summary.html Comparison SummarySummary:
|
type bug |
+1 |
This pull request is fully signed and it will be integrated in one of the next CMSSW_12_4_X IBs (tests are also fine) and once validation in the development release cycle CMSSW_12_5_X is complete. This pull request will now be reviewed by the release team before it's merged. @perrotta, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
This is an urgent fix and needs to be included in the production version at P5 as soon as possible.
This PR fixes an issue causing the client
DQM/Integration/python/clients/ecalcalib_dqm_sourceclient-live_cfg.py
to crash when there is no calibration data available as shown here: https://cmsweb.cern.ch/dqm/dqm-square/tmp/content_parser_productionPARSER_run354309.See error log file here: https://cmsweb.cern.ch/dqm/dqm-square/tmp/tmp/content_parser_productionPARSER_run354309PARSER_job9.log
The crashes were due to one of the global variables removed in #33200 being called without being initialized. This PR reintroduces the check functions (eg.
checkElectronicsMap()
) that existed before #33200 and uses them to prevent running the code that crashes when there's nothing to run over.PR validation:
ecalcalib_dqm_sourceclient-live_cfg.py
no longer crashes in this scenarioIf this PR is a backport please specify the original PR and why you need to backport that PR. If this PR will be backported please specify to which release cycle the backport is meant for:
This is a backport of #38503 to include this in the production version at P5 as soon as possible