Message195717
Some ftplib tests sometimes time out. Seem they seem to try to connect to "localhost" (rather than "127.0.0.1"), I was wondering if this could be a DNS issue and if we should resolve "localhost" in advance like Charles-François did for some other tests (or simply hardcode "127.0.0.1", actually).
http://buildbot.python.org/all/builders/x86%20Windows7%203.x/builds/7060/steps/test/logs/stdio
(example:
======================================================================
ERROR: testTimeoutDefault (test.test_ftplib.TestTimeouts)
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\test_ftplib.py", line 953, in testTimeoutDefault
ftp = ftplib.FTP("localhost")
File "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\ftplib.py", line 115, in __init__
self.connect(host)
File "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\ftplib.py", line 150, in connect
source_address=self.source_address)
File "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\socket.py", line 454, in create_connection
raise err
File "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\socket.py", line 445, in create_connection
sock.connect(sa)
socket.timeout: timed out
) |
|
Date |
User |
Action |
Args |
2013-08-20 21:01:29 | pitrou | set | recipients:
+ pitrou, giampaolo.rodola, neologix |
2013-08-20 21:01:29 | pitrou | set | messageid: <1377032489.22.0.759563431169.issue18792@psf.upfronthosting.co.za> |
2013-08-20 21:01:29 | pitrou | link | issue18792 messages |
2013-08-20 21:01:28 | pitrou | create | |
|