[Zope3-dev] Zope3 Tests not OK :-(

Godefroid Chapelle gotcha@swing.be
Mon, 09 Dec 2002 17:27:31 +0100


At 10:00 29/11/2002, you wrote:
>At 07:11 29/11/2002, Tim Peters wrote:
>>Here's a wholly concrete example:
>>
>>C:\Code\Zope3>set STUPID_LOG_FILE=/code/stupid.txt
>>C:\Code\Zope3>set STUPID_LOG_SEVERITY=-300
>>C:\Code\Zope3>\python22\python test.py -vv . checkDisconnectionError
>>checkDisconnectionError (ZEO.tests.testConnection.WindowsConnectionTests)
>>... ok
>
>
>Did that and got the traceback hereunder.
>I am surprised by the import problem but do not have time to dig in just 
>now, so I thought I would post it though.

Redid it

I get the following traceback and log file. Sorry I have no experience 
enough with sockets to be helpful.


C:\tmp\Zope3TestsSandbox\Zope3>\python22\python test.py -vv . 
"checkDisconnectio
nError$"
checkDisconnectionError (ZEO.tests.testConnection.WindowsConnectionTests) ...

Error in test checkDisconnectionError 
(ZEO.tests.testConnection.WindowsConnectio
nTests)
Traceback (most recent call last):
   File 
"c:\tmp\Zope3TestsSandbox\Zope3\lib\python\ZEO\tests\ConnectionTests.py",
  line 399, in checkDisconnectionError
     self.shutdownServer()
   File 
"c:\tmp\Zope3TestsSandbox\Zope3\lib\python\ZEO\tests\testConnection.py",
line 80, in shutdownServer
     s.connect(self._servers[index])
   File "<string>", line 1, in connect
error: (10061, 'Connection refused')



Error in test checkDisconnectionError 
(ZEO.tests.testConnection.WindowsConnectio
nTests)
Traceback (most recent call last):
   File 
"c:\tmp\Zope3TestsSandbox\Zope3\lib\python\ZEO\tests\ConnectionTests.py",
  line 108, in tearDown
     self.shutdownServer(i)
   File 
"c:\tmp\Zope3TestsSandbox\Zope3\lib\python\ZEO\tests\testConnection.py",
line 80, in shutdownServer
     s.connect(self._servers[index])
   File "<string>", line 1, in connect
error: (10061, 'Connection refused')


======================================================================
ERROR: checkDisconnectionError 
(ZEO.tests.testConnection.WindowsConnectionTests)

----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"c:\tmp\Zope3TestsSandbox\Zope3\lib\python\ZEO\tests\ConnectionTests.py",
  line 399, in checkDisconnectionError
     self.shutdownServer()
   File 
"c:\tmp\Zope3TestsSandbox\Zope3\lib\python\ZEO\tests\testConnection.py",
line 80, in shutdownServer
     s.connect(self._servers[index])
   File "<string>", line 1, in connect
error: (10061, 'Connection refused')

======================================================================
ERROR: checkDisconnectionError 
(ZEO.tests.testConnection.WindowsConnectionTests)

----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"c:\tmp\Zope3TestsSandbox\Zope3\lib\python\ZEO\tests\ConnectionTests.py",
  line 108, in tearDown
     self.shutdownServer(i)
   File 
"c:\tmp\Zope3TestsSandbox\Zope3\lib\python\ZEO\tests\testConnection.py",
line 80, in shutdownServer
     s.connect(self._servers[index])
   File "<string>", line 1, in connect
error: (10061, 'Connection refused')

----------------------------------------------------------------------
Ran 1 tests in 3.365s

FAILED (errors=2)



This is the stupid log file


------
2002-12-09T15:37:29 INFO(0) testZEO setUp() 
ZEO.tests.testConnection.WindowsConnectionTests.checkDisconnectionError
------
2002-12-09T15:37:29 INFO(0) testZEO startServer(create=1, index=0, read_only=0)
------
2002-12-09T15:37:30 INFO(0) testZEO shutdownServer(index=0)
------
2002-12-09T15:37:32 INFO(0) testZEO tearDown() 
ZEO.tests.testConnection.WindowsConnectionTests.checkDisconnectionError
------
2002-12-09T15:37:32 INFO(0) testZEO shutdownServer(index=0)
------
2002-12-09T15:37:37 INFO(0) FS No file-locking support on this platform
------
2002-12-09T15:37:37 INFO(0) ZSS:2312 StorageServer created RW with 
storages: 1:RW
------
2002-12-09T15:37:37 INFO(0) zrpc:2312 listening on ('', 29742)
--

Godefroid Chapelle

BubbleNet sprl
rue Victor Horta, 18 / 202
1348 Louvain-la-Neuve
Belgium

Tel + 32 (10) 459901
Mob + 32 (477) 363942

TVA 467 093 008
RC Niv 49849