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

delete unused headers #31870

Closed
wants to merge 1 commit into from
Closed

Conversation

davidlange6
Copy link
Contributor

As raised in #31505

none of these files are used in any way (well some are used by others that themselves are unused) - unused means not used in any compilation unit or test.

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-31870/19239

  • This PR adds an extra 220KB to repository

  • There are other open Pull requests which might conflict with changes you have proposed:

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @davidlange6 (David Lange) for master.

It involves the following packages:

Alignment/LaserAlignment
Alignment/MuonAlignmentAlgorithms
CalibCalorimetry/EcalLaserAnalyzer
CalibCalorimetry/HcalAlgos
CalibFormats/SiPixelObjects
CalibMuon/CSCCalibration
Calibration/IsolatedParticles
Calibration/Tools
CommonTools/CandAlgos
CommonTools/CandUtils
CommonTools/ParticleFlow
CommonTools/Statistics
CommonTools/UtilAlgos
CommonTools/Utils
CondCore/DTPlugins
CondFormats/CastorObjects
CondFormats/Common
CondFormats/DataRecord
CondFormats/HcalObjects
CondFormats/Serialization
CondFormats/SiPixelObjects
CondTools/Ecal
CondTools/L1Trigger
CondTools/RPC
CondTools/SiStrip
DataFormats/BTauReco
DataFormats/Common
DataFormats/GeometrySurface
DataFormats/GeometryVector
DataFormats/METReco
DataFormats/Math
DataFormats/ParticleFlowReco
DataFormats/Provenance
DataFormats/RPCDigi
DataFormats/SiPixelDigi
DataFormats/SiStripCluster
DataFormats/SiStripCommon
DataFormats/SiStripDigi
DataFormats/TrackerRecHit2D
DataFormats/TrajectorySeed
ElectroWeakAnalysis/WENu
ElectroWeakAnalysis/ZEE
ElectroWeakAnalysis/ZMuMu
EventFilter/DTRawToDigi
EventFilter/ESRawToDigi
EventFilter/EcalRawToDigi
EventFilter/RPCRawToDigi
EventFilter/Utilities
FWCore/ServiceRegistry
GeneratorInterface/TauolaInterface
HeavyFlavorAnalysis/SpecificDecay
IOPool/Common
JetMETCorrections/InterpolationTables
JetMETCorrections/Type1MET
L1Trigger/DTSectorCollector
L1Trigger/GlobalCaloTrigger
L1Trigger/L1TCalorimeter
L1Trigger/L1TMuonOverlap
L1Trigger/L1TNtuples
L1TriggerOffline/L1Analyzer
MagneticField/Engine
MagneticField/VolumeGeometry
Mixing/Base
OnlineDB/CSCCondDB
OnlineDB/EcalCondDB
PhysicsTools/FWLite
PhysicsTools/MVAComputer
PhysicsTools/PatExamples
PhysicsTools/PatUtils
PhysicsTools/SelectorUtils
PhysicsTools/UtilAlgos
PhysicsTools/Utilities
RecoEcal/EgammaClusterProducers
RecoEgamma/EgammaTools
RecoHI/HiJetAlgos
RecoJets/JetAnalyzers
RecoLocalCalo/EcalRecAlgos
RecoMuon/TrackingTools
RecoTracker/SpecialSeedGenerators
RecoTracker/TkMSParametrization
RecoTracker/TrackProducer
RecoTracker/TransientTrackingRecHit
RecoVertex/ConfigurableVertexReco
RecoVertex/KinematicFit
RecoVertex/LinearizationPointFinders
SimCalorimetry/CaloSimAlgos
SimDataFormats/RPCDigiSimLink
SimDataFormats/TrackerDigiSimLink
SimG4CMS/Calo
SimG4Core/Application
SimG4Core/Notification
TopQuarkAnalysis/TopTools
TrackingTools/AnalyticalJacobians
TrackingTools/GsfTools
TrackingTools/PatternTools
TrackingTools/Records

@SiewYan, @ggovi, @christopheralanwest, @rekovic, @tlampen, @alberto-sanchez, @pohsun, @santocch, @perrotta, @civanch, @yuanchao, @makortel, @cmsbuild, @agrohsje, @GurpreetSinghChahal, @smorovic, @smuzaffar, @Dr15Jones, @mdhildreth, @tocheng, @slava77, @jpata, @benkrikler, @mkirsano, @emeschi can you please review it and eventually sign? Thanks.
@echabert, @rappoccio, @gouskos, @erikbutz, @yslai, @felicepantaleo, @slomeo, @hatakeyamak, @robervalwalsh, @emilbols, @apsallid, @argiro, @Martin-Grunewald, @mschrode, @jazzitup, @thomreis, @alberto-sanchez, @lgray, @abbiendi, @ebrondol, @seemasharmafnal, @pakhotin, @mmarionncern, @kreczko, @JyothsnaKomaragiri, @makortel, @smoortga, @afiqaize, @JanFSchulte, @jhgoh, @dgulhan, @jdolen, @mandrenguyen, @yenjie, @cericeci, @fwyzard, @ptcox, @ferencek, @dkotlins, @pieterdavid, @jainshilpi, @yetkinyilmaz, @mtosi, @Sam-Harper, @kurtejung, @GiacomoSguazzoni, @rovere, @VinInn, @jdamgov, @bellan, @nhanvtran, @gkasieczka, @tocheng, @threus, @schoef, @alesaggio, @mmusich, @abdoulline, @fabiocos, @clelange, @mkirsano, @namapane, @calderona, @HuguesBrun, @adewit, @rchatter, @trocino, @riga, @battibass, @varuns23, @Fedespring, @wddgit, @ahinzmann, @sobhatta, @lecriste, @cbernet, @gpetruc, @mariadalfonso, @rociovilar, @andrzejnovak, @folguera, @tvami this is something you requested to watch as well.
@silviodonato, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@smuzaffar
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 20, 2020

The tests are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

-1

Tested at: 023deee

CMSSW: CMSSW_11_2_X_2020-10-19-2300
SCRAM_ARCH: slc7_amd64_gcc820

The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:

You can see more details here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-02bef3/10119/git-log-recent-commits
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-02bef3/10119/git-merge-result

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

I found follow errors while testing this PR

Failed tests: Build ClangBuild

  • Build:

I found compilation error when building:

Entering library rule at DataFormats/GeometryVector
>> Compiling  /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-19-2300/src/DataFormats/GeometryVector/src/TrackingJacobians.cc
>> Compiling  /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-19-2300/src/DataFormats/GeometryVector/src/print.cc
>> Building LCG reflex dict from header file src/DataFormats/GeometryVector/src/classes.h
In file included from input_line_9:60:
/data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-19-2300/src/DataFormats/GeometryVector/interface/Basic3DVector.h:11:10: fatal error: 'private/oldBasic3DVector.h' file not found
#include "private/oldBasic3DVector.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: rootcling: compilation failure (tmp/slc7_amd64_gcc820/src/DataFormats/GeometryVector/src/DataFormatsGeometryVector/a/DataFormatsGeometryVector_xr66f8e3389a_dictUmbrella.h)
gmake: *** [tmp/slc7_amd64_gcc820/src/DataFormats/GeometryVector/src/DataFormatsGeometryVector/a/DataFormatsGeometryVector_xr.cc] Error 1
>> Compiling LCG dictionary: tmp/slc7_amd64_gcc820/src/DataFormats/GeometryVector/src/DataFormatsGeometryVector/a/DataFormatsGeometryVector_xr.cc

  • Clang:

I found compilation error while trying to compile with clang. Command used:

USER_CUDA_FLAGS='--expt-relaxed-constexpr' USER_CXXFLAGS='-Wno-register -fsyntax-only' scram build -k -j 32 COMPILER='llvm compile'

In file included from /cvmfs/cms-ib.cern.ch/week1/slc7_amd64_gcc820/cms/cmssw-patch/CMSSW_11_2_X_2020-10-19-2300/src/TrackingTools/TrajectoryParametrization/interface/LocalTrajectoryParameters.h:1:
In file included from /cvmfs/cms-ib.cern.ch/week1/slc7_amd64_gcc820/cms/cmssw-patch/CMSSW_11_2_X_2020-10-19-2300/src/DataFormats/TrajectoryState/interface/LocalTrajectoryParameters.h:4:
In file included from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-19-2300/src/DataFormats/GeometryVector/interface/LocalPoint.h:5:
In file included from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-19-2300/src/DataFormats/GeometryVector/interface/Point2DBase.h:5:
In file included from /data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-19-2300/src/DataFormats/GeometryVector/interface/PV2DBase.h:4:
/data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_11_2_X_2020-10-19-2300/src/DataFormats/GeometryVector/interface/Basic2DVector.h:10:10: fatal error: 'private/oldBasic2DVector.h' file not found
#include "private/oldBasic2DVector.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
#0 0x00002ac2a5c30b8f PrintStackTraceSignalHandler(void*) (/cvmfs/cms-ib.cern.ch/week1/slc7_amd64_gcc820/cms/cmssw-patch/CMSSW_11_2_X_2020-10-19-2300/external/slc7_amd64_gcc820/lib/libCling.so+0x268cb8f)
#1 0x00002ac2a5c2e8fe llvm::sys::RunSignalHandlers() (/cvmfs/cms-ib.cern.ch/week1/slc7_amd64_gcc820/cms/cmssw-patch/CMSSW_11_2_X_2020-10-19-2300/external/slc7_amd64_gcc820/lib/libCling.so+0x268a8fe)
#2 0x00002ac2a5c2eb36 SignalHandler(int) (/cvmfs/cms-ib.cern.ch/week1/slc7_amd64_gcc820/cms/cmssw-patch/CMSSW_11_2_X_2020-10-19-2300/external/slc7_amd64_gcc820/lib/libCling.so+0x268ab36)


The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic:

You can see more details here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-02bef3/10119/git-log-recent-commits
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-02bef3/10119/git-merge-result

@cmsbuild
Copy link
Contributor

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

@slava77
Copy link
Contributor

slava77 commented Oct 22, 2020

@davidlange6
for the reco files, I think that in some cases some triage is needed, to OK the removal or not, rather than blindly having all removed.
Please break this PR in pieces so that non-reco subsystems are done separately.
Thank you.

@agrohsje
Copy link

+1

@slava77
Copy link
Contributor

slava77 commented Oct 29, 2020

@davidlange6
for the reco files, I think that in some cases some triage is needed, to OK the removal or not, rather than blindly having all removed.
Please break this PR in pieces so that non-reco subsystems are done separately.
Thank you.

@slava77
Copy link
Contributor

slava77 commented Nov 5, 2020

@davidlange6
for the reco files, I think that in some cases some triage is needed, to OK the removal or not, rather than blindly having all removed.
Please break this PR in pieces so that non-reco subsystems are done separately.
Thank you.

@slava77
Copy link
Contributor

slava77 commented Nov 12, 2020

@davidlange6
for the reco files, I think that in some cases some triage is needed, to OK the removal or not, rather than blindly having all removed.
Please break this PR in pieces so that non-reco subsystems are done separately.
Thank you.

@slava77
Copy link
Contributor

slava77 commented Nov 23, 2020

@davidlange6
for the reco files, I think that in some cases some triage is needed, to OK the removal or not, rather than blindly having all removed.
Please break this PR in pieces so that non-reco subsystems are done separately.
Thank you.

IIRC, from the ORP last week we can expect a split here.
what is the status of this?
@davidlange6 please clarify.
Thank you.

@smuzaffar smuzaffar modified the milestones: CMSSW_11_2_X, CMSSW_11_3_X Nov 26, 2020
@slava77
Copy link
Contributor

slava77 commented Nov 30, 2020

@davidlange6
for the reco files, I think that in some cases some triage is needed, to OK the removal or not, rather than blindly having all removed.
Please break this PR in pieces so that non-reco subsystems are done separately.
Thank you.

IIRC, from the ORP last week we can expect a split here.
what is the status of this?
@davidlange6 please clarify.
Thank you.

@slava77
Copy link
Contributor

slava77 commented Dec 14, 2020

IIRC, from the ORP a few weeks ago we can expect a split here.
what is the status of this?
@davidlange6 please clarify.
Thank you.

@slava77
Copy link
Contributor

slava77 commented Jan 4, 2021

@davidlange6
please clarify on the status of this PR.
Thank you.

@slava77
Copy link
Contributor

slava77 commented Jan 14, 2021

-1

an update is necessary anyways to pass the tests

@silviodonato
Copy link
Contributor

Feel free to use "Ready to review" as soon as there are news

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment