Control: retitle -1 netplan.io: flaky autopkgtest: eth42 interface already
exists
On Fri, 26 Apr 2024 08:00:15 +0200 Paul Gevers
wrote:
> Source: netplan.io
> Version: 0.107.1-3
> Severity: serious
> User: debian...@lists.debian.org
> Usertags: flaky
>
> Dear maintainer(s),
>
> I looked at the results of the autopkgtest of your package. I noticed
> that it regularly fails on s390x (and maybe on armel/armhf, but
that's
> hard to tell because of the time_t fall-out).
>
> Because the unstable-to-testing migration software now blocks on
> regressions in testing, flaky tests, i.e. tests that flip between
> passing and failing without changes to the list of installed
packages,
> are causing people unrelated to your package to spend time on these
> tests.
>
> Don't hesitate to reach out if you need help and some more
information
> from our infrastructure.
>
> Paul
>
> e.g.
> https://ci.debian.net/packages/n/netplan.io/testing/s390x/45071647/
>
> 272s
==
> 272s ERROR: test_rename_interfaces
> (__main__.TestNetworkd.test_rename_interfaces)
> 272s
--
> 272s Traceback (most recent call last):
> 272s File
> "/tmp/autopkgtest-
lxc.ndthudlr/downtmp/build.hjS/src/tests/integration/base.py",
> line 177, in setUp
> 272s self.create_devices()
> 272s File
> "/tmp/autopkgtest-
lxc.ndthudlr/downtmp/build.hjS/src/tests/integration/base.py",
> line 120, in create_devices
> 272s raise SystemError('eth42 interface already exists')
> 272s SystemError: eth42 interface already exists
This is flaky on other architectures too:
359s ==
359s FAIL: test_rename_interfaces
(__main__.TestNetworkManager.test_rename_interfaces)
359s --
359s Traceback (most recent call last):
359s File
"/tmp/autopkgtest-lxc.jsi7kgt0/downtmp/build.Csh/src/tests/integration/ethernets.py",
line 253, in test_rename_interfaces
359s self.generate_and_settle(['iface1', 'iface2'])
359s File
"/tmp/autopkgtest-lxc.jsi7kgt0/downtmp/build.Csh/src/tests/integration/base.py",
line 363, in generate_and_settle
359s self.nm_wait_connected(iface, 60)
359s File
"/tmp/autopkgtest-lxc.jsi7kgt0/downtmp/build.Csh/src/tests/integration/base.py",
line 419, in nm_wait_connected
359s self.wait_output(['nmcli', 'dev', 'show', iface], '(connected',
timeout)
359s File
"/tmp/autopkgtest-lxc.jsi7kgt0/downtmp/build.Csh/src/tests/integration/base.py",
line 416, in wait_output
359s self.fail('timed out waiting for "{}" to appear in
{}'.format(expected_output, cmd))
359s AssertionError: timed out waiting for "(connected" to appear in ['nmcli',
'dev', 'show', 'iface2']
359s
359s ==
359s FAIL: test_ip6_token (__main__.TestNetworkd.test_ip6_token)
359s --
359s Traceback (most recent call last):
359s File
"/tmp/autopkgtest-lxc.jsi7kgt0/downtmp/build.Csh/src/tests/integration/ethernets.py",
line 221, in test_ip6_token
359s self.assert_iface_up(self.dev_e_client, ['inet6 2600::42/64'])
359s File
"/tmp/autopkgtest-lxc.jsi7kgt0/downtmp/build.Csh/src/tests/integration/base.py",
line 308, in assert_iface_up
359s out = self.assert_iface(iface, expected_ip_a, unexpected_ip_a)
359s
359s File
"/tmp/autopkgtest-lxc.jsi7kgt0/downtmp/build.Csh/src/tests/integration/base.py",
line 298, in assert_iface
359s self.assertRegex(out, r, out)
359s AssertionError: Regex didn't match: 'inet6 2600::42/64' not found in '81:
eth42@veth42: mtu 1500 qdisc noqueue state UP
group default qlen 1000\nlink/ether ea:67:94:09:48:31 brd ff:ff:ff:ff:ff:ff
promiscuity 0 allmulti 0 minmtu 68 maxmtu 65535 \nveth numtxqueues 64
numrxqueues 64 gso_max_size 65536 gso_max_segs 65535 tso_max_size 524280
tso_max_segs 65535 gro_max_size 65536 \ninet6 2600::19/128 scope global
dynamic noprefixroute \n valid_lft 86395sec preferred_lft 86395sec\n
inet6 fe80::e867:94ff:fe09:4831/64 scope link proto kernel_ll \n
valid_lft forever preferred_lft forever\n' : 81: eth42@veth42:
mtu 1500 qdisc noqueue state UP group default
qlen 1000
359s link/ether ea:67:94:09:48:31 brd ff:ff:ff:ff:ff:ff promiscuity 0
allmulti 0 minmtu 68 maxmtu 65535
359s veth numtxqueues 64 numrxqueues 64 gso_max_size 65536 gso_max_segs
65535 tso_max_size 524280 tso_max_segs 65535 gro_max_size 65536
359s inet6 2600::19/128 scope global dynamic noprefixroute
359svalid_lft 86395sec preferred_lft 86395sec
359s inet6 fe80::e867:94ff:fe09:4831/64 scope link proto kernel_ll
359svalid_lft forever preferred_lft forever