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
esConsumes migration for EDModules in SiStrip packages, part 2 #32677
esConsumes migration for EDModules in SiStrip packages, part 2 #32677
Conversation
…sk, CalibrationTask, and CalibrationScanTask)
…ctionality (minimal changes to support both)
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-32677/20778
|
A new Pull Request was created by @pieterdavid (Pieter David) for master. It involves the following packages: CalibTracker/SiStripQuality @andrius-k, @yuanchao, @kmaeshima, @christopheralanwest, @ErnestaP, @cmsbuild, @jfernan2, @fioriNTU, @tlampen, @pohsun can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@cmsbuild, please test |
-1 Failed Tests: HeaderConsistency Comparison SummarySummary:
|
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-d6f8ca/12573/summary.html Comparison SummarySummary:
|
@pieterdavid Generally "RunInfoRcd" is needed for sub-systems to run. But sorry, not knowing about your use case so not be able to comment here. |
+1 |
+1 |
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @silviodonato, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
By quick look it seems that this PR could be causing a failure of |
if (!actionExecutor_.readTkMapConfiguration(eSetup)) { | ||
detCabling_ = &eSetup.getData(detCablingToken_); | ||
if (!actionExecutor_.readTkMapConfiguration( | ||
detCabling_, &eSetup.getData(tkDetMapTokenER_), &eSetup.getData(tTopoTokenER_))) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The token was declared to be consumed in EndRun
, but is being used in beginRun
.
@@ -103,7 +101,8 @@ void SiStripAnalyser::analyze(edm::Event const& e, edm::EventSetup const& eSetup | |||
actionExecutor_.createDummyShiftReport(); | |||
} else { | |||
auto& dqm_store = *edm::Service<DQMStore>{}; | |||
actionExecutor_.fillStatus(dqm_store, detCabling_, eSetup); | |||
actionExecutor_.fillStatus( | |||
dqm_store, detCabling_, &eSetup.getData(tkDetMapTokenELB_), &eSetup.getData(tTopoTokenELB_)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The token was declared to be consumed in EndLuminosityBlock
, but is being used in analyze
.
I guess it is via dependencies yes, changes in DQM/Integration package in this case |
Thanks!
Essentially the code of the PR is checked out, then This is a known deficiency in the test system that has been discussed a few times. It is possible to ask the bot to run all unit tests, but IIUC the |
For now, one can explicilty ask to run tests for a package by setting the |
Thanks Shahzad. I remembered something was done, but didn't remember what exactly, and somehow missed the |
see dmwm/T0#4574 |
PR description:
esConsumes migration #31061 for modules in packages with SiStrip in the name not done in #31826 (mostly DQM-related).
I tried to keep other changes minimal, but did some refactoring in SiStripMonitorCondData (making it use the helper class SiStripClasToMonitorCondData because they had a lot of duplicate code, and the esConsumes-related changes would have added even more); @sroychow @arossi83 could you have a look and comment on whether this is covered by the tests, or how to validate the changes otherwise?
PR validation:
compiles,
runTheMatrix.py -l limited --useInput all
passes and only shows differences inTimerService
, but that may not cover all modified plugins.