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

Pr113x L1T Fractional Prescales implemented with Global Trigger #32741

Conversation

rekovic
Copy link
Contributor

@rekovic rekovic commented Jan 26, 2021

PR description:

Master branch PR of the 11_2_X PR #32377 which is needed for MWGR Feb 2021.

11_3_X: Use of fractional prescales in uGT emulator, by switching from legacy (int based) to new (double based) prescales. The new Conditions format is available in CondDB as L1TGlobalPrescalesVetosFractRcd, in the L1TGlobalPrescalesVetosFract_Stage2_v2_hlt tag.

Supplemented by changes in HLTrigger/HLTcore package

PR validation:

if this PR is a backport please specify the original PR and why you need to backport that PR:

Before submitting your pull requests, make sure you followed this checklist:

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-32741/20892

  • This PR adds an extra 76KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @rekovic for master.

It involves the following packages:

CommonTools/TriggerUtils
DQM/L1TMonitor
HLTrigger/HLTcore
L1Trigger/L1TGlobal

@cmsbuild, @andrius-k, @kmaeshima, @ErnestaP, @ahmad3213, @jmduarte, @Martin-Grunewald, @rekovic, @jfernan2, @fwyzard, @rvenditti can you please review it and eventually sign? Thanks.
@Martin-Grunewald this is something you requested to watch as well.
@silviodonato, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@rekovic
Copy link
Contributor Author

rekovic commented Jan 26, 2021

please test

@cmsbuild
Copy link
Contributor

-1

Failed Tests: UnitTests RelVals RelVals-INPUT AddOn
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-a8640e/12542/summary.html
COMMIT: 2f038e3
CMSSW: CMSSW_11_3_X_2021-01-25-2300/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/32741/12542/install.sh to create a dev area with all the needed externals and cmssw changes.

Unit Tests

I found errors in the following unit tests:

---> test runtestPhysicsToolsPatAlgos had ERRORS

RelVals

----- Begin Fatal Exception 26-Jan-2021 14:25:34 CET-----------------------
An exception of category 'NoRecord' occurred while
   [0] Processing global begin Run run: 274199
   [1] Calling method for module L1TGlobalSummary/'hltL1TGlobalSummary'
Exception Message:
No "L1TGlobalPrescalesVetosFractRcd" record found in the EventSetup.n
 Please add an ESSource or ESProducer that delivers such a record.
----- End Fatal Exception -------------------------------------------------
----- Begin Fatal Exception 26-Jan-2021 14:25:34 CET-----------------------
An exception of category 'NoRecord' occurred while
   [0] Processing global begin Run run: 301998
   [1] Calling method for module L1TGlobalSummary/'hltL1TGlobalSummary'
Exception Message:
No "L1TGlobalPrescalesVetosFractRcd" record found in the EventSetup.n
 Please add an ESSource or ESProducer that delivers such a record.
----- End Fatal Exception -------------------------------------------------
----- Begin Fatal Exception 26-Jan-2021 14:25:36 CET-----------------------
An exception of category 'NoRecord' occurred while
   [0] Processing global begin Run run: 319450
   [1] Calling method for module L1TGlobalSummary/'hltL1TGlobalSummary'
Exception Message:
No "L1TGlobalPrescalesVetosFractRcd" record found in the EventSetup.n
 Please add an ESSource or ESProducer that delivers such a record.
----- End Fatal Exception -------------------------------------------------
Expand to see more relval errors ...

RelVals-INPUT

  • 4.764.76_ZMuSkim2012D+ZMuSkim2012D+HLTDSKIM2+RECODR1reHLT2+HARVESTDR1reHLT/step2_ZMuSkim2012D+ZMuSkim2012D+HLTDSKIM2+RECODR1reHLT2+HARVESTDR1reHLT.log
  • 136.722136.722_RunDoubleEG2016B+RunDoubleEG2016B+HLTDR2_2016+RECODR2_2016reHLT_skimDoubleEG_HIPM+HARVESTDR2/step2_RunDoubleEG2016B+RunDoubleEG2016B+HLTDR2_2016+RECODR2_2016reHLT_skimDoubleEG_HIPM+HARVESTDR2.log
  • 136.723136.723_RunDoubleMuon2016B+RunDoubleMuon2016B+HLTDR2_2016+RECODR2_2016reHLT_HIPM+HARVESTDR2/step2_RunDoubleMuon2016B+RunDoubleMuon2016B+HLTDR2_2016+RECODR2_2016reHLT_HIPM+HARVESTDR2.log
Expand to see more relval errors ...

AddOn Tests

----- Begin Fatal Exception 26-Jan-2021 14:20:08 CET-----------------------
An exception of category 'NoRecord' occurred while
   [0] Processing global begin Run run: 272762
   [1] Calling method for module L1TGlobalSummary/'L1TGlobalSummary'
Exception Message:
No "L1TGlobalPrescalesVetosFractRcd" record found in the EventSetup.n
 Please add an ESSource or ESProducer that delivers such a record.
----- End Fatal Exception -------------------------------------------------
----- Begin Fatal Exception 26-Jan-2021 14:20:06 CET-----------------------
An exception of category 'NoRecord' occurred while
   [0] Processing global begin Run run: 323775
   [1] Calling method for module L1TGlobalSummary/'L1TGlobalSummary'
Exception Message:
No "L1TGlobalPrescalesVetosFractRcd" record found in the EventSetup.n
 Please add an ESSource or ESProducer that delivers such a record.
----- End Fatal Exception -------------------------------------------------
----- Begin Fatal Exception 26-Jan-2021 14:20:10 CET-----------------------
An exception of category 'NoRecord' occurred while
   [0] Processing global begin Run run: 325112
   [1] Calling method for module L1TGlobalSummary/'L1TGlobalSummary'
Exception Message:
No "L1TGlobalPrescalesVetosFractRcd" record found in the EventSetup.n
 Please add an ESSource or ESProducer that delivers such a record.
----- End Fatal Exception -------------------------------------------------
Expand to see more addon errors ...

@christopheralanwest
Copy link
Contributor

I've encountered a problem in trying to prepare the GTs and I need advice from @cms-sw/hlt-l2 regarding how to proceed. Some of the addOnTests use the run2_hlt_relval and run2_hlt_relval_hi GTs defined at https://github.com/cms-sw/cmssw/blob/master/Configuration/AlCa/python/autoCond.py#L43-L44. These GT are based on the 10_3_X release and so I can't add payloads of type L1TGlobalPrescalesVetosFractRcd both because the 10_3_X CMSSW release does not contain the relevant record and because the boost version used by the CMSSW in which L1TGlobalPrescalesVetosFract_Stage2_v2_hlt was serialized (1.72) is newer than that used by 10_3_X (1.63.0).

Should the run2_hlt_relval and run2_hlt_relval_hi GTs be updated to use a GT from a release series that is currently used by the HLT (11_2_X), or is intended that these GTs are nominally frozen as some sort of means of ensuring compatibility between the HLT actually run at P5 and newer releases? If there is any documentation somewhere that describes how the addOnTests are used in general, that would be very helpful.

@Martin-Grunewald
Copy link
Contributor

Can one make compatible GTs by re-serialising the record with the different boost?

@Martin-Grunewald
Copy link
Contributor

The addOnTests are to test that everything is in working order at PR test time. They are supposed to reflect any physics/MC production in/for that release.

@Martin-Grunewald
Copy link
Contributor

IOW, if the GTs can be updated (without changing the physics content), then this should be OK and also future proof.

@rekovic
Copy link
Contributor Author

rekovic commented Feb 1, 2021

+1

@silviodonato
Copy link
Contributor

@cms-sw/hlt-l2 do you have further comments?

@Martin-Grunewald
Copy link
Contributor

There is still a flag 'tests-rejected'
??

@Martin-Grunewald
Copy link
Contributor

please test

@Martin-Grunewald
Copy link
Contributor

Rerun tests....

@christopheralanwest
Copy link
Contributor

There is still a flag 'tests-rejected'
??

This PR was successfully tested with PR #32758 but apparently the bot was changed recently so that when two PRs are tested together, notifications are sent only to the PR in which the test command was issued, and similarly for the status labels. I don't know if this was a design decision or if it is a bug. @smuzaffar Could you comment?

@fwyzard
Copy link
Contributor

fwyzard commented Feb 1, 2021

please test with #32758

@smuzaffar
Copy link
Contributor

@christopheralanwest , it is design decision. Each PR needs to be tested explicitly

@silviodonato
Copy link
Contributor

please test with #32758
It seems there was a glitch during the test https://cmssdt.cern.ch/jenkins/job/compare-root-files-short-matrix/41047/console

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 2, 2021

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-a8640e/12634/summary.html
COMMIT: 2f038e3
CMSSW: CMSSW_11_3_X_2021-02-01-1100/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/32741/12634/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

There are some workflows for which there are errors in the baseline:
312.0 step 1
1000.0 step 2
1001.0 step 2
The results for the comparisons for these workflows could be incomplete
This means most likely that the IB is having errors in the relvals.The error does NOT come from this pull request

Summary:

  • You potentially added 1481 lines to the logs
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 34
  • DQMHistoTests: Total histograms compared: 2579163
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2579142
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 33 files compared)
  • Checked 143 log files, 37 edm output root files, 34 DQM output files

@Martin-Grunewald
Copy link
Contributor

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 2, 2021

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. @silviodonato, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2)

@silviodonato
Copy link
Contributor

+1

@makortel
Copy link
Contributor

makortel commented Feb 2, 2021

This PR likely broke two unit tests in DQM/Integration, see #32796.

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

Successfully merging this pull request may close these issues.