← Back to team overview

touch-packages team mailing list archive

[Bug 1541925] [NEW] Tries to create temp files under ~/.gnupg but doesn't create the dir

 

Public bug reported:

That's a regression since the 1.4.20 update which impacts the software-
properties tests [1]

the error is
"test_add_gpg_key (tests.test_dbus.TestDBus) ... gpg: failed to create temporary file `/home/ubuntu/.gnupg/.#lk0x21044c0.adt.7314': No such file or directory"

the command called is 
"/usr/bin/gpg --no-options --no-default-keyring --no-auto-check-trustdb --trust-model always --keyring /build/software-properties-0.96.17/tests/aptroot/etc/apt/trusted.gpg --secret-keyring /tmp/tmpohq9ksnp/secring.gpg --quiet --batch --import /build/software-properties-0.96.17/tests/data/testkey.gpg"

which fails if there is no .gnupg directory

[1]
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac
/autopkgtest-xenial/xenial/amd64/s/software-
properties/20160203_235320@/log.gz

** Affects: gnupg (Ubuntu)
     Importance: High
         Status: New

** Changed in: gnupg (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to gnupg in Ubuntu.
https://bugs.launchpad.net/bugs/1541925

Title:
  Tries to create temp files under ~/.gnupg but doesn't create the dir

Status in gnupg package in Ubuntu:
  New

Bug description:
  That's a regression since the 1.4.20 update which impacts the
  software-properties tests [1]

  the error is
  "test_add_gpg_key (tests.test_dbus.TestDBus) ... gpg: failed to create temporary file `/home/ubuntu/.gnupg/.#lk0x21044c0.adt.7314': No such file or directory"

  the command called is 
  "/usr/bin/gpg --no-options --no-default-keyring --no-auto-check-trustdb --trust-model always --keyring /build/software-properties-0.96.17/tests/aptroot/etc/apt/trusted.gpg --secret-keyring /tmp/tmpohq9ksnp/secring.gpg --quiet --batch --import /build/software-properties-0.96.17/tests/data/testkey.gpg"

  which fails if there is no .gnupg directory

  [1]
  https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac
  /autopkgtest-xenial/xenial/amd64/s/software-
  properties/20160203_235320@/log.gz

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnupg/+bug/1541925/+subscriptions


Follow ups