Home Help Center

IcePy Slice/keyword test failing

pjtaitpjtait Member Philip TaitOrganization: Subaru TelescopeProject: Fibre-Fed Multi-ObjectSpectrograph;HyperSuprimeCam ✭✭
I just built 3.3.1 from source on CentOS 5.3 x86_64. 'cpp' and 'py' built OK, and all tests passed for 'cpp'.

For 'py', I am using Python 2.6.3, built from source and installed as alternate to the CentOS RPM (config/Make.rules set to 'python2.6').

When I run 'make test', I get:

*** running tests 1/19 in /home/philip/Ice-3.3.1/py/test/Slice/keyword
*** configuration: Default
*** test started: 10/06/09 04:13:55
starting client... ok
unexpected exit status: expected: 0, got -11
Traceback (most recent call last):
File "/home/philip/Ice-3.3.1/py/test/Slice/keyword/run.py", line 27, in ?
clientProc.waitTestSuccess()
File "/home/philip/Ice-3.3.1/scripts/Expect.py", line 537, in waitTestSuccess
test(self.exitstatus, exitstatus)
File "/home/philip/Ice-3.3.1/scripts/Expect.py", line 522, in test
assert False
AssertionError
('test in /home/philip/Ice-3.3.1/py/test/Slice/keyword failed with exit status', 256)
If I run 'python2.6 Client.py --Ice.Default.Host=127.0.0.1', I get '0' exit status, according to $?

Any suggestions on where to start looking for the problem?

Comments

  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    Hi,

    It sounds like you need to run the tests using the "python2.6" executable instead of the default "python". You can edit script/TestUtil.py and replace "python" line 730 with "python2.6" to see if this helps.

    Cheers,
    Benoit.
  • pjtaitpjtait Member Philip TaitOrganization: Subaru TelescopeProject: Fibre-Fed Multi-ObjectSpectrograph;HyperSuprimeCam ✭✭
    Problem solved, thanks!

    I actually symlinked the python 2.6 executable as 'python' in a directory earlier in my $PATH. All tests ran perfectly!
Sign In or Register to comment.