*** This bug is a duplicate of bug 1732739 *** https://bugs.launchpad.net/bugs/1732739
Event though both test failures where triggered by the change from ifupdown to systemd-networkd/resolvd the reasons for the problems are completely different. For lxd the problem is in the dep8 test script. For docker it is turns out to be a problem of docker itself to automatically guess which nameserver to use. For this reason I created three individual bug reports: - bug #1732739 -> lxd breakage - bug #1732747 -> additional DNS checks and logging (pre-req for docker fix) - bug #1732717 -> docker breakage I will duplicate this bug against the first new one because the bug description was talking mostly about this one. And then use the new bug reports for driving the delivery of fixes. ** This bug has been marked a duplicate of bug 1732739 lxd test broken by test systemd-resolv environment -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to ubuntu-fan in Ubuntu. https://bugs.launchpad.net/bugs/1718548 Title: ubuntu-fan autopkgtests are broken against systemd-resolved Status in ubuntu-fan package in Ubuntu: Triaged Status in ubuntu-fan source package in Xenial: Fix Committed Status in ubuntu-fan source package in Zesty: Fix Committed Bug description: Now that 17.10 has migrated to netplan+systemd-networkd+systemd- resolved by default, ubuntu-fan autopkgtests are failing; at least one reason for this failure is wrong detection of the default network interface because autopkgtest environments appear for some reason to be getting multiple default routes: autopkgtest [20:14:59]: test lxd: [----------------------- Error: either "dev" is duplicate, or "ens2" is a garbage. II: Auto-init LXD... LXD has been successfully configured. II: Creating Fan Bridge... /usr/sbin/fanatic: .0.0/16: unknown underlay network format FAIL: Error on enable-fan autopkgtest [20:15:10]: test lxd: -----------------------] (https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac /autopkgtest-artful/artful/amd64/u/ubuntu- fan/20170916_203221_4f037@/log.gz) The other part failure appears to be a race with systemd-resolved in setting up the network inside of docker containers: autopkgtest [17:25:39]: test docker: [----------------------- Running in the Canonical CI environment II: Auto-create Fan Bridge... configuring fan underlay:10.220.0.0/16 overlay:250.0.0.0/8 II: Create docker Fan Network... configuring docker for underlay:10.220.0.0/16 overlay:250.0.0.0/8 (fan-250 250.4 6.84.0/24) 1c8a03aa50ab88b997c3b3aee88bfa6933b14368f1594db4a800c2ae8d62074f II: Test docker... local docker test: pulling container images ... Using default tag: latest latest: Pulling from library/ubuntu d5c6f90da05d: Pulling fs layer [...] 2b8db33536d4: Pull complete Digest: sha256:2b9285d3e340ae9d4297f83fed6a9563493945935fc787e98cc32a69f5687641 Status: Downloaded newer image for ubuntu:latest local docker test: creating test container ... 5cbdd232b71bc0738f27f1fa3eae4360716bfe3f8cea976874bf6309b1843169 slave: installing ping ... W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial/InRelease Temporary failure resolving 'archive.ubuntu.com' [...] E: Unable to locate package iputils-ping slave: installing nc ... E: Unable to locate package netcat-openbsd test master: ping test (250.46.84.2) ... test slave: ping test (250.46.84.1) ... test slave: ping test ... FAIL --- transcript start --- /bin/sh: 108: ping: not found --- transcript end --- test slave: short data test (250.46.84.2 -> 250.46.84.1) ... test master: ping test ... PASS test master: short data test (250.46.84.1 -> 250.46.84.2) ... autopkgtest [20:12:19]: ERROR: timed out on command [...] I've reproduced this problem locally and prepared a partial patch based on a similar fix to the docker.io package's autopkgtests - but so far this only fixes races in the lxd test, not in the docker test, so it needs further investigation. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-fan/+bug/1718548/+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