[Zope3-dev] Zope3 Tests not OK :-(
Tim Peters
tim_one@email.msn.com
Thu, 28 Nov 2002 11:32:55 -0500
[Godefroid Chapelle]
> Current Zope 3 test suite still does not pass on Windows 2k. Do
> you have an idea of the origin of the Connection refused errors ?
Jeremy's probably out of touch until next week. I doubt he'll be able to
reproduce your problems. I just got a fresh checkout of Zope3, built with
MSVC 6, and am running it with CVS Python on Win98SE. I'm running on a
laptop in a hotel room, and don't really have a choice about which Python or
OS (it would take forever to download and install something else on this
flaky dialup connection).
There was one failure in the Zope3 test suite:
...
======================================================================
ERROR: testManyClients (Zope.Server.HTTP.tests.testHTTPServer.Tests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Code\Zope3\lib\python\Zope\Server\HTTP\tests\testHTTPServer.py",
line 214, in testManyClients
h.endheaders()
File "C:\CODE\PYTHON\lib\httplib.py", line 705, in endheaders
self._send_output()
File "C:\CODE\PYTHON\lib\httplib.py", line 591, in _send_output
self.send(msg)
File "C:\CODE\PYTHON\lib\httplib.py", line 558, in send
self.connect()
File "C:\CODE\PYTHON\lib\httplib.py", line 798, in connect
error: (10055, 'No buffer space available')
----------------------------------------------------------------------
Ran 2477 tests in 1026.550s
FAILED (errors=1)
This is a known problem in testManyClients on Win98SE: it creates more
sockets simultaneously open than Win98SE can handle. All other tests
passed. For example,
checkDisconnectionError (ZEO.tests.testConnection.WindowsConnectionTests)
... ok
I'm sure all the tests would pass if I were running on Win2K instead (they
did on Tuesday).
So this doesn't have to do with Windows specifically. It may have to do
with the Python version, or with the compiler + C runtime you're using.