The code doesn't have any kind of timeout, I'm guessing your gpg command exited.
gpg = subprocess.Popen(gpg_command, stdin = subprocess.PIPE, stdout = subprocess.PIPE) signed_report = gpg.communicate(mailbody.encode('utf-8'))[0].decode('utf-8') assert gpg.returncode == 0 ** Changed in: ubuntu-dev-tools (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/255099 Title: [requestsync] Doesn't wait for gpg command to exit -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs