-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Allow multiple "--command" in runTheMatrix #34722
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-34722/24361
|
A new Pull Request was created by @srimanob (Phat Srimanobhas) for master. It involves the following packages:
@jordan-martins, @chayanit, @bbilin, @wajidalikhan, @kpedro88, @cmsbuild, @AdrianoDee, @srimanob, @kskovpen can you please review it and eventually sign? Thanks. 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) |
There was a problem hiding this comment.
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)
There was a problem hiding this comment.
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.
test parameters:
|
test parameters:
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-34722/24363
|
Pull request #34722 was updated. @jordan-martins, @chayanit, @bbilin, @wajidalikhan, @kpedro88, @cmsbuild, @AdrianoDee, @srimanob, @kskovpen can you please check and sign again. |
@srimanob , |
test parameters: |
test parameters:
|
@cmsbuild please test Thanks @smuzaffar |
-1 Failed Tests: RelVals RelValsThe relvals timed out after 4 hours. |
Hi @smuzaffar |
@srimanob , I case of timeout |
Thanks @smuzaffar |
@srimanob , this PR itself is good to go in. This shows that we can now run PR tests with extra |
test parameters: |
Please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-fd036a/17535/summary.html Comparison SummarySummary:
|
+Upgrade |
+1 |
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) |
+1 |
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.