This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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

Created on 2017-11-08 22:20 by vstinner, last changed 2022-04-11 14:58 by admin. This issue is now closed.

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
2022-04-11 14:58:54adminsetgithub: 76167
2018-09-21 23:02:41vstinnersetstatus: open -> closed
resolution: out of date
stage: resolved
2017-11-08 22:20:43vstinnercreate