I was looking at the test fail in proposed migration. I realized it fails on ppc64 since 14th August 2017 (and since then it always fails, confirmed by a retry and [1] - even in Artful it fails since then).
It unfortunately fails without any message. I found in hints-ubuntu/vorlon # regressed in release; maybe related to resolved/netplan. force-badtest ifupdown/0.8.16ubuntu2/ppc64el I tried to recreate that in a VM on ppc. 1. installing ifupdown gives a valid /e/n/i to run the test 2. Test exec reproduces the issue we see in CI Verbose log + IFACE=sdtest42 + [ -e /sys/class/net/sdtest42 ] + grep -q source-directory .*interfaces.d /etc/network/interfaces + grep -q source .*interfaces.d.*cfg /etc/network/interfaces + IFACE_CFG=/etc/network/interfaces.d/sdtest42.cfg + cat + ip link add name sdtest42 type veth peer name vsdtest42 + trap ip link del dev sdtest42; rm /etc/network/interfaces.d/sdtest42.cfg EXIT INT QUIT PIPE + sleep 3 + ifquery --state sdtest42 + ip link del dev sdtest42 + rm /etc/network/interfaces.d/sdtest42.cfg That means the ifquery fails, and the set -e triggers the trap => No message, buu RC=1 Comparing x86/ppc on this in detail 1. VM fresh from cloud image (20180321) => no /etc/network/interfaces 2. installed (current) ifupdown $ cat /etc/network/interfaces # interfaces(5) file used by ifup(8) and ifdown(8) # Include files from /etc/network/interfaces.d: source-directory /etc/network/interfaces.d 3. purged ifupdown leaves e/n/i 4. reinstall from proposed still the same e/n/i => Until here all is fine, and if installing ifupdown (on a fresh system) drops /e/n/i that explains why no test goes to the SKIP condition. 5. Set up prep steps as the test does IFACE_CFG=/etc/network/interfaces.d/sdtest42.cfg IFACE=sdtest42 cat <<EOF > $IFACE_CFG allow-hotplug $IFACE iface $IFACE inet static address 192.168.234.129 netmask 255.255.255.0 EOF => check status (before adding dev via IP) $ systemctl status -l ifup@sdtest42.service; ifquery -l --allow=hotplug; ifquery sdtest42; ● ifup@sdtest42.service - ifup for sdtest42 Loaded: loaded (/lib/systemd/system/ifup@.service; static; vendor preset: enabled) Active: inactive (dead) Unknown interface sdtest42 # The same on x86 and ppc64 6. add dev (comment says: these should trigger uevents and ifup@.service) $ ip link add name $IFACE type veth peer name v$IFACE Check status again shows it is still as dead as before. # systemctl status -l ifup@sdtest42.service; ifquery -l --allow=hotplug; ifquery sdtest42; ● ifup@sdtest42.service - ifup for sdtest42 Loaded: loaded (/lib/systemd/system/ifup@.service; static; vendor preset: enabled) Active: inactive (dead) Unknown interface sdtest42 The device itself is there after the add $ ll /sys/class/net/sdtest42 lrwxrwxrwx 1 root root 0 Mär 22 07:20 /sys/class/net/sdtest42 -> ../../devices/virtual/net/sdtest42/ ifquery does not find the device config (here as it should look like on xenial): $ ifquery sdtest42 address: 192.168.234.129 netmask: 255.255.255.0 broadcast: 192.168.234.255 7. I tried to fix via enabling old style networking $ systemctl disable systemd-networkd.socket $ systemctl stop systemd-networkd $ systemctl restart networking But it is still behaving the same. It should fail on all architecture targets just the same. Currently I assume that the non-x86 CI-test targets have some setup done to let them behave more like they did in the past. I can't see it yet in my clean test environment, so no fix for today. Instead for now lets bump the test hint (and add a bugno to this one so that the next taking a look has this pre-check available). MP with that change available at [2]. [1]: http://autopkgtest.ubuntu.com/packages/ifupdown/bionic/ppc64el [2]: https://code.launchpad.net/~paelzer/britney/hints-ubuntu-ifupdown-18.04/+merge/341883 ** Branch linked: lp:~paelzer/britney/hints-ubuntu-ifupdown-18.04 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ifupdown in Ubuntu. https://bugs.launchpad.net/bugs/1756846 Title: bridge-utils incompatible with ifupdown on bionic Status in ifupdown package in Ubuntu: Fix Committed Bug description: $ apt-cache policy ifupdown bridge-utils ifupdown: Installed: (none) Candidate: 0.8.16ubuntu2 Version table: 0.8.16ubuntu2 500 500 http://gb.archive.ubuntu.com/ubuntu bionic/main amd64 Packages 100 /var/lib/dpkg/status bridge-utils: Installed: 1.5-15ubuntu1 Candidate: 1.5-15ubuntu1 Version table: *** 1.5-15ubuntu1 500 500 http://gb.archive.ubuntu.com/ubuntu bionic/main amd64 Packages 100 /var/lib/dpkg/status $ sudo apt-get install ifupdown Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: rdnssd The following packages will be REMOVED bridge-utils The following NEW packages will be installed ifupdown 0 to upgrade, 1 to newly install, 1 to remove and 0 not to upgrade. Need to get 55.2 kB of archives. After this operation, 119 kB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://gb.archive.ubuntu.com/ubuntu bionic/main amd64 ifupdown amd64 0.8.16ubuntu2 [55.2 kB] Fetched 55.2 kB in 0s (1,280 kB/s) (Reading database ... 251311 files and directories currently installed.) Removing bridge-utils (1.5-15ubuntu1) ... Selecting previously unselected package ifupdown. (Reading database ... 251286 files and directories currently installed.) Preparing to unpack .../ifupdown_0.8.16ubuntu2_amd64.deb ... Unpacking ifupdown (0.8.16ubuntu2) ... Setting up ifupdown (0.8.16ubuntu2) ... Processing triggers for ureadahead (0.100.0-20) ... ureadahead will be reprofiled on next reboot Processing triggers for systemd (237-3ubuntu4) ... Processing triggers for man-db (2.8.2-1) ... $ sudo apt-get install bridge-utils Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: ifupdown The following packages will be REMOVED ifupdown The following NEW packages will be installed bridge-utils 0 to upgrade, 1 to newly install, 1 to remove and 0 not to upgrade. Need to get 0 B/30.1 kB of archives. After this operation, 119 kB disk space will be freed. Do you want to continue? [Y/n] y (Reading database ... 251318 files and directories currently installed.) Removing ifupdown (0.8.16ubuntu2) ... Selecting previously unselected package bridge-utils. (Reading database ... 251286 files and directories currently installed.) Preparing to unpack .../bridge-utils_1.5-15ubuntu1_amd64.deb ... Unpacking bridge-utils (1.5-15ubuntu1) ... Setting up bridge-utils (1.5-15ubuntu1) ... Processing triggers for man-db (2.8.2-1) ... To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1756846/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp