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

Fix bug related to cmsRun exit code with FileReadError #43579

Merged
merged 1 commit into from
Dec 18, 2023

Conversation

wddgit
Copy link
Contributor

@wddgit wddgit commented Dec 15, 2023

PR description:

Fix bug related to cmsRun exit code with FileReadError exception. It was returning 8001 instead of 8021. See Issue #42179 for more discussion. Note this bug was introduced in 12_3_X and this PR will need to be backported to cover active releases since then.

PR validation:

An existing unit test was extended to check the exit code after a FileReadError. In the schema evolution tests there is a file that will exhibit such an error and I used that. Otherwise, it is pretty hard to create such a file intentionally (silver lining of an unrelated 13_0_0 ROOT bug). Note that I don't intend to backport the unit test part because the schema evolution unit test it depends on is relatively new.

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 15, 2023

cms-bot internal usage

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-43579/38221

  • This PR adds an extra 32KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @wddgit (W. David Dagenhart) for master.

It involves the following packages:

  • FWCore/Framework (core)
  • IOPool/Input (core)

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

cms-bot commands are listed here

@wddgit
Copy link
Contributor Author

wddgit commented Dec 15, 2023

please test

FWCore/Framework/src/ProductResolvers.cc Outdated Show resolved Hide resolved
FWCore/Framework/src/ProductResolvers.cc Outdated Show resolved Hide resolved
IOPool/Input/test/testSchemaEvolution.sh Outdated Show resolved Hide resolved
@wddgit
Copy link
Contributor Author

wddgit commented Dec 15, 2023

abort test

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-43579/38224

  • This PR adds an extra 36KB to repository

@cmsbuild
Copy link
Contributor

Pull request #43579 was updated. @cmsbuild, @Dr15Jones, @smuzaffar, @makortel can you please check and sign again.

@wddgit
Copy link
Contributor Author

wddgit commented Dec 15, 2023

please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-2f2728/36519/summary.html
COMMIT: e5504fb
CMSSW: CMSSW_14_0_X_2023-12-15-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/43579/36519/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

@makortel
Copy link
Contributor

@makortel
Copy link
Contributor

+core

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

@rappoccio
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.

4 participants