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

migrate CondCore/PopCon away from deprecated EDAnalyzer API #35469

Merged
merged 1 commit into from Sep 29, 2021

Conversation

mmusich
Copy link
Contributor

@mmusich mmusich commented Sep 29, 2021

resolves cms-AlCaDB/AlCaTools#37

PR description:

Title says it all.

PR validation:

After checking dependencies with git cms-checkdeps -a it still compiles.
Running the unit tests for all the checked out packages there are multiple errors

---> test EcalADCToGeV_update_test had ERRORS
---> test EcalDAQ_O2O_test had ERRORS
---> test EcalDCS_O2O_test had ERRORS
---> test EcalLaser_O2O_test had ERRORS
---> test EcalTPGBadStripStatus_O2O_test had ERRORS
---> test EcalTPGCrystalStatus_O2O_test had ERRORS
---> test EcalTPGFineGrainEBGroup_O2O_test had ERRORS
---> test EcalTPGFineGrainEBIdMap_O2O_test had ERRORS
---> test EcalTPGFineGrainStripEE_O2O_test had ERRORS
---> test EcalTPGFineGrainTowerEE_O2O_test had ERRORS
---> test EcalTPGLinearizationConst_O2O_test had ERRORS
---> test EcalTPGLutGroup_O2O_test had ERRORS
---> test EcalTPGLutIdMap_O2O_test had ERRORS
---> test EcalTPGPedestals_O2O_test had ERRORS
---> test EcalTPGPhysicsConst_O2O_test had ERRORS
---> test EcalTPGSlidingWindow_O2O_test had ERRORS
---> test EcalTPGSpike_O2O_test had ERRORS
---> test EcalTPGTowerStatus_O2O_test had ERRORS
---> test EcalTPGWeightGroup_O2O_test had ERRORS
---> test EcalTPGWeightIdMap_O2O_test had ERRORS
---> test RunInfoStart_O2O_test had ERRORS

all seemingly related to:

----- Begin Fatal Exception 29-Sep-2021 11:11:47 CEST-----------------------
An exception of category 'ConditionDatabase' occurred while
 ...
Exception Message:
Service "cms_omds_adg" can't be open with the current key. from cond::CredentialStore::setUpConnection
----- End Fatal Exception -------------------------------------------------

which looks like an intrinsic limitation of running the O2O test from the lambda user.

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

N/A

@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35469/25624

  • This PR adds an extra 12KB 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-35469/25625

  • This PR adds an extra 12KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @mmusich (Marco Musich) for master.

It involves the following packages:

  • CondCore/PopCon (db, alca)

@malbouis, @yuanchao, @cmsbuild, @ggovi, @francescobrivio, @tvami can you please review it and eventually sign? Thanks.
@mmusich, @tocheng 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

@ggovi
Copy link
Contributor

ggovi commented Sep 29, 2021

please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-8cfb91/19238/summary.html
COMMIT: 9cf4a29
CMSSW: CMSSW_12_1_X_2021-09-28-2300/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/35469/19238/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: 2 differences found in the comparisons
  • DQMHistoTests: Total files compared: 40
  • DQMHistoTests: Total histograms compared: 3211080
  • DQMHistoTests: Total failures: 5
  • DQMHistoTests: Total nulls: 1
  • DQMHistoTests: Total successes: 3211052
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.004 KiB( 39 files compared)
  • DQMHistoSizes: changed ( 312.0 ): 0.004 KiB MessageLogger/Warnings
  • Checked 169 log files, 37 edm output root files, 40 DQM output files
  • TriggerResults: no differences found

@tvami
Copy link
Contributor

tvami commented Sep 29, 2021

test parameters:

  • addpkg = CondTools/Ecal

@tvami
Copy link
Contributor

tvami commented Sep 29, 2021

@cmsbuild , please test

@mmusich
Copy link
Contributor Author

mmusich commented Sep 29, 2021

@tvami, sorry what's the point of re-testing?
CondTools/Ecal was already checked out: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-8cfb91/19238/unitTests/success.html

@tvami
Copy link
Contributor

tvami commented Sep 29, 2021

Oh, sorry, I just saw that the test results came back normal, and that's the opposite of what you were reporting in the description so I thought that those unit test have not been run. But now I dont understand, what changed so that the unit tests are fine now?

@mmusich
Copy link
Contributor Author

mmusich commented Sep 29, 2021

@tvami it seems you did not read carefully the description

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-8cfb91/19246/summary.html
COMMIT: 9cf4a29
CMSSW: CMSSW_12_1_X_2021-09-28-2300/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/35469/19246/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: 6 differences found in the comparisons
  • DQMHistoTests: Total files compared: 40
  • DQMHistoTests: Total histograms compared: 3211080
  • DQMHistoTests: Total failures: 8
  • DQMHistoTests: Total nulls: 1
  • DQMHistoTests: Total successes: 3211049
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.004 KiB( 39 files compared)
  • DQMHistoSizes: changed ( 312.0 ): 0.004 KiB MessageLogger/Warnings
  • Checked 169 log files, 37 edm output root files, 40 DQM output files
  • TriggerResults: no differences found

@tvami
Copy link
Contributor

tvami commented Sep 29, 2021

+alca

@ggovi
Copy link
Contributor

ggovi commented Sep 29, 2021

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

@ggovi
Copy link
Contributor

ggovi commented Sep 29, 2021

@mmusich BTW I confirm that - in absence of the proper db key ( the bot has one ) - the above O2O unit test cannot be executed...

@perrotta
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 3482723 into cms-sw:master Sep 29, 2021
@mmusich mmusich deleted the migrateDeprecatedAPIPopConAnalyzer branch September 29, 2021 19:30
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.

Deprecated Legacy modules in CondCore/PopCon
5 participants