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

nano test scripts in CMSSW #39765

Merged
merged 5 commits into from
Oct 20, 2022
Merged

Conversation

vlimant
Copy link
Contributor

@vlimant vlimant commented Oct 19, 2022

PR description:

as discussed in #39452 the testing script for nano are being put in CMSSW to enable testing in PR integration

PR validation:

ran
`runTheMatrix.py --what nano -l 2500.601 --site "" --job-reports
./inspectNanoFile.py 2500.311_mc106Xul17v2+TTbarMINIAOD10.6_UL17v2+NANO_mc10.6ul17v2+HRV_NANO_mc/step2.root -j 2500.311-size.json
./inspectNanoFile.py 2500.601_mc126X+TTBarMINIAOD12.6+NANO_mc12.6+HRV_NANO_mc/step2.root -j 2500.601-size.json

./get_timing_from_jobreport.py 2500.311_mc106Xul17v2+TTbarMINIAOD10.6_UL17v2+NANO_mc10.6ul17v2+HRV_NANO_mc/JobReport2.xml 2500.311-timing.json
./get_timing_from_jobreport.py 2500.601_mc126X+TTBarMINIAOD12.6+NANO_mc12.6+HRV_NANO_mc/JobReport2.xml 2500.601-timing.json

./compare_sizes_json.py -H -f md 2500.601 2500.311 --ref "./" --base "{}-size.json,{}-timing.json" >> NANO_report.md`

to get a markdown print out that should be displayed in the summary.
N.B: --ref should point to a directory where we have reference files for comparison

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-39765/32628

  • This PR adds an extra 12KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @vlimant (vlimant) for master.

It involves the following packages:

  • PhysicsTools/NanoAOD (xpog)

@cmsbuild, @swertz, @vlimant can you please review it and eventually sign? Thanks.
@gpetruc this is something you requested to watch as well.
@perrotta, @dpiparo, @rappoccio you are the release manager for this.

cms-bot commands are listed here

@smuzaffar
Copy link
Contributor

thanks @vlimant , I will update bot to run these and include the results in PR summary.

@smuzaffar
Copy link
Contributor

@vlimant , if PhysicsTools/NanoAOD/test/runtests.sh is not needed then please also remove PhysicsTools/NanoAOD/test/BuildFile.xml ( which is using this runtests.sh script) and PhysicsTools/NanoAOD/test/runtestPhysicsToolsNanoAOD.cpp

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-39765/32636

  • This PR adds an extra 16KB to repository

@cmsbuild
Copy link
Contributor

Pull request #39765 was updated. @cmsbuild, @swertz, @vlimant can you please check and sign again.

@smuzaffar
Copy link
Contributor

@vlimant , looks like PhysicsTools/NanoAOD/test/dqmQualityTests.xml file is needed see cms-bot PR test results

----- Begin Fatal Exception 19-Oct-2022 12:50:50 CEST-----------------------
An exception of category 'StdException' occurred while
   [0] Constructing the EventProcessor
   [1] Constructing module: class=QualityTester label='nanoDQMQTester'
Exception Message:
A std::exception was thrown.
/cvmfs/cms-ci.cern.ch/week1/cms-sw/cms-bot/1867/28357/CMSSW_12_6_X_2022-10-18-2300/poison/PhysicsTools/NanoAOD/test/dqmQualityTests.xml(1): expected <
----- End Fatal Exception -------------------------------------------------

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-39765/32639

  • This PR adds an extra 16KB to repository

  • Found files with invalid states:

    • PhysicsTools/NanoAOD/test/dqmQualityTests.xml:

@cmsbuild
Copy link
Contributor

Pull request #39765 was updated. @cmsbuild, @swertz, @vlimant can you please check and sign again.

@smuzaffar
Copy link
Contributor

test parameters:

@smuzaffar
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-7c3bc5/28386/summary.html
COMMIT: 354f3fc
CMSSW: CMSSW_12_6_X_2022-10-19-2300/el8_amd64_gcc10
Additional Tests: NANO
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/39765/28386/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: 8 differences found in the comparisons
  • Reco comparison had 6 failed jobs
  • DQMHistoTests: Total files compared: 48
  • DQMHistoTests: Total histograms compared: 3391158
  • DQMHistoTests: Total failures: 6
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3391130
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 47 files compared)
  • Checked 201 log files, 48 edm output root files, 48 DQM output files
  • TriggerResults: no differences found

NANO Comparison Summary

@slava77 comparisons for the following workflows were not done due to missing matrix map:

  • /data/cmsbld/jenkins/workspace/compare-root-files-short-matrix/data/PR-7c3bc5/2500.001_data80X+MuonEG2016HMINIAOD8.0+NANO_data8.0+HRV_NANO_data
  • /data/cmsbld/jenkins/workspace/compare-root-files-short-matrix/data/PR-7c3bc5/2500.0_mc80X+TTbarMINIAOD8.0+NANO_mc8.0+HRV_NANO_mc
  • /data/cmsbld/jenkins/workspace/compare-root-files-short-matrix/data/PR-7c3bc5/2500.101_mc94Xv2+TTbarMINIAOD9.4v2+NANO_mc9.4v2+HRV_NANO_mc
  • /data/cmsbld/jenkins/workspace/compare-root-files-short-matrix/data/PR-7c3bc5/2500.11_data94X2016+MuonEG2016MINIAOD9.4v2+NANO_2016data9.4v2+HRV_NANO_data
  • /data/cmsbld/jenkins/workspace/compare-root-files-short-matrix/data/PR-7c3bc5/2500.1_mc94X2016+TTbar2016MINIAOD9.4v2+NANO_2016mc9.4v2+HRV_NANO_mc

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 6
  • DQMHistoTests: Total histograms compared: 5223
  • DQMHistoTests: Total failures: 0
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 5223
  • DQMHistoTests: Total skipped: 0
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 5 files compared)
  • Checked 12 log files, 0 edm output root files, 6 DQM output files

Nano size comparison Summary:

Sample kb/ev ref kb/ev diff kb/ev ev/s/thd ref ev/s/thd diff rate mem/thd ref mem/thd
2500.0 2.165 2.165 0.000 ( +0.0% ) 7.59 7.79 -2.6% 1.445 1.841
2500.001 1.126 1.126 0.000 ( +0.0% ) 11.16 11.61 -3.8% 1.450 1.836
2500.1 2.291 2.291 0.000 ( +0.0% ) 5.81 5.97 -2.6% 1.807 2.357
2500.101 2.346 2.346 0.000 ( +0.0% ) 4.93 5.09 -3.2% 1.954 2.396
2500.11 1.219 1.219 0.000 ( +0.0% ) 8.87 9.24 -4.0% 1.657 2.052

@vlimant
Copy link
Contributor Author

vlimant commented Oct 20, 2022

+1
excellent ! many thanks @smuzaffar

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

@perrotta
Copy link
Contributor

@vlimant @smuzaffar do I understand correctly that this PR can get merged even before cms-sw/cms-bot#1867 is finalized? (I see there are still ongoing discussions in it)

@smuzaffar
Copy link
Contributor

smuzaffar commented Oct 20, 2022

yes @perrotta this PR can be merged. If we needed any changes then those will go in to cms-bot.

@vlimant
Copy link
Contributor Author

vlimant commented Oct 20, 2022

from the scripts POV in this PR, things are final indeed.

@perrotta
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit b3fa723 into cms-sw:master Oct 20, 2022
@vlimant vlimant deleted the nano_scripts_from_gitlab branch November 22, 2022 10:17
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.

4 participants