Package: netplan.io / 1.1.2-8

Metadata

Package Version Patches format
netplan.io 1.1.2-8 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
python limited stable api.patch | (download)

meson.build | 2 1 + 1 - 0 !
python-cffi/netplan/meson.build | 1 1 + 0 - 0 !
2 files changed, 2 insertions(+), 1 deletion(-)

 make use of python's stable c api (abi3.so)

Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/2050881
0002 tests wifi use dhcpcd istead of deprecated ISC dhcli.patch | (download)

tests/integration/wifi.py | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 tests:wifi: use dhcpcd istead of deprecated isc dhclient

0003 tests add integration test for wifi psk sha256.patch | (download)

tests/integration/wifi.py | 37 37 + 0 - 0 !
1 file changed, 37 insertions(+)

 tests: add integration test for wifi/psk-sha256

lp2095203 0004 cli apply Ignore udevadm errors triggering devices L.patch | (download)

netplan_cli/cli/commands/apply.py | 8 7 + 1 - 0 !
1 file changed, 7 insertions(+), 1 deletion(-)

 cli:apply: ignore udevadm errors triggering devices (lp: #2095203)
 (#539)

* udevadm: Ignore errors triggering devices

Fixes LP: #2095203

Signed-off-by: Wesley Hershberger <wesley.hershberger@gmail.com>

Bug: https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/2095203
0005 tests ethernets Avoid test failure when systemd reso.patch | (download)

tests/integration/ethernets.py | 8 8 + 0 - 0 !
1 file changed, 8 insertions(+)

 tests:ethernets: avoid test failure when systemd-resolved is not
 active

When systemd-resolved is not installed or active, we see this test failure
in integration tests:

FAIL: test_manual_addresses (__main__.TestNetworkd.test_manual_addresses)
Traceback (most recent call last):
  File "/tmp/autopkgtest-lxc.hth3pnvn/downtmp/build.lIK/real-tree/tests/integration/ethernets.py", line 158, in test_manual_addresses
    self.assertRegex(resolv_conf, 'search.*fakesuffix')
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: Regex didn't match: 'search.*fakesuffix' not found in '# Generated by NetworkManager\nnameserver 2601::1\nnameserver fe80::449e:58ff:fe88:d68d%eth43\n'

Bug: https://salsa.debian.org/debian/netplan.io/-/merge_requests/17
0006 tests regressions Give more time for slow architectu.patch | (download)

tests/integration/regressions.py | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 tests:regressions: give more time for slow architectures,
 like riscv64

0007 tests integration Avoid race condition with veth MAC.patch | (download)

tests/integration/base.py | 17 12 + 5 - 0 !
1 file changed, 12 insertions(+), 5 deletions(-)

 tests:integration: avoid race condition with veth mac addresses.

When a new veth device is created via iproute2 ("ip link add ..."), the kernel
assigns a MAC address. Once udev picks up the interface, it will apply systemd
"MACAddressPolicy=permanent" default policy. But as veths cannot (by nature)
have a permanent MAC, systemd-udev will create a random (but persistent) MAC,
changing the kernel MAC.

Previously we waited for 0.1 sec to (hopefully) pick up the later system-udev
MAC, but sometimes that wasn't enough, and we still got the earlier kernel MAC,
failing certain tests cases, such as:

__main__.TestNetworkManager.test_eth_permanent_mac
__main__.TestNetworkManager.test_rename_interfaces
__main__.TestNetworkd.test_eth_permanent_mac
__main__.TestNetworkd.test_rename_interfaces

This patch drops the "time.sleep(0.1)" and instead triggers our test interfaces
and waits for settlement of those uevents via 'udevadm', to avoid race
conditions.

Bug-Debian: https://bugs.debian.org/1100907
lp2083029 fix try.patch | (download)

netplan_cli/configmanager.py | 8 7 + 1 - 0 !
src/generate.c | 17 17 + 0 - 0 !
tests/generator/base.py | 1 1 + 0 - 0 !
tests/generator/test_args.py | 6 6 + 0 - 0 !
tests/integration/base.py | 44 44 + 0 - 0 !
tests/integration/scenarios.py | 40 40 + 0 - 0 !
6 files changed, 115 insertions(+), 1 deletion(-)

 includes three commits from upstream:
 1c41e763bfa9ddc8216801259d044f92a44f8aee
 d5e21dda2f709de538a899b332ee9582f848251a
 b5b5be8ca90e2ef3b3cef625fcb3cf5639ec7ea5
 .
 This adds integration tests for `netplan try` (run during autopkgtest) and
 fixes two bugs that prevent try from applying a configuration after revert.
 .
 Backported the 'import pathlib' statement in tests/integration/base.py to
 make the linter happy.
0009 test dbus avoid dependency on dbus launch Closes 111.patch | (download)

tests/netplan_dbus/test_dbus.py | 11 4 + 7 - 0 !
1 file changed, 4 insertions(+), 7 deletions(-)

 test:dbus: avoid dependency on dbus-launch (closes: #1117099)

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1117099