[New-bugs-announce] [issue31986] [2.7] test_urllib2net.test_sites_no_connection_close() randomly fails on Python 2.7

STINNER Victor report at bugs.python.org
Wed Nov 8 17:20:43 EST 2017


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

http://buildbot.python.org/all/#/builders/78/builds/20

ERROR: test_sites_no_connection_close (test.test_urllib2net.OtherNetworkTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/buildbot/buildarea/2.7.ware-gentoo-x86.refleak/build/Lib/test/test_urllib2net.py", line 193, in test_sites_no_connection_close
    req = urllib2.urlopen(URL)
  File "/buildbot/buildarea/2.7.ware-gentoo-x86.refleak/build/Lib/urllib2.py", line 154, in urlopen
    return opener.open(url, data, timeout)
  File "/buildbot/buildarea/2.7.ware-gentoo-x86.refleak/build/Lib/urllib2.py", line 435, in open
    response = meth(req, response)
  File "/buildbot/buildarea/2.7.ware-gentoo-x86.refleak/build/Lib/urllib2.py", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "/buildbot/buildarea/2.7.ware-gentoo-x86.refleak/build/Lib/urllib2.py", line 473, in error
    return self._call_chain(*args)
  File "/buildbot/buildarea/2.7.ware-gentoo-x86.refleak/build/Lib/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/buildbot/buildarea/2.7.ware-gentoo-x86.refleak/build/Lib/urllib2.py", line 556, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 503: Service Unavailable

----------
components: Tests
messages: 305913
nosy: haypo
priority: normal
severity: normal
status: open
title: [2.7] test_urllib2net.test_sites_no_connection_close() randomly fails on Python 2.7
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31986>
_______________________________________


More information about the New-bugs-announce mailing list