AIDASoft / DD4hep

Detector Description Toolkit for High Energy Physics
http://dd4hep.cern.ch
GNU Lesser General Public License v3.0
50 stars 99 forks source link

Randomly failing test t_AlignDet_Telescope_align_new on masOS #282

Closed petricm closed 6 years ago

petricm commented 6 years ago

The test t_AlignDet_Telescope_align_new fails randomly on a mac, it has a failure rate of approx 50%, since in one or two retries it passes

36/210 Test  #36: t_AlignDet_Telescope_align_new ................................***Failed  Required regular expression not found.Regex=[World transformation of: /world/Telescope/module_3/sensor  Tr:\( 3.9e\+02,       0,     4.9 \[cm\]\)
]  1.73 sec
 ### running test :  'geoPluginRun  -volmgr -destroy -plugin DD4hep_AlignmentExample_align_telescope -input file:/Users/gitlab-runner/builds/98de57ac/0/CLICdp/DetectorSoftware/DD4hep/examples/AlignDet/compact/Telescope.xml -setup file:/Users/gitlab-runner/builds/98de57ac/0/CLICdp/DetectorSoftware/DD4hep/examples/Conditions/data/manager.xml'
PersistencyIO    INFO  +++ Set Streamer to dd4hep::OpaqueDataBlock
PersistencyIO    INFO  +++ Patching TGeoVolume.fUserExtension to persistent
Info in <TGeoManager::TGeoManager>: Geometry world, Detector Geometry created
PersistencyIO    INFO  +++ Patching TGeoNode.fUserExtension to persistent
geoPluginRun: No geometry input supplied. No geometry will be loaded.
DD4hepVolumeManager INFO  **** running plugin DD4hepVolumeManager ! 
VolumeManager    INFO   - populating volume ids - be patient ...
VolumeManager    INFO   - populating volume ids - done. 0 nodes.
VolumeManager    INFO  +++ Volume manager populated and loaded.
Info in <TGeoManager::SetTopVolume>: Top volume is world_volume. Master volume is world_volume
Info in <TGeoNavigator::BuildCache>: --- Maximum geometry depth set to 100
Detector         INFO   *********** created World volume with size :      50      50      50
Info in <TGeoManager::CheckGeometry>: Fixing runtime shapes...
Info in <TGeoManager::CheckGeometry>: ...Nothing to fix
Info in <TGeoManager::CloseGeometry>: Counting nodes...
Info in <TGeoManager::Voxelize>: Voxelizing...
Info in <TGeoManager::CloseGeometry>: Building cache...
Info in <TGeoManager::CountLevels>: max level = 3, max placements = 9
Info in <TGeoManager::CloseGeometry>: 38 nodes/ 38 volume UID's in Detector Geometry
Info in <TGeoManager::CloseGeometry>: ----------------modeler ready----------------
Compact          INFO  ++ Converted subdetector:Telescope of type DD4hep_Example_Telescope [sensitive]
Detector         INFO  +++ Patching names of anonymous shapes....
DDCond           INFO  +++ Successfully installed conditions manager instance 'DD4hep_ConditionsManager_Type1' to Detector.
Prepare          INFO  Got a total of 0 deltas for processing alignments.
Example          INFO  Setup 0/0 conditions (S:0,L:0,C:0,M:0) (A:0,M:0) for IOV:run(1)      
Example          INFO  =========================================================
Example          INFO  ====  Alignment transformation BEFORE manipulation  =====
Example          INFO  =========================================================
Example          WARN  ++ Detector element:/world/Telescope No alignment conditions present. Delta:Not availible
Example          WARN  ++ Detector element:/world/Telescope/module_1 No alignment conditions present. Delta:Not availible
Example          WARN  ++ Detector element:/world/Telescope/module_1/sensor No alignment conditions present. Delta:Not availible
Example          WARN  ++ Detector element:/world/Telescope/module_3 No alignment conditions present. Delta:Not availible
Example          WARN  ++ Detector element:/world/Telescope/module_3/sensor No alignment conditions present. Delta:Not availible
Example          WARN  ++ Detector element:/world/Telescope/module_5 No alignment conditions present. Delta:Not availible
Example          WARN  ++ Detector element:/world/Telescope/module_5/sensor No alignment conditions present. Delta:Not availible
Example          WARN  ++ Detector element:/world/Telescope/module_8/sensor No alignment conditions present. Delta:Not availible
Example          INFO  =========================================================
Example          INFO  ====  Alignment transformation AFTER manipulation   =====
Example          INFO  =========================================================
Example          INFO  ++ World transformation of: /world/Telescope                  Tr:(      55,       0,       0 [cm])
matrix  - tr=1  rot=1  refl=0  scl=0
  1.000000    0.000000    0.000000    Tx =  55.000000
  0.000000    1.000000    0.000000    Ty =   0.000000
  0.000000    0.000000    1.000000    Tz =   0.000000
Example          INFO  ++ World transformation of: /world/Telescope/module_1         Tr:( 3.3e+02,       0,       0 [cm])
matrix  - tr=1  rot=1  refl=0  scl=0
  1.000000    0.000000    0.000000    Tx = 333.000000
  0.000000    1.000000    0.000000    Ty =   0.000000
  0.000000    0.000000    1.000000    Tz =   0.000000
Example          INFO  ++ World transformation of: /world/Telescope/module_1/sensor  Tr:( 3.3e+02,       0,   -0.42 [cm])
matrix  - tr=1  rot=1  refl=0  scl=0
  1.000000    0.000000    0.000000    Tx = 333.000000
  0.000000    1.000000    0.000000    Ty =   0.000000
  0.000000    0.000000    1.000000    Tz =  -0.420000
Example          INFO  ++ World transformation of: /world/Telescope/module_2/sensor  Tr:(      55,       0,     2.4 [cm])
matrix  - tr=1  rot=1  refl=0  scl=0
  1.000000    0.000000    0.000000    Tx =  55.000000
  0.000000    1.000000    0.000000    Ty =   0.000000
  0.000000    0.000000    1.000000    Tz =   2.395000
Example          INFO  ++ World transformation of: /world/Telescope/module_3         Tr:( 3.3e+02,       0,       5 [cm])
matrix  - tr=1  rot=1  refl=0  scl=0
  1.000000    0.000000    0.000000    Tx = 333.000000
  0.000000    1.000000    0.000000    Ty =   0.000000
  0.000000    0.000000    1.000000    Tz =   5.000000
Example          INFO  ++ World transformation of: /world/Telescope/module_3/sensor  Tr:( 3.3e+02,       0,     4.9 [cm])
matrix  - tr=1  rot=1  refl=0  scl=0
  1.000000    0.000000    0.000000    Tx = 333.000000
  0.000000    1.000000    0.000000    Ty =   0.000000
  0.000000    0.000000    1.000000    Tz =   4.895000
Example          INFO  ++ World transformation of: /world/Telescope/module_4/sensor  Tr:(      55,       0,     7.4 [cm])
matrix  - tr=1  rot=1  refl=0  scl=0
  1.000000    0.000000    0.000000    Tx =  55.000000
  0.000000    1.000000    0.000000    Ty =   0.000000
  0.000000    0.000000    1.000000    Tz =   7.395000
Example          INFO  ++ World transformation of: /world/Telescope/module_5         Tr:(      55,       0,      25 [cm])
matrix  - tr=1  rot=1  refl=0  scl=0
  1.000000    0.000000    0.000000    Tx =  55.000000
  0.000000    1.000000    0.000000    Ty =   0.000000
  0.000000    0.000000    1.000000    Tz =  25.000000
Example          INFO  ++ World transformation of: /world/Telescope/module_5/sensor  Tr:(      55,       0,      25 [cm])
matrix  - tr=1  rot=1  refl=0  scl=0
  1.000000    0.000000    0.000000    Tx =  55.000000
  0.000000    1.000000    0.000000    Ty =   0.000000
  0.000000    0.000000    1.000000    Tz =  24.895000
Example          INFO  ++ World transformation of: /world/Telescope/module_6/sensor  Tr:(      55,       0,      42 [cm])
matrix  - tr=1  rot=1  refl=0  scl=0
  1.000000    0.000000    0.000000    Tx =  55.000000
  0.000000    1.000000    0.000000    Ty =   0.000000
  0.000000    0.000000    1.000000    Tz =  42.395000
Example          INFO  ++ World transformation of: /world/Telescope/module_7/sensor  Tr:(      55,       0,      45 [cm])
matrix  - tr=1  rot=1  refl=0  scl=0
  1.000000    0.000000    0.000000    Tx =  55.000000
  0.000000    1.000000    0.000000    Ty =   0.000000
  0.000000    0.000000    1.000000    Tz =  44.895000
Example          INFO  ++ World transformation of: /world/Telescope/module_8/sensor  Tr:(      55,       0,      47 [cm])
matrix  - tr=1  rot=1  refl=0  scl=0
  1.000000    0.000000    0.000000    Tx =  55.000000
  0.000000    1.000000    0.000000    Ty =   0.000000
  0.000000    0.000000    1.000000    Tz =  47.395000
geoPluginRun: Executed dd4hep plugin: 'DD4hep_AlignmentExample_align_telescope' with args (4) :[ -input file:/Users/gitlab-runner/builds/98de57ac/0/CLICdp/DetectorSoftware/DD4hep/examples/AlignDet/compact/Telescope.xml -setup file:/Users/gitlab-runner/builds/98de57ac/0/CLICdp/DetectorSoftware/DD4hep/examples/Conditions/data/manager.xml ]
ConditionsPool   INFO  +++ Remove Conditions for pool with IOV: run(1):[-9223372036854775808-9223372036854775807] age:  0 [  22 entries]
MarkusFrankATcernch commented 6 years ago

The issue should be solved now. See pull request https://github.com/AIDASoft/DD4hep/pull/292 for details.