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

Having Upgrade Matrix Failing for Duplicate Suffixes #45715

Merged
merged 1 commit into from
Aug 17, 2024

Conversation

AdrianoDee
Copy link
Contributor

@AdrianoDee AdrianoDee commented Aug 16, 2024

PR description:

This PR proposes to have the upgrade matrix building fail if duplicate suffixes for workflows are found. Currently it fails only if duplicate offsets are found and if, by error, we have two workflows with the same suffix it silently overwrites the first one with the second.

As is the PR should cause a failure just to prove the mechanism is working.

PR validation:

runTheMatrix -n -w upgrade fails. runs.

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 16, 2024

cms-bot internal usage

@cmsbuild
Copy link
Contributor

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

It involves the following packages:

  • Configuration/PyReleaseValidation (pdmv, upgrade)

@AdrianoDee, @cmsbuild, @kskovpen, @miquork, @srimanob, @subirsarkar, @sunilUIET 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

@AdrianoDee
Copy link
Contributor Author

please test

@smuzaffar
Copy link
Contributor

@AdrianoDee , currently this breaks the bot code which tries to run the following to get the list of all step1 workflows

> runTheMatrix.py -n -e
processing relval_standard
ERROR importing file  relval_standard Duplicate special workflow suffixes not allowed: _Patatrack_PixelOnlyCPU
processing relval_highstats
ERROR importing file  relval_highstats Duplicate special workflow suffixes not allowed: _Patatrack_PixelOnlyCPU
processing relval_pileup
ERROR importing file  relval_pileup Duplicate special workflow suffixes not allowed: _Patatrack_PixelOnlyCPU
processing relval_generator
ERROR importing file  relval_generator Duplicate special workflow suffixes not allowed: _Patatrack_PixelOnlyCPU
processing relval_extendedgen
ERROR importing file  relval_extendedgen Duplicate special workflow suffixes not allowed: _Patatrack_PixelOnlyCPU
processing relval_production
ERROR importing file  relval_production Duplicate special workflow suffixes not allowed: _Patatrack_PixelOnlyCPU
processing relval_ged
ERROR importing file  relval_ged Duplicate special workflow suffixes not allowed: _Patatrack_PixelOnlyCPU
ignoring relval_upgrade from default matrix
ignoring relval_cleanedupgrade from default matrix
ignoring relval_gpu from default matrix
processing relval_2017
ERROR importing file  relval_2017 Duplicate special workflow suffixes not allowed: _Patatrack_PixelOnlyCPU
processing relval_2026
ERROR importing file  relval_2026 Duplicate special workflow suffixes not allowed: _Patatrack_PixelOnlyCPU
ignoring relval_identity from default matrix
processing relval_machine
ERROR importing file  relval_machine Duplicate special workflow suffixes not allowed: _Patatrack_PixelOnlyCPU
processing relval_premix
ERROR importing file  relval_premix Duplicate special workflow suffixes not allowed: _Patatrack_PixelOnlyCPU
processing relval_nano
ERROR importing file  relval_nano Duplicate special workflow suffixes not allowed: _Patatrack_PixelOnlyCPU

found a total of  0  workflows:


 -------------------------------------------------------------------------------- 

@AdrianoDee
Copy link
Contributor Author

Perfect that was the idea. Let me remove the bug.

@AdrianoDee
Copy link
Contributor Author

please abort

@AdrianoDee
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

Pull request #45715 was updated. @AdrianoDee, @kskovpen, @miquork, @srimanob, @subirsarkar, @sunilUIET can you please check and sign again.

@cmsbuild
Copy link
Contributor

+1

Size: This PR adds an extra 36KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-81d63a/40962/summary.html
COMMIT: 18c29a6
CMSSW: CMSSW_14_1_X_2024-08-15-2300/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/45715/40962/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

@AdrianoDee
Copy link
Contributor Author

+pdmv

@srimanob
Copy link
Contributor

+Upgrade

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

@mandrenguyen
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 5b93e63 into cms-sw:master Aug 17, 2024
11 checks passed
@AdrianoDee AdrianoDee deleted the duplicate_suffixes branch September 6, 2024 07:39
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.

5 participants