-
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
Propagate child process exit code properly in edmPluginRefresh #44838
Conversation
edmPluginRefresh
edmPluginRefresh
cms-bot internal usage |
@Dr15Jones @dan131riley Could you double-check? |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-44838/40084
|
A new Pull Request was created by @makortel for master. It involves the following packages:
@Dr15Jones, @smuzaffar, @cmsbuild, @makortel can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
9229201
to
c9dd2cb
Compare
c9dd2cb
to
24cdd45
Compare
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-44838/40087
|
Pull request #44838 was updated. @makortel, @cmsbuild, @smuzaffar, @Dr15Jones can you please check and sign again. |
@cmsbuild, please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-217df6/39073/summary.html Comparison SummaryThere are some workflows for which there are errors in the baseline: Summary:
|
Also when the child process was terminated by a signal.
24cdd45
to
6151d55
Compare
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-44838/40109
|
Pull request #44838 was updated. @Dr15Jones, @cmsbuild, @makortel, @smuzaffar can you please check and sign again. |
@cmsbuild, please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-217df6/39123/summary.html Comparison SummaryThere are some workflows for which there are errors in the baseline: Summary:
|
+core |
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) |
+1 |
PR description:
#44821 (comment) reports the
edmPluginRefresh
returns a zero exit code even if a child process crashes. This PR propagates the non-zero exit code from the child process properly to the main process'exit()
by using theWEXITSTATUS()
macro as instructed in https://man7.org/linux/man-pages/man3/wait.3p.html.Resolves cms-sw/framework-team#901
PR validation:
The reproducer in #44821 (comment) returns non-zero exit code.