Project

General

Profile

Bug #1195

Tests fail, latest trunk, Centos

Added by Snopok, Pavel almost 11 years ago. Updated almost 11 years ago.

Status:
Rejected
Priority:
Normal
Category:
Testing
Target version:
Start date:
19 December 2012
Due date:
% Done:

0%

Estimated time:
Workflow:
Closed

Description

Test suite fails early on Vejur cluster at IIT (running Centos) complaining about TOF related stuff:

Failed to instantiate get_tof_cabling
Check can handle empty configuration ... Traceback (most recent call last):
File "/home/snopok/merge/src/common_py/ErrorHandler.py", line 159, in HandleCppException
raise(CppError(error_message))
ErrorHandler.CppError: St9exception
ok
Check birth with default configuration ... Traceback (most recent call last):
File "/home/snopok/merge/src/common_py/ErrorHandler.py", line 159, in HandleCppException
raise(CppError(error_message))
ErrorHandler.CppError: St9exception
FAIL
Check that nothing happens in absence of data ... ok
Test MapCppTOFDigits process method ... terminate called after throwing an instance of 'Squeal'
what(): Attempting to find Json property tof_key but not an object at JsonWrapper::GetPropertyStrict
/home/snopok/merge/tests/unit_tests.bash: line 32: 12437 Aborted python ${MAUS_THIRD_PARTY}/third_party/install/bin/nosetests -v ${MAUS_ROOT_DIR}/build
FAIL! See logs.


Files

install_log_std.filepart (4.44 MB) install_log_std.filepart Snopok, Pavel, 19 December 2012 20:21
#1

Updated by Rajaram, Durga almost 11 years ago

Further info:
  • builds fine on SLF
  • the failure on CentOS is related to Issue #1194 reported earlier
  • [ MapCppTOFDigit->TOFChannelMap::GetCabling is failing due to CDB access problems related to the /tmp/suds permission described in Issue #1194 ]
#2

Updated by Rajaram, Durga almost 11 years ago

I got our system admin to make /tmp/suds writable and it seems to have fixed it.
I was able to build and run tests successfully.

--> Pavel - can you try running the tests again?

NOTE: please pull in the latest version 865 -- I fixed a pylint warning that shows up on
vejur (CentOS) but not on SLF

#3

Updated by Snopok, Pavel almost 11 years ago

  • Category changed from TOF to Testing

Pulled the latest changes, re-ran the test suite, get a different error message now, any idea(s)?

======================================================================
ERROR: Failure: TypeError (init() takes exactly 3 arguments (1 given))
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/snopok/merge/third_party/install/lib/python2.7/site-packages/nose-1.2.1-py2.7.egg/nose/loader.py", line 495, in makeTest
return self._makeTest(obj, parent)
File "/home/snopok/merge/third_party/install/lib/python2.7/site-packages/nose-1.2.1-py2.7.egg/nose/loader.py", line 554, in _makeTest
return MethodTestCase(obj)
File "/home/snopok/merge/third_party/install/lib/python2.7/site-packages/nose-1.2.1-py2.7.egg/nose/case.py", line 345, in init
self.inst = self.cls()
TypeError: init() takes exactly 3 arguments (1 given)

======================================================================
ERROR: Failure: TypeError (init() takes exactly 3 arguments (1 given))
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/snopok/merge/third_party/install/lib/python2.7/site-packages/nose-1.2.1-py2.7.egg/nose/loader.py", line 495, in makeTest
return self._makeTest(obj, parent)
File "/home/snopok/merge/third_party/install/lib/python2.7/site-packages/nose-1.2.1-py2.7.egg/nose/loader.py", line 554, in _makeTest
return MethodTestCase(obj)
File "/home/snopok/merge/third_party/install/lib/python2.7/site-packages/nose-1.2.1-py2.7.egg/nose/case.py", line 345, in init
self.inst = self.cls()
TypeError: init() takes exactly 3 arguments (1 given)

#4

Updated by Rajaram, Durga almost 11 years ago

I don't get those errors.
Can you try running a scons -c and then scons and then run the tests?

#5

Updated by Snopok, Pavel almost 11 years ago

It seems to be working right now, thanks Durga. Had to pull the latest version and recompile it from scratch, scons -c didn't do the job. Hopefully it is stable now.

#6

Updated by Snopok, Pavel almost 11 years ago

  • Workflow changed from New Issue to Closed
#7

Updated by Rogers, Chris almost 11 years ago

  • Status changed from Open to Rejected

Also available in: Atom PDF