Skip to content

Replace exit(x) with return x in ROOT macros #47391

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

Closed
wants to merge 4 commits into from

Conversation

iarspider
Copy link
Contributor

PR description:

As recommended by @pcanal in #47376 (comment)

PR validation:

Bot tests

@iarspider
Copy link
Contributor Author

please test for CMSSW_15_1_ROOT6_X

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 18, 2025

cms-bot internal usage

@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-47391/43772

Code check has found code style and quality issues which could be resolved by applying following patch(s)

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

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

It involves the following packages:

  • DataFormats/FWLite (core)

@Dr15Jones, @cmsbuild, @makortel, @smuzaffar can you please review it and eventually sign? Thanks.
@makortel, @missirol, @mmusich, @rovere, @wddgit this is something you requested to watch as well.
@antoniovilela, @mandrenguyen, @rappoccio, @sextonkennedy you are the release manager for this.

cms-bot commands are listed here

@iarspider
Copy link
Contributor Author

please test for CMSSW_15_1_ROOT6_X

@iarspider iarspider marked this pull request as draft February 18, 2025 20:57
@iarspider
Copy link
Contributor Author

There are some other macros that use exit instead of return, I think they should be updated as well.

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-fcc561/44490/summary.html
COMMIT: 99ce3f0
CMSSW: CMSSW_15_1_ROOT6_X_2025-02-17-2300/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/47391/44490/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-fcc561/44490/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-fcc561/44490/git-merge-result

Comparison Summary

Summary:

  • You potentially added 223 lines to the logs
  • ROOTFileChecks: Some differences in event products or their sizes found
  • Reco comparison results: 1000 differences found in the comparisons
  • DQMHistoTests: Total files compared: 49
  • DQMHistoTests: Total histograms compared: 3902732
  • DQMHistoTests: Total failures: 449
  • DQMHistoTests: Total nulls: 2
  • DQMHistoTests: Total successes: 3902261
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 109179.54199999999 KiB( 48 files compared)
  • DQMHistoSizes: changed ( 16834.0,... ): -1686.929 KiB HLT/BTV
  • DQMHistoSizes: changed ( 24834.911,... ): 13600.762 KiB HLT/TrackerPhase2OTTrackingRecHitV
  • DQMHistoSizes: changed ( 24834.911,... ): 2468.031 KiB HLT/TrackerPhase2ITTrackingRecHitV
  • DQMHistoSizes: changed ( 24834.911,... ): 2464.594 KiB HLT/TrackerPhase2ITRecHitV
  • DQMHistoSizes: changed ( 24834.911,... ): 183.994 KiB HLT/TrackerPhase2OTClusterV
  • DQMHistoSizes: changed ( 24834.911,... ): 41.480 KiB HLT/TrackerPhase2ITClusterV
  • DQMHistoSizes: changed ( 24834.911,... ): 0.020 KiB MessageLogger/Errors
  • DQMHistoSizes: changed ( 24834.911,... ): 0.020 KiB MessageLogger/Warnings
  • Checked 214 log files, 184 edm output root files, 49 DQM output files
  • TriggerResults: found differences in 6 / 47 workflows

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Pull request #47391 was updated.

…ParameterFinder/printParameters.C

Co-authored-by: Marco Musich <[email protected]>
@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Pull request #47391 was updated.

@iarspider
Copy link
Contributor Author

please abort

@iarspider
Copy link
Contributor Author

please test for CMSSW_15_1_ROOT6_X

@iarspider iarspider marked this pull request as ready for review February 19, 2025 13:19
@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-fcc561/44507/summary.html
COMMIT: a157fa1
CMSSW: CMSSW_15_1_ROOT6_X_2025-02-18-2300/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/47391/44507/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

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.

4 participants