-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Fix for Conddb function to identify current run #30764
Fix for Conddb function to identify current run #30764
Conversation
A new Pull Request was created by @ggovi for CMSSW_11_1_X. It involves the following packages: CondCore/CondDB @christopheralanwest, @tocheng, @cmsbuild, @tlampen, @ggovi, @pohsun can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
The tests are being triggered in jenkins.
|
-1 Tested at: ebf87d8 CMSSW: CMSSW_11_1_X_2020-07-16-2300 I found follow errors while testing this PR Failed tests: Build ClangBuild
I found compilation error when building: >> Compiling /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_1_X_2020-07-16-2300/src/CondCore/DBOutputService/src/OnlineDBOutputService.cc >> Compiling /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_1_X_2020-07-16-2300/src/CondCore/DBOutputService/src/PoolDBOutputService.cc >> Building shared library tmp/slc7_amd64_gcc820/src/CondCore/DBOutputService/src/CondCoreDBOutputService/libCondCoreDBOutputService.so /cvmfs/cms-ib.cern.ch/nweek-02637/slc7_amd64_gcc820/external/gcc/8.2.0-bcolbf/bin/../lib/gcc/x86_64-unknown-linux-gnu/8.4.0/../../../../x86_64-unknown-linux-gnu/bin/ld: tmp/slc7_amd64_gcc820/src/CondCore/DBOutputService/src/CondCoreDBOutputService/OnlineDBOutputService.cc.o: in function `cond::service::OnlineDBOutputService::OnlineDBOutputService(edm::ParameterSet const&, edm::ActivityRegistry&)': OnlineDBOutputService.cc:(.text+0x1d7a): undefined reference to `cond::persistency::Session::getLastRun()' collect2: error: ld returned 1 exit status gmake: *** [tmp/slc7_amd64_gcc820/src/CondCore/DBOutputService/src/CondCoreDBOutputService/libCondCoreDBOutputService.so] Error 1 Leaving library rule at CondCore/DBOutputService ------- copying files from src/CondCore/DBOutputService/scripts ------- >> copied cmscond_logdb_dump Entering library rule at src/CondCore/DBOutputService/test
I found compilation error while trying to compile with clang. Command used:
>> Compiling /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_1_X_2020-07-16-2300/src/CondCore/CondDB/src/Time.cc >> Compiling /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_1_X_2020-07-16-2300/src/CondCore/CondDB/src/Types.cc >> Compiling /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_1_X_2020-07-16-2300/src/CondCore/CondDB/src/base64.cc >> Compiling /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_1_X_2020-07-16-2300/src/CondCore/CondDB/src/blowfish.cc In file included from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_1_X_2020-07-16-2300/src/CondCore/CondDB/src/RunInfoSchema.cc:2: /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_1_X_2020-07-16-2300/src/CondCore/CondDB/src/RunInfoSchema.h:46:40: error: non-virtual member function marked 'override' hides virtual member function cond::Time_t getLastInserted() override; ^ /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_1_X_2020-07-16-2300/src/CondCore/CondDB/src/IDbSchema.h:222:28: note: hidden overloaded virtual function 'cond::persistency::IRunInfoTable::getLastInserted' declared here: different number of parameters (2 vs 0) virtual cond::Time_t getLastInserted(boost::posix_time::ptime& start, boost::posix_time::ptime& end) = 0; ^ |
Comparison not run due to Build errors (RelVals and Igprof tests were also skipped) |
please test |
1 similar comment
please test |
The tests are being triggered in jenkins.
|
+1 |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
+1 |
+1 |
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 (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
This fix replaces a function "getCurrentRun" in the CondDB API ( Session object ) with a more general getLastRun function.
The single client of this function has been adapted to the new semantics.
PR validation:
A unit test has been added. The rest of the CondDB unit and integration test are successfully running
This PR is a backport of #30739
The back-port is required to operate on the HLT workflow