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

DetectorDescription Clang Check modernize-use-emplace #20030

Closed
wants to merge 3 commits into from

Conversation

ianna
Copy link
Contributor

@ianna ianna commented Aug 3, 2017

Replaces #19976 after merge of #19974

@ianna
Copy link
Contributor Author

ianna commented Aug 3, 2017

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 3, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/22034/console Started: 2017/08/03 10:17

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 3, 2017

A new Pull Request was created by @ianna (Ianna Osborne) for master.

It involves the following packages:

DataFormats/Math
DetectorDescription/Core
DetectorDescription/Parser
DetectorDescription/RegressionTest

@perrotta, @civanch, @Dr15Jones, @ianna, @mdhildreth, @cmsbuild, @slava77 can you please review it and eventually sign? Thanks.
@makortel, @felicepantaleo, @ebrondol this is something you requested to watch as well.
@davidlange6 you are the release manager for this.

cms-bot commands are listed here

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 3, 2017

-1

Tested at: d91db70

The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:
f2b5378
d6c4a99
c039c91
abea02c
1be1c14
5ce45ac
f2e1b83
You can see more details here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-20030/22034/git-log-recent-commits
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-20030/22034/git-merge-result

You can see the results of the tests here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-20030/22034/summary.html

I found follow errors while testing this PR

Failed tests: Build ClangBuild

  • Build:

I found an error when building:

>> Compiling  /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_3_X_2017-08-02-2300/src/RecoMuon/Navigation/src/MuonEtaRange.cc 
>> Compiling  /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_3_X_2017-08-02-2300/src/RecoMuon/Navigation/src/MuonNavigableLayer.cc 
>> Compiling  /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_3_X_2017-08-02-2300/src/RecoMuon/Navigation/src/DirectMuonNavigation.cc 
>> Compiling  /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_3_X_2017-08-02-2300/src/Utilities/General/src/ClassName.cc 
>> Compiling  /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_3_X_2017-08-02-2300/src/Utilities/General/src/FileInPath.cc 
/build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_3_X_2017-08-02-2300/src/Utilities/General/src/FileInPath.cc:2:38: fatal error: boost/algorithm/string.hpp: No such file or directory
 #include 
                                      ^
compilation terminated.
gmake: *** [tmp/slc6_amd64_gcc630/src/Utilities/General/src/UtilitiesGeneral/FileInPath.o] Error 1
Entering library rule at RecoMuon/TrackingTools

  • Clang:

I found a compilation error while trying to compile with clang:
I used this command:
scram b vclean && scram build -k -j 16 USER_CXXFLAGS='-fsyntax-only' COMPILER='llvm compile'

>> Compiling  /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_3_X_2017-08-02-2300/src/Utilities/General/src/ClassName.cc 
>> Compiling  /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_3_X_2017-08-02-2300/src/Utilities/General/src/FileInPath.cc 
>> Compiling  /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_3_X_2017-08-02-2300/src/Utilities/General/test/TestTBB.cc 
>> Compiling  /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_3_X_2017-08-02-2300/src/Utilities/General/test/test_precomputed_value_sort.cpp 
Entering library rule at src/DataFormats/Math/test
/build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_3_X_2017-08-02-2300/src/Utilities/General/src/FileInPath.cc:2:10: fatal error: 'boost/algorithm/string.hpp' file not found
#include 
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
>> Compiling  /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_3_X_2017-08-02-2300/src/RecoVertex/KinematicFitPrimitives/src/KinematicParameters.cc 
>> Compiling  /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_3_X_2017-08-02-2300/src/RecoVertex/KinematicFitPrimitives/src/MultipleKinematicConstraint.cc 


The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:
f2b5378
d6c4a99
c039c91
abea02c
1be1c14
5ce45ac
f2e1b83
You can see more details here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-20030/22034/git-log-recent-commits
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-20030/22034/git-merge-result

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 3, 2017

Comparison not run due to Build errors (RelVals and Igprof tests were also skipped)

@ianna
Copy link
Contributor Author

ianna commented Aug 3, 2017

@smuzaffar - is there a problem with CLANG IB?

@ianna ianna changed the title DetectorDescription Clang Check modernize-use-equals-delete DetectorDescription Clang Check modernize-use-emplace Aug 3, 2017
@ianna
Copy link
Contributor Author

ianna commented Aug 3, 2017

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 3, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/22038/console Started: 2017/08/03 12:03

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 3, 2017

The tests are being triggered in jenkins.

@smuzaffar
Copy link
Contributor

abort

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 3, 2017

Jenkins tests are aborted.

@smuzaffar
Copy link
Contributor

test with #20033

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 3, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/22043/console Started: 2017/08/03 14:40

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 3, 2017

Comparison job queued.

@ianna
Copy link
Contributor Author

ianna commented Aug 3, 2017

+1

@perrotta
Copy link
Contributor

perrotta commented Aug 3, 2017

@ianna : your PRs #20020 and #20030 interfere each other. Since they act on the same files they will not be mergeable any more as soon as one of the two gets merged first, (Checked just now on CMSSW_9_3_X_2017-08-03-140)

Why not combine yourself those two (and possibly also #19978) into a single PR, that can be merged all at once?

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 3, 2017

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-20030/22043/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 25
  • DQMHistoTests: Total histograms compared: 2639325
  • DQMHistoTests: Total failures: 15438
  • DQMHistoTests: Total nulls: 980
  • DQMHistoTests: Total successes: 2622726
  • DQMHistoTests: Total skipped: 181
  • DQMHistoTests: Total Missing objects: 0
  • Checked 102 log files, 14 edm output root files, 25 DQM output files

@ianna
Copy link
Contributor Author

ianna commented Aug 3, 2017

@perrotta - smaller PRs tend to be faster to integrate, even with if there are merging conflict fixes.

@slava77
Copy link
Contributor

slava77 commented Aug 3, 2017 via email

@ianna
Copy link
Contributor Author

ianna commented Aug 3, 2017

@slava77 - ok, I'll merge all of the PRs in one.

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

5 participants