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

[10.6.X][GEOMETRY] Fix deps to resolve undefined reference mentioned in UBSAN IBS #25566

Closed
wants to merge 2 commits into from
Closed

[10.6.X][GEOMETRY] Fix deps to resolve undefined reference mentioned in UBSAN IBS #25566

wants to merge 2 commits into from

Conversation

smuzaffar
Copy link
Contributor

@smuzaffar smuzaffar commented Dec 22, 2018

To resolve

tmp/slc7_amd64_gcc700/src/Geometry/GlobalTrackingGeometryBuilder/test/testGlobalTrackingGeometry/GlobalTrackingGeometryTest.cc.o:(.data.rel+0x10d8): undefined reference to `typeinfo for MTDGeometry'

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@smuzaffar
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 22, 2018

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/32362/console Started: 2018/12/22 12:16

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @smuzaffar (Malik Shahzad Muzaffar) for master.

It involves the following packages:

DetectorDescription/DDCMS
Geometry/GlobalTrackingGeometryBuilder

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

cms-bot commands are listed here

@ianna
Copy link
Contributor

ianna commented Dec 22, 2018

@smuzaffar - If it's not crucial for a release, please, leave it unfixed. It'd be better to open an issue. Thanks.

@@ -5,6 +5,7 @@
<use name="Geometry/RPCGeometry"/>
<use name="Geometry/DTGeometry"/>
<use name="Geometry/CSCGeometry"/>
<use name="Geometry/MTDGeometryBuilder"/>
Copy link
Contributor

Choose a reason for hiding this comment

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

@smuzaffar - IMHO, this is wrong. There should not be any dependencies on the geometry builders.

Copy link
Contributor

Choose a reason for hiding this comment

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

I agree with Yana.

Copy link
Contributor

Choose a reason for hiding this comment

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

The underlying problem is we need a separate package Geometry/MTDGeometry which should hold the geometry objects. I think the origin of the problem is the MTD system followed the pattern of the Tracker geometry is also needs a separate Geometry/TrackerGeometry package.

Copy link
Contributor

Choose a reason for hiding this comment

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

@ianna @Dr15Jones so what is the preferred solution here? Integrate the code as it is and then modify the Tracker/MTD structure in next future, or keep this on hold until the geometries have been modified?

Copy link
Contributor

Choose a reason for hiding this comment

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

I'd suggest to restructure before integrating the PR

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@ianna , this dependency is in tests only. Looks like this unit test is testing many other geometries too.

[a]

  void analyzeCSC(const GlobalTrackingGeometry* geo, const CSCGeometry* cscGeometry);
  void analyzeDT(const GlobalTrackingGeometry* geo, const DTGeometry* dtGeometry);
  void analyzeRPC(const GlobalTrackingGeometry* geo, const RPCGeometry* rpcGeometry);
  void analyzeGEM(const GlobalTrackingGeometry* geo, const GEMGeometry* gemGeometry);
  void analyzeMTD(const GlobalTrackingGeometry* geo, const MTDGeometry* mtdGeometry);
  void analyzeTracker(const GlobalTrackingGeometry* geo, const TrackerGeometry* tkGeometry);

@@ -3,6 +3,7 @@
<use name="FWCore/Utilities"/>
<use name="dd4hep"/>
<use name="rootmath"/>
<use name="rooteve"/>
Copy link
Contributor

Choose a reason for hiding this comment

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

@smuzaffar - I'm not sure we want to depend on Eve. I can check it next year.

Copy link
Contributor

Choose a reason for hiding this comment

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

I agree with Yana.

Copy link
Contributor

Choose a reason for hiding this comment

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

I think we need a new root package which has as its top libGeo.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

PR #25566 should resolve it.

@cmsbuild
Copy link
Contributor

@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-25566/32362/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 2 differences found in the comparisons
  • DQMHistoTests: Total files compared: 33
  • DQMHistoTests: Total histograms compared: 3153717
  • DQMHistoTests: Total failures: 14
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3153499
  • DQMHistoTests: Total skipped: 204
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 32 files compared)
  • Checked 137 log files, 14 edm output root files, 33 DQM output files

@fabiocos
Copy link
Contributor

please abort

@fabiocos
Copy link
Contributor

wrong window, sorry...

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 4, 2019

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

@smuzaffar
Copy link
Contributor Author

@ianna , I have updated the PR. Now there is separate PR #25856 for fixing the libGeom dependency. And for this PR, the dependency is in unit tests which is testing many other geometries too ( see #25566 (comment) )

@smuzaffar smuzaffar modified the milestones: CMSSW_10_5_X, CMSSW_10_6_X Feb 21, 2019
@smuzaffar
Copy link
Contributor Author

please test
@ianna ??

@smuzaffar smuzaffar changed the title [10.5.X][GEOMETRY] Fix deps to resolve undefined reference mentioned in UBSAN IBS [10.6.X][GEOMETRY] Fix deps to resolve undefined reference mentioned in UBSAN IBS Mar 29, 2019
@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 29, 2019

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/33854/console Started: 2019/03/29 17:27

@ianna
Copy link
Contributor

ianna commented Mar 29, 2019

@fabiocos - if the following class is moved to the plugins directory there should not be any problem with linking against the library.

https://cmssdt.cern.ch/lxr/source/Geometry/MTDGeometryBuilder/interface/MTDGeomBuilderFromGeometricTimingDet.h
https://cmssdt.cern.ch/lxr/source/Geometry/MTDGeometryBuilder/src/MTDGeomBuilderFromGeometricTimingDet.cc

@cvuosalo - FYI

@cmsbuild
Copy link
Contributor

@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-25566/33854/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 32
  • DQMHistoTests: Total histograms compared: 3134059
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3133861
  • DQMHistoTests: Total skipped: 197
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 31 files compared)
  • Checked 133 log files, 14 edm output root files, 32 DQM output files

@ianna
Copy link
Contributor

ianna commented Mar 29, 2019

+1

Move of the files can be done later.

@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, @slava77, @smuzaffar, @fabiocos (and backports should be raised in the release meeting by the corresponding L2)

@smuzaffar
Copy link
Contributor Author

@fabiocos , can we get this in or should I close the PR?

@fabiocos
Copy link
Contributor

fabiocos commented May 6, 2019

@smuzaffar I have tracked the problem into an issue to keep memory of this, for the time being I would say we may close this PR

@smuzaffar smuzaffar modified the milestones: CMSSW_10_6_X, CMSSW_11_0_X May 14, 2019
@smuzaffar smuzaffar closed this Jun 19, 2019
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