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

Clean BuildFiles in RecoVertex and RecoTracker #28882

Merged
merged 3 commits into from Feb 16, 2020
Merged

Clean BuildFiles in RecoVertex and RecoTracker #28882

merged 3 commits into from Feb 16, 2020

Conversation

guitargeek
Copy link
Contributor

PR description:

Another quick round of automatic BuildFile.xml cleaning to improve the modularity of CMSSW.

PR validation:

CMSSW compiles.

if this PR is a backport please specify the original PR and why you need to backport that PR:

No backport intended.

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 7, 2020

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 7, 2020

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-28882/13660

  • This PR adds an extra 20KB to repository

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 7, 2020

A new Pull Request was created by @guitargeek (Jonas Rembser) for master.

It involves the following packages:

RecoTracker/DeDx
RecoTracker/FinalTrackSelectors
RecoTracker/MeasurementDet
RecoTracker/MkFit
RecoTracker/SiTrackerMRHTools
RecoTracker/SpecialSeedGenerators
RecoTracker/TkDetLayers
RecoTracker/TkHitPairs
RecoTracker/TkSeedGenerator
RecoTracker/TkSeedingLayers
RecoTracker/TkTrackingRegions
RecoTracker/TrackProducer
RecoTracker/TransientTrackingRecHit
RecoVertex/AdaptiveVertexFit
RecoVertex/BeamSpotProducer
RecoVertex/ConfigurableVertexReco
RecoVertex/GhostTrackFitter
RecoVertex/LinearizationPointFinders
RecoVertex/PrimaryVertexProducer
RecoVertex/V0Producer
RecoVertex/VertexTools

@perrotta, @slava77, @christopheralanwest, @tocheng, @cmsbuild, @franzoni, @tlampen, @pohsun can you please review it and eventually sign? Thanks.
@emilbols, @andrzejnovak, @makortel, @felicepantaleo, @acaudron, @ferencek, @GiacomoSguazzoni, @rovere, @VinInn, @HeinerTholen, @JyothsnaKomaragiri, @mverzett, @ebrondol, @tocheng, @smoortga, @mschrode, @gpetruc, @mmusich, @pvmulder, @dgulhan this is something you requested to watch as well.
@davidlange6, @silviodonato, @fabiocos you are the release manager for this.

cms-bot commands are listed here

@christopheralanwest
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 7, 2020

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-run-pr-tests/4554/console Started: 2020/02/07 17:13

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 7, 2020

-1

Tested at: 9c8f24f

CMSSW: CMSSW_11_1_X_2020-02-07-1100
SCRAM_ARCH: slc7_amd64_gcc820
You can see the results of the tests here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-460fd2/4554/summary.html

I found follow errors while testing this PR

Failed tests: Build

  • Build:

I found compilation error when building:

/cvmfs/cms-ib.cern.ch/nweek-02614/slc7_amd64_gcc820/external/gcc/8.2.0-pafccj/bin/../lib/gcc/x86_64-unknown-linux-gnu/8.3.1/../../../../x86_64-unknown-linux-gnu/bin/ld: TrackerGeometryCompare.cc:(.text+0x1461): undefined reference to `std::type_info const& edm::typelookup::classTypeInfo()'
/cvmfs/cms-ib.cern.ch/nweek-02614/slc7_amd64_gcc820/external/gcc/8.2.0-pafccj/bin/../lib/gcc/x86_64-unknown-linux-gnu/8.3.1/../../../../x86_64-unknown-linux-gnu/bin/ld: TrackerGeometryCompare.cc:(.text+0x16d4): undefined reference to `SiPixelQuality::IsModuleBad(unsigned int const&) const'
/cvmfs/cms-ib.cern.ch/nweek-02614/slc7_amd64_gcc820/external/gcc/8.2.0-pafccj/bin/../lib/gcc/x86_64-unknown-linux-gnu/8.3.1/../../../../x86_64-unknown-linux-gnu/bin/ld: TrackerGeometryCompare.cc:(.text+0x21e1): undefined reference to `char const* edm::typelookup::className()'
/cvmfs/cms-ib.cern.ch/nweek-02614/slc7_amd64_gcc820/external/gcc/8.2.0-pafccj/bin/../lib/gcc/x86_64-unknown-linux-gnu/8.3.1/../../../../x86_64-unknown-linux-gnu/bin/ld: tmp/slc7_amd64_gcc820/src/Alignment/OfflineValidation/plugins/AlignmentOfflinevalidationPlugins/TrackerGeometryCompare.cc.o: in function `edm::eventsetup::EventSetupRecordImpl::getImplementation(SiPixelQuality const*&, char const*, edm::eventsetup::ComponentDescription const*&, bool, std::shared_ptr&, edm::EventSetupImpl const*) const::{lambda()#1}::operator()() const':
TrackerGeometryCompare.cc:(.text._ZZNK3edm10eventsetup20EventSetupRecordImpl17getImplementationI14SiPixelQualityEEvRPKT_PKcRPKNS0_20ComponentDescriptionEbRSt10shared_ptrINS_24ESHandleExceptionFactoryEEPKNS_14EventSetupImplEENKUlvE_clEv[_ZZNK3edm10eventsetup20EventSetupRecordImpl17getImplementationI14SiPixelQualityEEvRPKT_PKcRPKNS0_20ComponentDescriptionEbRSt10shared_ptrINS_24ESHandleExceptionFactoryEEPKNS_14EventSetupImplEENKUlvE_clEv]+0x56): undefined reference to `char const* edm::typelookup::className()'
collect2: error: ld returned 1 exit status
gmake: *** [tmp/slc7_amd64_gcc820/src/Alignment/OfflineValidation/plugins/AlignmentOfflinevalidationPlugins/libAlignmentOfflinevalidationPlugins.so] Error 1
Leaving library rule at src/Alignment/OfflineValidation/plugins
Entering library rule at Alignment/OfflineValidation
>> Compiling  /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_1_X_2020-02-07-1100/src/Alignment/OfflineValidation/src/TrackerValidationVariables.cc 
>> Compiling  /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_1_X_2020-02-07-1100/src/Alignment/OfflineValidation/src/PVValidationHelpers.cc 


@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 7, 2020

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

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 7, 2020

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

Pull request #28882 was updated. @perrotta, @slava77, @christopheralanwest, @tocheng, @cmsbuild, @franzoni, @tlampen, @pohsun can you please check and sign again.

@guitargeek
Copy link
Contributor Author

For all the dependencies I added in this PR now, the git grepping shows they are actually used.

@slava77
Copy link
Contributor

slava77 commented Feb 12, 2020

@cmsbuild please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 12, 2020

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-run-pr-tests/4627/console Started: 2020/02/12 21:04

@cmsbuild
Copy link
Contributor

+1
Tested at: f6dba84
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-460fd2/4627/summary.html
CMSSW: CMSSW_11_1_X_2020-02-12-1100
SCRAM_ARCH: slc7_amd64_gcc820

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

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

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 34
  • DQMHistoTests: Total histograms compared: 2694005
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2693658
  • DQMHistoTests: Total skipped: 346
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 33 files compared)
  • Checked 147 log files, 16 edm output root files, 34 DQM output files

@slava77
Copy link
Contributor

slava77 commented Feb 13, 2020

+1

for #28882 f6dba84

  • these technical buildfile changes are in line with the PR description and the follow up review
  • jenkins tests pass and comparisons with the baseline show no differences

@pohsun
Copy link

pohsun commented Feb 15, 2020

+1

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @davidlange6, @silviodonato, @fabiocos (and backports should be raised in the release meeting by the corresponding L2)

@@ -24,5 +24,6 @@
<use name="TrackingTools/PatternTools"/>
<use name="TrackingTools/TrackFitters"/>
<use name="TrackingTools/MeasurementDet"/>
<use name="TrackingTools/KalmanUpdators"/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For my education, why do you need to add TrackingTools/KalmanUpdators?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because it's included here and in the line after:
https://github.com/cms-sw/cmssw/blob/master/CalibTracker/SiStripHitEfficiency/interface/HitEff.h#L14
Before, it somehow got this dependency indirectly by one of the used RecoTracker packages, but since the dependencies got cleaned there this didn't happen anymore. That's why we have to declare the dependency at this right place now.

@@ -5,6 +5,7 @@
<use name="CondCore/DBOutputService"/>
<use name="CondFormats/Alignment"/>
<use name="CondFormats/RunInfo"/>
<use name="CondFormats/SiPixelObjects"/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same comment here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is used here: https://github.com/cms-sw/cmssw/blob/master/Alignment/OfflineValidation/plugins/TrackerGeometryCompare.cc#L18

Again, this was not an issue before because it somehow got this dependency indirectly via some RecoTracker package, but now it's done right.

@silviodonato
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 95ca5c9 into cms-sw:master Feb 16, 2020
@guitargeek guitargeek deleted the RecoTracker_RecoVertex_deps branch February 16, 2020 17:08
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

6 participants