canonical-ubuntu-qa team mailing list archive
-
canonical-ubuntu-qa team
-
Mailing list archive
-
Message #04927
[Bug 2073997] Re: netplan: routing autopkgtest fails on armhf
This module had already been added to the armhf machines, but
unfortunately, things seems to have broken. It is now fixed, and should
hold much better, but here is the story.
Because of #2067633, we have to install a newer kernel on the Jammy
arm64 VM that run the LXD armhf containers. It was done with `apt
install --install-suggests linux-virtual-hwe-22.04`, to have a chain of
dependencies bringing `linux-modules-extra`. That chain of dependency,
for some reason doesn't seem to survive the upgrades (would need to be
reproduced and verified, this is just an hypothesis at this point), so I
looked for a more explicit install. After a chat with a kernel guy
(thanks @smb), I was explained that even though the name is confusing,
the package I needed was `linux-image-extra-virtual-hwe-22.04`. I've put
that in our cloud-config file [1] for long term fix, and manually
installed it for short term.
Another long term fix that was overlooked before was making sure the
module is loaded on boot [2]. That had been done manually, but for
workers that have been trashed and rebuilt, it had obviously
disappeared.
[1]: https://git.launchpad.net/autopkgtest-cloud/commit/?id=16c5efebd46eeacb804d3703e5e9fc1e095868fe
[2]: https://git.launchpad.net/autopkgtest-cloud/commit/?id=42c9eb93cf9c5634f6211923ee7847fc7142ef61
--
You received this bug notification because you are a member of
Canonical's Ubuntu QA, which is subscribed to Auto Package Testing.
https://bugs.launchpad.net/bugs/2073997
Title:
netplan: routing autopkgtest fails on armhf
Status in Auto Package Testing:
New
Status in Netplan:
Fix Committed
Status in netplan.io package in Ubuntu:
Triaged
Bug description:
The netplan armhf autopkgtest is currently blocking systemd migration.
I see the same test failure across different triggers, so I suspect a
migration-reference test will fail (which I will trigger to unblock
systemd).
The failure is the following:
1904s ======================================================================
1904s FAIL: test_vrf_basic (__main__.TestNetworkManager.test_vrf_basic)
1904s ----------------------------------------------------------------------
1904s Traceback (most recent call last):
1904s File "/tmp/autopkgtest.Cisn8W/build.sPu/src/tests/integration/routing.py", line 307, in test_vrf_basic
1904s self.generate_and_settle([self.dev_e_client])
1904s File "/tmp/autopkgtest.Cisn8W/build.sPu/src/tests/integration/base.py", line 373, in generate_and_settle
1904s self.nm_wait_connected(iface, 60)
1904s File "/tmp/autopkgtest.Cisn8W/build.sPu/src/tests/integration/base.py", line 512, in nm_wait_connected
1904s self.wait_output(['nmcli', 'dev', 'show', iface], '(connected', timeout)
1904s File "/tmp/autopkgtest.Cisn8W/build.sPu/src/tests/integration/base.py", line 509, in wait_output
1904s self.fail('timed out waiting for "{}" to appear in {}'.format(expected_output, cmd))
1904s AssertionError: timed out waiting for "(connected" to appear in ['nmcli', 'dev', 'show', 'eth42']
1904s
1904s ======================================================================
1904s FAIL: test_vrf_basic (__main__.TestNetworkd.test_vrf_basic)
1904s ----------------------------------------------------------------------
1904s Traceback (most recent call last):
1904s File "/tmp/autopkgtest.Cisn8W/build.sPu/src/tests/integration/routing.py", line 307, in test_vrf_basic
1904s self.generate_and_settle([self.dev_e_client])
1904s File "/tmp/autopkgtest.Cisn8W/build.sPu/src/tests/integration/base.py", line 375, in generate_and_settle
1904s self.networkd_wait_connected(iface, 60)
1904s File "/tmp/autopkgtest.Cisn8W/build.sPu/src/tests/integration/base.py", line 516, in networkd_wait_connected
1904s self.wait_output(['networkctl', 'status', iface], '(configured', timeout)
1904s File "/tmp/autopkgtest.Cisn8W/build.sPu/src/tests/integration/base.py", line 509, in wait_output
1904s self.fail('timed out waiting for "{}" to appear in {}'.format(expected_output, cmd))
1904s AssertionError: timed out waiting for "(configured" to appear in ['networkctl', 'status', 'eth42']
1904s
1904s ----------------------------------------------------------------------
1904s Ran 28 tests in 285.909s
1904s
1904s FAILED (failures=2, skipped=3)
1904s autopkgtest [11:27:54]: test routing: -----------------------]
I have only seen this so far on armhf, but I see it in both [1] and
[2], with python3-defaults/3.12.4-1 and systemd/256.2-1ubuntu1 as
triggers, respectively.
[1] https://autopkgtest.ubuntu.com/results/autopkgtest-oracular/oracular/armhf/n/netplan.io/20240724_120458_00bda@/log.gz
[2] https://autopkgtest.ubuntu.com/results/autopkgtest-oracular/oracular/armhf/n/netplan.io/20240723_152614_c1bcc@/log.gz
To manage notifications about this bug go to:
https://bugs.launchpad.net/auto-package-testing/+bug/2073997/+subscriptions