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

Added removeSchedulingTokensFromModuleLabel function #40425

Merged
merged 1 commit into from Jan 5, 2023

Conversation

Dr15Jones
Copy link
Contributor

@Dr15Jones Dr15Jones commented Jan 3, 2023

PR description:

Function removes tokens added by the framework to denote how to schedule a module.

PR validation:

Code compiles and new test passes.

fixes cms-sw/framework-team#458

Function removes tokens added by the framework to denote how to
schedule a module.
@Dr15Jones
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 3, 2023

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-40425/33555

  • This PR adds an extra 16KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 3, 2023

A new Pull Request was created by @Dr15Jones (Chris Jones) for master.

It involves the following packages:

  • FWCore/Utilities (core)

@makortel, @smuzaffar, @Dr15Jones can you please review it and eventually sign? Thanks.
@makortel, @felicepantaleo, @wddgit, @missirol this is something you requested to watch as well.
@perrotta, @dpiparo, @rappoccio you are the release manager for this.

cms-bot commands are listed here

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 4, 2023

-1

Failed Tests: RelVals-INPUT
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-36007b/29795/summary.html
COMMIT: 06fbef4
CMSSW: CMSSW_13_0_X_2023-01-03-1100/el8_amd64_gcc11
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/40425/29795/install.sh to create a dev area with all the needed externals and cmssw changes.

The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:

You can see more details here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-36007b/29795/git-recent-commits.json
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-36007b/29795/git-merge-result

RelVals-INPUT

  • 140.6140.6_RunHI2022/step2_RunHI2022.log

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 49
  • DQMHistoTests: Total histograms compared: 3555748
  • DQMHistoTests: Total failures: 0
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3555726
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 48 files compared)
  • Checked 211 log files, 162 edm output root files, 49 DQM output files
  • TriggerResults: no differences found

@Dr15Jones
Copy link
Contributor Author

please test

the test failure can't possibly come from this change as the new function isn't used anywhere but the new test.

@makortel
Copy link
Contributor

makortel commented Jan 4, 2023

It seems that the failed job ends up asking the data from Vanderbilt after attempt to access it from the IB cache fails

04-Jan-2023 00:39:14 CET  Initiating request to open file root://eoscms.cern.ch//eos/cms/store/user/cmsbuild/store/hidata/HIRun2022A/HITestRawPrime0/RAW/v1/000/362/321/00000/fe35c38e-bcff-42e0-bf65-9f0f50d83382.root
%MSG-w XrdAdaptorInternal:  file_open 04-Jan-2023 00:39:15 CET pre-events
Failed to open file at URL root://eoscms.cern.ch:1094//eos/cms/store/user/cmsbuild/store/hidata/HIRun2022A/HITestRawPrime0/RAW/v1/000/362/321/00000/fe35c38e-bcff-42e0-bf65-9f0f50d83382.root?xrdcl.requuid=62e7d4d3-abbb-40d2-b69f-24c5a43a9206.
%MSG
%MSG-w XrdAdaptorInternal:  file_open 04-Jan-2023 00:39:15 CET pre-events
Failed to open file at URL root://eoscms.cern.ch:1094//eos/cms/store/user/cmsbuild/store/hidata/HIRun2022A/HITestRawPrime0/RAW/v1/000/362/321/00000/fe35c38e-bcff-42e0-bf65-9f0f50d83382.root?tried=&xrdcl.requuid=a12e51e9-4839-418a-b89b-1123957b6d58.
%MSG
04-Jan-2023 00:39:15 CET  Initiating request to open file root://eoscms.cern.ch//eos/cms/store/hidata/HIRun2022A/HITestRawPrime0/RAW/v1/000/362/321/00000/fe35c38e-bcff-42e0-bf65-9f0f50d83382.root
%MSG-w XrdAdaptorInternal:  file_open 04-Jan-2023 00:39:16 CET pre-events
Failed to open file at URL root://eoscms.cern.ch:1094//eos/cms/store/hidata/HIRun2022A/HITestRawPrime0/RAW/v1/000/362/321/00000/fe35c38e-bcff-42e0-bf65-9f0f50d83382.root?xrdcl.requuid=c9036a9b-1bce-416c-b30c-803404fd26f0.
%MSG
%MSG-w XrdAdaptorInternal:  file_open 04-Jan-2023 00:39:16 CET pre-events
Failed to open file at URL root://eoscms.cern.ch:1094//eos/cms/store/hidata/HIRun2022A/HITestRawPrime0/RAW/v1/000/362/321/00000/fe35c38e-bcff-42e0-bf65-9f0f50d83382.root?tried=&xrdcl.requuid=fe85f630-ac7a-4230-9313-48db105bc1b7.
%MSG
04-Jan-2023 00:39:16 CET  Initiating request to open file root://xrootd-cms.infn.it//store/hidata/HIRun2022A/HITestRawPrime0/RAW/v1/000/362/321/00000/fe35c38e-bcff-42e0-bf65-9f0f50d83382.root
04-Jan-2023 00:39:33 CET  Successfully opened file root://xrootd-cms.infn.it//store/hidata/HIRun2022A/HITestRawPrime0/RAW/v1/000/362/321/00000/fe35c38e-bcff-42e0-bf65-9f0f50d83382.root
%MSG-w XrdAdaptorLvl3:  AfterFile 04-Jan-2023 00:39:44 CET pre-events
Deactivating xrootd-se3-vanderbilt.sites.opensciencegrid.org from active sources because its quality (1420) is higher than 260 and 4 times larger than the other active server xrootd-se6-vanderbilt.sites.opensciencegrid.org (260) 
%MSG
%MSG-w XrdAdaptorLvl3:  AfterFile 04-Jan-2023 00:39:46 CET pre-events
Deactivating xrootd-se6-vanderbilt.sites.opensciencegrid.org from active sources because its quality (1076) is higher than 260 and 4 times larger than the other active server xrootd-se1-vanderbilt.sites.opensciencegrid.org (260) 
%MSG
[2023-01-04 00:43:23.981195 +0100][Error  ][AsyncSock         ] [xrootd-se1-vanderbilt.sites.opensciencegrid.org:1094.0] Socket error encountered: [ERROR] Socket error

I see the same happens also in IBs. I see the directory exists in the cache, but the file is indeed not there. @smuzaffar (or @cms-sw/externals-l2) could you check why this file does not end up being cached?

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 4, 2023

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-36007b/29797/summary.html
COMMIT: 06fbef4
CMSSW: CMSSW_13_0_X_2023-01-04-1100/el8_amd64_gcc11
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/40425/29797/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 27 differences found in the comparisons
  • DQMHistoTests: Total files compared: 49
  • DQMHistoTests: Total histograms compared: 3555748
  • DQMHistoTests: Total failures: 1188
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3554538
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 48 files compared)
  • Checked 211 log files, 162 edm output root files, 49 DQM output files
  • TriggerResults: no differences found

@makortel
Copy link
Contributor

makortel commented Jan 4, 2023

Comparison differences are in 11364.7 (#39803 )

@makortel
Copy link
Contributor

makortel commented Jan 4, 2023

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Jan 4, 2023

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

@perrotta
Copy link
Contributor

perrotta commented Jan 5, 2023

+1

@smuzaffar
Copy link
Contributor

@Dr15Jones , GCC 12 is not happy with this change
https://cmssdt.cern.ch/SDT/cgi-bin/buildlogs/el8_amd64_gcc12/CMSSW_13_0_X_2023-01-07-1100/FWCore/Utilities

FWCore/Utilities/src/path_configuration.cc:39:35: error: variable 'constexpr const std::array<char, 4> s_tokens' has initializer but incomplete type

@perrotta
Copy link
Contributor

perrotta commented Jan 9, 2023

@Dr15Jones , GCC 12 is not happy with this change https://cmssdt.cern.ch/SDT/cgi-bin/buildlogs/el8_amd64_gcc12/CMSSW_13_0_X_2023-01-07-1100/FWCore/Utilities

FWCore/Utilities/src/path_configuration.cc:39:35: error: variable 'constexpr const std::array<char, 4> s_tokens' has initializer but incomplete type

@missirol suggests that it is enough adding the missing #include <array> in FWCore/Utilities/src/path_configuration.cc
It is missing, in fact: a possible fix in that sense is in #40452

@Dr15Jones
Copy link
Contributor Author

@perotta thanks for making the change!

@Dr15Jones Dr15Jones deleted the stripTokensFromModuleLabels branch January 12, 2023 15:07
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.

function to get module name from PSet without "decorations"
5 participants