Skip to content
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

Merged
merged 3 commits into from Aug 13, 2015

Conversation

wddgit
Copy link
Contributor

@wddgit wddgit commented Aug 10, 2015

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.

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.
@cmsbuild
Copy link
Contributor

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
FWCore/Integration
Validation/HcalDigis

@cmsbuild, @smuzaffar, @Dr15Jones, @deguio, @danduggan can you please review it and eventually sign? Thanks.
@Martin-Grunewald, @wmtan this is something you requested to watch as well.
You can sign-off by replying to this message having '+1' in the first line of your reply.
You can reject by replying to this message having '-1' in the first line of your reply.
If you are a L2 or a release manager you can ask for tests by saying 'please test' in the first line of a comment.
@Degano you are the release manager for this.
You can merge this pull request by typing 'merge' in the first line of your comment.

@Dr15Jones
Copy link
Contributor

please test

@Dr15Jones
Copy link
Contributor

+1

@cmsbuild
Copy link
Contributor

The tests are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

@slava77
Copy link
Contributor

slava77 commented Aug 11, 2015

I was running DtCalib aclareco as a part of "PromptReco" setup and I see DTCalibMuonSelection missing a consumes.
David, could you please add that one here as well.
Thank you.

@wddgit
Copy link
Contributor Author

wddgit commented Aug 12, 2015

I added the consumes migration for DTCalibMuonSelection

@Dr15Jones
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

The tests are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

Pull request #10661 was updated. @smuzaffar, @diguida, @danduggan, @cerminar, @cmsbuild, @Dr15Jones, @deguio, @mmusich can you please check and sign again.

@Dr15Jones
Copy link
Contributor

+1

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

davidlange6 added a commit that referenced this pull request Aug 13, 2015
Make missing consumes calls an exception
@davidlange6 davidlange6 merged commit 30ebfb9 into cms-sw:CMSSW_7_6_X Aug 13, 2015
@wddgit wddgit deleted the enableConsumesException branch September 23, 2016 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants