The vast majority of autopkgtest failures were infrastructure issues,
and have been resolved. However, netplan.io failures remain. Upon
inspection[1], I see the `diff` test failing with:
```
5266s
5266s ======================================================================
5266s ERROR: test_missing_interfaces
(__main__.TestNetworkManager.test_missing_interfaces)
5266s ----------------------------------------------------------------------
5266s Traceback (most recent call last):
5266s File "/tmp/autopkgtest.n6JzBL/build.wjC/src/tests/integration/diff.py",
line 114, in test_missing_interfaces
5266s diff = json.loads(subprocess.check_output(['netplan', 'status',
'--diff', '-f', 'json']))
5266s
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
5266s File "/usr/lib/python3.12/subprocess.py", line 466, in check_output
5266s return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
5266s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
5266s File "/usr/lib/python3.12/subprocess.py", line 571, in run
5266s raise CalledProcessError(retcode, process.args,
[ ... ]
```
This is easily re-produced in a noble container with systemd
255.4-1ubuntu8.9 from noble-proposed (and the issue is NOT present when
using 255.4-1ubuntu8.8). Inspecting the journal, we see that this
command triggers an assertion failure:
```
root@n:~# networkctl --json=pretty
Failed to get description: Message recipient disconnected from message bus
without replying
root@n:~# journalctl -u systemd-networkd --since="10s ago"
Jul 01 14:05:40 n systemd-networkd[1845]: Got message type=method_call
sender=:1.53 destination=org.freedesktop.network1
path=/org/freedesktop/network1 interface=org.freedesktop.DBus.Properties
member=Get cookie=2 reply_cookie=0 signatur>
Jul 01 14:05:40 n systemd-networkd[1845]: Sent message type=method_return
sender=n/a destination=:1.53 path=n/a interface=n/a member=n/a cookie=11
reply_cookie=2 signature=v error-name=n/a error-message=n/a
Jul 01 14:05:40 n systemd-networkd[1845]: Got message type=method_call
sender=:1.53 destination=org.freedesktop.network1
path=/org/freedesktop/network1 interface=org.freedesktop.network1.Manager
member=Describe cookie=3 reply_cookie=0 si>
Jul 01 14:05:40 n systemd-networkd[1845]: Assertion 'm' failed at
src/network/networkd-route-util.c:440, function
manager_get_route_table_to_string(). Aborting.
Jul 01 14:05:41 n systemd[1]: systemd-networkd.service: Main process exited,
code=dumped, status=6/ABRT
Jul 01 14:05:41 n systemd[1]: systemd-networkd.service: Failed with result
'core-dump'.
```
Now, in route_append_json() in src/network/networkd-json.c, there is the
following:
```
manager = route->link ? route->link->manager : route->manager;
assert(manager);
[ ... ]
r = manager_get_route_table_to_string(route->manager,
route->table, /* append_num = */ false, &table);
if (r < 0)
return r;
```
Namely, the call to manager_get_route_table_to_string() passes
route->manager directly, instead of manager initialized above. This
triggers the assertion failure noted in the log above.
Hence, unfortunately systemd in noble-proposed introduces a regression,
and a new upload is required to fix it.
[1] https://autopkgtest.ubuntu.com/results/autopkgtest-
noble/noble/amd64/n/netplan.io/20250626_105746_f3923@/log.gz
** Tags removed: verification-done verification-done-noble
** Tags added: regression-update verification-failed verification-failed-noble
** Tags removed: regression-update
** Tags added: regression-proposed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2098183
Title:
Preserve IPv6 configurations when `KeepConfiguration=dhcp-on-stop` is
set
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2098183/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs