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

[12_3_X] [L1-O2O] ESGetToken migration L1CondDBPayloadWriter and O2O unit tests #37601

Conversation

panoskatsoulis
Copy link
Contributor

@panoskatsoulis panoskatsoulis commented Apr 17, 2022

backport #37602

PR description:

This PR implements WriterProxy from CondTools/L1TriggerExt to inherit from edm::EDConsumerBase as it's required for running esConsumes() to register ESGetToken objects when is called by CondDBPayloadWriter

PR validation:

This pkg is part of the L1 O2O and there is not any central wf to be tested
Tested Locally and from custom patch on machine conddb-1 writing to sqlite file and Prep respectively
The local replica of the p5 script is commited together in this PR ( runL1-O2O-iov.sh )

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

backport of #37602

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 17, 2022

A new Pull Request was created by @panoskatsoulis (Panos) for CMSSW_12_3_X.

It involves the following packages:

  • CondTools/L1Trigger (db, l1)
  • L1TriggerConfig/L1TConfigProducers (l1)

@malbouis, @epalencia, @cmsbuild, @rekovic, @ggovi, @tvami, @cecilecaillol, @francescobrivio can you please review it and eventually sign? Thanks.
@Martin-Grunewald, @missirol, @mmusich 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

@cmsbuild
Copy link
Contributor

Pull request #37601 was updated. @malbouis, @epalencia, @cmsbuild, @rekovic, @ggovi, @tvami, @cecilecaillol, @francescobrivio can you please check and sign again.

@panoskatsoulis
Copy link
Contributor Author

hold

@tvami
Copy link
Contributor

tvami commented Apr 17, 2022

Hi @panoskatsoulis thanks for this PR!

  1. can you please include the the title that this is for [12_3_X]
  2. What's the reason for the hold?
  3. Please add the L1TriggerConfig/L1TConfigProducers/test/runL1-O2O-iov.sh to the BuildFile so it's run like a unit test! Thanks!

@panoskatsoulis
Copy link
Contributor Author

panoskatsoulis commented Apr 17, 2022

  1. have a look here [L1-O2O] ESGetToken migration L1CondDBPayloadWriter and O2O unit tests #37602 (comment)
  2. it needs some local sqlite that will be able to use locally, in short I don't know how to set up a new unit test
    so it's better to come back for this in the next days

@panoskatsoulis panoskatsoulis changed the title [L1-O2O] WriterProxyT changes to use ESGetToken [12_3_X] [L1-O2O] WriterProxyT changes to use ESGetToken Apr 17, 2022
@cmsbuild
Copy link
Contributor

Pull request #37601 was updated. @malbouis, @epalencia, @cmsbuild, @rekovic, @ggovi, @tvami, @cecilecaillol, @francescobrivio can you please check and sign again.

4 similar comments
@cmsbuild
Copy link
Contributor

Pull request #37601 was updated. @malbouis, @epalencia, @cmsbuild, @rekovic, @ggovi, @tvami, @cecilecaillol, @francescobrivio can you please check and sign again.

@cmsbuild
Copy link
Contributor

Pull request #37601 was updated. @malbouis, @epalencia, @cmsbuild, @rekovic, @ggovi, @tvami, @cecilecaillol, @francescobrivio can you please check and sign again.

@cmsbuild
Copy link
Contributor

Pull request #37601 was updated. @malbouis, @epalencia, @cmsbuild, @rekovic, @ggovi, @tvami, @cecilecaillol, @francescobrivio can you please check and sign again.

@cmsbuild
Copy link
Contributor

Pull request #37601 was updated. @malbouis, @epalencia, @cmsbuild, @rekovic, @ggovi, @tvami, @cecilecaillol, @francescobrivio can you please check and sign again.

@tvami
Copy link
Contributor

tvami commented Apr 22, 2022

@cmsbuild , please test

@cmsbuild
Copy link
Contributor

-1

Failed Tests: UnitTests RelVals-INPUT
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-70faf5/24141/summary.html
COMMIT: e98a14f
CMSSW: CMSSW_12_3_X_2022-04-22-1100/slc7_amd64_gcc10
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/37601/24141/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 L1O2O_L1TSubs had ERRORS
---> test L1O2O_L1TMenu had ERRORS

RelVals-INPUT

The relvals timed out after 4 hours.

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

@mmusich
Copy link
Contributor

mmusich commented Apr 23, 2022

so, the O2O tests failed:

----- Begin Fatal Exception 22-Apr-2022 21:51:59 CEST-----------------------
An exception of category 'StdException' occurred while
   [0] Constructing the EventProcessor
   [1] Constructing service of type PoolDBOutputService
Exception Message:
A std::exception was thrown.
Connection on "sqlite_file:/data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_3_X_2022-04-22-1100/src/L1TriggerConfig/L1TConfigProducers/data/l1config.db" cannot be established ( CORAL : "ConnectionPool::getSessionFromNewConnection" from "CORAL/Services/ConnectionService" )
----- End Fatal Exception -------------------------------------------------
----- Begin Fatal Exception 22-Apr-2022 21:51:59 CEST-----------------------
An exception of category 'StdException' occurred while
   [0] Constructing the EventProcessor
   [1] Constructing service of type PoolDBOutputService
Exception Message:
A std::exception was thrown.
Connection on "sqlite_file:/data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_12_3_X_2022-04-22-1100/src/L1TriggerConfig/L1TConfigProducers/data/l1config.db" cannot be established ( CORAL : "ConnectionPool::getSessionFromNewConnection" from "CORAL/Services/ConnectionService" )
----- End Fatal Exception -------------------------------------------------

I guess because the local sqlite file was not included in this PR (as instead it has been done in the master PR)

@cmsbuild
Copy link
Contributor

Pull request #37601 was updated. @malbouis, @epalencia, @cmsbuild, @rekovic, @ggovi, @tvami, @cecilecaillol, @francescobrivio can you please check and sign again.

@panoskatsoulis panoskatsoulis force-pushed the l1o2o_WriterProxyT_migrationTo_ESGetToken branch from c3eacc3 to 2313443 Compare April 26, 2022 16:35
@cmsbuild
Copy link
Contributor

Pull request #37601 was updated. @malbouis, @epalencia, @cmsbuild, @rekovic, @ggovi, @tvami, @cecilecaillol, @francescobrivio can you please check and sign again.

@panoskatsoulis
Copy link
Contributor Author

this backport PR has also been squashed to 5 commits

@tvami
Copy link
Contributor

tvami commented Apr 26, 2022

@panoskatsoulis please update the PR title for this too, thanks!

@tvami
Copy link
Contributor

tvami commented Apr 26, 2022

@cmsbuild , please test

@panoskatsoulis panoskatsoulis changed the title [12_3_X] [L1-O2O] WriterProxyT changes to use ESGetToken [12_3_X] [L1-O2O] ESGetToken migration L1CondDBPayloadWriter and O2O unit tests Apr 26, 2022
@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-70faf5/24240/summary.html
COMMIT: 2313443
CMSSW: CMSSW_12_3_X_2022-04-26-1100/slc7_amd64_gcc10
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/37601/24240/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: 12 differences found in the comparisons
  • DQMHistoTests: Total files compared: 49
  • DQMHistoTests: Total histograms compared: 3697135
  • DQMHistoTests: Total failures: 19
  • DQMHistoTests: Total nulls: 1
  • DQMHistoTests: Total successes: 3697093
  • 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

@epalencia
Copy link
Contributor

+l1

@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)

@panoskatsoulis
Copy link
Contributor Author

@perrotta @qliphy
this is the P5 backport of #37602
it's also required to be merged

@perrotta
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 86a7528 into cms-sw:CMSSW_12_3_X Apr 27, 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

6 participants