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
Fixes for RunInfo O2O and cleanup of PopCon interface (80X) #14421
Fixes for RunInfo O2O and cleanup of PopCon interface (80X) #14421
Conversation
… is smaller than or equal to the latest IOV, exit.
… for production and offline for testing via VarParsing support.
…ect CORAL RelationalAccess API; use joins in queries; throw in case a query goes wrong; improve code style.
A new Pull Request was created by @diguida (Salvatore Di Guida) for CMSSW_8_0_X. It involves the following packages: CondCore/CondDB @ghellwig, @cerminar, @cmsbuild, @franzoni, @ggovi, @mmusich, @davidlange6 can you please review it and eventually sign? Thanks. cms-bot commands are list here #13028 |
38ff12d
to
a36856e
Compare
please test |
The tests are being triggered in jenkins. |
Comparison not run due to Build errors (RelVals and Igprof tests were also skipped) |
-1 Tested at: a36856e You can see the results of the tests here: I found follow errors while testing this PR Failed tests: Build
I found an error when building: >> Compiling edm plugin /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_0_X_2016-05-08-0000/src/CondTools/SiPixel/test/SiPixelFakeCPEGenericErrorParmSourceReader.cc >> Compiling edm plugin /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_0_X_2016-05-08-0000/src/CalibMuon/CSCCalibration/plugins/CSCPedestalsDBConditions.cc >> Compiling edm plugin /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_0_X_2016-05-08-0000/src/CalibMuon/CSCCalibration/plugins/CSCChipSpeedCorrectionDBConditions.cc >> Compiling edm plugin /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_0_X_2016-05-08-0000/src/CalibMuon/CSCCalibration/plugins/CSCNoiseMatrixDBConditions.cc /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_0_X_2016-05-08-0000/src/CondTools/SiPixel/test/SiPixelBadModuleReader.cc: In member function 'virtual void SiPixelBadModuleReader::analyze(const edm::Event&, const edm::EventSetup&)': /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_0_X_2016-05-08-0000/src/CondTools/SiPixel/test/SiPixelBadModuleReader.cc:43:17: error: 'SiPixelQuality' was not declared in this scope edm::ESHandle SiPixelBadModule_; ^ /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_0_X_2016-05-08-0000/src/CondTools/SiPixel/test/SiPixelBadModuleReader.cc:43:31: error: template argument 1 is invalid edm::ESHandle SiPixelBadModule_; ^ |
The failures are unrelated to this PR, and the tests done on top of
Let's have a look to the warnings:
these ones are not visible in the base build
This one is visible in the base build The errors are:
Running now on top of |
please test |
The tests are being triggered in jenkins. |
+1 |
+1 |
This pull request is fully signed and it will be integrated in one of the next CMSSW_8_0_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @slava77, @davidlange6, @Degano, @smuzaffar |
+1 |
The RunInfo O2O has been modified:
CondDBv2
tag policy. In https://github.com/diguida/cmssw/blob/fix_RunInfo_and_PopCon/CondCore/CondDB/src/IOVEditor.cc#L189-L201, as specified in the comment too, if the tag has synchronisationANY
orVALIDATION
, IOV insertion in the past or overriding are allowed, while they are forbidden (an exception is thrown) for "production" tags. The RunInfo code is now protected so that it first tests the input run number against the last IOV of the target tag: if the new run number is smaller than or equal to the latest IOV in the target tag, the job exits, and no new IOVs are added irrespectively of the synchronisation;CondCore
API as defined inConnectionPool
in order to authenticateOracle
access via roles, instead of theCORAL
API inRelationalAccess
;Removed a dead data member in PopCon.
Added a comment in
CondCore/CondDB/src/IOVEditor.cc
clarifying the tag update policy w.r.t. tag synchronisation.Back port of #14420 with one difference: use
boost::shared_ptr
instead ofstd::shared_ptr
in CMSSW_8_0_X...diguida:fix_RunInfo_and_PopCon_80X#diff-d0d2d7d67286c9941ff28996f956d33cR71 due to smart pointerboost -> std
migration inCMSSW_8_1_X
.