[pkg-gnupg-maint] Bug#868550: still some remaining agent startup race (probability 10^-3 ?)

Ian Jackson ijackson at chiark.greenend.org.uk
Sun Jul 16 14:42:32 UTC 2017


Package: gnupg2
Version: 2.1.18-6

I just had an invocation of the dgit test suite fail in one of the
tests because this happened:
  gpg: can't connect to the agent: IPC connect call failed

Unfortunately the failure is nonreproducible.  gpg didn't quote the
errno value.  A longer log excerpt is below.  (The W: messages from
apt about apt.conf.d/ are expected and normal.)

I haven't calculated the failure probability exactly, but this failure
occurred after about 10 test runs each consisting of 70 individual
test cases, most of which contains many (at a guess, 10?) gnupg
invocations (which may or may not share agent startup).  So probably
between 1/100 and 1/50000, say.

(The dgit commit was 242ba73109ae30e7d8849b01f0c668b87d4f4d63; the
environment was stretch, last updated a few days ago.)

Thanks for your attention.

Regards,
Ian.

+ export APT_CONFIG=/home/ian/things/Dgit/2dgit/tests/tmp/downstream-gitless/ds-etc-apt/conf
+ APT_CONFIG=/home/ian/things/Dgit/2dgit/tests/tmp/downstream-gitless/ds-etc-apt/conf
+ gpg --export Hannibal
gpg: WARNING: unsafe permissions on homedir '/home/ian/things/Dgit/2dgit/tests/tmp/gnupg/gnupg'
+ fakeroot apt-key add
W: Unable to read /home/ian/things/Dgit/2dgit/tests/tmp/downstream-gitless/ds-etc-apt/apt.conf.d/ - DirectoryExists (2: No such file or directory)
W: Unable to read /home/ian/things/Dgit/2dgit/tests/tmp/downstream-gitless/ds-etc-apt/apt.conf.d/ - DirectoryExists (2: No such file or directory)
W: Unable to read /home/ian/things/Dgit/2dgit/tests/tmp/downstream-gitless/ds-etc-apt/apt.conf.d/ - DirectoryExists (2: No such file or directory)
W: Unable to read /home/ian/things/Dgit/2dgit/tests/tmp/downstream-gitless/ds-etc-apt/apt.conf.d/ - DirectoryExists (2: No such file or directory)
W: Unable to read /home/ian/things/Dgit/2dgit/tests/tmp/downstream-gitless/ds-etc-apt/apt.conf.d/ - DirectoryExists (2: No such file or directory)
W: Unable to read /home/ian/things/Dgit/2dgit/tests/tmp/downstream-gitless/ds-etc-apt/apt.conf.d/ - DirectoryExists (2: No such file or directory)
W: Unable to read /home/ian/things/Dgit/2dgit/tests/tmp/downstream-gitless/ds-etc-apt/apt.conf.d/ - DirectoryExists (2: No such file or directory)
Warning: apt-key output should not be parsed (stdout is not a terminal)
W: Unable to read /home/ian/things/Dgit/2dgit/tests/tmp/downstream-gitless/ds-etc-apt/apt.conf.d/ - DirectoryExists (2: No such file or directory)
gpg: can't connect to the agent: IPC connect call failed
+ test 2 = 0
+ t-report-failure
+ set +x
TEST FAILED
cwd: /home/ian/things/Dgit/2dgit/tests/tmp/downstream-gitless
funcs: t-report-failure t-reprepro-cfg main
lines: 1 55 0
files: tests/lib /home/ian/things/Dgit/2dgit/tests/lib-reprepro tests/tests/downstream-gitless


-- 
Ian Jackson <ijackson at 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.



More information about the pkg-gnupg-maint mailing list