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 GTEntry_t hash function #14583
Fix for GTEntry_t hash function #14583
Conversation
…e record+labels in a GT
please test |
The tests are being triggered in jenkins. |
A new Pull Request was created by @ggovi for CMSSW_8_0_X. It involves the following packages: CondCore/CondDB @ggovi, @cmsbuild, @davidlange6 can you please review it and eventually sign? Thanks. cms-bot commands are list here #13028 |
Comparison not run due to Build errors (RelVals and Igprof tests were also skipped) |
-1 Tested at: 3fbc499 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: ^ /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_0_X_2016-05-19-2300/src/MuonAnalysis/MomentumScaleCalibration/test/UnitTests/MasterTestMuScleFit.cpp:19:40: warning: /cvmfs/cms-ib.cern.ch/2016-21/slc6_amd64_gcc530/external/cppunit/1.12.1/include/cppunit/ui/text/TestRunner.h is shorter than expected In file included from /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_0_X_2016-05-19-2300/src/MuonAnalysis/MomentumScaleCalibration/test/UnitTests/MasterTestMuScleFit.cpp:26:0: /cvmfs/cms-ib.cern.ch/2016-21/slc6_amd64_gcc530/external/cppunit/1.12.1/include/cppunit/BriefTestProgressListener.h:1:1: warning: null character(s) ignored /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_0_X_2016-05-19-2300/src/MuonAnalysis/MomentumScaleCalibration/test/UnitTests/MasterTestMuScleFit.cpp: In function 'int main(int, char**)': /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_0_X_2016-05-19-2300/src/MuonAnalysis/MomentumScaleCalibration/test/UnitTests/MasterTestMuScleFit.cpp:37:12: error: 'CppUnit::TextUi' has not been declared CppUnit::TextUi::TestRunner runner; ^ /build/cmsbuild/jenkins-workarea/workspace/ib-any-integration/CMSSW_8_0_X_2016-05-19-2300/src/MuonAnalysis/MomentumScaleCalibration/test/UnitTests/MasterTestMuScleFit.cpp:39:3: error: 'runner' was not declared in this scope runner.addTest( registry.makeTest() ); ^ |
@slava77 @Degano @smuzaffar |
@cmsbuild please test CMSSW_8_0_X_2016-05-19-2300 used in the tests looks OK in https://cmssdt.cern.ch/SDT/html/showIB.html The build error started with
@smuzaffar could it be a problem with cvmfs distr or some node issue? |
The tests are being triggered in jenkins. |
-1 Tested at: 3fbc499 You can see the results of the tests here: I found follow errors while testing this PR Failed tests: UnitTests
I found errors in the following unit tests: ---> test runtestTqafTopEventSelection had ERRORS |
@slava77 |
@ggovi The unit test was fixed in 81X already |
@slava77 , I will make Pr for 80X |
@smuzaffar |
@smuzaffar |
+1 |
This pull request is fully signed and it will be integrated in one of the next CMSSW_8_0_X IBs (but tests are reportedly failing). This pull request requires discussion in the ORP meeting before it's merged. @slava77, @davidlange6, @Degano, @smuzaffar |
This fix changes the implementation of the GTEntry_t hash function, used to extract the mapping Record ->Tag in a Global Tag. The new implementation allows to use the same tag for more record+labels in a GT, which was producing an error previously.
This is fully back-ward compatible ( while a new GT with more then one entry with the same tag will be readable only by this code )