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

Adds output module validation to Express and PromptReco workflows #11175

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

germanfgv
Copy link
Contributor

Fixes #11171

Status

not-tested

Description

Adds output module validation for T0 workflows

Is it backward compatible (if not, which system it affects?)

YES

Related PRs

None

External dependencies / deployment changes

None

@cmsdmwmbot
Copy link

Jenkins results:

  • Python3 Unit tests: failed
    • 83 new failures
    • 394 tests deleted
    • 1 changes in unstable tests
  • Python3 Pylint check: failed
    • 16 warnings and errors that must be fixed
    • 116 comments to review
  • Pylint py3k check: succeeded
  • Pycodestyle check: succeeded
    • 113 comments to review

Details at https://cmssdt.cern.ch/dmwm-jenkins/view/All/job/DMWM-WMCore-PR-test/13291/artifact/artifacts/PullRequestReport.html

Copy link
Contributor

@amaltaro amaltaro left a comment

Choose a reason for hiding this comment

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

German, you didn't request for a review, but you can find some comments along the code.


Validation of output module names in the workflow
"""
validateOutputModules(workload)
Copy link
Contributor

Choose a reason for hiding this comment

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

I would suggest to move it to the super class (StdBase). Similar to how we approach this validation validateConfigCacheExists

"""
Makes sure all output modules comply with DBS restrictions
"""
for task in workload.getAllTasks():
Copy link
Contributor

Choose a reason for hiding this comment

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

we should probably define cpuOnly=True, to avoid parsing Cleanup and LogCollect jobs.

@amaltaro
Copy link
Contributor

@germanfgv German, please let me know if you need any input on this.

@cmsdmwmbot
Copy link

Can one of the admins verify this patch?

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.

Validation of Output Module Label during Workflow creation
3 participants