Public bug reported:

gnupg 2.2.4-1ubuntu1 in bionic

In a autopkgtest container made with 'autopkgtest-build-lxd
images:ubuntu/bionic/amd64'

and a testbed setup script to add staging PPAs to test against as per:
/usr/share/autopkgtest/setup-commands/kstaging

#!/bin/sh

apt-get -y install software-properties-common
add-apt-repository -sy ppa:kubuntu-ppa/staging-frameworks
add-apt-repository -sy ppa:kubuntu-ppa/staging-plasma
add-apt-repository -sy ppa:kubuntu-ppa/staging-kdeapplications
apt-get -y update


autopkgtest konqueror -U -s --setup-commands=kstaging -- lxd 
autopkgtest/ubuntu/bionic/amd64

Fails to set up with the error:

gpg: keybox '/tmp/tmp4r4yy2rk/pubring.gpg' created
gpg: key 2836CB0A8AC93F7A: 4 signatures not checked due to missing keys
gpg: /tmp/tmp4r4yy2rk/trustdb.gpg: trustdb created
gpg: key 2836CB0A8AC93F7A: public key "Launchpad Kubuntu Updates" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg:               imported: 1
Warning: apt-key output should not be parsed (stdout is not a terminal)
OK
Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Get:3 http://ppa.launchpad.net/kubuntu-ppa/staging-frameworks/ubuntu bionic 
InRelease [20.8 kB]
Get:4 http://ppa.launchpad.net/kubuntu-ppa/staging-frameworks/ubuntu 
bionic/main Sources [29.2 kB]
Get:5 http://ppa.launchpad.net/kubuntu-ppa/staging-frameworks/ubuntu 
bionic/main amd64 Packages [43.4 kB]
Fetched 93.4 kB in 1s (125 kB/s)
Reading package lists...
gpg: keybox '/tmp/tmpvvo4zpk7/pubring.gpg' created
gpg: key 2836CB0A8AC93F7A: 4 signatures not checked due to missing keys
gpg: /tmp/tmpvvo4zpk7/trustdb.gpg: trustdb created
gpg: key 2836CB0A8AC93F7A: public key "Launchpad Kubuntu Updates" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg:               imported: 1
Warning: apt-key output should not be parsed (stdout is not a terminal)
OK
[Errno 2] No such file or directory: 'S.gpg-agent.ssh'
autopkgtest [12:58:38]: ERROR: testbed failure: testbed setup commands failed 
with status 1

Likewise, the docker containers on the Kubuntu CI which also add a PPA
failed with:

https://kci.pangea.pub/job/bionic_stable_akonadi-contacts/88/console

11:39:49 [Errno 2] No such file or directory: 'S.gpg-agent.ssh'
11:39:49 Error on retry_it(unknown) :: Failed to add
11:39:58 gpg: keybox '/tmp/tmpriosa12i/pubring.gpg' created
11:39:58 gpg: /tmp/tmpriosa12i/trustdb.gpg: trustdb created
11:39:58 gpg: key A12B6139432062D1: public key "Launchpad PPA for kubuntu-ci" 
imported
11:39:58 gpg: Total number processed: 1
11:39:58 gpg:               imported: 1
11:39:58 Warning: apt-key output should not be parsed (stdout is not a terminal)
11:39:58 OK
11:39:58 [Errno 2] No such file or directory: 'S.gpg-agent.ssh'
11:39:58 chown -R jenkins:jenkins 
/var/lib/jenkins/workspaces/bionic/stable/akonadi-contacts
11:39:58 /var/lib/jenkins/ci-tooling/kci/builder.rb:154:in `block in run': 
Failed to add (RuntimeError)
11:39:58        from /var/lib/jenkins/ci-tooling/lib/retry.rb:13:in `retry_it'
11:39:58        from /var/lib/jenkins/ci-tooling/kci/builder.rb:153:in `run'
11:39:58        from /var/lib/jenkins/ci-tooling/kci/builder.rb:431:in `<main>'
11:39:58 W, [2018-02-22T11:39:16.446389 #1]  WARN -- : APT run (apt-get, ["-y", 
"-o", "APT::Get::force-yes=true", "-o", "Debug::pkgProblemResolver=true", 
"install", "software-properties-common"])
11:40:03 Running cleanup and handlers
11:40:03 log writing failed. can't be called from trap context
11:40:03 Running chown handler
11:40:03 Build step 'Execute shell' marked build as failure
11:40:04 [description-setter] Could not determine description.
11:40:04 Anchor chain: could not read file with links: 
java.nio.file.NoSuchFileException: 
/var/lib/jenkins/workspaces/bionic/stable/akonadi-contacts/_anchor-chain
11:40:04 IRC notifier plugin: Sending notification to: #kubuntu-devel
11:40:04 IRC notifier plugin: Sending notification to: #kubuntu-ci
11:40:04 Started calculate disk usage of build
11:40:04 Finished Calculation of disk usage of build in 0 seconds
11:40:04 Started calculate disk usage of workspace
11:40:04 Finished Calculation of disk usage of workspace in 0 seconds
11:40:04 [WS-CLEANUP] Deleting project workspace...[WS-CLEANUP] Skipped based 
on build state FAILURE
11:40:04 Finished: FAILURE

** Affects: gnupg2 (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  gnupg 2.2.4-1ubuntu1 in bionic
  
  In a autopkgtest container made with 'autopkgtest-build-lxd
  images:ubuntu/bionic/amd64'
  
  and a testbed setup script to add staging PPAs to test against as per:
- /usr/share/autopkgtest/setup-commands/kstaging:
+ /usr/share/autopkgtest/setup-commands/kstaging
  
- autopkgtest konqueror -U -s --setup-commands=kstaging -- lxd
- autopkgtest/ubuntu/bionic/amd64
+ #!/bin/sh
+ 
+ apt-get -y install software-properties-common
+ add-apt-repository -sy ppa:kubuntu-ppa/staging-frameworks
+ add-apt-repository -sy ppa:kubuntu-ppa/staging-plasma
+ add-apt-repository -sy ppa:kubuntu-ppa/staging-kdeapplications
+ apt-get -y update
+ 
+ 
+ autopkgtest konqueror -U -s --setup-commands=kstaging -- lxd 
autopkgtest/ubuntu/bionic/amd64
  
  Fails to set up with the error:
  
  gpg: keybox '/tmp/tmp4r4yy2rk/pubring.gpg' created
  gpg: key 2836CB0A8AC93F7A: 4 signatures not checked due to missing keys
  gpg: /tmp/tmp4r4yy2rk/trustdb.gpg: trustdb created
  gpg: key 2836CB0A8AC93F7A: public key "Launchpad Kubuntu Updates" imported
  gpg: no ultimately trusted keys found
  gpg: Total number processed: 1
  gpg:               imported: 1
  Warning: apt-key output should not be parsed (stdout is not a terminal)
  OK
  Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease
  Hit:2 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
  Get:3 http://ppa.launchpad.net/kubuntu-ppa/staging-frameworks/ubuntu bionic 
InRelease [20.8 kB]
  Get:4 http://ppa.launchpad.net/kubuntu-ppa/staging-frameworks/ubuntu 
bionic/main Sources [29.2 kB]
  Get:5 http://ppa.launchpad.net/kubuntu-ppa/staging-frameworks/ubuntu 
bionic/main amd64 Packages [43.4 kB]
  Fetched 93.4 kB in 1s (125 kB/s)
  Reading package lists...
  gpg: keybox '/tmp/tmpvvo4zpk7/pubring.gpg' created
  gpg: key 2836CB0A8AC93F7A: 4 signatures not checked due to missing keys
  gpg: /tmp/tmpvvo4zpk7/trustdb.gpg: trustdb created
  gpg: key 2836CB0A8AC93F7A: public key "Launchpad Kubuntu Updates" imported
  gpg: no ultimately trusted keys found
  gpg: Total number processed: 1
  gpg:               imported: 1
  Warning: apt-key output should not be parsed (stdout is not a terminal)
  OK
  [Errno 2] No such file or directory: 'S.gpg-agent.ssh'
  autopkgtest [12:58:38]: ERROR: testbed failure: testbed setup commands failed 
with status 1
- 
  
  Likewise, the docker containers on the Kubuntu CI which also add a PPA
  failed with:
  
  https://kci.pangea.pub/job/bionic_stable_akonadi-contacts/88/console
  
  11:39:49 [Errno 2] No such file or directory: 'S.gpg-agent.ssh'
  11:39:49 Error on retry_it(unknown) :: Failed to add
  11:39:58 gpg: keybox '/tmp/tmpriosa12i/pubring.gpg' created
  11:39:58 gpg: /tmp/tmpriosa12i/trustdb.gpg: trustdb created
  11:39:58 gpg: key A12B6139432062D1: public key "Launchpad PPA for kubuntu-ci" 
imported
  11:39:58 gpg: Total number processed: 1
  11:39:58 gpg:               imported: 1
  11:39:58 Warning: apt-key output should not be parsed (stdout is not a 
terminal)
  11:39:58 OK
  11:39:58 [Errno 2] No such file or directory: 'S.gpg-agent.ssh'
  11:39:58 chown -R jenkins:jenkins 
/var/lib/jenkins/workspaces/bionic/stable/akonadi-contacts
  11:39:58 /var/lib/jenkins/ci-tooling/kci/builder.rb:154:in `block in run': 
Failed to add (RuntimeError)
  11:39:58      from /var/lib/jenkins/ci-tooling/lib/retry.rb:13:in `retry_it'
  11:39:58      from /var/lib/jenkins/ci-tooling/kci/builder.rb:153:in `run'
  11:39:58      from /var/lib/jenkins/ci-tooling/kci/builder.rb:431:in `<main>'
  11:39:58 W, [2018-02-22T11:39:16.446389 #1]  WARN -- : APT run (apt-get, 
["-y", "-o", "APT::Get::force-yes=true", "-o", 
"Debug::pkgProblemResolver=true", "install", "software-properties-common"])
  11:40:03 Running cleanup and handlers
  11:40:03 log writing failed. can't be called from trap context
  11:40:03 Running chown handler
  11:40:03 Build step 'Execute shell' marked build as failure
  11:40:04 [description-setter] Could not determine description.
  11:40:04 Anchor chain: could not read file with links: 
java.nio.file.NoSuchFileException: 
/var/lib/jenkins/workspaces/bionic/stable/akonadi-contacts/_anchor-chain
  11:40:04 IRC notifier plugin: Sending notification to: #kubuntu-devel
  11:40:04 IRC notifier plugin: Sending notification to: #kubuntu-ci
  11:40:04 Started calculate disk usage of build
  11:40:04 Finished Calculation of disk usage of build in 0 seconds
  11:40:04 Started calculate disk usage of workspace
  11:40:04 Finished Calculation of disk usage of workspace in 0 seconds
  11:40:04 [WS-CLEANUP] Deleting project workspace...[WS-CLEANUP] Skipped based 
on build state FAILURE
  11:40:04 Finished: FAILURE

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1751053

Title:
  2.2.4-1ubuntu1 breaks adding ppa with add-apt-repository in a
  autopkgtest/docker container

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to