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_2_X] Protect storage accounting UDP messages from NaN, and Use StatisticsSenderService for all framework files #36456

Merged

Conversation

makortel
Copy link
Contributor

@makortel makortel commented Dec 10, 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 and #26729 to make the cherry-picks easier, and #36403 (fully) as further cleanup.

For future reference (when cherry-picking commits from #36443) the backport of #26729 conflicted with earlier backport of #28589, but the conflicts were straightforward to solve.

PR validation:

Unit tests run

makortel and others added 11 commits December 9, 2021 20:40
Backport from 9fc3f03
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

A new Pull Request was created by @makortel (Matti Kortelainen) for CMSSW_10_2_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

@cmsbuild, please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-dad694/21183/summary.html
COMMIT: 765e2e4
CMSSW: CMSSW_10_2_X_2021-12-05-0000/slc6_amd64_gcc700
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/36456/21183/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: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 31
  • DQMHistoTests: Total histograms compared: 3007546
  • DQMHistoTests: Total failures: 4
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3007352
  • DQMHistoTests: Total skipped: 190
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 30 files compared)
  • Checked 129 log files, 28 edm output root files, 31 DQM output files
  • TriggerResults: no differences found

@makortel
Copy link
Contributor Author

+1

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_10_2_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 14, 2021

@makortel Just to make sure, I see there is warning about "Duplicate Dictionaries" which doesn't show up in other backup PRs. Can you have a look?
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-dad694/21183/dupDict/lostDefs.txt

@makortel
Copy link
Contributor Author

@qliphy Thanks for catching. That warning appears to be already in the IBs https://cmssdt.cern.ch/SDT/cgi-bin/showDupDict.py/slc6_amd64_gcc700/www/sun/10.2-sun-00/CMSSW_10_2_X_2021-12-12-0000/testLogs/dupDict-lostDefs.log

On a quick look I wasn't able to figure out why those warnings are given in the IBs.

@qliphy
Copy link
Contributor

qliphy commented Dec 15, 2021

+1

@cmsbuild cmsbuild merged commit c2d45d7 into cms-sw:CMSSW_10_2_X Dec 15, 2021
@makortel makortel deleted the backportStatisticsSenderService_102x branch December 15, 2021 00:48
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

4 participants