[issue13453] Tests and network timeouts

Charles-François Natali report at bugs.python.org
Mon Dec 19 16:05:28 CET 2011


Charles-François Natali <neologix at free.fr> added the comment:

Another failure on an OpenIndiana buildbot:
"""
======================================================================
ERROR: testTimeoutConnect (test.test_ftplib.TestTimeouts)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/export/home/buildbot/32bits/3.2.cea-indiana-x86/build/Lib/test/test_ftplib.py", line 837, in testTimeoutConnect
    ftp.connect(HOST, timeout=30)
  File "/export/home/buildbot/32bits/3.2.cea-indiana-x86/build/Lib/ftplib.py", line 142, in connect
    self.sock = socket.create_connection((self.host, self.port), self.timeout)
  File "/export/home/buildbot/32bits/3.2.cea-indiana-x86/build/Lib/socket.py", line 404, in create_connection
    raise err
  File "/export/home/buildbot/32bits/3.2.cea-indiana-x86/build/Lib/socket.py", line 395, in create_connection
    sock.connect(sa)
socket.error: [Errno 146] Connection refused
"""

I guess it's always the same problem, a broken name resolution service which takes a long time to resolve "localhost".
I'll try to bump the timeouts.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13453>
_______________________________________


More information about the Python-bugs-list mailing list