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

MuonAlignment ASAN bug fix #36147

Merged
merged 1 commit into from
Nov 24, 2021
Merged

Conversation

hyunyong
Copy link
Contributor

@hyunyong hyunyong commented Nov 16, 2021

PR description:

Resolve #36053

  • The issue was the DB converter created new APEs
  • This PR fixed the issue; MuonAlignmentInputDB reads APEs from DB now

PR validation:

Test with Alignment/MuonAlignment/test/test_MuonGeometryDBConverter.sh

@tvami
Copy link
Contributor

tvami commented Nov 16, 2021

@cmsbuild , please test for CMSSW_12_2_ASAN_X

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36147/26684

  • This PR adds an extra 20KB to repository

@cmsbuild
Copy link
Contributor

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

It involves the following packages:

  • Alignment/MuonAlignment (alca)
  • Alignment/MuonAlignmentAlgorithms (alca)

@malbouis, @tvami, @yuanchao, @francescobrivio can you please review it and eventually sign? Thanks.
@pakhotin, @adewit, @abbiendi, @CeliaFernandez, @jhgoh, @tocheng, @mmusich, @trocino this is something you requested to watch as well.
@perrotta, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@tvami
Copy link
Contributor

tvami commented Nov 16, 2021

type bug-fix

@cmsbuild
Copy link
Contributor

-1

Failed Tests: UnitTests
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-ca9366/20574/summary.html
COMMIT: 6b0658c
CMSSW: CMSSW_12_2_ASAN_X_2021-11-15-2300/slc7_amd64_gcc10
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/36147/20574/install.sh to create a dev area with all the needed externals and cmssw changes.

The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:

You can see more details here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-ca9366/20574/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-ca9366/20574/git-merge-result

Unit Tests

I found errors in the following unit tests:

---> test TestDQMServicesDemo had ERRORS

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • Reco comparison had 71 failed jobs
  • DQMHistoTests: Total files compared: 42
  • DQMHistoTests: Total histograms compared: 3320802
  • DQMHistoTests: Total failures: 1093685
  • DQMHistoTests: Total nulls: 33
  • DQMHistoTests: Total successes: 2227062
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: -0.17 KiB( 41 files compared)
  • DQMHistoSizes: changed ( 10224.0 ): 0.117 KiB SiStrip/MechanicalView
  • DQMHistoSizes: changed ( 136.874 ): 0.004 KiB JetMET/SUSYDQM
  • DQMHistoSizes: changed ( 250202.181 ): -0.533 KiB SiStrip/MechanicalView
  • DQMHistoSizes: changed ( 25202.0 ): 0.246 KiB SiStrip/MechanicalView
  • DQMHistoSizes: changed ( 312.0 ): -0.004 KiB MessageLogger/Warnings
  • Checked 177 log files, 37 edm output root files, 42 DQM output files

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-36147/26840

  • This PR adds an extra 12KB to repository

@cmsbuild
Copy link
Contributor

Pull request #36147 was updated. @cmsbuild, @malbouis, @tvami, @yuanchao, @francescobrivio can you please check and sign again.

@tvami
Copy link
Contributor

tvami commented Nov 23, 2021

@cmsbuild , please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-ca9366/20720/summary.html
COMMIT: f7b1887
CMSSW: CMSSW_12_2_X_2021-11-23-1100/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/36147/20720/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: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 42
  • DQMHistoTests: Total histograms compared: 3247025
  • DQMHistoTests: Total failures: 0
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3247003
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 41 files compared)
  • Checked 177 log files, 37 edm output root files, 42 DQM output files
  • TriggerResults: no differences found

@tvami
Copy link
Contributor

tvami commented Nov 24, 2021

@cmsbuild , please test for CMSSW_12_2_ASAN_X

@cmsbuild
Copy link
Contributor

-1

Failed Tests: UnitTests
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-ca9366/20724/summary.html
COMMIT: f7b1887
CMSSW: CMSSW_12_2_ASAN_X_2021-11-22-2300/slc7_amd64_gcc10
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/36147/20724/install.sh to create a dev area with all the needed externals and cmssw changes.

The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:

You can see more details here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-ca9366/20724/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-ca9366/20724/git-merge-result

Unit Tests

I found errors in the following unit tests:

---> test TestDQMServicesDemo had ERRORS

Comparison Summary

Summary:

  • No significant changes to the logs found
  • ROOTFileChecks: Some differences in event products or their sizes found
  • Reco comparison results: 0 differences found in the comparisons
  • Reco comparison had 71 failed jobs
  • DQMHistoTests: Total files compared: 42
  • DQMHistoTests: Total histograms compared: 3247014
  • DQMHistoTests: Total failures: 1084251
  • DQMHistoTests: Total nulls: 28
  • DQMHistoTests: Total successes: 2162713
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.302 KiB( 41 files compared)
  • DQMHistoSizes: changed ( 10224.0 ): 0.117 KiB SiStrip/MechanicalView
  • DQMHistoSizes: changed ( 11634.0,... ): 0.117 KiB Physics/NanoAODDQM
  • DQMHistoSizes: changed ( 250202.181 ): -0.533 KiB SiStrip/MechanicalView
  • DQMHistoSizes: changed ( 25202.0 ): 0.246 KiB SiStrip/MechanicalView
  • DQMHistoSizes: changed ( 312.0 ): 0.004 KiB MessageLogger/Warnings
  • Checked 177 log files, 37 edm output root files, 42 DQM output files

@tvami
Copy link
Contributor

tvami commented Nov 24, 2021

Hi @cms-sw/dqm-l2 friends, @iarspider is this a known thing for the ASAN release? I don't think TestDQMServicesDemo problem is connected to this PR, can you please confirm? As you can see above it's really just coming up for the ASAN version.

@iarspider
Copy link
Contributor

@tvami yes, it was reported it in #36063.

@tvami
Copy link
Contributor

tvami commented Nov 24, 2021

Thanks @iarspider !

@tvami
Copy link
Contributor

tvami commented Nov 24, 2021

+alca

@cmsbuild
Copy link
Contributor

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. @perrotta, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2)

@perrotta
Copy link
Contributor

@hyunyong could you please take care of adding/modifying the relevant info as above, for PR documentation? Then it can be merged.

@iarspider
Copy link
Contributor

@hyunyong so the root issue was mismatch in MuonAlignmentInputDB / MuonAlignmentInputDB constructor arguments between declaration and usage?

@hyunyong
Copy link
Contributor Author

@hyunyong so the root issue was mismatch in MuonAlignmentInputDB / MuonAlignmentInputDB constructor arguments between declaration and usage?

Yes, MuonAlignmentInputDB has to read the APEs from DB but put a wrong constructor then it creates new APEs itself.
Now MuonAlignmentInputDB reads APEs from a DB file.

@perrotta
Copy link
Contributor

+1

  • (Thank you @hyunyong for the additional infos written in the PR description)

@cmsbuild cmsbuild merged commit ad0c327 into cms-sw:master Nov 24, 2021
@hyunyong
Copy link
Contributor Author

@hyunyong could you please take care of adding/modifying the relevant info as above, for PR documentation? Then it can be merged.

Yes, thank you for your comments.
I updated the PR description.

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.

[ASAN] heap-buffer-overflow in MuonAlignmentInputDB::newAlignableMuon
5 participants