[New-bugs-announce] [issue23303] test_license_exists_at_url() of test_site fails on "x86 XP-4 3.4" buildbot

STINNER Victor report at bugs.python.org
Thu Jan 22 22:30:03 CET 2015


New submission from STINNER Victor:

test_license_exists_at_url() of test_site fails on "x86 XP-4 3.4" buildbot. I don't understand why the test pass on "x86 XP-4 3.x", is it the same server?

http://buildbot.python.org/all/builders/x86%20XP-4%203.4/builds/747/steps/test/logs/stdio

======================================================================
ERROR: test_license_exists_at_url (test.test_site.ImportSideEffectTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\cygwin\home\db3l\buildarea\3.4.bolen-windows\build\lib\urllib\request.py", line 1182, in do_open
    h.request(req.get_method(), req.selector, req.data, headers)
  File "D:\cygwin\home\db3l\buildarea\3.4.bolen-windows\build\lib\http\client.py", line 1088, in request
    self._send_request(method, url, body, headers)
  File "D:\cygwin\home\db3l\buildarea\3.4.bolen-windows\build\lib\http\client.py", line 1126, in _send_request
    self.endheaders(body)
  File "D:\cygwin\home\db3l\buildarea\3.4.bolen-windows\build\lib\http\client.py", line 1084, in endheaders
    self._send_output(message_body)
  File "D:\cygwin\home\db3l\buildarea\3.4.bolen-windows\build\lib\http\client.py", line 922, in _send_output
    self.send(msg)
  File "D:\cygwin\home\db3l\buildarea\3.4.bolen-windows\build\lib\http\client.py", line 857, in send
    self.connect()
  File "D:\cygwin\home\db3l\buildarea\3.4.bolen-windows\build\lib\http\client.py", line 1231, in connect
    server_hostname=server_hostname)
  File "D:\cygwin\home\db3l\buildarea\3.4.bolen-windows\build\lib\ssl.py", line 365, in wrap_socket
    _context=self)
  File "D:\cygwin\home\db3l\buildarea\3.4.bolen-windows\build\lib\ssl.py", line 583, in __init__
    self.do_handshake()
  File "D:\cygwin\home\db3l\buildarea\3.4.bolen-windows\build\lib\ssl.py", line 810, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\cygwin\home\db3l\buildarea\3.4.bolen-windows\build\lib\test\test_site.py", line 426, in test_license_exists_at_url
    with urllib.request.urlopen(req) as data:
  File "D:\cygwin\home\db3l\buildarea\3.4.bolen-windows\build\lib\urllib\request.py", line 161, in urlopen
    return opener.open(url, data, timeout)
  File "D:\cygwin\home\db3l\buildarea\3.4.bolen-windows\build\lib\urllib\request.py", line 469, in open
    response = meth(req, response)
  File "D:\cygwin\home\db3l\buildarea\3.4.bolen-windows\build\lib\urllib\request.py", line 579, in http_response
    'http', request, response, code, msg, hdrs)
  File "D:\cygwin\home\db3l\buildarea\3.4.bolen-windows\build\lib\urllib\request.py", line 501, in error
    result = self._call_chain(*args)
  File "D:\cygwin\home\db3l\buildarea\3.4.bolen-windows\build\lib\urllib\request.py", line 441, in _call_chain
    result = func(*args)
  File "D:\cygwin\home\db3l\buildarea\3.4.bolen-windows\build\lib\urllib\request.py", line 684, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "D:\cygwin\home\db3l\buildarea\3.4.bolen-windows\build\lib\urllib\request.py", line 463, in open
    response = self._open(req, data)
  File "D:\cygwin\home\db3l\buildarea\3.4.bolen-windows\build\lib\urllib\request.py", line 481, in _open
    '_open', req)
  File "D:\cygwin\home\db3l\buildarea\3.4.bolen-windows\build\lib\urllib\request.py", line 441, in _call_chain
    result = func(*args)
  File "D:\cygwin\home\db3l\buildarea\3.4.bolen-windows\build\lib\urllib\request.py", line 1225, in https_open
    context=self._context, check_hostname=self._check_hostname)
  File "D:\cygwin\home\db3l\buildarea\3.4.bolen-windows\build\lib\urllib\request.py", line 1184, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)>

----------
components: Tests
keywords: buildbot
messages: 234510
nosy: alex, haypo, pitrou
priority: normal
severity: normal
status: open
title: test_license_exists_at_url() of test_site fails on "x86 XP-4 3.4" buildbot
versions: Python 3.4

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


More information about the New-bugs-announce mailing list