Project

General

Profile

Bug #1185

Trunk build failure on SLF 5.5

Added by Rajaram, Durga almost 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Tracker
Target version:
Start date:
06 December 2012
Due date:
% Done:

100%

Estimated time:
Workflow:
New Issue

Description

build test fails.
maus/merge rev.861
SLF 5.5, i386, gcc 4.1.2

failure points to test_cpp_unit -> PatternRecognitionTest.test_linear_fit
I believe the tests quit at this point and didn't run the integration/application tests.
This version seems to be building fine on Jenkins

install_log_std attached

----------
[durga@iitmice1 merge]$ head -1 /etc/issue
Scientific Linux SLF release 5.5 (Lederman)
[durga@iitmice1 merge]$ uname -a
Linux iitmice1.fnal.gov 2.6.18-274.18.1.el5 #1 SMP Thu Feb 9 12:24:51 EST 2012 i686 i686 i386 GNU/Linux
[durga@iitmice1 merge]$ gcc --version
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-50)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[durga@iitmice1 merge]$ bzr revno
861
[durga@iitmice1 merge]$
---------


Files

install_log_std (4.49 MB) install_log_std Rajaram, Durga, 06 December 2012 18:57
PatternRecognitionTest.cc (34.8 KB) PatternRecognitionTest.cc Dobbs, Adam, 12 December 2012 15:05
#1

Updated by Rogers, Chris almost 11 years ago

  • Category changed from Build System to Tracker
  • Assignee changed from Tunnell, Christopher to Dobbs, Adam
  • Target version set to Future MAUS release

Assigned to tracker group - excerpt from attached install_log_std

[----------] 14 tests from PatternRecognitionTest
[ RUN      ] PatternRecognitionTest.test_process_good
-68.2488 -57.8109 -0.6523
-62.8417 -67.1769 -200.617
-56.9968 -76.0965 -450.48
-47.8952 -87.7518 -750.48
-35.868 -99.2277 -1100.41
[       OK ] PatternRecognitionTest.test_process_good (2 ms)
[ RUN      ] PatternRecognitionTest.test_make_tracks
[       OK ] PatternRecognitionTest.test_make_tracks (1 ms)
[ RUN      ] PatternRecognitionTest.test_make_4pt_tracks
[       OK ] PatternRecognitionTest.test_make_4pt_tracks (0 ms)
[ RUN      ] PatternRecognitionTest.test_make_3pt_tracks
[       OK ] PatternRecognitionTest.test_make_3pt_tracks (0 ms)
[ RUN      ] PatternRecognitionTest.test_make_straight_tracks
[       OK ] PatternRecognitionTest.test_make_straight_tracks (0 ms)
[ RUN      ] PatternRecognitionTest.test_set_ignore_stations
Error: Invalid ignore station argument.
[       OK ] PatternRecognitionTest.test_set_ignore_stations (0 ms)
[ RUN      ] PatternRecognitionTest.test_set_seed_stations
Error: Invalid ignore station argument.
Error: Invalid ignore station argument.
[       OK ] PatternRecognitionTest.test_set_seed_stations (0 ms)
[ RUN      ] PatternRecognitionTest.test_set_end_stations
Error: Invalid ignore station argument.
Error: Invalid ignore station argument.
Error: Invalid ignore station argument.
Error: Invalid ignore station argument.
[       OK ] PatternRecognitionTest.test_set_end_stations (0 ms)
[ RUN      ] PatternRecognitionTest.test_sort_by_station
[       OK ] PatternRecognitionTest.test_sort_by_station (0 ms)
[ RUN      ] PatternRecognitionTest.test_stations_with_unused_sp
[       OK ] PatternRecognitionTest.test_stations_with_unused_sp (1 ms)
[ RUN      ] PatternRecognitionTest.test_circle_fit
[       OK ] PatternRecognitionTest.test_circle_fit (0 ms)
[ RUN      ] PatternRecognitionTest.test_linear_fit
tests/cpp_unit/Recon/SciFi/PatternRecognitionTest.cc:959: Failure
Value of: line.get_c()
  Actual: 1.9999999999999996
Expected: 2.0
Which is: 2
tests/cpp_unit/Recon/SciFi/PatternRecognitionTest.cc:960: Failure
Value of: line.get_m()
  Actual: 1.0000000000000002
Expected: 1.0
Which is: 1
[  FAILED  ] PatternRecognitionTest.test_linear_fit (0 ms)
[ RUN      ] PatternRecognitionTest.test_calculate_dipangle
[       OK ] PatternRecognitionTest.test_calculate_dipangle (0 ms)
[ RUN      ] PatternRecognitionTest.test_AB_ratio
[       OK ] PatternRecognitionTest.test_AB_ratio (0 ms)
[----------] 14 tests from PatternRecognitionTest (5 ms total)
#2

Updated by Dobbs, Adam almost 11 years ago

Just made the change to correct this (a couple of EXPECT_EQ changed to EXPECT_NEAR). The merge branch tests are failing for me on another issue however (as shown below) so I'm hesitant to push. The attached file should go in tests/cpp_unit/Recon/SciFi/PatternRecognitionTest.cc if some one else wants to add it?

======================================================================
FAIL: TestGDMLToMausModule::test_constructor
----------------------------------------------------------------------
Traceback (most recent call last):
File "/vols/mice3/adobbs/maus/merge/build/test_geometry/test_gdml_to_maus_module.py", line 77, in test_constructor
'Step files wasnt found, test_GDML_to_MAUSModule::test_constructor')
AssertionError: Step files wasnt found, test_GDML_to_MAUSModule::test_constructor

======================================================================
FAIL: TestGDMLToMausModule::test_convert_to_maus
----------------------------------------------------------------------
Traceback (most recent call last):
File "/vols/mice3/adobbs/maus/merge/build/test_geometry/test_gdml_to_maus_module.py", line 98, in test_convert_to_maus
self.assertEqual(step_files, 6, 'Step Files not converted')
AssertionError: Step Files not converted
-------------------- >> begin captured stdout << ---------------------
Configuration File Converted
Converting 1 of 7 Geometry Files
Converting 2 of 7 Geometry Files
Converting 3 of 7 Geometry Files
Converting 4 of 7 Geometry Files
Converting 5 of 7 Geometry Files
Converting 6 of 7 Geometry Files
Converting 7 of 7 Geometry Files
Files saved to /vols/mice3/adobbs/maus/merge/tests/py_unit/test_geometry/testCases//testGDMLtoMAUSModule

--------------------- >> end captured stdout << ----------------------


#3

Updated by Rogers, Chris almost 11 years ago

I am building it on the test server as

http://test.mice.rl.ac.uk/job/MAUS_rogers/397/

This is branch

bzr+ssh://bazaar.launchpad.net/~chris-rogers/maus/pattern-recognition-test/

Let's see how it goes.

#4

Updated by Rogers, Chris almost 11 years ago

Fixed in r864

#5

Updated by Rogers, Chris almost 11 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100
#6

Updated by Rogers, Chris almost 11 years ago

  • Target version changed from Future MAUS release to MAUS-v0.4.2

Also available in: Atom PDF