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

[HGCAL trigger] Migrate to esConsumes #35459

Merged
merged 3 commits into from Oct 8, 2021

Conversation

jbsauvan
Copy link
Contributor

PR description:

PR validation:

Private tests in L1Trigger/L1THGCalUtilities/test:

cmsRun testHGCalL1T_RelValV11_cfg.py

Tested D49, D60 and D68 workflows

runTheMatrix.py -w upgrade -l 23234.0 --maxSteps=2 
runTheMatrix.py -w upgrade -l 28234.0 --maxSteps=2 
runTheMatrix.py -w upgrade -l 31434.0 --maxSteps=2

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35459/25615

  • This PR adds an extra 68KB to repository

@makortel
Copy link
Contributor

Thanks!

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @jbsauvan (Jean-Baptiste Sauvan) for master.

It involves the following packages:

  • L1Trigger/L1THGCal (upgrade, l1)
  • L1Trigger/L1THGCalUtilities (upgrade, l1)

@cmsbuild, @AdrianoDee, @srimanob, @cecilecaillol, @rekovic can you please review it and eventually sign? Thanks.
@Martin-Grunewald, @missirol, @amarini, @lgray this is something you requested to watch as well.
@perrotta, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@srimanob
Copy link
Contributor

@cmsbuild please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-cab02a/19216/summary.html
COMMIT: 0344ed8
CMSSW: CMSSW_12_1_X_2021-09-28-2300/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/35459/19216/install.sh to create a dev area with all the needed externals and cmssw changes.

CMS StaticAnalyzer warnings: There are 2 EventSetupRecord::get warnings. See https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-cab02a/19216/llvm-analysis/esrget-sa.txt for details.
CMS StaticAnalyzer warnings: There are 1 inherits from legacy modules warnings. See https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-cab02a/19216/llvm-analysis/legacy-mod-sa.txt for details.

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 2 differences found in the comparisons
  • DQMHistoTests: Total files compared: 40
  • DQMHistoTests: Total histograms compared: 3211080
  • DQMHistoTests: Total failures: 5
  • DQMHistoTests: Total nulls: 1
  • DQMHistoTests: Total successes: 3211052
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.004 KiB( 39 files compared)
  • DQMHistoSizes: changed ( 312.0 ): 0.004 KiB MessageLogger/Warnings
  • Checked 169 log files, 37 edm output root files, 40 DQM output files
  • TriggerResults: no differences found

@jbsauvan
Copy link
Contributor Author

Seems that I forgot to migrate L1Trigger/L1THGCalUtilities/plugins/CaloTruthCellsProducer.cc, I'll update it.

There is still a deprecated call of EventSetupRecord::get(ESHandle&) in L1Trigger/L1THGCal/src/HGCalTriggerTools.cc, but this was kept because the HGCalTriggerTools::eventSetup function that makes this call is used outside L1THGCal packages in L1Trigger/L1CaloTrigger/test

@makortel
Copy link
Contributor

There is still a deprecated call of EventSetupRecord::get(ESHandle&) in L1Trigger/L1THGCal/src/HGCalTriggerTools.cc, but this was kept because the HGCalTriggerTools::eventSetup function that makes this call is used outside L1THGCal packages in L1Trigger/L1CaloTrigger/test

That call needs to be eventually migrated as well. Is the code in L1Trigger/L1CaloTrigger/test being run as part of unit tests (scram b runtests)? If yes, addressing it rather soon would be appreciated (still a separate PR would be fine).

@jbsauvan
Copy link
Contributor Author

There is still a deprecated call of EventSetupRecord::get(ESHandle&) in L1Trigger/L1THGCal/src/HGCalTriggerTools.cc, but this was kept because the HGCalTriggerTools::eventSetup function that makes this call is used outside L1THGCal packages in L1Trigger/L1CaloTrigger/test

That call needs to be eventually migrated as well. Is the code in L1Trigger/L1CaloTrigger/test being run as part of unit tests (scram b runtests)? If yes, addressing it rather soon would be appreciated (still a separate PR would be fine).

Unfortunately I cannot tell as I'm not responsible of this part (which is why I didn't want to modify the code there). Maybe @cecilecaillol and @rekovic know who in the L1T group could have a look.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35459/25638

  • This PR adds an extra 16KB to repository

@cmsbuild
Copy link
Contributor

Pull request #35459 was updated. @cmsbuild, @AdrianoDee, @srimanob, @cecilecaillol, @rekovic can you please check and sign again.

@makortel
Copy link
Contributor

@cmsbuild, please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-cab02a/19252/summary.html
COMMIT: 97ceaf1
CMSSW: CMSSW_12_1_X_2021-09-28-2300/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/35459/19252/install.sh to create a dev area with all the needed externals and cmssw changes.

CMS StaticAnalyzer warnings: There are 1 EventSetupRecord::get warnings. See https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-cab02a/19252/llvm-analysis/esrget-sa.txt for details.
CMS StaticAnalyzer warnings: There are 1 inherits from legacy modules warnings. See https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-cab02a/19252/llvm-analysis/legacy-mod-sa.txt for details.

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 2 differences found in the comparisons
  • DQMHistoTests: Total files compared: 40
  • DQMHistoTests: Total histograms compared: 3211080
  • DQMHistoTests: Total failures: 5
  • DQMHistoTests: Total nulls: 1
  • DQMHistoTests: Total successes: 3211052
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.004 KiB( 39 files compared)
  • DQMHistoSizes: changed ( 312.0 ): 0.004 KiB MessageLogger/Warnings
  • Checked 169 log files, 37 edm output root files, 40 DQM output files
  • TriggerResults: no differences found

@rekovic
Copy link
Contributor

rekovic commented Oct 6, 2021

+1

@rekovic
Copy link
Contributor

rekovic commented Oct 6, 2021

@markotel

#35459 (comment)

No, the code in L1Trigger/L1CaloTrigger/test is not run as part of unit tests.

@makortel
Copy link
Contributor

makortel commented Oct 7, 2021

@cms-sw/upgrade-l2 Could you please review and sign? Thanks!

@AdrianoDee
Copy link
Contributor

+upgrade

@cmsbuild
Copy link
Contributor

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

@qliphy
Copy link
Contributor

qliphy commented Oct 8, 2021

+1
A deprecated call of EventSetupRecord::get(ESHandle&) in L1Trigger/L1THGCal/src/HGCalTriggerTools.cc will be fixed in a separate PR.

@cmsbuild cmsbuild merged commit ad0988e into cms-sw:master Oct 8, 2021
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.

None yet

7 participants