[100484] trunk/dports/devel/zeroc-ice34
blair at macports.org
blair at macports.org
Thu Dec 13 20:44:10 PST 2012
Revision: 100484
https://trac.macports.org/changeset/100484
Author: blair at macports.org
Date: 2012-12-13 20:44:10 -0800 (Thu, 13 Dec 2012)
Log Message:
-----------
zeroc-ice34: add a unit test patch to fix a new unit test failure.
This is a new unit test failure that I haven't tracked down the root
cause of. See this report for Ice 3.5b.
http://www.zeroc.com/forums/bug-reports/5872-3-5b-cpp-test-icegrid-admin-test-failure.html
Modified Paths:
--------------
trunk/dports/devel/zeroc-ice34/Portfile
Added Paths:
-----------
trunk/dports/devel/zeroc-ice34/files/patch-ice.cpp.test.IceGrid.admin.run.py.diff
Modified: trunk/dports/devel/zeroc-ice34/Portfile
===================================================================
--- trunk/dports/devel/zeroc-ice34/Portfile 2012-12-14 01:03:47 UTC (rev 100483)
+++ trunk/dports/devel/zeroc-ice34/Portfile 2012-12-14 04:44:10 UTC (rev 100484)
@@ -113,6 +113,7 @@
patch-ice.cpp.test.Ice.custom.AllTests.cpp.diff \
patch-ice.cpp.test.Ice.info.AllTests.cpp.diff \
patch-ice.cpp.test.Ice.properties.run.py.diff \
+ patch-ice.cpp.test.IceGrid.admin.run.py.diff \
patch-ice.cpp.test.IceUtil.unicode.Client.cpp.diff \
patch-ice.cpp.test.Slice.keyword.Client.cpp.diff \
patch-ice.cpp.test.include.TestCommon.h.diff \
Added: trunk/dports/devel/zeroc-ice34/files/patch-ice.cpp.test.IceGrid.admin.run.py.diff
===================================================================
--- trunk/dports/devel/zeroc-ice34/files/patch-ice.cpp.test.IceGrid.admin.run.py.diff (rev 0)
+++ trunk/dports/devel/zeroc-ice34/files/patch-ice.cpp.test.IceGrid.admin.run.py.diff 2012-12-14 04:44:10 UTC (rev 100484)
@@ -0,0 +1,31 @@
+http://www.zeroc.com/forums/bug-reports/5872-3-5b-cpp-test-icegrid-admin-test-failure.html
+
+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)
+>>> "
+
+diff -ru Ice-3.4.2.orig/cpp/test/IceGrid/admin/run.py Ice-3.4.2/cpp/test/IceGrid/admin/run.py
+--- Ice-3.4.2.orig/cpp/test/IceGrid/admin/run.py 2011-06-15 12:43:59.000000000 -0700
++++ Ice-3.4.2/cpp/test/IceGrid/admin/run.py 2012-12-13 19:39:14.000000000 -0800
+@@ -137,7 +137,7 @@
+ admin.sendline('server start server')
+ admin.expect('>>> ')
+ admin.sendline('server state server')
+-admin.expect('^active \(.*\)')
++admin.expect('active \(.*\)')
+ admin.expect('>>> ')
+ admin.sendline('server pid server')
+ admin.expect('[0-9]+')
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121213/8a878ae6/attachment.html>
More information about the macports-changes
mailing list