Results 1 to 2 of 2

Thread: c++ make test fails in IceGrid admin test on Ubuntu 10.04

  1. #1
    bd_at_eclipse is offline Registered User
    Name: Brian Davis
    Organization: Eclipse Options (US) Inc.
    Project: Electronic Options Trading
    Join Date
    Jan 2011
    Posts
    2

    c++ make test fails in IceGrid admin test on Ubuntu 10.04

    Running "make test" in the cpp directory produces the following output for the IceGrid admin test (NOTE: listed as test 1/1 because I commented out all the other tests in cpp/allTests.py while investigating the problem):

    *** running tests 1/1 in /home/bd/install/Ice-3.4.1/cpp/test/IceGrid/admin
    *** configuration: Default
    *** test started: 01/26/11 14:30:21
    starting icegrid registry... ok
    starting icegrid replica-1... ok
    starting icegrid node... ok
    starting glacier2... ok
    testing login with username/password... ok
    testing commands...
    Traceback (most recent call last):
    File "/home/bd/install/Ice-3.4.1/cpp/test/IceGrid/admin/run.py", line 140, in <module>
    admin.expect('^active \(.*\)')
    File "/home/bd/install/Ice-3.4.1/scripts/Expect.py", line 373, in expect
    raise e
    scripts.Expect.TIMEOUT: timeout exceeded in match
    pattern: "^active \\(.*\\)"
    buffer: "server state server
    active (pid = 2007, enabled)
    >>> "

    ('test in /home/bd/install/Ice-3.4.1/cpp/test/IceGrid/admin failed with exit status', 256)
    However, if I modify line 140 of cpp/test/IceGrid/admin/run.py from
    admin.expect('^active \(.*\)')
    to remove the '^' character matching the beginning of line:
    admin.expect('active \(.*\)')
    then the test passes:

    *** running tests 1/1 in /home/bd/install/Ice-3.4.1/cpp/test/IceGrid/admin
    *** configuration: Default
    *** test started: 01/26/11 14:30:58
    starting icegrid registry... ok
    starting icegrid replica-1... ok
    starting icegrid node... ok
    starting glacier2... ok
    testing login with username/password... ok
    testing commands... ok
    stopping glacier2... ok
    shutting down icegrid replica-1... ok
    shutting down icegrid registry... ok
    This is a fairly recent install of Ubuntu 10.04, and I built and installed both Berkeley DB and mcpp from source but all other dependencies are from the repositories.

    Ice version is 3.4.1

    uname -a produces:
    Linux bd-desktop 2.6.32-27-generic #49-Ubuntu SMP Thu Dec 2 00:51:09 UTC 2010 x86_64 GNU/Linux

    Python version is 2.6.5

    gcc version is "gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3"

  2. #2
    bernard's Avatar
    bernard is offline ZeroC Staff
    Name: Bernard Normier
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Palm Beach Gardens, FL
    Posts
    1,294
    Brian,

    Welcome to our forums, and thank you for the bug report + fix.

    This test naturally works unmodified on all our supported platforms, in particular SuSE Linux and Red Hat Linux. It's unclear what is different with Ubuntu/Debian, but fortunately your fix/work-around is straightforward.

    Best regards,
    Bernard
    Bernard Normier
    ZeroC, Inc.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: 07-02-2006, 09:27 PM
  2. Replies: 4
    Last Post: 05-22-2006, 10:20 PM
  3. STL assertion failure make test fails
    By sylvain in forum Bug Reports
    Replies: 2
    Last Post: 03-02-2003, 07:24 AM
  4. make test fails with Python 2.0
    By jmu in forum Bug Reports
    Replies: 0
    Last Post: 02-23-2003, 02:25 PM
  5. Slice test fails
    By marlowa in forum Bug Reports
    Replies: 3
    Last Post: 02-20-2003, 09:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •