classification
Title: [2.7] test_urllib2net.test_sites_no_connection_close() randomly fails on Python 2.7
Type: Stage:
Components: Tests Versions: Python 2.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: vstinner
Priority: normal Keywords:

Created on 2017-11-08 22:20 by vstinner, last changed 2017-11-08 22:20 by vstinner.

Messages (1)
msg305913 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2017-11-08 22:20
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
History
Date User Action Args
2017-11-08 22:20:43vstinnercreate