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

Allow multiple "--command" in runTheMatrix #34722

Merged
merged 2 commits into from Aug 5, 2021

Conversation

srimanob
Copy link
Contributor

@srimanob srimanob commented Aug 2, 2021

PR description:

As discussed in #34599 (comment)
This PR considers --command as a list, and join them together. This allows multiple --command(s) to be used in the PR test.

PR validation:

runTheMatrix.py --what upgrade -l 34634.0 --wm init --command '--customise Validation/Performance/TimeMemoryJobReport.customiseWithTimeMemoryJobReport' --command '--procModifiers fineCalo'
gives the expected output.

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

Not a backport, and no need of backport.

@perrotta
Copy link
Contributor

perrotta commented Aug 2, 2021

@smuzaffar

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 2, 2021

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-34722/24361

  • This PR adds an extra 24KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 2, 2021

A new Pull Request was created by @srimanob (Phat Srimanobhas) for master.

It involves the following packages:

  • Configuration/PyReleaseValidation (pdmv, upgrade)

@jordan-martins, @chayanit, @bbilin, @wajidalikhan, @kpedro88, @cmsbuild, @AdrianoDee, @srimanob, @kskovpen can you please review it and eventually sign? Thanks.
@makortel, @Martin-Grunewald, @fabiocos, @slomeo this is something you requested to watch as well.
@silviodonato, @dpiparo, @qliphy, @perrotta you are the release manager for this.

cms-bot commands are listed here

@@ -22,7 +22,7 @@ def __init__(self, opt):

self.wm=opt.wmcontrol
self.revertDqmio=opt.revertDqmio
self.addCommand=opt.command
self.addCommand=' '.join(opt.command)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@srimanob , by default opt.command is None and the above will fail if --command option is not used. I would suggest to revert this change and instead add the following

    if opt.command: opt.command = ' '.join(opt.command)

after https://github.com/cms-sw/cmssw/blob/master/Configuration/PyReleaseValidation/scripts/runTheMatrix.py#L307

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @smuzaffar
I've updated the PR.

@srimanob
Copy link
Contributor Author

srimanob commented Aug 2, 2021

test parameters:

  • relvals_opt = --command '--customise SLHCUpgradeSimulations/Configuration/aging.customise_aging_3000'

@srimanob
Copy link
Contributor Author

srimanob commented Aug 2, 2021

test parameters:

  • relvals_opt = --command '--procModifiers fineCalo'

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 2, 2021

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-34722/24363

  • This PR adds an extra 16KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 2, 2021

Pull request #34722 was updated. @jordan-martins, @chayanit, @bbilin, @wajidalikhan, @kpedro88, @cmsbuild, @AdrianoDee, @srimanob, @kskovpen can you please check and sign again.

@smuzaffar
Copy link
Contributor

@srimanob , / was not recognized by bot that is why #34722 (comment) was rejected. I have updated bot to recognize / too ( cms-sw/cms-bot#1604 ) . Feel free to try relvals_opt = --command '--customise SLHCUpgradeSimulations/Configuration/aging.customise_aging_3000' now

@srimanob
Copy link
Contributor Author

srimanob commented Aug 2, 2021

test parameters:

@srimanob
Copy link
Contributor Author

srimanob commented Aug 2, 2021

test parameters:

  • relvals_opt = --command '--customise SLHCUpgradeSimulations/Configuration/aging.customise_aging_3000'

@srimanob
Copy link
Contributor Author

srimanob commented Aug 2, 2021

@cmsbuild please test

Thanks @smuzaffar

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 4, 2021

-1

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

RelVals

The relvals timed out after 4 hours.

@srimanob
Copy link
Contributor Author

srimanob commented Aug 4, 2021

Hi @smuzaffar
How can I spot the fail relvals without going through them one by one? Thanks.

@smuzaffar
Copy link
Contributor

@srimanob , I case of timeout runTheMatrix.py do not generate the summary so yes it is hard to findout which one fail. I look at the logs and it is workflow 140.56 which started at 9h26 and did not finish in 4 hours.

@srimanob
Copy link
Contributor Author

srimanob commented Aug 4, 2021

Thanks @smuzaffar
140.56 is the HI real data, we should not care about it with the modifier. Since it applies to all workflows during PR test, we may need to use commands with does not effect much on all of them.

@smuzaffar
Copy link
Contributor

@srimanob , this PR itself is good to go in. This shows that we can now run PR tests with extra command "option". If needed, you can reset the test parameters and re-run the tests to get test-approved label

@srimanob
Copy link
Contributor Author

srimanob commented Aug 4, 2021

test parameters:

@srimanob
Copy link
Contributor Author

srimanob commented Aug 4, 2021

Please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 4, 2021

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-fd036a/17535/summary.html
COMMIT: 072fcb3
CMSSW: CMSSW_12_1_X_2021-08-03-2300/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/34722/17535/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: 2998564
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2998541
  • 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

@tvami
Copy link
Contributor

tvami commented Aug 4, 2021

@boudoul RelVal-INPUT issue is related to #34633
As far as I can see, there is not yet a solution coded in a PR...

Hi @boudoul in the meantime the following PR was proposed to fix the time-out issue: #34779

@srimanob
Copy link
Contributor Author

srimanob commented Aug 4, 2021

+Upgrade

@chayanit
Copy link

chayanit commented Aug 5, 2021

+1

@cmsbuild
Copy link
Contributor

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

@perrotta
Copy link
Contributor

perrotta commented Aug 5, 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

7 participants