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

[10_6_X] Protect storage accounting UDP messages from NaN, and Use StatisticsSenderService for all framework files #36360

Merged

Conversation

makortel
Copy link
Contributor

@makortel makortel commented Dec 3, 2021

PR description:

This PR is a combined backport of #35362 and #35505, following requests in #29412 and #36349. It also contains small part of #26789 to make the cherry-picks easier, and #36403 (fully) as further cleanup.

PR validation:

Unit tests pass.

makortel and others added 9 commits December 3, 2021 14:42
Backport from f49614b
Backport from 08cd101
NaN's were being reported from the values computed using sqrt. This most likely was from the different variables not being updated atomically together.
Previously, each try to open the file using a different PFN would report an open attempt for the same LFN. This meant we could have multiple opens but only one close for a given LFN.
When sending information to the StatisticsSenderService, the file LFN or URL must be supplied.
Send statistics for primary, secondary, and embedded files.
The aggregate file statistics are only reset on primary file close boundaries to keep the behavior the same as previous.
Changed all calls to closeFile_() to be the new closeFile()
Now broadcasts how the file is used.
@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 3, 2021

A new Pull Request was created by @makortel (Matti Kortelainen) for CMSSW_10_6_X.

It involves the following packages:

  • IOPool/Input (core)
  • IOPool/SecondaryInput (core)
  • IOPool/TFileAdaptor (core)
  • Utilities/StorageFactory (core)
  • Utilities/XrdAdaptor (core)

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

cms-bot commands are listed here

@makortel
Copy link
Contributor Author

makortel commented Dec 3, 2021

@cmsbuild, please test

@makortel
Copy link
Contributor Author

makortel commented Dec 3, 2021

backport

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 4, 2021

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-63717a/20979/summary.html
COMMIT: a5708ad
CMSSW: CMSSW_10_6_X_2021-11-30-1100/slc7_amd64_gcc700
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/36360/20979/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: 8 differences found in the comparisons
  • DQMHistoTests: Total files compared: 35
  • DQMHistoTests: Total histograms compared: 3215686
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3215351
  • DQMHistoTests: Total skipped: 334
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 34 files compared)
  • Checked 143 log files, 29 edm output root files, 35 DQM output files
  • TriggerResults: no differences found

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 4, 2021

This pull request is fully signed and it will be integrated in one of the next CMSSW_10_6_X IBs (tests are also fine) and once validation in the development release cycle CMSSW_12_2_X is complete. This pull request will now be reviewed by the release team before it's merged. @perrotta, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2)

@perrotta
Copy link
Contributor

perrotta commented Dec 4, 2021

@makortel
Copy link
Contributor Author

makortel commented Dec 6, 2021

hold

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 9, 2021

Pull request #36360 was updated. @cmsbuild, @smuzaffar, @Dr15Jones, @makortel can you please check and sign again.

@makortel
Copy link
Contributor Author

makortel commented Dec 9, 2021

Now including #36403 too.

@makortel
Copy link
Contributor Author

makortel commented Dec 9, 2021

unhold

@makortel
Copy link
Contributor Author

makortel commented Dec 9, 2021

@cmsbuild, please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-63717a/21147/summary.html
COMMIT: c979f6e
CMSSW: CMSSW_10_6_X_2021-12-05-0000/slc7_amd64_gcc700
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/36360/21147/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: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 35
  • DQMHistoTests: Total histograms compared: 3215686
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3215351
  • DQMHistoTests: Total skipped: 334
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 34 files compared)
  • Checked 143 log files, 29 edm output root files, 35 DQM output files
  • TriggerResults: no differences found

@makortel
Copy link
Contributor Author

+1

@perrotta
Copy link
Contributor

ping bot

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_10_6_X IBs (tests are also fine) and once validation in the development release cycle CMSSW_12_3_X is complete. This pull request will now be reviewed by the release team before it's merged. @perrotta, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2)

@qliphy
Copy link
Contributor

qliphy commented Dec 10, 2021

+1

@cmsbuild cmsbuild merged commit ee580a7 into cms-sw:CMSSW_10_6_X Dec 10, 2021
@makortel makortel deleted the backportStatisticsSenderService_106x branch December 10, 2021 15:32
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.

None yet

5 participants