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 tidy code-checks-all #20273

Merged
merged 4 commits into from Aug 30, 2017

Conversation

ianna
Copy link
Contributor

@ianna ianna commented Aug 25, 2017

  • Deleted members should be public
  • Modernize deprecated headers
  • Use nullptr [modernize-use-nullptr]
  • Access DDRotation members via member functions
  • Avoiding the copy if a local copy of the variable is never modified [performance-unnecessary-copy-initialization]
  • Making a const reference if the variable is copy-constructed from a const reference but is only used as const reference [performance-unnecessary-copy-initialization]

@ianna
Copy link
Contributor Author

ianna commented Aug 25, 2017

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 25, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/22494/console Started: 2017/08/25 16:02

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

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

It involves the following packages:

DetectorDescription/Core
DetectorDescription/OfflineDBLoader
DetectorDescription/Parser
DetectorDescription/RegressionTest

@cmsbuild, @civanch, @Dr15Jones, @ianna, @mdhildreth can you please review it and eventually sign? Thanks.
@davidlange6, @slava77 you are the release manager for this.

cms-bot commands are listed here

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/PR-20273/321

@cmsbuild
Copy link
Contributor

-1

Tested at: 04de753

The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:
5d98928
You can see more details here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-20273/22494/git-log-recent-commits
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-20273/22494/git-merge-result

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

I found follow errors while testing this PR

Failed tests: Build

  • Build:

I found an error when building:

>> Compiling  /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_3_X_2017-08-24-2300/src/SimG4Core/Geometry/src/DDG4SolidConverter.cc 
>> Compiling  /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_3_X_2017-08-24-2300/src/SimG4Core/Geometry/src/G4CheckOverlap.cc 
>> Compiling  /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_3_X_2017-08-24-2300/src/SimG4Core/Geometry/src/DDGeometryReturnType.cc 
>> Compiling  /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_3_X_2017-08-24-2300/src/SimG4Core/Geometry/src/DDDWorld.cc 
/build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_3_X_2017-08-24-2300/src/SimG4Core/Geometry/src/DDG4Builder.cc: In member function 'DDGeometryReturnType DDG4Builder::BuildGeometry()':
/build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_3_X_2017-08-24-2300/src/SimG4Core/Geometry/src/DDG4Builder.cc:148:40: error: 'DDRotation DDPosData::rot_' is private within this context
          << gra.edgeData(cit->second)->rot_
                                        ^~~~
In file included from /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_3_X_2017-08-24-2300/src/DetectorDescription/Core/interface/DDCompactView.h:14:0,
                 from /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_3_X_2017-08-24-2300/src/DetectorDescription/Core/interface/DDExpandedView.h:13,
                 from /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_3_X_2017-08-24-2300/src/DetectorDescription/Core/interface/DDSpecifics.h:11,


The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:
5d98928
You can see more details here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-20273/22494/git-log-recent-commits
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-20273/22494/git-merge-result

@cmsbuild
Copy link
Contributor

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

@ianna
Copy link
Contributor Author

ianna commented Aug 29, 2017

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 29, 2017

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

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 29, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/22558/console Started: 2017/08/29 15:26

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

Pull request #20273 was updated. @civanch, @Dr15Jones, @ianna, @mdhildreth, @cmsbuild, @alja can you please check and sign again.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/PR-20273/369

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@ianna
Copy link
Contributor Author

ianna commented Aug 29, 2017

+1

@cmsbuild
Copy link
Contributor

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

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 26
  • DQMHistoTests: Total histograms compared: 2653934
  • DQMHistoTests: Total failures: 199
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2653546
  • DQMHistoTests: Total skipped: 189
  • DQMHistoTests: Total Missing objects: 0
  • Checked 107 log files, 14 edm output root files, 26 DQM output files

@civanch
Copy link
Contributor

civanch commented Aug 30, 2017

+1

@davidlange6
Copy link
Contributor

merge

@cmsbuild cmsbuild merged commit 3923354 into cms-sw:master Aug 30, 2017
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

4 participants