Am 25.06.23 um 14:32 schrieb Luca Boccassi:
Package: netplan.io
Version: 0.106.1-2
Affects: systemd
X-Debbugs-Cc: [email protected]

Dear Maintainer(s),

We've uploaded src:systemd 253 to unstable last week, and netplan's
autopkgtest is consistently failing since then. Could you please help
and have a look if it looks familiar?

https://ci.debian.net/data/autopkgtest/testing/amd64/n/netplan.io/34825903/log.gz

4155s FAIL: test_mix_bridge_on_bond 
(__main__.TestNetworkManager.test_mix_bridge_on_bond)
4155s ----------------------------------------------------------------------
4155s Traceback (most recent call last):
4155s   File 
"/tmp/autopkgtest-lxc.nn_ifq7p/downtmp/build.lhL/src/tests/integration/scenarios.py",
 line 62, in test_mix_bridge_on_bond
4155s     self.assert_iface('br0', ['inet 192.168.0.2/24'])
4155s   File 
"/tmp/autopkgtest-lxc.nn_ifq7p/downtmp/build.lhL/src/tests/integration/base.py",
 line 279, in assert_iface
4155s     self.assertRegex(out, r, out)
4155s AssertionError: Regex didn't match: 'inet 192.168.0.2/24' not found in '16: 
br0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN 
group default qlen 1000
Hey, thanks for your report.

After upgrading my local debci (host VM) to bookworm, it looks like I can now 
reporduce the issue locally, when running the following command:

slyon@debci:~$ sudo autopkgtest -U netplan.io --pin-packages 
unstable=src:systemd -s --test-name=scenarios -- lxc autopkgtest-unstable-amd64

Interestingly, the issue isn't reproducable inside the failed test environment, 
e.g. when I execute the following command from within the container, it works 
just fine.

$ python3 tests/integration/scenarios.py

So this smells like the testbed not being fully ready when the first test (which happens 
to be "test_mix_bridge_on_bond") is executed. I'm still investigating.

Cheers,
  Lukas

Reply via email to