Confirmed with 4.4.0-1056-kvm kernel. Failed program: ## Python3 testsuite STRING="python3: API" if [ ! -f /usr/share/doc/python3-lxc/examples/api_test.py.gz ]; then ignore "$STRING" else OUT=$(mktemp)
PYTEST=$(mktemp) cat /usr/share/doc/python3-lxc/examples/api_test.py.gz | gzip -d > $PYTEST python3 $PYTEST >$OUT 2>&1 && pass "$STRING" || \ fail "$STRING" "python3" "$OUT" rm $PYTEST rm $OUT fi -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-kvm in Ubuntu. https://bugs.launchpad.net/bugs/1764618 Title: python-API test in ubuntu_lxc will fail on X-kvm kernel Status in ubuntu-kernel-tests: New Status in linux-kvm package in Ubuntu: New Bug description: Steps: 1. Deploy a KVM node with Xenial, install linux-kvm on it 2. Run the ubutnu_lxc test from autotest-client-tests Output: FAIL: python3: API --- Using image from local cache Unpacking the rootfs --- You just created an Ubuntu container (release=xenial, arch=amd64, variant=default) To enable sshd, run: apt-get install openssh-server For security reason, container images ship without user accounts and without a root password. Use lxc-attach or chroot directly into the rootfs to set a root password or create user accounts. Getting instance for '785bd96e-41ef-11e8-a707-5254004f0f0f' Creating rootfs using 'download', arch=amd64 Testing the configuration Testing the networking Starting the container Getting the interface names Traceback (most recent call last): File "/tmp/tmp.jDauiqznXt", line 109, in <module> assert(set(container.get_interfaces()) == set(('lo', 'eth0'))) AssertionError If you try to intercept the ontainer.get_interfaces() result, you'll see: ('eth0', 'lo', 'sit0') ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: linux-image-4.4.0-1021-kvm 4.4.0-1021.26 ProcVersionSignature: User Name 4.4.0-1021.26-kvm 4.4.117 Uname: Linux 4.4.0-1021-kvm x86_64 ApportVersion: 2.20.1-0ubuntu2.16 Architecture: amd64 Date: Tue Apr 17 03:46:14 2018 ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: linux-kvm UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1764618/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp