test failures when python-gpgme is installed

Bug #826035 reported by Jelmer Vernooij
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Invalid
High
Unassigned

Bug Description

FAIL: bzrlib.tests.test_gpg.TestVerify.test_set_acceptable_keys
----------------------------------------------------------------------
_StringException: Text attachment: log
------------
    INFO No GnuPG key results for pattern: <email address hidden>
------------
Text attachment: traceback
------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/testtools/runtest.py", line 169, in _run_user
    return fn(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 540, in _run_test_method
    return self._get_test_method()()
  File "/build/buildd-bzr_2.5.0~beta4-1-sparc-BDnsSJ/bzr-2.5.0~beta4/build/lib.linux-sparc-2.7/bzrlib/tests/test_gpg.py", line 480, in test_set_acceptable_keys
    [u'B5DEED5FCB15DAE6ECEF919587681B1EE3080E45'])
AssertionError: not equal:
a = []
b = [u'B5DEED5FCB15DAE6ECEF919587681B1EE3080E45']

------------

======================================================================
FAIL: bzrlib.tests.test_gpg.TestVerify.test_verify_unacceptable_key
----------------------------------------------------------------------
_StringException: Text attachment: log
------------
    INFO No GnuPG key results for pattern: <email address hidden>
------------
Text attachment: traceback
------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/testtools/runtest.py", line 169, in _run_user
    return fn(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 540, in _run_test_method
    return self._get_test_method()()
  File "/build/buildd-bzr_2.5.0~beta4-1-sparc-BDnsSJ/bzr-2.5.0~beta4/build/lib.linux-sparc-2.7/bzrlib/tests/test_gpg.py", line 310, in test_verify_unacceptable_key
    my_gpg.verify(content, plain))
AssertionError: not equal:
a = (1, u'E3080E45')
b = (2, None)

------------

======================================================================
FAIL: bzrlib.tests.test_gpg.TestVerify.test_verify_untrusted_but_accepted
----------------------------------------------------------------------
_StringException: Text attachment: log
------------
    INFO No GnuPG key results for pattern: <email address hidden>
------------
Text attachment: traceback
------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/testtools/runtest.py", line 169, in _run_user
    return fn(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 540, in _run_test_method
    return self._get_test_method()()
  File "/build/buildd-bzr_2.5.0~beta4-1-sparc-BDnsSJ/bzr-2.5.0~beta4/build/lib.linux-sparc-2.7/bzrlib/tests/test_gpg.py", line 279, in test_verify_untrusted_but_accepted
    plain))
AssertionError: not equal:
a = (0, None)
b = (2, None)

------------

======================================================================
FAIL: bzrlib.tests.test_gpg.TestVerify.test_verify_expired_but_valid
----------------------------------------------------------------------
_StringException: Text attachment: log
------------

------------
Text attachment: traceback
------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/testtools/runtest.py", line 169, in _run_user
    return fn(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 540, in _run_test_method
    return self._get_test_method()()
  File "/build/buildd-bzr_2.5.0~beta4-1-sparc-BDnsSJ/bzr-2.5.0~beta4/build/lib.linux-sparc-2.7/bzrlib/tests/test_gpg.py", line 448, in test_verify_expired_but_valid
    my_gpg.verify(content, plain))
AssertionError: not equal:
a = (4, u'4F8D1513')
b = (2, None)

------------

======================================================================
FAIL: bzrlib.tests.test_gpg.TestVerify.test_verify_unknown_key
----------------------------------------------------------------------
_StringException: Text attachment: log
------------

------------
Text attachment: traceback
------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/testtools/runtest.py", line 169, in _run_user
    return fn(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 540, in _run_test_method
    return self._get_test_method()()
  File "/build/buildd-bzr_2.5.0~beta4-1-sparc-BDnsSJ/bzr-2.5.0~beta4/build/lib.linux-sparc-2.7/bzrlib/tests/test_gpg.py", line 472, in test_verify_unknown_key
    my_gpg.verify(content, plain))
AssertionError: not equal:
a = (1, u'5D51E56F')
b = (2, None)

Jelmer Vernooij (jelmer)
Changed in bzr:
status: Triaged → Confirmed
Jelmer Vernooij (jelmer)
tags: added: gpg signatures
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

this might be related to the fact that debian is still on python-gpgme 0.2 ?

description: updated
tags: added: affects-debian
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

euhm, 0.1.

Jelmer Vernooij (jelmer)
Changed in bzr:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.