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
Make missing consumes calls an exception #10661
Make missing consumes calls an exception #10661
Conversation
This makes it an exception when a module has not declared the products it gets with a consumes function call. Previous to this it just resulted in an error being printed out. Fixed HcalDigisValidation which had recently added a getByLabel without a consumes call. Also fixed two Framework unit tests that also had problems with consumes calls. This has been tested to not cause problems in the IB by scanning all the log files of a recent IB for the error message. Framework unit tests also pass. While this should cause no IB test failures, there probably will be failures of other code not tested in the IBs which has not been migrated to declare the products it consumes.
A new Pull Request was created by @wddgit (W. David Dagenhart) for CMSSW_7_6_X. Make missing consumes calls an exception It involves the following packages: FWCore/Framework @cmsbuild, @smuzaffar, @Dr15Jones, @deguio, @danduggan can you please review it and eventually sign? Thanks. |
please test |
+1 |
The tests are being triggered in jenkins. |
+1 The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic: |
I was running DtCalib aclareco as a part of "PromptReco" setup and I see DTCalibMuonSelection missing a consumes. |
I added the consumes migration for DTCalibMuonSelection |
please test |
The tests are being triggered in jenkins. |
Pull request #10661 was updated. @smuzaffar, @diguida, @danduggan, @cerminar, @cmsbuild, @Dr15Jones, @deguio, @mmusich can you please check and sign again. |
+1 |
+1 The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic: |
Make missing consumes calls an exception
This makes it an exception when a module has
not declared the products it gets with a consumes
function call. Previous to this it just resulted
in an error being printed out.
Fixed HcalDigisValidation which had recently added
a getByLabel without a consumes call. Also fixed
two Framework unit tests that also had problems with
consumes calls.
This has been tested to not cause problems in the
IB by scanning all the log files of a recent
IB for the error message. Framework unit tests
also pass.
While this should cause no IB test failures, there
probably will be failures of other code not tested
in the IBs which has not been migrated to declare
the products it consumes.