2.2.4-1ubuntu1 breaks adding ppa with add-apt-repository in a autopkgtest/docker container
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnupg2 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
gnupg 2.2.4-1ubuntu1 in bionic
In a autopkgtest container made with 'autopkgtest-
and a testbed setup script to add staging PPAs to test against as per: /usr/share/
#!/bin/sh
apt-get -y install software-
add-apt-repository -sy ppa:kubuntu-
add-apt-repository -sy ppa:kubuntu-
add-apt-repository -sy ppa:kubuntu-
apt-get -y update
autopkgtest konqueror -U -s --setup-
Fails to set up with the error:
gpg: keybox '/tmp/tmp4r4yy2
gpg: key 2836CB0A8AC93F7A: 4 signatures not checked due to missing keys
gpg: /tmp/tmp4r4yy2r
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://
Hit:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Fetched 93.4 kB in 1s (125 kB/s)
Reading package lists...
gpg: keybox '/tmp/tmpvvo4zp
gpg: key 2836CB0A8AC93F7A: 4 signatures not checked due to missing keys
gpg: /tmp/tmpvvo4zpk
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:/
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/tmpriosa1
11:39:58 gpg: /tmp/tmpriosa12
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/
11:39:58 /var/lib/
11:39:58 from /var/lib/
11:39:58 from /var/lib/
11:39:58 from /var/lib/
11:39:58 W, [2018-02-
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-
11:40:04 Anchor chain: could not read file with links: java.nio.
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.
11:40:04 Finished: FAILURE
Status changed to 'Confirmed' because the bug affects multiple users.