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

Removed #includes to TrackerTopology.h in DataFormats/GeometrySurface #18211

Merged
merged 1 commit into from Apr 10, 2017

Conversation

Teemperor
Copy link
Contributor

These includes cause a layering violation because GeometryCommonDetAlgo
in turn already depends on DataFormats/GeometrySurface.

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 5, 2017

A new Pull Request was created by @Teemperor (Raphael Isemann) for master.

It involves the following packages:

DataFormats/SiPixelDetId

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

cms-bot commands are listed here #13028

@civanch
Copy link
Contributor

civanch commented Apr 5, 2017

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 5, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/18935/console Started: 2017/04/05 12:20

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 5, 2017

-1

Tested at: 7f28800

The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:
09ca96d
52ee4d0
d3aa856
6392f47
fcd293d
9819399
c75f9f3
b6eda34
62344a9
06d1fe3
03c43df
e97d88d
c7ced6a
66153ad
You can see more details here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-18211/18935/git-log-recent-commits
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-18211/18935/git-merge-result

You can see the results of the tests here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-18211/18935/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_1_X_2017-04-04-1100/src/DQMServices/Core/bin/MergeFile.cpp 
>> Compiling  /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_1_X_2017-04-04-1100/src/DQMServices/Core/test/DQMTestStandaloneBuildOfDQMStore.cc 
>> Compiling  /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_1_X_2017-04-04-1100/src/DQMServices/Core/test/DQMFastMatchTest.cc 
>> Compiling  /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_1_X_2017-04-04-1100/src/DQMServices/Core/test/DQMQualityTestsExample.cc 
/build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_1_X_2017-04-04-1100/src/SLHCUpgradeSimulations/Geometry/src/PrintGeomMatInfo.cc: In member function 'void PrintGeomMatInfo::dumpSummary(std::ostream&)':
/build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_1_X_2017-04-04-1100/src/SLHCUpgradeSimulations/Geometry/src/PrintGeomMatInfo.cc:174:11: error: 'G4PhysicalVolumeStore' does not name a type
     const G4PhysicalVolumeStore * pvs = G4PhysicalVolumeStore::GetInstance();
           ^
/build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_1_X_2017-04-04-1100/src/SLHCUpgradeSimulations/Geometry/src/PrintGeomMatInfo.cc:175:50: error: 'pvs' was not declared in this scope
     out << " Number of G4VPhysicalVolume's: " << pvs->size() << std::endl;
                                                  ^

  • Clang:

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

>> Compiling edm plugin /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_1_X_2017-04-04-1100/src/CondCore/Utilities/plugins/BasicP_PayloadInspector.cc 
>> Compiling LCG dictionary: tmp/slc6_amd64_gcc530/src/CondCore/Utilities/src/CondCoreUtilities/a/CondCoreUtilities_xr.cc
>> Compiling edm plugin /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_1_X_2017-04-04-1100/src/CondCore/CondDB/plugins/RelationalAuthenticationService.cc 
>> Compiling edm plugin /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_1_X_2017-04-04-1100/src/CondCore/CondDB/plugins/CondDBPyWrappers.cc 
In file included from /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_1_X_2017-04-04-1100/src/FastSimulation/CaloGeometryTools/src/CrystalPad.cc:1:
/build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_1_X_2017-04-04-1100/src/FastSimulation/CaloGeometryTools/interface/CrystalPad.h:26:49: error: use of undeclared identifier 'CLHEP'
  CrystalPad(unsigned number, const std::vector& corners);
                                                ^
/build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_1_X_2017-04-04-1100/src/FastSimulation/CaloGeometryTools/interface/CrystalPad.h:48:21: error: use of undeclared identifier 'CLHEP'
  bool inside(const CLHEP::Hep2Vector & point,bool debug=false) const;
                    ^


The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:
09ca96d
52ee4d0
d3aa856
6392f47
fcd293d
9819399
c75f9f3
b6eda34
62344a9
06d1fe3
03c43df
e97d88d
c7ced6a
66153ad
You can see more details here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-18211/18935/git-log-recent-commits
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-18211/18935/git-merge-result

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 5, 2017

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

@civanch
Copy link
Contributor

civanch commented Apr 5, 2017

@Teemperor , you likely need to rebase

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 8, 2017

Pull request #18211 was updated. @cmsbuild, @civanch, @mdhildreth, @davidlange6 can you please check and sign again.

@civanch
Copy link
Contributor

civanch commented Apr 8, 2017

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 8, 2017

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

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 8, 2017

-1

Tested at: 7ce679f

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

I found follow errors while testing this PR

Failed tests: Build

  • Build:

I found an error when building:

>> Compiling edm plugin /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_1_X_2017-04-07-2300/src/CondTools/SiPixel/test/SiPixelGainCalibrationRejectNoisyAndDead.cc 
>> Compiling edm plugin /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_1_X_2017-04-07-2300/src/CondTools/SiPixel/test/SiPixelFakeGenErrorDBSourceReader.cc 
>> Compiling edm plugin /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_1_X_2017-04-07-2300/src/CondTools/SiPixel/test/SiPixelCondObjForHLTBuilder.cc 
>> Compiling edm plugin /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_1_X_2017-04-07-2300/src/CondTools/SiPixel/test/SiPixelGenErrorDBObjectReader.cc 
/build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_1_X_2017-04-07-2300/src/CondTools/SiPixel/test/SiPixelDynamicInefficiencyReader.cc: In member function 'virtual void SiPixelDynamicInefficiencyReader::analyze(const edm::Event&, const edm::EventSetup&)':
/build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_1_X_2017-04-07-2300/src/CondTools/SiPixel/test/SiPixelDynamicInefficiencyReader.cc:198:25: error: invalid use of incomplete type 'const class TrackerTopology'
     int layerIndex=tTopo->pxbLayer(detid.rawId());
                         ^
In file included from /build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_1_X_2017-04-07-2300/src/CondTools/SiPixel/test/SiPixelDynamicInefficiencyReader.cc:11:0:
/build/cmsbld/jenkins-workarea/workspace/ib-any-integration/CMSSW_9_1_X_2017-04-07-2300/src/DataFormats/SiPixelDetId/interface/PixelBarrelName.h:14:7: note: forward declaration of 'class TrackerTopology'
 class TrackerTopology;


@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 8, 2017

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

These includes cause a layering violation because GeometryCommonDetAlgo
in turn already depends on DataFormats/GeometrySurface.
@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 8, 2017

Pull request #18211 was updated. @ggovi, @cmsbuild, @civanch, @mdhildreth, @davidlange6 can you please check and sign again.

@civanch
Copy link
Contributor

civanch commented Apr 9, 2017

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 9, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/19035/console Started: 2017/04/09 17:57

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 9, 2017

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 9, 2017

Comparison job queued.

@cmsbuild
Copy link
Contributor

cmsbuild commented Apr 9, 2017

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

Comparison Summary:

  • You potentially added 28 lines to the logs
  • Reco comparison results: 1630 differences found in the comparisons
  • DQMHistoTests: Total files compared: 23
  • DQMHistoTests: Total histograms compared: 1917209
  • DQMHistoTests: Total failures: 38854
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 1878182
  • DQMHistoTests: Total skipped: 173
  • DQMHistoTests: Total Missing objects: 0
  • Checked 94 log files, 14 edm output root files, 23 DQM output files

@civanch
Copy link
Contributor

civanch commented Apr 9, 2017

+1

@davidlange6 davidlange6 merged commit 99423ef into cms-sw:master Apr 10, 2017
@Teemperor Teemperor deleted the TrackerTopology branch December 19, 2017 08:47
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