I switched the lines from the command above for the local series variable, and now the test passes:
autopkgtest [17:48:12]: test lxd: [-----------------------
II: Auto-init LXD...
qemu-system-x86_64: Slirp: external icmpv6 not supported yet
II: Creating Fan Bridge...
configuring fan underlay:10.0.0.0/16 overlay:250.0.0.0/8
II: Create LXD profile for Fan Bridge...
configuring LXD for underlay:10.0.0.0/16 overlay:250.0.0.0/8 (fan-250)
Profile fan-250 created
II: Test LXD...
master: detected primary route through ens3
master: DNS: systemd(10.0.2.3)
local lxd test: creating test container (Ubuntu:20.04) ...
Creating fanatic-test
Starting fanatic-test
lxd test: Waiting for addresses on eth0 ...
lxd test: Waiting for addresses on eth0 ...
lxd test: Waiting for addresses on eth0 ...
lxd test: Waiting for addresses on eth0 ...
slave: detected primary route through eth0
slave: waiting for systemd resolver...
sd_bus_open_system: No such file or directory
slave: DNS: systemd(250.2.15.1)
test master: ping test (250.2.15.202) ...
test slave: ping test (250.2.15.1) ...
test master: ping test ... PASS
test master: short data test (250.2.15.1 -> 250.2.15.202) ...
test slave: ping test ... PASS
test slave: short data test (250.2.15.202 -> 250.2.15.1) ...
test master: short data ... PASS
test master: long data test (250.2.15.1 -> 250.2.15.202) ...
test slave: short data ... PASS
test slave: long data test (250.2.15.202 -> 250.2.15.1) ...
test slave: long data ... PASS
test master: long data ... PASS
local lxd test: destroying test container ...
local lxd test: test complete PASS (master=0 slave=0)
II: Undefining LXD profile for Fan Bridge...
de-configuring LXD underlay:10.0.0.0/16 overlay:250.0.0.0/8
Profile fan-250 deleted
fan-250: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1450
inet 250.2.15.1 netmask 255.0.0.0 broadcast 0.0.0.0
inet6 fe80::e493:42ff:fed3:34ec prefixlen 64 scopeid 0x20<link>
ether e6:93:42:d3:34:ec txqueuelen 1000 (Ethernet)
RX packets 5684 bytes 166505628 (166.5 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 5922 bytes 167845841 (167.8 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
I switched the lines from the command above for the local series variable, and now the test passes:
autopkgtest [17:48:12]: test lxd: [------ ------- ------- --- 10.0.0. 0/16 overlay:250.0.0.0/8 10.0.0. 0/16 overlay:250.0.0.0/8 (fan-250) 10.0.0. 0/16 overlay:250.0.0.0/8 UP,BROADCAST, RUNNING, MULTICAST> mtu 1450 42ff:fed3: 34ec prefixlen 64 scopeid 0x20<link>
II: Auto-init LXD...
qemu-system-x86_64: Slirp: external icmpv6 not supported yet
II: Creating Fan Bridge...
configuring fan underlay:
II: Create LXD profile for Fan Bridge...
configuring LXD for underlay:
Profile fan-250 created
II: Test LXD...
master: detected primary route through ens3
master: DNS: systemd(10.0.2.3)
local lxd test: creating test container (Ubuntu:20.04) ...
Creating fanatic-test
Starting fanatic-test
lxd test: Waiting for addresses on eth0 ...
lxd test: Waiting for addresses on eth0 ...
lxd test: Waiting for addresses on eth0 ...
lxd test: Waiting for addresses on eth0 ...
slave: detected primary route through eth0
slave: waiting for systemd resolver...
sd_bus_open_system: No such file or directory
slave: DNS: systemd(250.2.15.1)
test master: ping test (250.2.15.202) ...
test slave: ping test (250.2.15.1) ...
test master: ping test ... PASS
test master: short data test (250.2.15.1 -> 250.2.15.202) ...
test slave: ping test ... PASS
test slave: short data test (250.2.15.202 -> 250.2.15.1) ...
test master: short data ... PASS
test master: long data test (250.2.15.1 -> 250.2.15.202) ...
test slave: short data ... PASS
test slave: long data test (250.2.15.202 -> 250.2.15.1) ...
test slave: long data ... PASS
test master: long data ... PASS
local lxd test: destroying test container ...
local lxd test: test complete PASS (master=0 slave=0)
II: Undefining LXD profile for Fan Bridge...
de-configuring LXD underlay:
Profile fan-250 deleted
fan-250: flags=4163<
inet 250.2.15.1 netmask 255.0.0.0 broadcast 0.0.0.0
inet6 fe80::e493:
ether e6:93:42:d3:34:ec txqueuelen 1000 (Ethernet)
RX packets 5684 bytes 166505628 (166.5 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 5922 bytes 167845841 (167.8 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
II: Removing Fan Bridge... 10.0.0. 0/16 overlay:250.0.0.0/8 ------- ------- --] @@@@@@@ @@@@@@ summary
de-configuring fan underlay:
PASS
autopkgtest [17:49:19]: test lxd: -------
autopkgtest [17:49:20]: test lxd: - - - - - - - - - - results - - - - - - - - - -
lxd PASS
autopkgtest [17:49:21]: @@@@@@@
command1 PASS
lxd PASS