"problem with the SSL CA cert" when running tests from installed 2.2.1

Bug #651706 reported by Martin Pool on 2010-09-30
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
High
Vincent Ladeuil

Bug Description

Testing the installed copy of 2.2.1-0~bazaar1~maverick1 from the ppa, I see several test failures like below.

This is a possible concern for getting 2.2.1 into maverick (see bug 636930).

ERROR: per_transport.TransportTests.test_unicode_paths(HTTPS_pycurl_transport,HTTPSServer_PyCurl)transport,HTTPSS..
    Text attachment: log
------------
636.613 got pycurl error: 77, Problem with the SSL CA cert (path? access rights?), (77, 'Problem with the SSL CA cert (path? access rights?)'), url: https://127.0.0.1:43073/%C3%A5.1
636.623 opening working tree '/tmp/testbzr-bvLahL.tmp'
------------
Text attachment: traceback-1
------------
Traceback (most recent call last):
  File "/home/mbp/lib/python/testtools/runtest.py", line 144, in _run_user
    return fn(*args)
  File "/home/mbp/lib/python/testtools/testcase.py", line 442, in _run_test_method
    testMethod()
  File "/usr/lib/python2.6/dist-packages/bzrlib/tests/per_transport.py", line 1562, in test_unicode_paths
    self.check_transport_contents(contents, t, urlutils.escape(fname))
  File "/usr/lib/python2.6/dist-packages/bzrlib/tests/per_transport.py", line 109, in check_transport_contents
    self.assertEqualDiff(content, transport.get(relpath).read())
  File "/usr/lib/python2.6/dist-packages/bzrlib/transport/http/__init__.py", line 126, in get
    code, response_file = self._get(relpath, None)
  File "/usr/lib/python2.6/dist-packages/bzrlib/transport/http/_pycurl.py", line 165, in _get
    return self._get_full(relpath)
  File "/usr/lib/python2.6/dist-packages/bzrlib/transport/http/_pycurl.py", line 200, in _get_full
    self._curl_perform(curl, header)
  File "/usr/lib/python2.6/dist-packages/bzrlib/transport/http/_pycurl.py", line 366, in _curl_perform
    'curl connection error (%s)\non %s' % (e[1], url))
ConnectionError: Connection error: curl connection error (Problem with the SSL CA cert (path? access rights?))
on https://127.0.0.1:43073/%C3%A5.1
------------

Related branches

Vincent Ladeuil (vila) on 2010-09-30
Changed in bzr:
assignee: nobody → Vincent Ladeuil (vila)
status: Confirmed → In Progress
Vincent Ladeuil (vila) wrote :

Ok, this can't be reproduce by running from source.
This can be reproduced by installing the version from the stable ppa.
The tests require a ca.crt file that is not shipped, fix under underway.

Vincent Ladeuil (vila) wrote :

Fix available, pending review, will ship with bzr 2.2.2.

Vincent Ladeuil (vila) on 2010-09-30
Changed in bzr:
milestone: none → 2.2.2
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers