[issue8835] buildbot: support.transient_internet() doesn't catch DNS socket.gaierror

STINNER Victor report at bugs.python.org
Thu May 27 23:47:37 CEST 2010


New submission from STINNER Victor <victor.stinner at haypocalc.com>:

The nameserver responsible of sha2.hboeck.de is down and this hostname is used in test_ssl. The result is that all trunk buildbots are red (error).

support.transient_internet() should catch socket.gaierror.

--

One example: http://www.python.org/dev/buildbot/all/builders/amd64%20gentoo%20trunk/builds/1007

Traceback (most recent call last):
  File ".../Lib/test/test_ssl.py", line 261, in test_algorithms
    s.connect(remote)
  ...
gaierror: [Errno -2] Name or service not known

----------
components: Tests
messages: 106617
nosy: haypo
priority: normal
severity: normal
status: open
title: buildbot: support.transient_internet() doesn't catch DNS socket.gaierror
versions: Python 2.7, Python 3.2

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


More information about the Python-bugs-list mailing list