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

check size of collection at BX=0 before getting the product #40527

Conversation

vlimant
Copy link
Contributor

@vlimant vlimant commented Jan 16, 2023

PR description:

as reported in ##40494 the size of the collection should be checked before getting any items.

PR validation:

I don't know what workflows are meant for NANO validation in 12.4, so I'll use the PR validation test

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @vlimant (vlimant) for CMSSW_12_4_X.

It involves the following packages:

  • PhysicsTools/NanoAOD (xpog)

@cmsbuild, @swertz, @vlimant can you please review it and eventually sign? Thanks.
@gpetruc this is something you requested to watch as well.
@perrotta, @dpiparo, @rappoccio you are the release manager for this.

cms-bot commands are listed here

@vlimant
Copy link
Contributor Author

vlimant commented Jan 16, 2023

please test

@missirol
Copy link
Contributor

I don't think this is not the right fix, as wordp-> will fail if wordp remains nullptr.

bool result = wordp->at(index);

I suggest to close in favour of #40528.

@vlimant
Copy link
Contributor Author

vlimant commented Jan 16, 2023

please close

@vlimant vlimant closed this Jan 16, 2023
@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-abaf56/30002/summary.html
COMMIT: 15ad701
CMSSW: CMSSW_12_4_X_2023-01-15-0000/el8_amd64_gcc10
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/40527/30002/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 51
  • DQMHistoTests: Total histograms compared: 3766083
  • DQMHistoTests: Total failures: 13
  • DQMHistoTests: Total nulls: 1
  • DQMHistoTests: Total successes: 3766047
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.004 KiB( 50 files compared)
  • DQMHistoSizes: changed ( 312.0 ): 0.004 KiB MessageLogger/Warnings
  • Checked 212 log files, 167 edm output root files, 51 DQM output files
  • TriggerResults: no differences found

@vlimant vlimant deleted the GlobalExtBlkBxCollection_check_size branch June 5, 2023 08:06
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.

3 participants