Antoine Pitrou <pit...@free.fr> added the comment:

There are still sporadic failures:

http://www.python.org/dev/buildbot/all/builders/AMD64%20Leopard%203.x/builds/684/steps/test/logs/stdio

Of course, it seems to be because of stupid urllib wrapping the socket.error 
inside an IOError:

Traceback (most recent call last):
  File 
"/Users/pythonbuildbot/buildarea/3.x.hansen-osx-x86-2/build/Lib/test/test_urllibnet.py",
 line 97, in test_getcode
    open_url = urllib.request.FancyURLopener().open(URL)
  File 
"/Users/pythonbuildbot/buildarea/3.x.hansen-osx-x86-2/build/Lib/urllib/request.py",
 line 1516, in open
    raise IOError('socket error', msg).with_traceback(sys.exc_info()[2])
  File 
"/Users/pythonbuildbot/buildarea/3.x.hansen-osx-x86-2/build/Lib/urllib/request.py",
 line 1512, in open
    return getattr(self, name)(url)
  File 
"/Users/pythonbuildbot/buildarea/3.x.hansen-osx-x86-2/build/Lib/urllib/request.py",
 line 1684, in open_http
    return self._open_generic_http(http.client.HTTPConnection, url, data)
  File 
"/Users/pythonbuildbot/buildarea/3.x.hansen-osx-x86-2/build/Lib/urllib/request.py",
 line 1664, in _open_generic_http
    http_conn.request("GET", selector, headers=headers)
  File 
"/Users/pythonbuildbot/buildarea/3.x.hansen-osx-x86-2/build/Lib/http/client.py",
 line 962, in request
    self._send_request(method, url, body, headers)
  File 
"/Users/pythonbuildbot/buildarea/3.x.hansen-osx-x86-2/build/Lib/http/client.py",
 line 1000, in _send_request
    self.endheaders(body)
  File 
"/Users/pythonbuildbot/buildarea/3.x.hansen-osx-x86-2/build/Lib/http/client.py",
 line 958, in endheaders
    self._send_output(message_body)
  File 
"/Users/pythonbuildbot/buildarea/3.x.hansen-osx-x86-2/build/Lib/http/client.py",
 line 803, in _send_output
    self.send(msg)
  File 
"/Users/pythonbuildbot/buildarea/3.x.hansen-osx-x86-2/build/Lib/http/client.py",
 line 741, in send
    self.connect()
  File 
"/Users/pythonbuildbot/buildarea/3.x.hansen-osx-x86-2/build/Lib/http/client.py",
 line 719, in connect
    self.timeout, self.source_address)
  File 
"/Users/pythonbuildbot/buildarea/3.x.hansen-osx-x86-2/build/Lib/socket.py", 
line 398, in create_connection
    raise err
  File 
"/Users/pythonbuildbot/buildarea/3.x.hansen-osx-x86-2/build/Lib/socket.py", 
line 389, in create_connection
    sock.connect(sa)
IOError: [Errno socket error] [Errno 60] Operation timed out

----------
resolution: fixed -> 
stage: patch review -> 
status: closed -> open

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10116>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to