lxc-test-no-new-privs failed with Temporary failure resolving 'archive.ubuntu.com'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
Triaged
|
Undecided
|
Sean Feole | ||
linux-azure (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
linux-kvm (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
It seems this failure only exist in KVM instances.
FAIL: lxc-tests: lxc-test-
---
+ DONE=0
+ trap cleanup EXIT SIGHUP SIGINT SIGTERM
+ mkdir -p /etc/lxc/
+ cat
+ ARCH=i386
+ type dpkg
++ dpkg --print-
+ ARCH=amd64
+ lxc-create -t download -n c1 -- -d ubuntu -r xenial -a amd64
Setting up the GPG keyring
Downloading the image index
Downloading the rootfs
Downloading the metadata
The image cache is now ready
Unpacking the rootfs
---
You just created an Ubuntu xenial amd64 (20190320_07:42) container.
To enable SSH, run: apt install openssh-server
No default root or user password are set by LXC.
+ echo 'lxc.no_new_privs = 1'
+ lxc-start -n c1
++ lxc-info -n c1 -p -H
+ p1=8818
+ '[' 8818 '!=' -1 ']'
+ sleep 5s
+ lxc-attach -n c1 --clear-env -- apt update -y
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Err:1 http://
Temporary failure resolving 'archive.
Err:2 http://
Temporary failure resolving 'security.
Err:3 http://
Temporary failure resolving 'archive.
Reading package lists...
Building dependency tree...
Reading state information...
All packages are up to date.
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Some index files failed to download. They have been ignored, or old ones used instead.
+ lxc-attach -n c1 --clear-env -- apt install -y gcc make
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
binutils cpp cpp-5 gcc-5 libasan2 libatomic1 libc-dev-bin libc6-dev libcc1-0
libcilkrts5 libgcc-5-dev libgomp1 libisl15 libitm1 liblsan0 libmpc3 libmpfr4
libmpx0 libquadmath0 libtsan0 libubsan0 linux-libc-dev manpages manpages-dev
Suggested packages:
binutils-doc cpp-doc gcc-5-locales gcc-multilib autoconf automake libtool
flex bison gdb gcc-doc gcc-5-multilib gcc-5-doc libgcc1-dbg libgomp1-dbg
libitm1-dbg libatomic1-dbg libasan2-dbg liblsan0-dbg libtsan0-dbg
libubsan0-dbg libcilkrts5-dbg libmpx0-dbg libquadmath0-dbg glibc-doc
make-doc man-browser
The following NEW packages will be installed:
binutils cpp cpp-5 gcc gcc-5 libasan2 libatomic1 libc-dev-bin libc6-dev
libcc1-0 libcilkrts5 libgcc-5-dev libgomp1 libisl15 libitm1 liblsan0 libmpc3
libmpfr4 libmpx0 libquadmath0 libtsan0 libubsan0 linux-libc-dev make
manpages manpages-dev
0 upgraded, 26 newly installed, 0 to remove and 0 not upgraded.
Need to get 28.7 MB of archives.
After this operation, 102 MB of additional disk space will be used.
Err:1 http://
Temporary failure resolving 'archive.
Err:2 http://
Temporary failure resolving 'archive.
Err:3 http://
Temporary failure resolving 'archive.
Err:4 http://
Temporary failure resolving 'archive.
Err:5 http://
Temporary failure resolving 'archive.
It's a bit weird that if I run the command manually, it looks OK
lxc-create -t download -n c1 -- -d ubuntu -r xenial -a amd64
lxc-start -n c1
lxc-attach -n c1 --clear-env -- apt update -y
Hit:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
tags: | added: bionic cosmic |
tags: | removed: bionic |
tags: | added: aws azure bionic |
tags: |
added: kvm removed: aws |
summary: |
- LXC test on KVM instances failed with Temporary failure resolving + lxc-test-no-new-privs failed with Temporary failure resolving 'archive.ubuntu.com' |
no longer affects: | linux-aws (Ubuntu) |
tags: |
added: linux-kvm removed: kvm |
tags: | added: sru-20190812 |
tags: | added: ubuntu-lxc |
tags: | added: sru-20190902 |
Changed in ubuntu-kernel-tests: | |
status: | New → Triaged |
tags: | added: sru-20191111 |
tags: | added: eoan |
Changed in ubuntu-kernel-tests: | |
assignee: | nobody → Sean Feole (sfeole) |
tags: | added: 5.3 sru-20200316 |
On Cosmic-KVM, it has passed after re-run.
But for Bionic KVM, it's still failing with the same issue.