ubuntu_lxc failed with GPG key fetching on Intel clouds

Bug #1838966 reported by Po-Hsu Lin
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
In Progress
Undecided
Sean Feole

Bug Description

The ubuntu_lxc test is failing on KVM nodes on Intel clouds:

 PASS: lxc-tests: /usr/bin/lxc-test-apparmor
 FAIL: lxc-tests: /usr/bin/lxc-test-apparmor-mount
 ---
 /usr/sbin/deluser: The user `lxcunpriv' does not exist.
 Setting up the GPG keyring
 ERROR: Unable to fetch GPG key from keyserver.
 Error creating container tmp.iv4MkIKo3L
 Container is not defined
 umount: /sys/kernel/security/apparmor/features/mount: not mounted
 sed: can't read /run/lxc/nics: No such file or directory
 ---
 PASS: lxc-tests: /usr/bin/lxc-test-attach
 PASS: lxc-tests: /usr/bin/lxc-test-automount
 FAIL: lxc-tests: /usr/bin/lxc-test-autostart
 ---
 Setting up the GPG keyring
 ERROR: Unable to fetch GPG key from keyserver.
 Error creating container lxc-test-auto
 FAIL
 ---
 PASS: lxc-tests: /usr/bin/lxc-test-cgpath
 PASS: lxc-tests: /usr/bin/lxc-test-checkpoint-restore
 PASS: lxc-tests: /usr/bin/lxc-test-cloneconfig
 PASS: lxc-tests: /usr/bin/lxc-test-clonetest
 PASS: lxc-tests: /usr/bin/lxc-test-concurrent
 PASS: lxc-tests: /usr/bin/lxc-test-config-jump-table
 PASS: lxc-tests: /usr/bin/lxc-test-console
 PASS: lxc-tests: /usr/bin/lxc-test-containertests
 PASS: lxc-tests: /usr/bin/lxc-test-createconfig
 PASS: lxc-tests: /usr/bin/lxc-test-createtest
 PASS: lxc-tests: /usr/bin/lxc-test-cve-2019-5736
 PASS: lxc-tests: /usr/bin/lxc-test-destroytest
 PASS: lxc-tests: /usr/bin/lxc-test-device-add-remove
 PASS: lxc-tests: /usr/bin/lxc-test-get_item
 PASS: lxc-tests: /usr/bin/lxc-test-getkeys
 PASS: lxc-tests: /usr/bin/lxc-test-list
 PASS: lxc-tests: /usr/bin/lxc-test-locktests
 PASS: lxc-tests: /usr/bin/lxc-test-lxc-attach
 PASS: lxc-tests: /usr/bin/lxc-test-lxcpath
 PASS: lxc-tests: /usr/bin/lxc-test-parse-config-file
 PASS: lxc-tests: /usr/bin/lxc-test-raw-clone
 PASS: lxc-tests: /usr/bin/lxc-test-reboot
 PASS: lxc-tests: /usr/bin/lxc-test-saveconfig
 PASS: lxc-tests: /usr/bin/lxc-test-shortlived
 PASS: lxc-tests: /usr/bin/lxc-test-shutdowntest
 PASS: lxc-tests: /usr/bin/lxc-test-snapdeps
 PASS: lxc-tests: /usr/bin/lxc-test-snapshot
 PASS: lxc-tests: /usr/bin/lxc-test-startone
 PASS: lxc-tests: /usr/bin/lxc-test-state-server
 PASS: lxc-tests: /usr/bin/lxc-test-symlink
 FAIL: lxc-tests: /usr/bin/lxc-test-unpriv
 ---
 Setting up the GPG keyring
 ERROR: Unable to fetch GPG key from keyserver.
 Error creating container c1
 c2 is not running
 c1 is not running
 sed: can't read /run/lxc/nics: No such file or directory
 ---
 FAIL: lxc-tests: /usr/bin/lxc-test-usernic
 ---
 /usr/sbin/deluser: The user `usernic-user' does not exist.
 Setting up the GPG keyring
 ERROR: Unable to fetch GPG key from keyserver.
 Error creating container b1
 FAIL
 ---
 PASS: lxc-tests: /usr/bin/lxc-test-utils
 FAIL: python3: API
 ---
 Setting up the GPG keyring
 ERROR: Unable to fetch GPG key from keyserver.
 Getting instance for 'fdff4d92-b315-11e9-b9e7-525400a360e1'
 Creating rootfs using 'download', arch=amd64
 Traceback (most recent call last):
 File "/tmp/tmp.dOncjD9KWk", line 72, in
 assert(container.defined)
 AssertionError
 ---

 SUMMARY: pass=34, fail=5, ignored=0

All 5 tests failed with "ERROR: Unable to fetch GPG key from keyserver", it might be a proxy issue on Intel Cloud?

Po-Hsu Lin (cypressyew)
Changed in ubuntu-kernel-tests:
assignee: nobody → Sean Feole (sfeole)
Po-Hsu Lin (cypressyew)
description: updated
Po-Hsu Lin (cypressyew)
tags: added: ubuntu-lxc
tags: added: amd64 kvm
Po-Hsu Lin (cypressyew)
tags: added: sru-20200217
Revision history for this message
Sean Feole (sfeole) wrote :

I've emailed the lab administrator to see if he can update firewall rules.

Changed in ubuntu-kernel-tests:
status: New → In Progress
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

This is still failing on X-kvm 4.4.0-1070.77 (but not B/E KVM, perhaps a test case issue for X?)

tags: added: sru-20200406
Revision history for this message
Krzysztof Kozlowski (krzk) wrote :

Found on xenial/oracle 4.15.0-1077.85~16.04.1 (all instances)

tags: added: 4.15 oracle sru-20210621 xenial
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.