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

MSPileup: consider Neutrino PDs as premix #11543

Merged
merged 2 commits into from
Apr 20, 2023

Conversation

amaltaro
Copy link
Contributor

@amaltaro amaltaro commented Apr 12, 2023

Fixes #11522 (take2)

Status

ready

Description

Minor updates to the script parsing WMCore campaigns and extracting pileup configuration, such as:

  1. consider container name starting with "/Neutrino" as "premix" pileup type
  2. sort keys when dumping data into json file (to minimize diff with previous version)
  3. provide a new snapshot of the pileup configurations (based on 23:25 CERN time). Apparently there is only 1 new line in the new json dump

Pileup JSON dump have been moved under test/data/WMCore/MicroService/DataStructs/

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

YES

Related PRs

Complement to #11521

External dependencies / deployment changes

None

@cmsdmwmbot
Copy link

Jenkins results:

  • Python3 Unit tests: failed
    • 1 new failures
    • 1 tests no longer failing
    • 3 changes in unstable tests
  • Python3 Pylint check: failed
    • 5 warnings and errors that must be fixed
    • 2 comments to review
  • Pylint py3k check: succeeded
  • Pycodestyle check: succeeded

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

@@ -96,7 +96,10 @@ def parseCampaigns(campDocs, logger):
# for each secondary dataset, create one pileup document
for puName, puRSEs in camp.get("Secondaries", {}).items():
puDoc = getPUSchema(puName, pileupDocs, logger)
puType = "premix" if puName.split("/")[-1] == "PREMIX" else "classic"
if puName.startswith("/Neutrino") or puName.split("/")[-1] == "PREMIX":
Copy link
Contributor

Choose a reason for hiding this comment

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

since it starts diverging from original I rather suggest to take these patterns and provide options in script to allow specify them with default values as these two. But I don't want to block it if you think we need it quickly, I only care if more pattern will appear in a long run.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It should be the other way around, which is also confirmed from a document that Dima collected for PREMIX data placement. AFAIK, for the last year or two, all the premix pileup samples have the PREMIX datatier.
This "Neutrino" bit is just to deal with "legacy" pileup.

@amaltaro
Copy link
Contributor Author

There is a flaw in this script which allows duplicate pileup names to be defined in different dict/objects, e.g.:

/MinBias_Hydjet_Drum5F_2018_5p02TeV/HINPbPbAutumn18GS-103X_upgrade2018_realistic_HI_v11-v1/GEN-SIM

I have to fix it and create a new json dump.

@amaltaro
Copy link
Contributor Author

Now we have unique pileup objects, going down from 125 to 75 documents.

I also think that these json dumps should be moved from the src area to somewhere like:
https://github.com/dmwm/WMCore/tree/master/test/data/WMCore

Please let me know your thoughts, Todor and Valentin.

@cmsdmwmbot
Copy link

Jenkins results:

  • Python3 Unit tests: failed
    • 1 new failures
  • Python3 Pylint check: failed
    • 5 warnings and errors that must be fixed
    • 2 comments to review
  • Pylint py3k check: succeeded
  • Pycodestyle check: succeeded

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

@cmsdmwmbot
Copy link

Jenkins results:

  • Python3 Unit tests: failed
    • 1 new failures
    • 2 changes in unstable tests
  • Python3 Pylint check: failed
    • 5 warnings and errors that must be fixed
    • 2 comments to review
  • Pylint py3k check: succeeded
  • Pycodestyle check: succeeded

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

@cmsdmwmbot
Copy link

Jenkins results:

  • Python3 Unit tests: succeeded
    • 2 changes in unstable tests
  • Python3 Pylint check: failed
    • 5 warnings and errors that must be fixed
    • 2 comments to review
  • Pylint py3k check: succeeded
  • Pycodestyle check: succeeded

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

MSPileup: consider Neutrino PDs as premix

Ensure pileup documents are unique
Move pileup JSON dump under test/data directory

New dump of pileup configuration

update list of pileups.json after many checks from P&R
@cmsdmwmbot
Copy link

Jenkins results:

  • Python3 Unit tests: succeeded
    • 1 changes in unstable tests
  • Python3 Pylint check: failed
    • 5 warnings and errors that must be fixed
    • 2 comments to review
  • Pylint py3k check: succeeded
  • Pycodestyle check: succeeded

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

@amaltaro
Copy link
Contributor Author

After the pretty good clean up performed by the P&R, campaigns have been updated in WMCore and I remade the pileup json that we had previously constructed a week ago (coming down from 79 unique pileups to only 24). Merging it now.

@amaltaro amaltaro merged commit 373d200 into dmwm:master Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide a pileup document dump out of the WMCore campaign documents
3 participants