Home Bug Reports

3.5b: cpp/test/IceGrid/admin test failure

blairblair Member Blair ZajacOrganization: Sony Pictures ImageworksProject: VnP ✭✭
On my Mac OS X 10.7.5 system with Xcode 4.5.2 compiling 3.5b for MacPorts I'm getting the following unit test failure:
[email protected]:/opt/local-10.7-2012-08/var/macports/sources/rsync.macports.org/release/ports/devel/zeroc-ice35/work/Ice-3.5b/cpp/test/IceGrid/admin# sudo -H -u macports bash
bash-4.2$ ./run.py
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 "./run.py", line 140, in <module>
    admin.expect('^active \(.*\)')
  File "/opt/local-10.7-2012-08/var/macports/build/_opt_local-10.7-2012-08_var_macports_sources_rsync.macports.org_release_ports_devel_zeroc-ice35/zeroc-ice35/work/Ice-3.5b/scripts/Expect.py", line 394, in expect
    raise e
Expect.TIMEOUT: timeout exceeded in match
pattern: "^active \\(.*\\)"
buffer: "server state server
active (pid = 9425, enabled)
>>> "


If I remove the ^ from
admin.expect('^active \(.*\)')

then it passes. The odd thing is that there's text that's being sent to the process appearing in the buffer, I don't know if that's ok or not since I haven't looked at the code.


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

    It isn't expected. It's not clear to me where this echo could come from.

  • blairblair Member Blair ZajacOrganization: Sony Pictures ImageworksProject: VnP ✭✭
    In looking closer at this, I now get this same failure with Ice 3.4.2 built against MacPorts when it used to pass several months ago, so something else has changed in the environment, maybe a newer Python or something else???
Sign In or Register to comment.