cmssw: Consumes failure in `BPHMonitor`

Starting from CMSSW_12_5_X_2022-08-09-1100, some workflows are failing with:

----- Begin Fatal Exception 09-Aug-2022 18:35:43 CEST-----------------------
An exception of category 'BadToken' occurred while
   [0] Processing  Event run: 1 lumi: 1 event: 9 stream: 0
   [1] Running path 'dqmoffline_1_step'
   [2] Calling method for module BPHMonitor/'Dimuon0_L3TnP_Upsilon'
Exception Message:
A get using a EDGetToken with the C++ type 'BXVector<GlobalAlgBlk>' was made using an uninitialized token.
 Please check that the variable is being initialized from a 'consumes' call.
----- End Fatal Exception -------------------------------------------------

e.g. 11634.911. First spotted in https://github.com/cms-sw/cmssw/pull/38760#issuecomment-1209651811.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 21 (21 by maintainers)

Most upvoted comments

I’d say using gtStage2Digis.

I agree. In general (for example, during production jobs), hltGtStage2Digis should not be available during step 3.