[Bug 1647204] Re: 1.8.0-2 FTBFS in zesty 17.04
Rik Mills
rik.mills88 at gmail.com
Thu Jan 12 22:10:07 UTC 2017
As I also commented in Bug #1655298 :
Adding some debug statements on other the builds showed that that hang
is occurring in
lang / python / tests / t-callbacks.py
specifically, when the c.op_genkey call is made in the section shown
below.
# Test the progress callback.
parms = """<GnupgKeyParms format="internal">
Key-Type: RSA
Key-Length: 1024
Name-Real: Joe Tester
Name-Comment: with stupid passphrase
Name-Email: joe+gpg at example.org
Passphrase: Crypt0R0cks
Expire-Date: 2020-12-31
</GnupgKeyParms>
"""
messages = []
def progress_cb(what, typ, current, total, hook=None):
assert hook == messages
messages.append(
"PROGRESS UPDATE: what = {}, type = {}, current = {}, total = {}"
.format(what, typ, current, total))
c = gpg.Context()
c.set_progress_cb(progress_cb, messages)
c.op_genkey(parms, None, None) <---- HANGS HERE
assert len(messages) > 0
# Test exception handling.
def progress_cb(what, typ, current, total, hook=None):
raise myException
c = gpg.Context()
c.set_progress_cb(progress_cb, None)
try:
c.op_genkey(parms, None, None) <---- HANGS HERE
except Exception as e:
assert e == myException
else:
assert False, "Expected an error, got none"
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1647204
Title:
1.8.0-2 FTBFS in zesty 17.04
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gpgme1.0/+bug/1647204/+subscriptions
More information about the kubuntu-bugs
mailing list