-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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 exception handling in Worker::prePrefetchSelectionAsync() #44891
Conversation
cms-bot internal usage |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-44891/40153
|
A new Pull Request was created by @makortel for master. It involves the following packages:
@smuzaffar, @Dr15Jones, @cmsbuild, @makortel can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
test parameters:
|
@cmsbuild, please test |
@makortel , if you want |
also it is better to use |
@cmsbuild, please abort |
test parameters:
|
@cmsbuild, please test |
@cmsbuild, please test for CMSSW_14_1_ASAN_X |
Thanks @smuzaffar. For these parallel ASAN tests is there no way to specify additional workflows? (in this case it probably won't matter, the ASAN failures were quite widespread) |
@makortel , no not for threaded mode. If you say |
looks good |
Note that with this PR these workflows are still expected to fail. But now they should report the exception properly (that will be followed up separately) instead of dying in assertion failure. |
-1 Failed Tests: RelVals-THREADING RelVals-THREADING
Expand to see more relval errors ... |
Note: for a future PR we should modify the exception message to include the module label. |
All the failing workflows are expected to fail as this PR is meant to find these problems (which were previously hidden) |
The 4 workflows report now exceptions properly |
+core |
This pull request is fully signed and it will be integrated in one of the next master IBs (but tests are reportedly failing). 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) |
test parameters: |
@cmsbuild, please test Maybe one more round to have "clean tests" |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-df182c/39226/summary.html Comparison SummarySummary:
|
+1 |
PR description:
This PR fixes a bug introduced in #44767 where a
return
when the worker is not selected was moved inside a lambda passed toconvertException()
. This PR fixes the function to return at the same spot as before if the worker is not selected. (this part fixes the ASAN failures in reported in #44888)Other problem was that if
implDoPrePrefetchSelection()
throws an exception, the exception status needs to stored in theWorker::status_
, and the success task must be destroyed. (this part changes the assertion failures reported in #44887 to exceptions)Thanks to @Dr15Jones for helping to figure out the cause.
Fixes #44888
Fixes #44887
Resolves cms-sw/framework-team#912
PR validation:
Workflow 4.17 succeeded in CMSSW_14_1_ASAN_X_2024-05-01-2300. Workflow 1001.3 properly reports the exceptions.