Comment 1 for bug 1627641

Revision history for this message
Martin Pitt (pitti) wrote :

With the backported nplan one test case fails:

======================================================================
FAIL: test_manual_addresses (__main__.TestNetworkd)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/autopkgtest.RBASGN/build.kj6/nplan-0.12~16.04/tests/integration.py", line 458, in test_manual_addresses
    'inet6 1234']) # old static IPv6
  File "/tmp/autopkgtest.RBASGN/build.kj6/nplan-0.12~16.04/tests/integration.py", line 303, in assert_iface_up
    self.assertNotRegex(out, r, out)
AssertionError: Regex matched: 'inet 192.168.5' matches 'inet 192.168.5'

I. e. after "netplan apply" the old DHCP address from the interface does not disappear when switching to a pure "static addresses" config. This works in yakkety, and I need to investigate this first (might need a backported fix to networkd).