Package: gnupg Version: 2.1.18-8 The following occurs during CI testing of dgit:
+ gpg --list-secret gpg: WARNING: unsafe permissions on homedir '/tmp/autopkgtest-virt-lxc.shared.ar7jp_mz/downtmp/autopkgtest_tmp/gnupg' gpg: starting migration from earlier GnuPG versions gpg: porting secret keys from '/tmp/autopkgtest-virt-lxc.shared.ar7jp_mz/downtmp/autopkgtest_tmp/gnupg/secring.gpg' to gpg-agent gpg: key A3DBCBC039B13D8A/A3DBCBC039B13D8A: error sending to agent: No such file or directory gpg: error building skey array: No such file or directory gpg: key 2AC1E075F5ED1B25/2AC1E075F5ED1B25: error sending to agent: No such file or directory gpg: error building skey array: No such file or directory gpg: key 14A868BFAC3BD039/14A868BFAC3BD039: error sending to agent: No such file or directory gpg: error building skey array: No such file or directory gpg: migration succeeded + test 2 = 0 This does not seem to happen in my own tests using adt-run. Quite why it prints "migration successful" and then exits with status 2 is unclear. FYI, dgit uses a wrapper for gnupg, like this: #!/bin/sh set -e exec \ $DGIT_TEST_REAL_GPG \ --agent-program=$DGIT_STUNT_AGENT \ "$@" And the DGIT_STUNT_AGENT looks like this: #!/bin/sh set -e exec \ $DGIT_TEST_REAL_GPG_AGENT \ --debug-quick-random \ "$@" Ian. -- Ian Jackson <ijack...@chiark.greenend.org.uk> These opinions are my own. If I emailed you from an address @fyvzl.net or @evade.org.uk, that is a private address which bypasses my fierce spamfilter.