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
Deal with exception in EventProcessor constructor #38144
Conversation
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-38144/30284
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
36b9dbf
to
c0d0414
Compare
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-38144/30286
|
A new Pull Request was created by @Dr15Jones (Chris Jones) for master. It involves the following packages:
@cmsbuild, @smuzaffar, @Dr15Jones, @makortel can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@cmsbuild, please test |
When do we need "CMS_SA_ALLOW" on the try statement? Is it when there is a "catch (...)"? Some places we do this and some places we don't. I had thought it was for the code rule checker, but I am not sure that is correct. One reason I am asking is other code I am working also has "catch(...)". @gartung |
Good catch @wddgit, indeed the static analyzer should complain on |
If an exception happens in the constructor, delete the object in the order done explicitly in the destructor while the Services are active.
c0d0414
to
ef4bafc
Compare
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-38144/30299
|
Pull request #38144 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-6e97b6/25128/summary.html 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: Comparison SummarySummary:
|
@cmsbuild, please test For cleaner comparisons |
-1 Failed Tests: RelVals-INPUT RelVals-INPUTThe relvals timed out after 4 hours. Comparison SummarySummary:
|
+1 |
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. @perrotta, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
merge |
PR description:
If an exception happens in the constructor, delete the object in the order done explicitly in the destructor while the Services are active.
PR validation:
Code compiles and all framework unit tests pass.
fixes cms-sw/framework-team#407