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

online Beamspot monitor DQM client (backporting of PR 31904) #31924

Merged

Conversation

gennai
Copy link
Contributor

@gennai gennai commented Oct 23, 2020

PR description:

With the new BeamSpot workflow in Run3 two clients will run in DQM producing two different beamspot payloads. An ESProducer is run at HLT to make a reproducible choice of which payload to use. This new client is monitoring the values of the two payloads as well as plotting which one of the two is chosen by the ESProducer logic.

PR validation:

I have run the DQM/Integration/python/clients/onlinebeammonitor_dqm_sourceclient-live_cfg.py with unitTest=True option.
The plots looks right.

if this PR is a backport please specify the original PR and why you need to backport that PR:

this is a backporting of #31904, it is needed for next MWGR

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @gennai (simone gennai) for CMSSW_11_1_X.

It involves the following packages:

DQM/BeamMonitor
DQM/Integration

@andrius-k, @kmaeshima, @ErnestaP, @cmsbuild, @jfernan2, @fioriNTU can you please review it and eventually sign? Thanks.
@threus, @batinkov, @battibass this is something you requested to watch as well.
@silviodonato, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@gennai
Copy link
Contributor Author

gennai commented Oct 23, 2020

@boudoul @amassiro @mmusich @mtosi @francescobrivio @ggovi you may be interested in this PR as well

@jfernan2
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 23, 2020

The tests are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

-1

Tested at: a15087c

CMSSW: CMSSW_11_1_X_2020-10-23-1100
SCRAM_ARCH: slc7_amd64_gcc820
You can see the results of the tests here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-fd4d6c/10249/summary.html

I found follow errors while testing this PR

Failed tests: UnitTests

  • Unit Tests:

I found errors in the following unit tests:

---> test TestDQMOnlineClient-onlinebeammonitor_dqm_sourceclient had ERRORS

@cmsbuild
Copy link
Contributor

Comparison job queued.


),
),
connect = cms.string('oracle://cms_orcon_prod/CMS_CONDITIONS')
Copy link
Contributor

Choose a reason for hiding this comment

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

This won't work outside of P5 (e.g. in unit tests).

Monitoring file not found, disabling.
----- Begin Fatal Exception 23-Oct-2020 16:51:46 CEST-----------------------
An exception of category 'ConditionDatabase' occurred while
   [0] Constructing the EventProcessor
   [1] Constructing ESSource: class=PoolDBESSource label='BeamSpotDBSource'
Exception Message:
Service "cms_orcon_prod" can't be open with the current key. from cond::CredentialStore::setUpConnection 
----- End Fatal Exception -------------------------------------------------

---> test TestDQMOnlineClient-onlinebeammonitor_dqm_sourceclient had ERRORS

Copy link
Contributor Author

Choose a reason for hiding this comment

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

but it is working on lxplus, at least it is working for me. Do you have the proper connection string to put?

Copy link
Contributor

@mmusich mmusich Oct 23, 2020

Choose a reason for hiding this comment

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

Maybe because you have been given a key file with reader access priviliges by @ggovi ?
frontier://FrontierProd/CMS_CONDITIONS will work for any user, but not sure that's what you want (at P5).

process.source.streamLabel = cms.untracked.string('streamDQMOnlineBeamspot')

#ESProducer
process.load("CondCore.DBCommon.CondDBSetup_cfi")
Copy link
Contributor

Choose a reason for hiding this comment

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

please use CondCore.CondDB.CondDB_cfi instead

@cmsbuild
Copy link
Contributor

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-fd4d6c/10249/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 36
  • DQMHistoTests: Total histograms compared: 2784776
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2784725
  • DQMHistoTests: Total skipped: 50
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 35 files compared)
  • Checked 152 log files, 16 edm output root files, 36 DQM output files

@cmsbuild
Copy link
Contributor

Pull request #31924 was updated. @andrius-k, @kmaeshima, @ErnestaP, @cmsbuild, @jfernan2, @fioriNTU can you please check and sign again.

@jfernan2
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 26, 2020

The tests are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-fd4d6c/10385/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 2 differences found in the comparisons
  • DQMHistoTests: Total files compared: 36
  • DQMHistoTests: Total histograms compared: 2784776
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2784725
  • DQMHistoTests: Total skipped: 50
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 35 files compared)
  • Checked 152 log files, 16 edm output root files, 36 DQM output files

@gennai
Copy link
Contributor Author

gennai commented Nov 3, 2020

Hi, I have checked DT_DQM error and in fact it does not depend on my PR:
A std::exception was thrown.
failed opening file: No such file or directory: iostream error
----- End Fatal Exception -------------------------------------------------
29-Oct-2020 16:17:14 CET Closed file root://eoscms.cern.ch//eos/cms/store/user/cmsbuild/store/express/Commissioning2019/ExpressCosmics/FEVT/Express-v1/000/334/393/00000/FE21789A-F777-0B43-A1F5-E43F1FD52D19.root

---> test TestDQMOnlineClient-dt_dqm_sourceclient had ERRORS

It is more an issue with the files chosen to be run in the unitTest. @jfernan2, @silviodonato How shall I proceed?

@mmusich
Copy link
Contributor

mmusich commented Nov 3, 2020

@cmsbuild, please test
let's try a new round of tests, perhaps was a transient glitch

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 3, 2020

The tests are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 3, 2020

+1
Tested at: 1a54f9a
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-fd4d6c/10462/summary.html
CMSSW: CMSSW_11_1_X_2020-11-02-2300
SCRAM_ARCH: slc7_amd64_gcc820

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 3, 2020

Comparison job queued.

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 3, 2020

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-fd4d6c/10462/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 36
  • DQMHistoTests: Total histograms compared: 2784776
  • DQMHistoTests: Total failures: 2
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2784724
  • DQMHistoTests: Total skipped: 50
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 35 files compared)
  • Checked 152 log files, 16 edm output root files, 36 DQM output files

@jfernan2
Copy link
Contributor

jfernan2 commented Nov 3, 2020

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 3, 2020

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

@silviodonato
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit c63f534 into cms-sw:CMSSW_11_1_X Nov 3, 2020
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