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

DQM: Online mode for DQMStore #41736

Merged
merged 3 commits into from
May 24, 2023
Merged

Conversation

jfernan2
Copy link
Contributor

@jfernan2 jfernan2 commented May 19, 2023

PR description:

After the merging of #41400 and its master PR version, some plots[0-3] in Online DQM started misbehaving due to the change of scope introduced by perLS.

This PR tries to distangle Online and Offline modes for DQMStore to avoid such problem

[0] https://github.com/cms-sw/cmssw/blob/master/DQMServices/Core/python/nanoDQMIO_perLSoutput_cff.py#L29-L31
[1] https://github.com/cms-sw/cmssw/blob/master/DQMServices/Core/python/nanoDQMIO_perLSoutput_cff.py#L89-L106
[2] https://github.com/jfernan2/cmssw/blob/5053a4c9343a94ed630a8f824a76f01c3618708f/DQMServices/Core/python/nanoDQMIO_perLSoutput_cff.py#L35-L56
[3] https://github.com/jfernan2/cmssw/blob/5053a4c9343a94ed630a8f824a76f01c3618708f/DQMServices/Core/python/nanoDQMIO_perLSoutput_cff.py#L58-L70

PR validation:

Successfully tested in DQM Online playback, not affecting Offline

@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-41736/35602

  • This PR adds an extra 32KB to repository

Code check has found code style and quality issues which could be resolved by applying following patch(s)

@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-41736/35605

  • This PR adds an extra 32KB to repository

Code check has found code style and quality issues which could be resolved by applying following patch(s)

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-41736/35606

  • This PR adds an extra 32KB to repository

@cmsbuild
Copy link
Contributor

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

It involves the following packages:

  • DQM/Integration (dqm)
  • DQMServices/Core (dqm)

@nothingface0, @emanueleusai, @cmsbuild, @pmandrik, @syuvivida, @tjavaid, @micsucmed, @rvenditti can you please review it and eventually sign? Thanks.
@barvic, @battibass, @threus, @batinkov, @francescobrivio 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

@jfernan2 jfernan2 changed the title [DRAFT] Online mode for DQMStore DQM: Online mode for DQMStore May 22, 2023
@perrotta
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-f830fd/32754/summary.html
COMMIT: 30c805e
CMSSW: CMSSW_13_2_X_2023-05-22-2300/el8_amd64_gcc11
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/41736/32754/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • You potentially removed 21 lines from the logs
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 48
  • DQMHistoTests: Total histograms compared: 3221591
  • DQMHistoTests: Total failures: 0
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3221569
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 47 files compared)
  • Checked 207 log files, 159 edm output root files, 48 DQM output files
  • TriggerResults: no differences found

@perrotta
Copy link
Contributor

urgent
(because the 13_0_X backport is said to be urgent too)

@emanueleusai
Copy link
Member

+1

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

@@ -753,6 +753,8 @@ namespace dqm {
void debugTrackME(const char* message, MonitorElement* me_local, MonitorElement* me_global) const;
// accesor to keep MEsToSave_ private
const auto& getMEsToSave() const { return MEsToSave_; }
// accesor to keep onlineMode_ private
const bool& getMode() const { return onlineMode_; }
Copy link
Contributor

@perrotta perrotta May 24, 2023

Choose a reason for hiding this comment

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

I would have rather called the method getOnlineMode() , or onlineMode(), so that the following line can become more understandable:
https://github.com/cms-sw/cmssw/pull/41736/files#diff-f9ea48cd2e3bd19ffa700c26566b06832095be6446c78486bd8612fe369b8b18R105

But ok, let merge as such (at least for the master) and I'll let you @jfernan2 decide whether it is worth to rename it or not

@perrotta
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 6d74dd1 into cms-sw:master May 24, 2023
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.

4 participants