2.77.0 changes formatting of keyfiles
The issue was reported on https://launchpad.net/bugs/2026826
Netplan FTBFS as of the latest release of glib2.0 (2.77.0-0ubuntu1) in mantic-proposed.
Example keyfile from the test_wifis.test_wifi_wowlan test, that should be generated by Netplan and the way it fails:
Expected output:
[connection]
id=netplan-wl0-homenet
type=wifi
interface-name=wl0
[wifi]
wake-on-wlan=330
ssid=homenet
mode=infrastructure
[ipv4]
method=link-local
[ipv6]
method=ignore
Failure:
E AssertionError: '[con[88 chars]330\n\nssid=homenet\nmode=infrastructure\n[ipv[44 chars]re\n' != '[con[88 chars]330\nssid=homenet\nmode=infrastructure\n\n[ipv[44 chars]re\n'
E [connection]
E id=netplan-wl0-homenet
E type=wifi
E interface-name=wl0
E
E [wifi]
E wake-on-wlan=330
E -
E ssid=homenet
E mode=infrastructure
E +
E [ipv4]
E method=link-local
E
E [ipv6]
E method=ignore