cmssw: [PPC] Unit test failures in DetectorDescription/DDCMS

There are 8 unit tests failing in DetectorDescription/DDCMS due to what it looks like violation of sincosl usage:

#7  <signal handler called>
#8  0x00001000053d73d8 in __kernel_sincosl () from /lib64/libm.so.6
#9  0x00001000053cffa8 in sincosl

https://cmssdt.cern.ch/SDT/cgi-bin/logreader/slc7_ppc64le_gcc820/CMSSW_11_2_X_2020-11-13-2300/unitTestLogs/DetectorDescription/DDCMS#/1088-1088

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 64 (64 by maintainers)

Most upvoted comments

@ianna please open an issue about removing CLHEP (and long double) from Detector Description

I confirm all Geometry unit tests are fixed by 33705 except testUnits in DetectorDescription/Core


===== Test "testUnits" ====
Running .
My pi: 3.141592653589793 == 3.141592653589793 == 3.141592653589793
My 2pi angle: 6.283185307179586 [rad] == 360 [deg]
F

DDUnits.cppunit.cc:53:Assertion
Test name: testDDUnits::checkUnits
assertion failed
- Expression: angle120 == 120.

Failures !!!
Run: 1   Failure total: 1   Failures: 1   Errors: 0

---> test testUnits had ERRORS

I’m closing this when 33705 is merged and we see the unit test failures gone

Like this ?

diff --git a/Geometry/CMSCommonData/data/dd4hep/cmsExtendedGeometry2021.xml b/Geometry/CMSCommonData/data/dd4hep/cmsExtendedGeometry2021.xml
index cc2bab4bb54..e8c72f24c82 100644
--- a/Geometry/CMSCommonData/data/dd4hep/cmsExtendedGeometry2021.xml
+++ b/Geometry/CMSCommonData/data/dd4hep/cmsExtendedGeometry2021.xml
@@ -1,5 +1,16 @@
 <?xml version="1.0"?>
 <DDDefinition>
+    <debug>
+    <debug_shapes/>
+    <debug_includes/>
+    <debug_rotations/>
+    <debug_includes/>
+    <debug_volumes/>
+    <debug_constants/>
+    <debug_namespaces/>
+    <debug_placements/>
+    <debug_algorithms/>
+  </debug>
   <open_geometry/>
   <close_geometry/>

Given the plans on Marconi 100 (ppc) and moving to DD4hep in production, we should try again to debug this crash.