ubuntu-fan autopkgtests are broken against systemd-resolved
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-fan (Ubuntu) |
Triaged
|
High
|
Unassigned | ||
Xenial |
Fix Committed
|
Medium
|
Stefan Bader | ||
Zesty |
Fix Committed
|
Medium
|
Stefan Bader |
Bug Description
Now that 17.10 has migrated to netplan+
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: -------
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:
II: Create docker Fan Network...
configuring docker for underlay:
6.84.0/24)
1c8a03aa50ab88b
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:
Status: Downloaded newer image for ubuntu:latest
local docker test: creating test container ...
5cbdd232b71bc07
slave: installing ping ...
W: Failed to fetch http://
[...]
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.
Changed in ubuntu-fan (Ubuntu): | |
assignee: | nobody → Stefan Bader (smb) |
importance: | Undecided → High |
status: | New → In Progress |
Changed in ubuntu-fan (Ubuntu Xenial): | |
assignee: | nobody → Stefan Bader (smb) |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in ubuntu-fan (Ubuntu Zesty): | |
assignee: | nobody → Stefan Bader (smb) |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in ubuntu-fan (Ubuntu): | |
assignee: | Stefan Bader (smb) → nobody |
Changed in ubuntu-fan (Ubuntu Xenial): | |
status: | In Progress → Fix Committed |
Changed in ubuntu-fan (Ubuntu Zesty): | |
status: | In Progress → Fix Committed |
tags: | added: verification-needed verification-needed-zesty |
tags: | removed: verification-failed-xenial verification-needed verification-needed-zesty |
Attached is the partial patch, which should also provide insight into how to fix the docker test.