Skip to content
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

AddOn Test failure with ESGetTokenWrongTransition exception #34483

Closed
smuzaffar opened this issue Jul 14, 2021 · 3 comments
Closed

AddOn Test failure with ESGetTokenWrongTransition exception #34483

smuzaffar opened this issue Jul 14, 2021 · 3 comments

Comments

@smuzaffar
Copy link
Contributor

In few of last night's IBs, there is an addOnTest hlt_mc_PRef failing with error [a]. Note that it did not fail for all the of 12.0.X 23h00 IB ( e.g. PY3 ibs, gcc10 and non-x86_64 IBs looks good). Could it be related to #34338 ?

[a]

----- Begin Fatal Exception 14-Jul-2021 04:21:44 CEST-----------------------
An exception of category 'ESGetTokenWrongTransition' occurred while
   [0] Processing  Event run: 1 lumi: 1 event: 3 stream: 3
   [1] Running path 'L1TAnalyzerEndpath'
   [2] Prefetching for module L1TGlobalSummary/'L1TGlobalSummary'
   [3] Prefetching for module L1TGlobalProducer/'simGtStage2Digis'
   [4] Prefetching for module L1TStage2Layer2Producer/'simCaloStage2Digis'
   [5] Prefetching for module L1TCaloLayer1/'simCaloStage2Layer1Digis'
   [6] Prefetching for module EcalTrigPrimProducer/'simEcalTriggerPrimitiveDigis'
   [7] Prefetching for module MixingModule/'mix'
   [8] Calling method for module OscarMTProducer/'g4SimHits'
Exception Message:
The transition ID stored in the ESGetToken does not match the
transition where the token is being used. The associated record
type is: IdealMagneticFieldRecord
For producers, filters and analyzers this transition ID is
set as a template parameter to the call to the esConsumes
function that creates the token. Event is the default transition.
Other possibilities are BeginRun, EndRun, BeginLuminosityBlock,
or EndLuminosityBlock. You may need multiple tokens if you want to
get the same data in multiple transitions. The transition ID has a
different meaning in ESProducers. For ESProducers, the transition
ID identifies the function that produces the EventSetup data (often
there is one function named produce but there can be multiple
functions with different names). For ESProducers, the ESGetToken
must be used in the function associated with the ESConsumesCollector
returned by the setWhatProduced function.
----- End Fatal Exception -------------------------------------------------
@cmsbuild
Copy link
Contributor

A new Issue was created by @smuzaffar Malik Shahzad Muzaffar.

@Dr15Jones, @perrotta, @dpiparo, @silviodonato, @smuzaffar, @makortel, @qliphy can you please review it and eventually sign/assign? Thanks.

cms-bot commands are listed here

@makortel
Copy link
Contributor

makortel commented Jul 14, 2021

Could it be related to #34338 ?

Yes, and it should get fixed by #34479 that is already merged. The failure occurs randomly (depending on how TBB uses worker threads).

@smuzaffar
Copy link
Contributor Author

thanks @makortel . as #34479 is merged so I am closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants