-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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 error code on fallback file open error with test, 12_4_X backport #42396
Conversation
A new Pull Request was created by @wddgit (W. David Dagenhart) for CMSSW_12_4_X. It involves the following packages:
@cmsbuild, @smuzaffar, @Dr15Jones, @makortel can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-5f21b8/33944/summary.html Comparison SummarySummary:
|
backport of #42249 |
This pull request is fully signed and it will be integrated in one of the next CMSSW_12_4_X IBs (tests are also fine) and once validation in the development release cycle CMSSW_13_3_X is complete. This pull request will now be reviewed by the release team before it's merged. @perrotta, @dpiparo, @rappoccio (and backports should be raised in the release meeting by the corresponding L2) |
No, wait ... |
So the unit tests are strictly speaking incorrectly set up for 12_4_X (starting from setting Possible options forward
Since the Rucio catalog was planned to be backported to 12_4_X anyway, the option 2 feels like a wasted effort. Let's discuss more in #42040. |
We could just go ahead and merge this bug fix without the unit test. The backport to Rucio can continue independently. The unit test isn't that important given the level of development occurring in 12_4_X and that the test is running in master already. Also note that even though the current version of the unit test contains lines that are nonsensical for Trivial File Catalog, the log files show the test is actually verifying proper behavior. One file open attempt leads to FileOpenError and with two file open attempts there is a FallbackFileOpenError. |
Hmm. I suppose the risk for the |
We decided to not include the unit tests in this PR. The tests will be backported as part of the Rucio catalog backport to 12_4_X, or soon afterwards. |
854f81c
to
881384b
Compare
Pull request #42396 was updated. @cmsbuild, @smuzaffar, @Dr15Jones, @makortel can you please check and sign again. |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-5f21b8/34395/summary.html Comparison SummarySummary:
|
Comparisons show #39214, which is a known issue in this release cycle. |
+core |
This pull request is fully signed and it will be integrated in one of the next CMSSW_12_4_X IBs (tests are also fine) and once validation in the development release cycle CMSSW_13_3_X is complete. This pull request will now be reviewed by the release team before it's merged. @perrotta, @dpiparo, @antoniovilela, @rappoccio (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
Fix error code returned by cmsRun on a FallbackFileOpenError. There was a bug where it returns FileOpenError in the fallback case.
There is more discussion and more information related to this bug in issue #42040. FYI @stlammel
Note that in original version of this PR there was a unit test included. We deleted the unit test in the 12_4_X backport only and plan to add it when the Rucio 12_4_X backport is completed. The unit test depends on the Rucio backport.
PR validation:
Verified manually and with existing unit tests.