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

Migrate some modules in RecoMET to esConsumes() #34943

Merged
merged 7 commits into from Aug 21, 2021

Conversation

makortel
Copy link
Contributor

@makortel makortel commented Aug 19, 2021

PR description:

Part of #31061. These ones are fairly straightforward.

PR validation:

Code compiles. Limited matrix runs.

@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-34943/24764

ERROR: Build errors found during clang-tidy run.

RecoMET/METFilters/interface/EcalBoundaryInfoCalculator.h:270:47: error: functions that differ only in their return type cannot be overloaded [clang-diagnostic-error]
    std::unique_ptr<CaloNavigator<EcalDetId>> theEcalNav();
                                              ^
RecoMET/METFilters/interface/EcalBoundaryInfoCalculator.h:548:21: note: in instantiation of member function 'EcalBoundaryInfoCalculator<EEDetId>::initializeEcalNavigator' requested here
--
RecoMET/METFilters/interface/EcalBoundaryInfoCalculator.h:272:18: error: non-object type 'std::unique_ptr<CaloNavigator<EBDetId>> ()' is not assignable [clang-diagnostic-error]
      theEcalNav = std::make_unique<CaloNavigator<EcalDetId>>(
                 ^
RecoMET/METFilters/interface/EcalBoundaryInfoCalculator.h:548:21: note: in instantiation of member function 'EcalBoundaryInfoCalculator<EBDetId>::initializeEcalNavigator' requested here
--
RecoMET/METFilters/interface/EcalBoundaryInfoCalculator.h:281:12: error: no viable conversion from returned value of type 'std::unique_ptr<CaloNavigator<EBDetId>> ()' to function return type 'std::unique_ptr<CaloNavigator<EBDetId>>' [clang-diagnostic-error]
    return theEcalNav;
           ^
/cvmfs/cms-ib.cern.ch/nweek-02694/slc7_amd64_gcc900/external/gcc/9.3.0/lib/gcc/x86_64-unknown-linux-gnu/9.3.0/../../../../include/c++/9.3.0/bits/unique_ptr.h:250:12: note: candidate constructor template not viable: no known conversion from 'std::unique_ptr<CaloNavigator<EBDetId>> ()' to 'std::nullptr_t' (aka 'nullptr_t') for 1st argument
--
gmake: *** [config/SCRAM/GMake/Makefile.coderules:129: code-checks] Error 2
gmake: *** [There are compilation/build errors. Please see the detail log above.] Error 2

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-34943/24765

  • This PR adds an extra 52KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @makortel (Matti Kortelainen) for master.

It involves the following packages:

  • RecoMET/METAlgorithms (reconstruction)
  • RecoMET/METFilters (reconstruction)
  • RecoMET/METPUSubtraction (reconstruction)
  • RecoMET/METProducers (reconstruction)

@jpata, @cmsbuild, @slava77 can you please review it and eventually sign? Thanks.
@mmarionncern, @gouskos, @ahinzmann, @jdamgov, @jdolen, @nhanvtran, @gkasieczka, @clelange, @schoef, @mariadalfonso, @seemasharmafnal 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

@makortel
Copy link
Contributor Author

@cmsbuild, please test

@cmsbuild
Copy link
Contributor

-1

Failed Tests: RelVals RelVals-INPUT AddOn
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-2d38e0/17880/summary.html
COMMIT: cf3cfe7
CMSSW: CMSSW_12_1_X_2021-08-18-2300/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/34943/17880/install.sh to create a dev area with all the needed externals and cmssw changes.

RelVals

----- Begin Fatal Exception 19-Aug-2021 05:30:11 CEST-----------------------
An exception of category 'InvalidESGetToken' occurred while
   [0] Processing  Event run: 160960 lumi: 277 event: 10001082 stream: 0
   [1] Running path 'dqmoffline_step'
   [2] Prefetching for module DQMMessageLogger/'DQMMessageLogger'
   [3] Prefetching for module LogErrorHarvester/'logErrorHarvester'
   [4] Prefetching for module BeamHaloSummaryProducer/'BeamHaloSummary'
   [5] Calling method for module CSCHaloDataProducer/'CSCHaloData'
Exception Message:
Attempted to get data using an invalid token of type ESGetToken<CaloGeometry,CaloGeometryRecord>.
Please call consumes to properly initialize the token.
----- End Fatal Exception -------------------------------------------------
----- Begin Fatal Exception 19-Aug-2021 05:31:10 CEST-----------------------
An exception of category 'InvalidESGetToken' occurred while
   [0] Processing  Event run: 305064 lumi: 36 event: 55020723 stream: 0
   [1] Running path 'Flag_EcalDeadCellBoundaryEnergyFilter'
   [2] Calling method for module EcalDeadCellBoundaryEnergyFilter/'EcalDeadCellBoundaryEnergyFilter'
Exception Message:
Attempted to get data using an invalid token of type ESGetToken<CaloTopology,CaloTopologyRecord>.
Please call consumes to properly initialize the token.
----- End Fatal Exception -------------------------------------------------
----- Begin Fatal Exception 19-Aug-2021 05:31:16 CEST-----------------------
An exception of category 'InvalidESGetToken' occurred while
   [0] Processing  Event run: 277069 lumi: 81 event: 36026102 stream: 0
   [1] Running path 'Flag_EcalDeadCellBoundaryEnergyFilter'
   [2] Calling method for module EcalDeadCellBoundaryEnergyFilter/'EcalDeadCellBoundaryEnergyFilter'
Exception Message:
Attempted to get data using an invalid token of type ESGetToken<CaloTopology,CaloTopologyRecord>.
Please call consumes to properly initialize the token.
----- End Fatal Exception -------------------------------------------------
Expand to see more relval errors ...

RelVals-INPUT

  • 4.224.22_RunCosmics2011A+RunCosmics2011A+RECOCOSD+ALCACOSD+SKIMCOSD+HARVESTDC/step2_RunCosmics2011A+RunCosmics2011A+RECOCOSD+ALCACOSD+SKIMCOSD+HARVESTDC.log
  • 4.64.6_MinimumBias2010A+MinimumBias2010A+RECOSKIMALCA+HARVESTDR1/step2_MinimumBias2010A+MinimumBias2010A+RECOSKIMALCA+HARVESTDR1.log
  • 134.813134.813_RunCosmics2015C+RunCosmics2015C+RECOCOSDRUN2+ALCACOSDRUN2+HARVESTDCRUN2/step2_RunCosmics2015C+RunCosmics2015C+RECOCOSDRUN2+ALCACOSDRUN2+HARVESTDCRUN2.log
Expand to see more relval errors ...

AddOn Tests

----- Begin Fatal Exception 19-Aug-2021 05:29:15 CEST-----------------------
An exception of category 'InvalidESGetToken' occurred while
   [0] Processing  Event run: 1 lumi: 1 event: 4 stream: 3
   [1] Running path 'FEVTDEBUGHLToutput_step'
   [2] Prefetching for module PoolOutputModule/'FEVTDEBUGHLToutput'
   [3] Prefetching for module LogErrorHarvester/'logErrorHarvester'
   [4] Prefetching for module BeamHaloSummaryProducer/'BeamHaloSummary'
   [5] Calling method for module CSCHaloDataProducer/'CSCHaloData'
Exception Message:
Attempted to get data using an invalid token of type ESGetToken<CaloGeometry,CaloGeometryRecord>.
Please call consumes to properly initialize the token.
----- End Fatal Exception -------------------------------------------------
----- Begin Fatal Exception 19-Aug-2021 05:29:17 CEST-----------------------
An exception of category 'InvalidESGetToken' occurred while
   [0] Processing  Event run: 1 lumi: 1 event: 5 stream: 1
   [1] Running path 'FEVTDEBUGHLToutput_step'
   [2] Prefetching for module PoolOutputModule/'FEVTDEBUGHLToutput'
   [3] Prefetching for module LogErrorHarvester/'logErrorHarvester'
   [4] Prefetching for module BeamHaloSummaryProducer/'BeamHaloSummary'
   [5] Calling method for module CSCHaloDataProducer/'CSCHaloData'
Exception Message:
Attempted to get data using an invalid token of type ESGetToken<CaloGeometry,CaloGeometryRecord>.
Please call consumes to properly initialize the token.
----- End Fatal Exception -------------------------------------------------
----- Begin Fatal Exception 19-Aug-2021 05:29:27 CEST-----------------------
An exception of category 'InvalidESGetToken' occurred while
   [0] Processing  Event run: 1 lumi: 1 event: 4 stream: 1
   [1] Running path 'FEVTDEBUGHLToutput_step'
   [2] Prefetching for module PoolOutputModule/'FEVTDEBUGHLToutput'
   [3] Prefetching for module LogErrorHarvester/'logErrorHarvester'
   [4] Prefetching for module BeamHaloSummaryProducer/'BeamHaloSummary'
   [5] Calling method for module CSCHaloDataProducer/'CSCHaloData'
Exception Message:
Attempted to get data using an invalid token of type ESGetToken<CaloGeometry,CaloGeometryRecord>.
Please call consumes to properly initialize the token.
----- End Fatal Exception -------------------------------------------------
Expand to see more addon errors ...

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-34943/24778

  • This PR adds an extra 52KB to repository

@cmsbuild
Copy link
Contributor

Pull request #34943 was updated. @jpata, @cmsbuild, @slava77 can you please check and sign again.

@makortel
Copy link
Contributor Author

@cmsbuild, please test

(limited matrix ran in a private test)

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-2d38e0/17901/summary.html
COMMIT: 022f847
CMSSW: CMSSW_12_1_X_2021-08-19-1100/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/34943/17901/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 39
  • DQMHistoTests: Total histograms compared: 3000352
  • DQMHistoTests: Total failures: 0
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3000330
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 38 files compared)
  • Checked 165 log files, 37 edm output root files, 39 DQM output files
  • TriggerResults: no differences found

@slava77
Copy link
Contributor

slava77 commented Aug 20, 2021

+reconstruction

for #34943 022f847

  • code changes are technical, in line with the PR description
  • jenkins tests pass

@cmsbuild
Copy link
Contributor

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 Aug 21, 2021

+1

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

4 participants