-
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
Make duplicate branch check work properly with SwitchProducer that has EDAlias case #40136
Conversation
To reduce copy-paste
…s EDAlias case Earlier check worked only if the non-SwitchProducer branch was in the map earlier.
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-40136/33129
|
A new Pull Request was created by @makortel (Matti Kortelainen) 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 |
-1 Failed Tests: RelVals RelVals-INPUT AddOn RelVals
RelVals-INPUT
Expand to see more relval errors ...
AddOn Tests
Expand to see more addon errors ... |
Looks like this will require a change in cmssw/HLTrigger/Configuration/python/HLTrigger_EventContent_cff.py Lines 528 to 530 in 08fcc8e
(cc: @Martin-Grunewald) |
Is it enough to drop |
I think it would solve this problem, but I think On the HLT side:
More on the sw side:
Tagging @fwyzard in case he has opinions/suggestions/clarifications, since this involves HLT and GPUs. |
This is a good question. I see the step3 of workflow 11634.0 consumes only
This limitation is intended behavior (since the introduction of EDAlias a decade ago), because otherwise we'd get to issues like seen in #40110. A high-level premise has been that it doesn't make sense to store both alias and alias-for products (what would be the point of the alias?). It seems to me we're mixing two different use cases into one
I think it would be better to deal with these use cases separately with separate files. |
Thanks for clarifying. I would say this goes in the direction of keeping We would then have to come up with a separate offline event content for wfs dedicated to HLT GPU-vs-CPU comparisons. In a way, this is similar to what is already done online, where different clients are fed by different streams (e.g. |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-420682/29258/summary.html Comparison SummarySummary:
|
Just for the record, step3 of wf |
Thanks @missirol. I was relying on the output of |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-420682/29307/summary.html Comparison SummarySummary:
|
+1 |
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:
#40110 demonstrated that the OutputModule's duplicate branch check for EDAliases did not work properly when a SwitchProducer had an EDAlias case. The problem was that the SwitchProducer-EDAlias' alias-for
BranchID
was not inserted into thetrueBranchIDToKeptBranchDesc
, and therefore the check threw an exception only if the non-SwitchProducer-EDAlias duplicate entry was earlier in the map. This PR fixes the check to use the proper alias-forBranchID
for both normal and SwitchProducer EDAliases.The first commit consolidates some of the SwitchProducer unit test configuration files to reduce copy paste.
Resolves #40110
PR validation:
Framework unit tests run. The example HLT configuration throws now the proper exception.