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

Fix generation of cmsDriver command if accelerators contain asterisk symbol #47153

Merged
merged 1 commit into from
Jan 27, 2025

Conversation

iarspider
Copy link
Contributor

PR description:

Fix generation of cmsDriver command if accelerators contain asterisk symbol. This should fix RelVals failing with

usage: cmsDriver.py <TYPE> [options].
Example:

cmsDriver.py reco -s RAW2DIGI,RECO --conditions STARTUP_V4::All --eventcontent RECOSIM
cmsDriver.py: error: unrecognized arguments: cmdLog step1_dasquery.log step1_lumiRanges.log step2.root step2_L1REPACK_HLT.py step2_Run3-2023_JetMET2023D_RecoPixelOnlyTripletsGPU_Profiling.log threads.txt wf_stats-step2.json wf_steps.txt workflow.log

due to * expansion by the shell.

PR validation:

runTheMatrix.py works locally

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 21, 2025

cms-bot internal usage

@iarspider
Copy link
Contributor Author

test parameters:

  • workflow_gpu = 141.044406,141.044407,141.044408,141.044412,141.044414,141.044422,141.044424,141.044483,160.03502

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-47153/43382

@iarspider
Copy link
Contributor Author

enable gpu

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @iarspider for master.

It involves the following packages:

  • Configuration/PyReleaseValidation (pdmv, upgrade)

@AdrianoDee, @Moanwar, @cmsbuild, @DickyChant, @miquork, @srimanob, @subirsarkar can you please review it and eventually sign? Thanks.
@Martin-Grunewald, @fabiocos, @makortel, @missirol, @slomeo this is something you requested to watch as well.
@antoniovilela, @mandrenguyen, @rappoccio, @sextonkennedy you are the release manager for this.

cms-bot commands are listed here

@iarspider
Copy link
Contributor Author

please test for CMSSW_15_0_GPU_X

@iarspider
Copy link
Contributor Author

please abort

@iarspider
Copy link
Contributor Author

please test for CMSSW_15_0_GPU_X

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-47153/43383

@makortel
Copy link
Contributor

So runTheMatrix.py invokes cmsDriver.py through shell?

@iarspider
Copy link
Contributor Author

So runTheMatrix.py invokes cmsDriver.py through shell?

@makortel Yes, as far as I can tell: link, which is called (for steps 2+) from here

@makortel
Copy link
Contributor

So runTheMatrix.py invokes cmsDriver.py through shell?

@makortel Yes, as far as I can tell: link, which is called (for steps 2+) from here

Ok :( Thanks for the pointers. Looking from the history I see the shell=True originates from a757dd2 that seems just a minimal replacement of os.system(). So maybe removing the shell=True could be straightforward (or not). Anyway, that's for @cms-sw/pdmv-l2 to think about.

@cmsbuild
Copy link
Contributor

-1

Failed Tests: RelVals-GPU
Size: This PR adds an extra 64KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-39dee3/43887/summary.html
COMMIT: 57d8aeb
CMSSW: CMSSW_15_0_X_2025-01-20-2300/el8_amd64_gcc12
Additional Tests: GPU
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/47153/43887/install.sh to create a dev area with all the needed externals and cmssw changes.

RelVals-GPU

  • 141.044407141.044407_Run3-2023_JetMET2023D_RecoPixelOnlyTripletsGPU_Validation/step3_Run3-2023_JetMET2023D_RecoPixelOnlyTripletsGPU_Validation.log
  • 141.044483141.044483_Run3-2023_JetMET2023D_GPUValidation/step2_Run3-2023_JetMET2023D_GPUValidation.log

Comparison Summary

Summary:

  • You potentially added 1 lines to the logs
  • Reco comparison results: 2 differences found in the comparisons
  • DQMHistoTests: Total files compared: 49
  • DQMHistoTests: Total histograms compared: 3819085
  • DQMHistoTests: Total failures: 0
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3819065
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 48 files compared)
  • Checked 214 log files, 184 edm output root files, 49 DQM output files
  • TriggerResults: no differences found

@iarspider
Copy link
Contributor Author

Two failing RelVals also fail in IBs (I was hoping they will also be fixed), see #47152 .

@iarspider
Copy link
Contributor Author

@cmsbuild ignore tests-rejected with ib-failure

@iarspider
Copy link
Contributor Author

@cms-sw/pdmv-l2 @cms-sw/upgrade-l2 gentle ping

@AdrianoDee
Copy link
Contributor

+pdmv

@iarspider
Copy link
Contributor Author

@cms-sw/upgrade-l2 gentle ping

@Moanwar
Copy link
Contributor

Moanwar commented Jan 27, 2025

+Upgrade

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next master IBs (test failures were overridden). This pull request will now be reviewed by the release team before it's merged. @sextonkennedy, @rappoccio, @antoniovilela, @mandrenguyen (and backports should be raised in the release meeting by the corresponding L2)

@mandrenguyen
Copy link
Contributor

+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.

6 participants