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

Protect against reading invalid prescales #22156

Merged
merged 1 commit into from Feb 12, 2018

Conversation

Dr15Jones
Copy link
Contributor

Avoid reading beyond the end of the vector.
Problem was found by address sanitizer.

Avoid reading beyond the end of the vector.
Problem was found by address sanitizer.
@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 7, 2018

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 7, 2018

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 7, 2018

A new Pull Request was created by @Dr15Jones (Chris Jones) for master.

It involves the following packages:

L1Trigger/L1TGlobal

@nsmith-, @cmsbuild, @thomreis, @rekovic can you please review it and eventually sign? Thanks.
@Martin-Grunewald, @kreczko this is something you requested to watch as well.
@davidlange6, @slava77, @fabiocos you are the release manager for this.

cms-bot commands are listed here

@Dr15Jones
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 7, 2018

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/25962/console Started: 2018/02/07 21:55

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 7, 2018

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 7, 2018

Comparison job queued.

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 8, 2018

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

@slava77 comparisons for the following workflows were not done due to missing matrix map:

  • /build/cmsbld/jenkins/workspace/compare-root-files-short-matrix/results/JR-comparison/PR-22156/1325.7_TTbar_13_94XNanoAODINPUT+TTbar_13_94XNanoAODINPUT+NANOEDMMC2017+HARVESTNANOAODMC2017

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 27
  • DQMHistoTests: Total histograms compared: 2430153
  • DQMHistoTests: Total failures: 1193
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2428791
  • DQMHistoTests: Total skipped: 169
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.399999999972 KiB( 9 files compared)
  • Checked 111 log files, 9 edm output root files, 27 DQM output files

@Dr15Jones
Copy link
Contributor Author

@nsmith- @thomreis @rekovic @fabiocos ping. This is a memory problem that needs to be solved.

@thomreis
Copy link
Contributor

thomreis commented Feb 9, 2018

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 9, 2018

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. @davidlange6, @slava77, @smuzaffar, @fabiocos (and backports should be raised in the release meeting by the corresponding L2)

@fabiocos
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 11, 2018

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/26010/console Started: 2018/02/11 17:39

@Dr15Jones
Copy link
Contributor Author

@fabiocos didn’t this pass all the tests already?

@fabiocos
Copy link
Contributor

@Dr15Jones it ran indeed, I see anyway more than thousand histos are different, and this test picked other PR for what I see. Looking randomly at the differences the histos seem essentially identical...

@cmsbuild
Copy link
Contributor

@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-22156/26010/summary.html

@slava77 comparisons for the following workflows were not done due to missing matrix map:

  • /build/cmsbld/jenkins/workspace/compare-root-files-short-matrix/results/JR-comparison/PR-22156/1325.7_TTbar_13_94XNanoAODINPUT+TTbar_13_94XNanoAODINPUT+NANOEDMMC2017+HARVESTNANOAODMC2017

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 2 differences found in the comparisons
  • DQMHistoTests: Total files compared: 27
  • DQMHistoTests: Total histograms compared: 2464162
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2463992
  • DQMHistoTests: Total skipped: 169
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.919999999867 KiB( 22 files compared)
  • Checked 111 log files, 9 edm output root files, 27 DQM output files

@Dr15Jones
Copy link
Contributor Author

@fabiocos the original code was creating objects using random memory (actually reading parts of the next object in the container or whatever was off the end of the container). If any later code made decisions based on those random values, I'd definitely expect differences.

@fabiocos
Copy link
Contributor

@Dr15Jones thanks for the clarification. In the last test apparently no difference, may be just good luck? I merge the fix.

@fabiocos
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 62d75c2 into cms-sw:master Feb 12, 2018
@Dr15Jones Dr15Jones deleted the fixL1TGlobalUtil branch February 12, 2018 16:01
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

4 participants