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

added esConsumes to modules on EventFilter/SiPixelRawToDigi #30474

Merged
merged 2 commits into from Jul 2, 2020

Conversation

JamminJones
Copy link
Contributor

PR description:

added esConsumes to 3 modules

PR validation:

the code compiles

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-30474/16635

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @JamminJones for master.

It involves the following packages:

EventFilter/SiPixelRawToDigi

@perrotta, @cmsbuild, @slava77 can you please review it and eventually sign? Thanks.
@makortel, @Martin-Grunewald, @dkotlins, @VinInn this is something you requested to watch as well.
@silviodonato, @dpiparo you are the release manager for this.

cms-bot commands are listed here

@Dr15Jones
Copy link
Contributor

This change was made under my supervision.

@Dr15Jones
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 30, 2020

The tests are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

+1
Tested at: 1556c63
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-cb02dc/7540/summary.html
CMSSW: CMSSW_11_2_X_2020-06-30-1100
SCRAM_ARCH: slc7_amd64_gcc820

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-cb02dc/7540/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 36
  • DQMHistoTests: Total histograms compared: 2778915
  • DQMHistoTests: Total failures: 7
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2778858
  • DQMHistoTests: Total skipped: 50
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 35 files compared)
  • Checked 152 log files, 16 edm output root files, 36 DQM output files

Copy link
Contributor

@slava77 slava77 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

static analyzer pointed out remaining es.get calls in files modified by this PR.
Is there a reason to skip these?

@@ -81,9 +80,8 @@ void PixelUnpackingRegions::initialize(const edm::EventSetup& es) {
es.get<SiPixelFedCablingMapRcd>().get(cablingMap);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(from the static analyzer)
shouldn't this be in esConsumes/token as well?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. I think this is the first time we've encountered an ESTransientHandle being used. Looking at the code, though, this should NOT be an ESTransientHandle since it is holding onto memory from the data product.

@@ -161,8 +162,7 @@ void SiPixelRawToDigi::produce(edm::Event& ev, const edm::EventSetup& es) {
// initialize quality record or update if necessary
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should the es.get<SiPixelFedCablingMapRcd>().get(cablingMapLabel, cablingMap); be addressed as well?

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 1, 2020

Pull request #30474 was updated. @perrotta, @cmsbuild, @slava77 can you please check and sign again.

@@ -152,17 +153,15 @@ void SiPixelRawToDigi::produce(edm::Event& ev, const edm::EventSetup& es) {
// initialize cabling map or update if necessary
if (recordWatcher.check(es)) {
// cabling map, which maps online address (fed->link->ROC->local pixel) to offline (DetId->global pixel)
edm::ESTransientHandle<SiPixelFedCablingMap> cablingMap;
es.get<SiPixelFedCablingMapRcd>().get(cablingMapLabel, cablingMap); //Tav
edm::ESHandle<SiPixelFedCablingMap> cablingMap = es.getHandle(tCablingMap);
Copy link
Contributor

@Dr15Jones Dr15Jones Jul 1, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOTE: The previous use of ESTransientHandle here was inappropriate as the data product must not be allowed to be deleted before the end of the IOV since internal parts of the data product are being held.

@@ -77,13 +77,11 @@ void PixelUnpackingRegions::initialize(const edm::EventSetup& es) {
// initialize cabling map or update it if necessary
// and re-cache modules information
if (watcherSiPixelFedCablingMap_.check(es)) {
edm::ESTransientHandle<SiPixelFedCablingMap> cablingMap;
es.get<SiPixelFedCablingMapRcd>().get(cablingMap);
edm::ESHandle<SiPixelFedCablingMap> cablingMap = es.getHandle(cablingMapToken_);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOTE: The previous use of ESTransientHandle is inappropriate here as the data product can not be allowed to be deleted before the end of the IOV as this module holds onto parts of the data product.

@slava77
Copy link
Contributor

slava77 commented Jul 1, 2020

@Dr15Jones
I'm not sure if your last comments were clarifications or if they implied more work.
If just clarifications, feel free to restart the tests

@Dr15Jones
Copy link
Contributor

@slava77 they were a clarification, sorry about the confusion.

@Dr15Jones
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 1, 2020

The tests are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 1, 2020

+1
Tested at: 7033035
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-cb02dc/7574/summary.html
CMSSW: CMSSW_11_2_X_2020-06-30-2300
SCRAM_ARCH: slc7_amd64_gcc820

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 1, 2020

Comparison job queued.

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 1, 2020

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-cb02dc/7574/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 37
  • DQMHistoTests: Total histograms compared: 2784120
  • DQMHistoTests: Total failures: 7
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2784063
  • DQMHistoTests: Total skipped: 50
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 36 files compared)
  • Checked 154 log files, 17 edm output root files, 37 DQM output files

@slava77
Copy link
Contributor

slava77 commented Jul 1, 2020

+1

for #30474 7033035

  • essentially technical code changes are in line with the PR description and the follow up review
  • jenkins tests pass and comparisons with the baseline show no (relevant) differences

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 1, 2020

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 (and backports should be raised in the release meeting by the corresponding L2)

@slava77
Copy link
Contributor

slava77 commented Jul 1, 2020

webhooks or the bot's reaction to them seems degraded. The "Comparison is ready" was posted a while back (more than 10 mins), but the label is still not updated.

@silviodonato
Copy link
Contributor

+1

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