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

PUPPI v15 bug/crash fix for NANOAOD (106X backport) #32329

Merged
merged 2 commits into from Dec 1, 2020

Conversation

lathomas
Copy link
Contributor

PR description:

This is a fix to #32076 that introduced a crash in NANOAOD workflows.
For the record, the crash only happens when running the NANO step alone, but is not visible when both NANO and DQM:@nanoAODDQM steps are run (hence why it wasn't spotted earlier).

The fix consists to rearrange the order of some modules.
In addition, it was noticed that some booleans were not properly set for MC when recreating the jet PUPPI collection. This is now corrected.

Finally, the V15 PUPPI was in fact NOT enabled in the previous PR for reNANOAOD since only the run2_miniAOD_UL modifier was considered. This is also corrected. (That last item is not a backport because V15 is run by default in master)

PR validation:

The two following commands (used in NANOAOD v8 validation and that previously failed) are now running fine.

cmsDriver.py --python_filename PPD-RunIISummer20UL17NanoAODv2-00001_1_cfg.py --eventcontent NANOEDMAODSIM --customise Configuration/DataProcessing/Utils.addMonitoring --datatier NANOAODSIM --fileout file:PPD-RunIISummer20UL17NanoAODv2-00001.root --conditions 106X_mc2017_realistic_v8 --step NANO --filein "dbs:/DYJetsToLL_M-50_TuneCP5_13TeV-amcatnloFXFX-pythia8/RunIISummer20UL17MiniAOD-Pilot_106X_mc2017_realistic_v6-v2/MINIAODSIM" --era Run2_2017,run2_nanoAOD_106Xv1 --mc -n 1000

cmsDriver.py RECO --conditions 106X_dataRun2_v32 --customise Configuration/DataProcessing/Utils.addMonitoring --datatier NANOAOD --era Run2_2017,run2_nanoAOD_106Xv1 --eventcontent NANOEDMAOD --filein /store/data/Run2017F/JetHT/MINIAOD/09Aug2019_UL2017-v1/270000/1B3CEF31-C191-CA4B-A5F1-447647399163.root --fileout "file:ReReco-Run2017C-JetHT-02Dec2020_UL2017_pilot-00001.root" --nThreads 2 --number 1000 --python_filename "ReReco-Run2017C-JetHT-02Dec2020_UL2017_pilot-00001_0_cfg.py" --scenario pp --step NANO --data

The PUPPIMET is indeed different when running this command on 10_6_19 and on 10_6_19_patch1 with this PR added.
It is identical when the commands above are run without the run2_nanoAOD_106Xv1 modifier.

puppimet_modifier

puppimet_nomodifier

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

Backport of #32328

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @lathomas for CMSSW_10_6_X.

It involves the following packages:

CommonTools/PileupAlgos
PhysicsTools/NanoAOD

@perrotta, @gouskos, @cmsbuild, @fgolf, @slava77, @jpata, @mariadalfonso, @santocch can you please review it and eventually sign? Thanks.
@rappoccio, @swertz, @ahinzmann, @jdolen, @gkasieczka, @hatakeyamak, @gpetruc, @peruzzim, @clelange 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

@gouskos
Copy link
Contributor

gouskos commented Nov 30, 2020

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 30, 2020

The tests are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

+1
Tested at: 4074911
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-48bb68/11148/summary.html
CMSSW: CMSSW_10_6_X_2020-11-29-2300
SCRAM_ARCH: slc7_amd64_gcc700

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-48bb68/11148/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 2 differences found in the comparisons
  • DQMHistoTests: Total files compared: 34
  • DQMHistoTests: Total histograms compared: 3214712
  • DQMHistoTests: Total failures: 2
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3214376
  • DQMHistoTests: Total skipped: 334
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 33 files compared)
  • Checked 140 log files, 26 edm output root files, 34 DQM output files

@silviodonato
Copy link
Contributor

urgent

@perrotta
Copy link
Contributor

+1

  • No reco changes involved, only nanoAOD
  • Jenkins tests pass

@silviodonato
Copy link
Contributor

test parameters:

  • workflows = 136.8522,1325.61,1325.81

@cmsbuild
Copy link
Contributor

Pull request #32329 was updated. @perrotta, @gouskos, @cmsbuild, @fgolf, @slava77, @jpata, @mariadalfonso, @santocch can you please check and sign again.

@silviodonato
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 30, 2020

The tests are being triggered in jenkins.
Test Parameters:

@cmsbuild
Copy link
Contributor

+1
Tested at: dd50beb
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-48bb68/11159/summary.html
CMSSW: CMSSW_10_6_X_2020-11-30-1100
SCRAM_ARCH: slc7_amd64_gcc700

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-48bb68/11159/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 2 differences found in the comparisons
  • DQMHistoTests: Total files compared: 34
  • DQMHistoTests: Total histograms compared: 3214712
  • DQMHistoTests: Total failures: 2
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3214376
  • DQMHistoTests: Total skipped: 334
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 33 files compared)
  • Checked 140 log files, 26 edm output root files, 34 DQM output files

@gouskos
Copy link
Contributor

gouskos commented Nov 30, 2020

+xpog
Changes are as expected

@perrotta
Copy link
Contributor

+1

@santocch
Copy link

+1

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_10_6_X IBs (tests are also fine) and once validation in the development release cycle CMSSW_11_3_X is complete. 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)

@qliphy
Copy link
Contributor

qliphy commented Dec 1, 2020

+1

@cmsbuild cmsbuild merged commit 39c926a into cms-sw:CMSSW_10_6_X Dec 1, 2020
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