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

BeamSpot DQM clients modified to log to onlineDB only when beam status from TCDS is STABLE (backport for 12_3_X) #37618

Merged

Conversation

dzuolo
Copy link
Contributor

@dzuolo dzuolo commented Apr 19, 2022

Following discussion with @ggovi BeamSpot DQM clients have been modified in such a way that they log to onlineDB only when the beam mode from TCDS is STABLE. This prevents the generation of dummy logs containing only "fit failed" reports during, e.g., cosmics data taking.

Code in this PR compile and the following local tests were successful

-scram b code-format
-scram b code-checks
-scramv1 b runtests

This PR is a backport of #37614

FYI: @gennai @francescobrivio

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 19, 2022

A new Pull Request was created by @dzuolo (Davide Zuolo) for CMSSW_12_3_X.

It involves the following packages:

  • DQM/BeamMonitor (dqm)

@emanueleusai, @ahmad3213, @cmsbuild, @jfernan2, @pmandrik, @micsucmed, @rvenditti can you please review it and eventually sign? Thanks.
@perrotta, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@dzuolo
Copy link
Contributor Author

dzuolo commented Apr 19, 2022

test parameters:

  • addpkg = DQM/Integration

@dzuolo
Copy link
Contributor Author

dzuolo commented Apr 19, 2022

Apparently I am not an "authorised user" that can issue the test command so if somebody could it for me I would appreciate it :)

@mmusich
Copy link
Contributor

mmusich commented Apr 19, 2022

test parameters:

  • addpkg = DQM/Integration

@mmusich
Copy link
Contributor

mmusich commented Apr 19, 2022

please test

@mmusich
Copy link
Contributor

mmusich commented Apr 19, 2022

@dzuolo the title is clipped (it ends in ...) and also it doesn't say it's for 12.3.X

@@ -661,6 +664,12 @@ void BeamMonitor::beginLuminosityBlock(const LuminosityBlock& lumiSeg, const Eve

// ----------------------------------------------------------
void BeamMonitor::analyze(const Event& iEvent, const EventSetup& iSetup) {
Handle<TCDSRecord> tcdsData;
iEvent.getByToken(tcdsToken_, tcdsData);
Copy link
Contributor

Choose a reason for hiding this comment

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

same comment as #37614 (comment)

@dzuolo dzuolo changed the title BeamSpot DQM clients modified to log to onlineDB only when beam mode … BeamSpot DQM clients modified to log to onlineDB only when beam status from TCDS is STABLE (backport for 12_3_X) Apr 19, 2022
@cmsbuild
Copy link
Contributor

-1

Failed Tests: UnitTests
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-90f9f0/24005/summary.html
COMMIT: ddf05d8
CMSSW: CMSSW_12_3_X_2022-04-19-1100/slc7_amd64_gcc10
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/37618/24005/install.sh to create a dev area with all the needed externals and cmssw changes.

Unit Tests

I found errors in the following unit tests:

---> test TestDQMOnlineClient-beam_dqm_sourceclient had ERRORS

Comparison Summary

Summary:

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

@cmsbuild
Copy link
Contributor

Pull request #37618 was updated. @emanueleusai, @ahmad3213, @cmsbuild, @jfernan2, @pmandrik, @micsucmed, @rvenditti can you please check and sign again.

@francescobrivio
Copy link
Contributor

backport of #37614

@cmsbuild
Copy link
Contributor

Pull request #37618 was updated. @emanueleusai, @ahmad3213, @cmsbuild, @jfernan2, @pmandrik, @micsucmed, @rvenditti can you please check and sign again.

@francescobrivio
Copy link
Contributor

@cmsbuild please test

@francescobrivio
Copy link
Contributor

@jfernan2 @ahmad3213 this should also be tested in the playback system in P5 please.

@cmsbuild
Copy link
Contributor

-1

Failed Tests: RelVals-INPUT
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-90f9f0/24045/summary.html
COMMIT: a6e679c
CMSSW: CMSSW_12_3_X_2022-04-19-2300/slc7_amd64_gcc10
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/37618/24045/install.sh to create a dev area with all the needed externals and cmssw changes.

RelVals-INPUT

  • 140.56140.56_RunHI2018+RunHI2018+RECOHID18+HARVESTDHI18/step2_RunHI2018+RunHI2018+RECOHID18+HARVESTDHI18.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: 3697135
  • DQMHistoTests: Total failures: 2
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3697111
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 48 files compared)
  • Checked 204 log files, 45 edm output root files, 49 DQM output files
  • TriggerResults: no differences found

@dzuolo
Copy link
Contributor Author

dzuolo commented Apr 20, 2022

@francescobrivio
Copy link
Contributor

@cmsbuild please test

@francescobrivio
Copy link
Contributor

@jfernan2 @ahmad3213 this should also be tested in the playback system in P5 please.

also tagging @pmandrik

@jfernan2
Copy link
Contributor

@francescobrivio this PR was tested sucessfully by @pmandrik at P5 this morning. I pass the baton to @emanueleusai in what approval concerns since he has kindly agreed to replace me on the PR review. Thanks!

@francescobrivio
Copy link
Contributor

@francescobrivio this PR was tested sucessfully by @pmandrik at P5 this morning.

Ah that's great news! Then once the tests are done we are ready to approve this (provided jenkins tests are succesful of course 😄 )

I pass the baton to @emanueleusai in what approval concerns since he has kindly agreed to replace me on the PR review. Thanks!

Thank you very much for your help Javi! ❤️

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-90f9f0/24063/summary.html
COMMIT: a6e679c
CMSSW: CMSSW_12_3_X_2022-04-20-1100/slc7_amd64_gcc10
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/37618/24063/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: 49
  • DQMHistoTests: Total histograms compared: 3697135
  • DQMHistoTests: Total failures: 13
  • DQMHistoTests: Total nulls: 1
  • DQMHistoTests: Total successes: 3697099
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.004 KiB( 48 files compared)
  • DQMHistoSizes: changed ( 312.0 ): 0.004 KiB MessageLogger/Warnings
  • Checked 204 log files, 45 edm output root files, 49 DQM output files
  • TriggerResults: no differences found

@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 CMSSW_12_3_X IBs (tests are also fine) and once validation in the development release cycle CMSSW_12_4_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 Apr 26, 2022

+1

@cmsbuild cmsbuild merged commit 3a3f6e0 into cms-sw:CMSSW_12_3_X Apr 26, 2022
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

7 participants