-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
guard HLTRecHitInAllL1RegionsProducer<T>
against empty collection of L1T candidates
#41466
guard HLTRecHitInAllL1RegionsProducer<T>
against empty collection of L1T candidates
#41466
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-41466/35330
|
A new Pull Request was created by @missirol (Marino Missiroli) for master. It involves the following packages:
@cmsbuild, @missirol, @Martin-Grunewald can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
type bugfix |
urgent This PR can reduce the number of HLT crashes seen online these days, so it should be integrated quickly. |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-2cea4d/32260/summary.html Comparison SummarySummary:
|
+hlt No changes as expected. There is a discussion on whether @cms-sw/orp-l2 , please consider this PR for the upcoming IB. |
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. @perrotta, @dpiparo, @rappoccio (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
This PR adds a check to
HLTRecHitInAllL1RegionsProducer<T>
to handle gracefully events where the input collection of L1T candidates is empty (either completely empty, or even empty just for BX=0).For such events, pre-PR the plugin can crash here. This type of crash was observed multiple times online in the last days. The root cause of the problem (i.e. missing L1T candidates) is likely related to issues with the L1T menu deployed a couple of weeks ago (CMSLITOPS-411).
A reproducer is in [1], and it produces the stack trace attached here (which matches the error log seen online).
FYI: @Sam-Harper @swagata87 (as this module is used by E/gamma triggers)
[1]
PR validation:
With the changes in this PR, the reproducer does not crash.
If this PR is a backport, please specify the original PR and why you need to backport that PR. If this PR will be backported, please specify to which release cycle the backport is meant for:
CMSSW_13_0_X