Comment 5 for bug 614713

Revision history for this message
Martin von Gagern (gagern) wrote :

With current bzr.dev (r6072), the same 8 tests fail, but with a different error message and backtrace:

ERROR: test_http.TestActivity.test_get(pycurl,https,HTTP/1.0)
    Text attachment: log
------------
2.477 got pycurl error: 60, Peer certificate cannot be authenticated with given CA certificates, (60, 'Peer certificate cannot be authenticated with given CA certificates'), url: https://127.0.0.1:36486/foo/bar
------------
Text attachment: traceback
------------
  File "/usr/lib64/python2.7/site-packages/testtools/runtest.py", line 169, in _run_user
    return fn(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/testtools/testcase.py", line 540, in _run_test_method
    return self._get_test_method()()
  File "bzr.dev/bzrlib/tests/test_http.py", line 2145, in test_get
    t.get('foo/bar').read())
  File "bzr.dev/bzrlib/transport/http/__init__.py", line 126, in get
    code, response_file = self._get(relpath, None)
  File "bzr.dev/bzrlib/transport/http/_pycurl.py", line 171, in _get
    return self._get_full(relpath)
  File "bzr.dev/bzrlib/transport/http/_pycurl.py", line 206, in _get_full
    self._curl_perform(curl, header)
  File "bzrlib/transport/http/_pycurl.py", line 401, in _curl_perform
    'curl connection error (%s)\non %s' % (e[1], url))
ConnectionError: Connection error: curl connection error (Peer certificate cannot be authenticated with given CA certificates)
on https://127.0.0.1:36486/foo/bar
------------
Text attachment: traceback-1
------------
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/testtools/runtest.py", line 169, in _run_user
    return fn(*args, **kwargs)
  File "bzr.dev/bzrlib/tests/test_server.py", line 564, in stop_server
    self._server_thread.join()
  File "bzr.dev/bzrlib/tests/test_server.py", line 254, in join
    super(TestThread, self).join(timeout)
  File "bzr.dev/bzrlib/cethread.py", line 126, in run
    super(CatchingExceptionThread, self).run()
  File "/usr/lib64/python2.7/threading.py", line 505, in run
    self.__target(*self.__args, **self.__kwargs)
  File "bzr.dev/bzrlib/tests/test_server.py", line 527, in run_server
    self.server.serve()
  File "bzr.dev/bzrlib/tests/test_server.py", line 297, in serve
    self.handle_request()
  File "bzr.dev/bzrlib/tests/test_server.py", line 310, in handle_request
    if self.verify_request(request, client_address):
  File "bzr.dev/bzrlib/tests/https_server.py", line 52, in verify_request
    request.do_handshake()
  File "/usr/lib64/python2.7/ssl.py", line 296, in do_handshake
    self._sslobj.do_handshake()
SSLError: [Errno 1] _ssl.c:503: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca
------------

The other 7 errors look a lot like this one.