0s autopkgtest [14:03:38]: starting date and time: 2025-01-09 14:03:38+0000 0s autopkgtest [14:03:38]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [14:03:38]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.1o3f9a8s/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:dh-python --apt-upgrade ufw --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=dh-python/6.20250108 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-arm64-40.secgroup --name adt-plucky-arm64-ufw-20250109-140338-juju-7f2275-prod-proposed-migration-environment-2-b16d385c-4ade-4f22-b3e1-46d82a70a911 --image adt/ubuntu-plucky-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 126s autopkgtest [14:05:44]: testbed dpkg architecture: arm64 126s autopkgtest [14:05:44]: testbed apt version: 2.9.18 127s autopkgtest [14:05:45]: @@@@@@@@@@@@@@@@@@@@ test bed setup 127s autopkgtest [14:05:45]: testbed release detected to be: None 128s autopkgtest [14:05:46]: updating testbed package index (apt update) 128s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 128s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 128s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 128s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 129s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.6 kB] 129s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 129s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [760 kB] 129s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [127 kB] 129s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [243 kB] 129s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [57.8 kB] 129s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [978 kB] 129s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [11.7 kB] 129s Fetched 2278 kB in 1s (2294 kB/s) 130s Reading package lists... 131s + lsb_release --codename --short 131s + RELEASE=plucky 131s + cat 131s + [ plucky != trusty ] 131s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y --allow-downgrades -o Dpkg::Options::=--force-confnew dist-upgrade 131s Reading package lists... 131s Building dependency tree... 131s Reading state information... 132s Calculating upgrade... 132s + rm /etc/apt/preferences.d/force-downgrade-to-release.pref 132s + /usr/lib/apt/apt-helper analyze-pattern ?true 132s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 132s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y purge --autoremove ?obsolete 132s Reading package lists... 133s Building dependency tree... 133s Reading state information... 133s + grep -q trusty /etc/lsb-release 133s + [ ! -d /usr/share/doc/unattended-upgrades ] 133s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 133s + [ ! -d /usr/share/doc/lxd ] 133s + [ ! -d /usr/share/doc/lxd-client ] 133s + [ ! -d /usr/share/doc/snapd ] 133s + type iptables 133s + cat 133s + chmod 755 /etc/rc.local 133s + . /etc/rc.local 133s + iptables -w -t mangle -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 133s + iptables -A OUTPUT -d 10.255.255.1/32 -p tcp -j DROP 133s + iptables -A OUTPUT -d 10.255.255.2/32 -p tcp -j DROP 133s + uname -m 133s + [ aarch64 = ppc64le ] 133s + [ -d /run/systemd/system ] 133s + systemd-detect-virt --quiet --vm 133s + mkdir -p /etc/systemd/system/systemd-random-seed.service.d/ 133s + cat 133s + grep -q lz4 /etc/initramfs-tools/initramfs.conf 133s + echo COMPRESS=lz4 133s autopkgtest [14:05:51]: upgrading testbed (apt dist-upgrade and autopurge) 134s Reading package lists... 134s Building dependency tree... 134s Reading state information... 135s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 135s Starting 2 pkgProblemResolver with broken count: 0 135s Done 136s Entering ResolveByKeep 137s 138s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 138s Reading package lists... 139s Building dependency tree... 139s Reading state information... 139s Starting pkgProblemResolver with broken count: 0 139s Starting 2 pkgProblemResolver with broken count: 0 139s Done 140s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 143s autopkgtest [14:06:01]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 14:19:41 UTC 2024 143s autopkgtest [14:06:01]: @@@@@@@@@@@@@@@@@@@@ apt-source ufw 145s Get:1 http://ftpmaster.internal/ubuntu plucky/main ufw 0.36.2-8 (dsc) [2023 B] 145s Get:2 http://ftpmaster.internal/ubuntu plucky/main ufw 0.36.2-8 (tar) [593 kB] 145s Get:3 http://ftpmaster.internal/ubuntu plucky/main ufw 0.36.2-8 (diff) [45.8 kB] 145s gpgv: Signature made Mon Nov 4 12:25:55 2024 UTC 145s gpgv: using RSA key 4C20C06B5D8BDE688854D28A51DBDC58CC559573 145s gpgv: Can't check signature: No public key 145s dpkg-source: warning: cannot verify inline signature for ./ufw_0.36.2-8.dsc: no acceptable signature found 145s autopkgtest [14:06:03]: testing package ufw version 0.36.2-8 146s autopkgtest [14:06:04]: build needed for tests 146s command1 SKIP Test lists explicitly supported architectures, but the current architecture arm64 isn't listed. 150s Note, using directory '/tmp/autopkgtest.GibopY/build.bYR/src' to get the build dependencies 150s Reading package lists... 150s Building dependency tree... 150s Reading state information... 151s Starting pkgProblemResolver with broken count: 0 151s Starting 2 pkgProblemResolver with broken count: 0 151s Done 152s The following NEW packages will be installed: 152s autoconf automake autopoint autotools-dev build-essential cpp cpp-14 152s cpp-14-aarch64-linux-gnu cpp-aarch64-linux-gnu debhelper debugedit 152s dh-autoreconf dh-python dh-strip-nondeterminism dwz g++ g++-14 152s g++-14-aarch64-linux-gnu g++-aarch64-linux-gnu gcc gcc-14 152s gcc-14-aarch64-linux-gnu gcc-aarch64-linux-gnu gettext intltool-debian 152s libarchive-zip-perl libasan8 libcc1-0 libdebhelper-perl 152s libfile-stripnondeterminism-perl libgcc-14-dev libgomp1 libhwasan0 libisl23 152s libitm1 liblsan0 libmpc3 libstdc++-14-dev libtool libtsan2 libubsan1 m4 152s po-debconf 152s 0 upgraded, 43 newly installed, 0 to remove and 0 not upgraded. 152s Need to get 64.5 MB of archives. 152s After this operation, 220 MB of additional disk space will be used. 152s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 m4 arm64 1.4.19-4build1 [240 kB] 152s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 autoconf all 2.72-3 [382 kB] 152s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 autotools-dev all 20220109.1 [44.9 kB] 152s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 automake all 1:1.16.5-1.3ubuntu1 [558 kB] 152s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 autopoint all 0.22.5-3 [616 kB] 152s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 libisl23 arm64 0.27-1 [676 kB] 152s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 libmpc3 arm64 1.3.1-1build2 [56.8 kB] 152s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-14-aarch64-linux-gnu arm64 14.2.0-12ubuntu1 [10.6 MB] 153s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-14 arm64 14.2.0-12ubuntu1 [1032 B] 153s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [5452 B] 153s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp arm64 4:14.1.0-2ubuntu1 [22.5 kB] 153s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 libcc1-0 arm64 14.2.0-12ubuntu1 [49.6 kB] 153s Get:13 http://ftpmaster.internal/ubuntu plucky/main arm64 libgomp1 arm64 14.2.0-12ubuntu1 [145 kB] 153s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 libitm1 arm64 14.2.0-12ubuntu1 [27.7 kB] 153s Get:15 http://ftpmaster.internal/ubuntu plucky/main arm64 libasan8 arm64 14.2.0-12ubuntu1 [2896 kB] 153s Get:16 http://ftpmaster.internal/ubuntu plucky/main arm64 liblsan0 arm64 14.2.0-12ubuntu1 [1283 kB] 153s Get:17 http://ftpmaster.internal/ubuntu plucky/main arm64 libtsan2 arm64 14.2.0-12ubuntu1 [2687 kB] 153s Get:18 http://ftpmaster.internal/ubuntu plucky/main arm64 libubsan1 arm64 14.2.0-12ubuntu1 [1152 kB] 153s Get:19 http://ftpmaster.internal/ubuntu plucky/main arm64 libhwasan0 arm64 14.2.0-12ubuntu1 [1598 kB] 153s Get:20 http://ftpmaster.internal/ubuntu plucky/main arm64 libgcc-14-dev arm64 14.2.0-12ubuntu1 [2596 kB] 153s Get:21 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-14-aarch64-linux-gnu arm64 14.2.0-12ubuntu1 [20.9 MB] 154s Get:22 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-14 arm64 14.2.0-12ubuntu1 [522 kB] 154s Get:23 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [1200 B] 154s Get:24 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc arm64 4:14.1.0-2ubuntu1 [4994 B] 154s Get:25 http://ftpmaster.internal/ubuntu plucky/main arm64 libstdc++-14-dev arm64 14.2.0-12ubuntu1 [2500 kB] 154s Get:26 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-14-aarch64-linux-gnu arm64 14.2.0-12ubuntu1 [12.1 MB] 154s Get:27 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-14 arm64 14.2.0-12ubuntu1 [20.2 kB] 154s Get:28 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [958 B] 154s Get:29 http://ftpmaster.internal/ubuntu plucky/main arm64 g++ arm64 4:14.1.0-2ubuntu1 [1080 B] 154s Get:30 http://ftpmaster.internal/ubuntu plucky/main arm64 build-essential arm64 12.10ubuntu1 [4932 B] 154s Get:31 http://ftpmaster.internal/ubuntu plucky/main arm64 libdebhelper-perl all 13.20ubuntu1 [94.2 kB] 154s Get:32 http://ftpmaster.internal/ubuntu plucky/main arm64 libtool all 2.4.7-8 [166 kB] 154s Get:33 http://ftpmaster.internal/ubuntu plucky/main arm64 dh-autoreconf all 20 [16.1 kB] 154s Get:34 http://ftpmaster.internal/ubuntu plucky/main arm64 libarchive-zip-perl all 1.68-1 [90.2 kB] 154s Get:35 http://ftpmaster.internal/ubuntu plucky/main arm64 libfile-stripnondeterminism-perl all 1.14.0-1 [20.1 kB] 154s Get:36 http://ftpmaster.internal/ubuntu plucky/main arm64 dh-strip-nondeterminism all 1.14.0-1 [5058 B] 154s Get:37 http://ftpmaster.internal/ubuntu plucky/main arm64 debugedit arm64 1:5.1-1 [45.9 kB] 154s Get:38 http://ftpmaster.internal/ubuntu plucky/main arm64 dwz arm64 0.15-1build6 [113 kB] 154s Get:39 http://ftpmaster.internal/ubuntu plucky/main arm64 gettext arm64 0.22.5-3 [932 kB] 154s Get:40 http://ftpmaster.internal/ubuntu plucky/main arm64 intltool-debian all 0.35.0+20060710.6 [23.2 kB] 154s Get:41 http://ftpmaster.internal/ubuntu plucky/main arm64 po-debconf all 1.0.21+nmu1 [233 kB] 154s Get:42 http://ftpmaster.internal/ubuntu plucky/main arm64 debhelper all 13.20ubuntu1 [893 kB] 154s Get:43 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 dh-python all 6.20250108 [117 kB] 155s Fetched 64.5 MB in 3s (20.1 MB/s) 155s Selecting previously unselected package m4. 156s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 80185 files and directories currently installed.) 156s Preparing to unpack .../00-m4_1.4.19-4build1_arm64.deb ... 156s Unpacking m4 (1.4.19-4build1) ... 156s Selecting previously unselected package autoconf. 156s Preparing to unpack .../01-autoconf_2.72-3_all.deb ... 156s Unpacking autoconf (2.72-3) ... 156s Selecting previously unselected package autotools-dev. 156s Preparing to unpack .../02-autotools-dev_20220109.1_all.deb ... 156s Unpacking autotools-dev (20220109.1) ... 156s Selecting previously unselected package automake. 156s Preparing to unpack .../03-automake_1%3a1.16.5-1.3ubuntu1_all.deb ... 156s Unpacking automake (1:1.16.5-1.3ubuntu1) ... 156s Selecting previously unselected package autopoint. 156s Preparing to unpack .../04-autopoint_0.22.5-3_all.deb ... 156s Unpacking autopoint (0.22.5-3) ... 156s Selecting previously unselected package libisl23:arm64. 156s Preparing to unpack .../05-libisl23_0.27-1_arm64.deb ... 156s Unpacking libisl23:arm64 (0.27-1) ... 156s Selecting previously unselected package libmpc3:arm64. 156s Preparing to unpack .../06-libmpc3_1.3.1-1build2_arm64.deb ... 156s Unpacking libmpc3:arm64 (1.3.1-1build2) ... 156s Selecting previously unselected package cpp-14-aarch64-linux-gnu. 156s Preparing to unpack .../07-cpp-14-aarch64-linux-gnu_14.2.0-12ubuntu1_arm64.deb ... 156s Unpacking cpp-14-aarch64-linux-gnu (14.2.0-12ubuntu1) ... 156s Selecting previously unselected package cpp-14. 156s Preparing to unpack .../08-cpp-14_14.2.0-12ubuntu1_arm64.deb ... 156s Unpacking cpp-14 (14.2.0-12ubuntu1) ... 156s Selecting previously unselected package cpp-aarch64-linux-gnu. 156s Preparing to unpack .../09-cpp-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 156s Unpacking cpp-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 156s Selecting previously unselected package cpp. 156s Preparing to unpack .../10-cpp_4%3a14.1.0-2ubuntu1_arm64.deb ... 156s Unpacking cpp (4:14.1.0-2ubuntu1) ... 156s Selecting previously unselected package libcc1-0:arm64. 156s Preparing to unpack .../11-libcc1-0_14.2.0-12ubuntu1_arm64.deb ... 156s Unpacking libcc1-0:arm64 (14.2.0-12ubuntu1) ... 156s Selecting previously unselected package libgomp1:arm64. 156s Preparing to unpack .../12-libgomp1_14.2.0-12ubuntu1_arm64.deb ... 156s Unpacking libgomp1:arm64 (14.2.0-12ubuntu1) ... 156s Selecting previously unselected package libitm1:arm64. 156s Preparing to unpack .../13-libitm1_14.2.0-12ubuntu1_arm64.deb ... 156s Unpacking libitm1:arm64 (14.2.0-12ubuntu1) ... 156s Selecting previously unselected package libasan8:arm64. 156s Preparing to unpack .../14-libasan8_14.2.0-12ubuntu1_arm64.deb ... 156s Unpacking libasan8:arm64 (14.2.0-12ubuntu1) ... 157s Selecting previously unselected package liblsan0:arm64. 157s Preparing to unpack .../15-liblsan0_14.2.0-12ubuntu1_arm64.deb ... 157s Unpacking liblsan0:arm64 (14.2.0-12ubuntu1) ... 157s Selecting previously unselected package libtsan2:arm64. 157s Preparing to unpack .../16-libtsan2_14.2.0-12ubuntu1_arm64.deb ... 157s Unpacking libtsan2:arm64 (14.2.0-12ubuntu1) ... 157s Selecting previously unselected package libubsan1:arm64. 157s Preparing to unpack .../17-libubsan1_14.2.0-12ubuntu1_arm64.deb ... 157s Unpacking libubsan1:arm64 (14.2.0-12ubuntu1) ... 157s Selecting previously unselected package libhwasan0:arm64. 157s Preparing to unpack .../18-libhwasan0_14.2.0-12ubuntu1_arm64.deb ... 157s Unpacking libhwasan0:arm64 (14.2.0-12ubuntu1) ... 157s Selecting previously unselected package libgcc-14-dev:arm64. 157s Preparing to unpack .../19-libgcc-14-dev_14.2.0-12ubuntu1_arm64.deb ... 157s Unpacking libgcc-14-dev:arm64 (14.2.0-12ubuntu1) ... 157s Selecting previously unselected package gcc-14-aarch64-linux-gnu. 157s Preparing to unpack .../20-gcc-14-aarch64-linux-gnu_14.2.0-12ubuntu1_arm64.deb ... 157s Unpacking gcc-14-aarch64-linux-gnu (14.2.0-12ubuntu1) ... 157s Selecting previously unselected package gcc-14. 157s Preparing to unpack .../21-gcc-14_14.2.0-12ubuntu1_arm64.deb ... 157s Unpacking gcc-14 (14.2.0-12ubuntu1) ... 157s Selecting previously unselected package gcc-aarch64-linux-gnu. 157s Preparing to unpack .../22-gcc-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 157s Unpacking gcc-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 157s Selecting previously unselected package gcc. 157s Preparing to unpack .../23-gcc_4%3a14.1.0-2ubuntu1_arm64.deb ... 157s Unpacking gcc (4:14.1.0-2ubuntu1) ... 157s Selecting previously unselected package libstdc++-14-dev:arm64. 157s Preparing to unpack .../24-libstdc++-14-dev_14.2.0-12ubuntu1_arm64.deb ... 157s Unpacking libstdc++-14-dev:arm64 (14.2.0-12ubuntu1) ... 158s Selecting previously unselected package g++-14-aarch64-linux-gnu. 158s Preparing to unpack .../25-g++-14-aarch64-linux-gnu_14.2.0-12ubuntu1_arm64.deb ... 158s Unpacking g++-14-aarch64-linux-gnu (14.2.0-12ubuntu1) ... 158s Selecting previously unselected package g++-14. 158s Preparing to unpack .../26-g++-14_14.2.0-12ubuntu1_arm64.deb ... 158s Unpacking g++-14 (14.2.0-12ubuntu1) ... 158s Selecting previously unselected package g++-aarch64-linux-gnu. 158s Preparing to unpack .../27-g++-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 158s Unpacking g++-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 158s Selecting previously unselected package g++. 158s Preparing to unpack .../28-g++_4%3a14.1.0-2ubuntu1_arm64.deb ... 158s Unpacking g++ (4:14.1.0-2ubuntu1) ... 158s Selecting previously unselected package build-essential. 158s Preparing to unpack .../29-build-essential_12.10ubuntu1_arm64.deb ... 158s Unpacking build-essential (12.10ubuntu1) ... 158s Selecting previously unselected package libdebhelper-perl. 158s Preparing to unpack .../30-libdebhelper-perl_13.20ubuntu1_all.deb ... 158s Unpacking libdebhelper-perl (13.20ubuntu1) ... 158s Selecting previously unselected package libtool. 158s Preparing to unpack .../31-libtool_2.4.7-8_all.deb ... 158s Unpacking libtool (2.4.7-8) ... 158s Selecting previously unselected package dh-autoreconf. 158s Preparing to unpack .../32-dh-autoreconf_20_all.deb ... 158s Unpacking dh-autoreconf (20) ... 158s Selecting previously unselected package libarchive-zip-perl. 158s Preparing to unpack .../33-libarchive-zip-perl_1.68-1_all.deb ... 158s Unpacking libarchive-zip-perl (1.68-1) ... 158s Selecting previously unselected package libfile-stripnondeterminism-perl. 158s Preparing to unpack .../34-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... 158s Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... 158s Selecting previously unselected package dh-strip-nondeterminism. 158s Preparing to unpack .../35-dh-strip-nondeterminism_1.14.0-1_all.deb ... 158s Unpacking dh-strip-nondeterminism (1.14.0-1) ... 158s Selecting previously unselected package debugedit. 158s Preparing to unpack .../36-debugedit_1%3a5.1-1_arm64.deb ... 158s Unpacking debugedit (1:5.1-1) ... 158s Selecting previously unselected package dwz. 158s Preparing to unpack .../37-dwz_0.15-1build6_arm64.deb ... 158s Unpacking dwz (0.15-1build6) ... 158s Selecting previously unselected package gettext. 158s Preparing to unpack .../38-gettext_0.22.5-3_arm64.deb ... 158s Unpacking gettext (0.22.5-3) ... 158s Selecting previously unselected package intltool-debian. 158s Preparing to unpack .../39-intltool-debian_0.35.0+20060710.6_all.deb ... 158s Unpacking intltool-debian (0.35.0+20060710.6) ... 158s Selecting previously unselected package po-debconf. 158s Preparing to unpack .../40-po-debconf_1.0.21+nmu1_all.deb ... 158s Unpacking po-debconf (1.0.21+nmu1) ... 158s Selecting previously unselected package debhelper. 158s Preparing to unpack .../41-debhelper_13.20ubuntu1_all.deb ... 158s Unpacking debhelper (13.20ubuntu1) ... 158s Selecting previously unselected package dh-python. 159s Preparing to unpack .../42-dh-python_6.20250108_all.deb ... 159s Unpacking dh-python (6.20250108) ... 159s Setting up dh-python (6.20250108) ... 159s Setting up libarchive-zip-perl (1.68-1) ... 159s Setting up libdebhelper-perl (13.20ubuntu1) ... 159s Setting up m4 (1.4.19-4build1) ... 159s Setting up libgomp1:arm64 (14.2.0-12ubuntu1) ... 159s Setting up autotools-dev (20220109.1) ... 159s Setting up libmpc3:arm64 (1.3.1-1build2) ... 159s Setting up autopoint (0.22.5-3) ... 159s Setting up autoconf (2.72-3) ... 159s Setting up libubsan1:arm64 (14.2.0-12ubuntu1) ... 159s Setting up dwz (0.15-1build6) ... 159s Setting up libhwasan0:arm64 (14.2.0-12ubuntu1) ... 159s Setting up libasan8:arm64 (14.2.0-12ubuntu1) ... 159s Setting up debugedit (1:5.1-1) ... 159s Setting up libtsan2:arm64 (14.2.0-12ubuntu1) ... 159s Setting up libisl23:arm64 (0.27-1) ... 159s Setting up libcc1-0:arm64 (14.2.0-12ubuntu1) ... 159s Setting up liblsan0:arm64 (14.2.0-12ubuntu1) ... 159s Setting up libitm1:arm64 (14.2.0-12ubuntu1) ... 159s Setting up automake (1:1.16.5-1.3ubuntu1) ... 159s update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode 159s Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... 159s Setting up gettext (0.22.5-3) ... 159s Setting up intltool-debian (0.35.0+20060710.6) ... 159s Setting up dh-strip-nondeterminism (1.14.0-1) ... 159s Setting up cpp-14-aarch64-linux-gnu (14.2.0-12ubuntu1) ... 159s Setting up libgcc-14-dev:arm64 (14.2.0-12ubuntu1) ... 159s Setting up libstdc++-14-dev:arm64 (14.2.0-12ubuntu1) ... 159s Setting up po-debconf (1.0.21+nmu1) ... 159s Setting up cpp-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 159s Setting up cpp-14 (14.2.0-12ubuntu1) ... 159s Setting up cpp (4:14.1.0-2ubuntu1) ... 159s Setting up gcc-14-aarch64-linux-gnu (14.2.0-12ubuntu1) ... 159s Setting up gcc-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 159s Setting up g++-14-aarch64-linux-gnu (14.2.0-12ubuntu1) ... 159s Setting up gcc-14 (14.2.0-12ubuntu1) ... 159s Setting up g++-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 159s Setting up g++-14 (14.2.0-12ubuntu1) ... 159s Setting up libtool (2.4.7-8) ... 159s Setting up gcc (4:14.1.0-2ubuntu1) ... 159s Setting up dh-autoreconf (20) ... 159s Setting up g++ (4:14.1.0-2ubuntu1) ... 159s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 159s Setting up build-essential (12.10ubuntu1) ... 159s Setting up debhelper (13.20ubuntu1) ... 159s Processing triggers for install-info (7.1.1-1) ... 159s Processing triggers for libc-bin (2.40-4ubuntu1) ... 159s Processing triggers for man-db (2.13.0-1) ... 161s Reading package lists... 161s Building dependency tree... 161s Reading state information... 161s Starting pkgProblemResolver with broken count: 0 161s Starting 2 pkgProblemResolver with broken count: 0 161s Done 162s The following NEW packages will be installed: 162s fakeroot libfakeroot 162s 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. 162s Need to get 101 kB of archives. 162s After this operation, 465 kB of additional disk space will be used. 162s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 libfakeroot arm64 1.36.2-1 [33.5 kB] 162s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 fakeroot arm64 1.36.2-1 [67.1 kB] 163s Fetched 101 kB in 0s (289 kB/s) 163s Selecting previously unselected package libfakeroot:arm64. 163s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 82475 files and directories currently installed.) 163s Preparing to unpack .../libfakeroot_1.36.2-1_arm64.deb ... 163s Unpacking libfakeroot:arm64 (1.36.2-1) ... 163s Selecting previously unselected package fakeroot. 163s Preparing to unpack .../fakeroot_1.36.2-1_arm64.deb ... 163s Unpacking fakeroot (1.36.2-1) ... 163s Setting up libfakeroot:arm64 (1.36.2-1) ... 163s Setting up fakeroot (1.36.2-1) ... 163s update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode 163s Processing triggers for man-db (2.13.0-1) ... 163s Processing triggers for libc-bin (2.40-4ubuntu1) ... 164s dpkg-buildpackage: info: source package ufw 164s dpkg-buildpackage: info: source version 0.36.2-8 164s dpkg-buildpackage: info: source distribution unstable 164s dpkg-buildpackage: info: source changed by Jamie Strandboge 164s dpkg-source --before-build . 164s dpkg-buildpackage: info: host architecture arm64 164s dpkg-source: warning: unknown information field 'Python-Version' in input data in binary package stanza of template control file 164s fakeroot debian/rules clean 164s py3versions: no X-Python3-Version in control file, using supported versions 164s dh_testdir 164s dh_testroot 164s rm -f build-stamp 164s make clean 164s make[1]: Entering directory '/tmp/autopkgtest.GibopY/build.bYR/src' 164s rm -rf ./build 164s rm -rf ./staging 164s rm -rf ./tests/testarea ./tests/unit/tmp 164s rm -rf ./tmp 164s rm -rf ./snap-build 164s rm -rf ./parts ./stage ./prime 164s rm -f ./locales/mo/*.mo 164s rm -f ./tests/unit/*.pyc ./tests/*.pyc ./src/*.pyc 164s rm -rf ./tests/unit/__pycache__ ./tests/__pycache__ ./src/__pycache__ 164s rm -rf ./.coverage 164s rm -f ./ufw # unittest symlink 164s make[1]: Leaving directory '/tmp/autopkgtest.GibopY/build.bYR/src' 164s find . -name '*.py[co]' | xargs rm -f 164s dh_clean 164s debconf-updatepo 165s debian/rules build 165s py3versions: no X-Python3-Version in control file, using supported versions 165s dh_testdir 165s touch build-stamp 165s fakeroot debian/rules binary 165s py3versions: no X-Python3-Version in control file, using supported versions 165s dh_testdir 165s dh_testroot 165s dh_prep 165s dh_installdirs 165s /usr/bin/python3 ./setup.py install --root=/tmp/autopkgtest.GibopY/build.bYR/src/debian/tmp --install-layout=deb 165s make[1]: Entering directory '/tmp/autopkgtest.GibopY/build.bYR/src' 165s make -C locales all 165s make[2]: Entering directory '/tmp/autopkgtest.GibopY/build.bYR/src/locales' 165s for pofile in `ls po/*.po`; do \ 165s lang=$(basename $pofile .po); \ 165s echo "msgfmt -c -o mo/$lang.mo po/$lang.po"; \ 165s formatted=`msgfmt -c -o mo/$lang.mo po/$lang.po 2>&1 | grep fatal` ; \ 165s if [ "$formatted" != "" ]; then \ 165s exit 1; \ 165s fi; \ 165s done; \ 165s 165s msgfmt -c -o mo/ar.mo po/ar.po 165s msgfmt -c -o mo/ast.mo po/ast.po 165s msgfmt -c -o mo/bg.mo po/bg.po 165s msgfmt -c -o mo/bs.mo po/bs.po 165s msgfmt -c -o mo/ca.mo po/ca.po 165s msgfmt -c -o mo/ce.mo po/ce.po 165s msgfmt -c -o mo/cs.mo po/cs.po 165s msgfmt -c -o mo/da.mo po/da.po 165s msgfmt -c -o mo/de.mo po/de.po 165s msgfmt -c -o mo/el.mo po/el.po 165s msgfmt -c -o mo/en_AU.mo po/en_AU.po 165s msgfmt -c -o mo/en_GB.mo po/en_GB.po 165s msgfmt -c -o mo/es.mo po/es.po 165s msgfmt -c -o mo/et.mo po/et.po 165s msgfmt -c -o mo/fi.mo po/fi.po 165s msgfmt -c -o mo/fr.mo po/fr.po 165s msgfmt -c -o mo/he.mo po/he.po 165s msgfmt -c -o mo/hu.mo po/hu.po 165s msgfmt -c -o mo/id.mo po/id.po 165s msgfmt -c -o mo/it.mo po/it.po 166s msgfmt -c -o mo/ja.mo po/ja.po 166s msgfmt -c -o mo/ko.mo po/ko.po 166s msgfmt -c -o mo/lv.mo po/lv.po 166s msgfmt -c -o mo/nb.mo po/nb.po 166s msgfmt -c -o mo/nl.mo po/nl.po 166s msgfmt -c -o mo/pl.mo po/pl.po 166s msgfmt -c -o mo/pt.mo po/pt.po 166s msgfmt -c -o mo/pt_BR.mo po/pt_BR.po 166s msgfmt -c -o mo/ro.mo po/ro.po 166s msgfmt -c -o mo/ru.mo po/ru.po 166s msgfmt -c -o mo/se.mo po/se.po 166s msgfmt -c -o mo/sk.mo po/sk.po 166s msgfmt -c -o mo/sl.mo po/sl.po 166s msgfmt -c -o mo/sr.mo po/sr.po 166s msgfmt -c -o mo/sv.mo po/sv.po 166s msgfmt -c -o mo/tl.mo po/tl.po 166s msgfmt -c -o mo/tr.mo po/tr.po 166s msgfmt -c -o mo/uk.mo po/uk.po 166s msgfmt -c -o mo/ur.mo po/ur.po 166s msgfmt -c -o mo/zh_CN.mo po/zh_CN.po 166s msgfmt -c -o mo/zh_TW.mo po/zh_TW.po 166s make[2]: Leaving directory '/tmp/autopkgtest.GibopY/build.bYR/src/locales' 166s make[1]: Leaving directory '/tmp/autopkgtest.GibopY/build.bYR/src' 166s Found '/usr/sbin/iptables' 166s Found '/usr/sbin/iptables' version '1.8.10' 166s Updating staging/common.py 166s Updating staging/ufw to use /usr/bin/python3 166s Updating /tmp/autopkgtest.GibopY/build.bYR/src/debian/tmp/etc/default/ufw 166s Updating /tmp/autopkgtest.GibopY/build.bYR/src/debian/tmp/etc/ufw/ufw.conf 166s Updating /tmp/autopkgtest.GibopY/build.bYR/src/debian/tmp/etc/ufw/before.rules 166s Updating /tmp/autopkgtest.GibopY/build.bYR/src/debian/tmp/etc/ufw/after.rules 166s Updating /tmp/autopkgtest.GibopY/build.bYR/src/debian/tmp/etc/ufw/before6.rules 166s Updating /tmp/autopkgtest.GibopY/build.bYR/src/debian/tmp/etc/ufw/after6.rules 166s Updating /tmp/autopkgtest.GibopY/build.bYR/src/debian/tmp/usr/sbin/ufw 166s Updating /tmp/autopkgtest.GibopY/build.bYR/src/debian/tmp/usr/share/man/man8/ufw.8 166s Updating /tmp/autopkgtest.GibopY/build.bYR/src/debian/tmp/usr/share/man/man8/ufw-framework.8 166s Updating /tmp/autopkgtest.GibopY/build.bYR/src/debian/tmp/etc/ufw/sysctl.conf 166s Updating /tmp/autopkgtest.GibopY/build.bYR/src/debian/tmp/lib/ufw/ufw-init 166s Updating /tmp/autopkgtest.GibopY/build.bYR/src/debian/tmp/lib/ufw/ufw-init-functions 166s Updating /tmp/autopkgtest.GibopY/build.bYR/src/debian/tmp/etc/ufw/before.init 166s Updating /tmp/autopkgtest.GibopY/build.bYR/src/debian/tmp/etc/ufw/after.init 166s # these shouldn't be conffiles 166s mv /tmp/autopkgtest.GibopY/build.bYR/src/debian/tmp/etc/ufw/ufw.conf /tmp/autopkgtest.GibopY/build.bYR/src/debian/tmp/usr/share/ufw 166s mv /tmp/autopkgtest.GibopY/build.bYR/src/debian/tmp/etc/ufw/*.init /tmp/autopkgtest.GibopY/build.bYR/src/debian/tmp/usr/share/ufw 166s # these shouldn't be conffiles either, but we'll use the rules from 166s # /usr/share/ufw/iptables so just delete these and we'll use dh_link 166s # later 166s rm -f /tmp/autopkgtest.GibopY/build.bYR/src/debian/tmp/etc/ufw/*.rules 166s rm -f /tmp/autopkgtest.GibopY/build.bYR/src/debian/tmp/lib/ufw/*.rules 166s dh_link 166s # Rename and install the shell-completion file 166s cp /tmp/autopkgtest.GibopY/build.bYR/src/shell-completion/bash /tmp/autopkgtest.GibopY/build.bYR/src/debian/ufw/usr/share/bash-completion/completions/ufw 166s dh_testdir 166s dh_testroot 166s dh_installchangelogs 166s dh_installchangelogs ChangeLog 166s dh_installdocs 166s dh_installdocs README 166s dh_installexamples doc/skel-ui.example 166s dh_install 166s dh_installinit --no-start --no-stop-on-upgrade 166s # don't start the service on on install/upgrade and don't stop the 166s # service on upgrade 166s dh_installsystemd --no-start --no-stop-on-upgrade --no-restart-on-upgrade 166s dh_installlogrotate 167s dh_installman 167s dh_installdebconf 167s dh_lintian 167s : # Replace all '#!' calls to python with /usr/bin/python3 167s : # and make them executable 167s for i in `find debian -mindepth 3 -type f`; do \ 167s sed '1s,#!.*python[^ ]*\(.*\),#! /usr/bin/python3\1,' \ 167s $i > $i.temp; \ 167s if cmp --quiet $i $i.temp; then \ 167s rm -f $i.temp; \ 167s else \ 167s mv -f $i.temp $i; \ 167s chmod 755 $i; \ 167s echo "fixed interpreter: $i"; \ 167s fi; \ 167s done 167s fixed interpreter: debian/ufw/usr/sbin/ufw 167s fixed interpreter: debian/ufw/usr/share/doc/ufw/examples/skel-ui.example 168s fixed interpreter: debian/tmp/usr/sbin/ufw 168s # Don't install profiles on Ubuntu 168s if dpkg-vendor --is ubuntu; then \ 168s rm -f /tmp/autopkgtest.GibopY/build.bYR/src/debian/ufw/etc/ufw/applications.d/ufw-* ; \ 168s fi 168s dh_python3 -p ufw 168s dh_compress 168s dh_fixperms 169s dh_installdeb 169s dh_gencontrol 169s dpkg-gencontrol: warning: unknown information field 'Python-Version' in input data in binary package stanza of template control file 169s dh_md5sums 169s dh_builddeb 169s dpkg-deb: building package 'ufw' in '../ufw_0.36.2-8_all.deb'. 169s dpkg-genbuildinfo --build=binary -O../ufw_0.36.2-8_arm64.buildinfo 169s dpkg-genchanges --build=binary -O../ufw_0.36.2-8_arm64.changes 170s dpkg-genchanges: warning: unknown information field 'Python-Version' in input data in binary package stanza of template control file 170s dpkg-genchanges: info: binary-only upload (no source code included) 170s dpkg-source --after-build . 170s dpkg-source: warning: unknown information field 'Python-Version' in input data in binary package stanza of template control file 170s dpkg-buildpackage: info: binary-only upload (no source included) 170s dpkg-source: warning: unknown information field 'Python-Version' in input data in binary package stanza of template control file 172s command1 SKIP Test lists explicitly supported architectures, but the current architecture arm64 isn't listed. 172s autopkgtest [14:06:30]: test test-ufw.py: preparing testbed 317s autopkgtest [14:08:55]: testbed dpkg architecture: arm64 317s autopkgtest [14:08:55]: testbed apt version: 2.9.18 318s autopkgtest [14:08:56]: @@@@@@@@@@@@@@@@@@@@ test bed setup 318s autopkgtest [14:08:56]: testbed release detected to be: plucky 318s autopkgtest [14:08:56]: updating testbed package index (apt update) 319s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 319s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 319s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 319s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 319s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [127 kB] 319s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 319s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [760 kB] 319s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.6 kB] 319s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [243 kB] 319s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [57.8 kB] 319s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [978 kB] 320s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [11.7 kB] 320s Fetched 2278 kB in 1s (2336 kB/s) 320s Reading package lists... 321s + lsb_release --codename --short 321s + RELEASE=plucky 321s + cat 321s + [ plucky != trusty ] 321s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y --allow-downgrades -o Dpkg::Options::=--force-confnew dist-upgrade 321s Reading package lists... 321s Building dependency tree... 321s Reading state information... 322s Calculating upgrade... 322s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 322s + rm /etc/apt/preferences.d/force-downgrade-to-release.pref 322s + /usr/lib/apt/apt-helper analyze-pattern ?true 322s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y purge --autoremove ?obsolete 322s Reading package lists... 323s Building dependency tree... 323s Reading state information... 323s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 323s + grep -q trusty /etc/lsb-release 323s + [ ! -d /usr/share/doc/unattended-upgrades ] 323s + [ ! -d /usr/share/doc/lxd ] 323s + [ ! -d /usr/share/doc/lxd-client ] 323s + [ ! -d /usr/share/doc/snapd ] 323s + type iptables 323s + cat 323s + chmod 755 /etc/rc.local 323s + . /etc/rc.local 323s + iptables -w -t mangle -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 323s + iptables -A OUTPUT -d 10.255.255.1/32 -p tcp -j DROP 323s + iptables -A OUTPUT -d 10.255.255.2/32 -p tcp -j DROP 323s + uname -m 323s + [ aarch64 = ppc64le ] 323s + [ -d /run/systemd/system ] 323s + systemd-detect-virt --quiet --vm 323s + mkdir -p /etc/systemd/system/systemd-random-seed.service.d/ 323s + cat 323s + grep -q lz4 /etc/initramfs-tools/initramfs.conf 323s + echo COMPRESS=lz4 323s autopkgtest [14:09:01]: upgrading testbed (apt dist-upgrade and autopurge) 324s Reading package lists... 324s Building dependency tree... 324s Reading state information... 324s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 324s Starting 2 pkgProblemResolver with broken count: 0 324s Done 325s Entering ResolveByKeep 325s 326s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 326s Reading package lists... 326s Building dependency tree... 326s Reading state information... 327s Starting pkgProblemResolver with broken count: 0 327s Starting 2 pkgProblemResolver with broken count: 0 327s Done 327s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 330s Reading package lists... 331s Building dependency tree... 331s Reading state information... 331s Starting pkgProblemResolver with broken count: 0 331s Starting 2 pkgProblemResolver with broken count: 0 331s Done 332s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 335s autopkgtest [14:09:13]: test test-ufw.py: [----------------------- 336s test_enable_disable (__main__.UfwTestAuto.test_enable_disable) 337s Test enable/disable ... ok 337s test_logging (__main__.UfwTestAuto.test_logging) 339s Test logging ... ok 340s test_requirements (__main__.UfwTestAuto.test_requirements) ... ok 340s test_service (__main__.UfwTestAuto.test_service) 341s Test service/proto ... ok 341s test_enable_disable (__main__.UfwTestNft.test_enable_disable) 343s Test enable/disable ... ok 343s test_logging (__main__.UfwTestNft.test_logging) 344s Test logging ... ok 345s test_requirements (__main__.UfwTestNft.test_requirements) ... ok 345s test_service (__main__.UfwTestNft.test_service) 346s Test service/proto ... ok 346s test_enable_disable (__main__.UfwTestLegacy.test_enable_disable) 347s Test enable/disable ... ok 347s test_logging (__main__.UfwTestLegacy.test_logging) 348s Test logging ... ok 348s test_requirements (__main__.UfwTestLegacy.test_requirements) ... ok 348s test_service (__main__.UfwTestLegacy.test_service) 349s Test service/proto ... ok 349s 349s ---------------------------------------------------------------------- 349s Ran 12 tests in 13.430s 349s 349s OK 349s autopkgtest [14:09:27]: test test-ufw.py: -----------------------] 350s autopkgtest [14:09:28]: test test-ufw.py: - - - - - - - - - - results - - - - - - - - - - 350s test-ufw.py PASS 350s autopkgtest [14:09:28]: test root-unittest: preparing testbed 504s autopkgtest [14:12:02]: testbed dpkg architecture: arm64 504s autopkgtest [14:12:02]: testbed apt version: 2.9.18 504s autopkgtest [14:12:02]: @@@@@@@@@@@@@@@@@@@@ test bed setup 504s autopkgtest [14:12:02]: testbed release detected to be: plucky 505s autopkgtest [14:12:03]: updating testbed package index (apt update) 506s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 506s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 506s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 506s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 506s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [760 kB] 506s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 506s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [127 kB] 506s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.6 kB] 506s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [243 kB] 506s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [57.8 kB] 506s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [978 kB] 506s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [11.7 kB] 507s Fetched 2278 kB in 1s (2308 kB/s) 507s Reading package lists... 508s + lsb_release --codename --short 508s + RELEASE=plucky 508s + cat 508s + [ plucky != trusty ] 508s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y --allow-downgrades -o Dpkg::Options::=--force-confnew dist-upgrade 508s Reading package lists... 508s Building dependency tree... 508s Reading state information... 509s Calculating upgrade... 509s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 509s + rm /etc/apt/preferences.d/force-downgrade-to-release.pref 509s + /usr/lib/apt/apt-helper analyze-pattern ?true 509s + DEBIAN_FRONTEND=noninteractive eatmydata apt-get -y purge --autoremove ?obsolete 510s Reading package lists... 510s Building dependency tree... 510s Reading state information... 510s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 510s + grep -q trusty /etc/lsb-release 510s + [ ! -d /usr/share/doc/unattended-upgrades ] 510s + [ ! -d /usr/share/doc/lxd ] 510s + [ ! -d /usr/share/doc/lxd-client ] 510s + [ ! -d /usr/share/doc/snapd ] 510s + type iptables 510s + cat 510s + chmod 755 /etc/rc.local 510s + . /etc/rc.local 510s + iptables -w -t mangle -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu 510s + iptables -A OUTPUT -d 10.255.255.1/32 -p tcp -j DROP 510s + iptables -A OUTPUT -d 10.255.255.2/32 -p tcp -j DROP 510s + uname -m 510s + [ aarch64 = ppc64le ] 510s + [ -d /run/systemd/system ] 510s + systemd-detect-virt --quiet --vm 510s + mkdir -p /etc/systemd/system/systemd-random-seed.service.d/ 510s + cat 510s + grep -q lz4 /etc/initramfs-tools/initramfs.conf 510s + echo COMPRESS=lz4 510s autopkgtest [14:12:08]: upgrading testbed (apt dist-upgrade and autopurge) 511s Reading package lists... 511s Building dependency tree... 511s Reading state information... 511s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 512s Starting 2 pkgProblemResolver with broken count: 0 512s Done 512s Entering ResolveByKeep 513s 513s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 514s Reading package lists... 514s Building dependency tree... 514s Reading state information... 514s Starting pkgProblemResolver with broken count: 0 514s Starting 2 pkgProblemResolver with broken count: 0 514s Done 515s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 518s Reading package lists... 518s Building dependency tree... 518s Reading state information... 518s Starting pkgProblemResolver with broken count: 0 519s Starting 2 pkgProblemResolver with broken count: 0 519s Done 519s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 521s autopkgtest [14:12:19]: test root-unittest: [----------------------- 522s Interpreter: python3 522s 522s rm -rf ./build 522s rm -rf ./staging 522s rm -rf ./tests/testarea ./tests/unit/tmp 522s rm -rf ./tmp 522s rm -rf ./snap-build 522s rm -rf ./parts ./stage ./prime 522s rm -f ./locales/mo/*.mo 522s rm -f ./tests/unit/*.pyc ./tests/*.pyc ./src/*.pyc 522s rm -rf ./tests/unit/__pycache__ ./tests/__pycache__ ./src/__pycache__ 522s rm -rf ./.coverage 522s rm -f ./ufw # unittest symlink 522s = Functional Tests = 522s net.ipv4.ip_forward = 0 522s net.ipv6.conf.default.forwarding = 0 522s net.ipv6.conf.all.forwarding = 0 522s 522s Performing tests 'root/bugs' 522s - installing 523s - result: 572s PASS 572s 572s Performing tests 'root/live' 572s - installing 572s - result: 671s PASS 671s 671s Performing tests 'root/live_apps' 671s - installing 672s - result: 724s PASS 724s 724s Performing tests 'root/live_route' 724s - installing 724s - result: 796s PASS 796s 796s Performing tests 'root/logging' 796s - installing 797s - result: 838s PASS 838s 838s Performing tests 'root/normalization' 838s - installing 838s - result: 856s PASS 856s 856s Performing tests 'root/requirements' 856s - installing 856s - result: 857s PASS 857s 857s Performing tests 'root/valid' 857s - installing 857s - result: 890s PASS 890s 890s Performing tests 'root/valid6' 890s - installing 890s - result: 920s PASS 920s net.ipv4.ip_forward = 0 920s net.ipv6.conf.default.forwarding = 0 920s net.ipv6.conf.all.forwarding = 0 920s 920s ------------------------ 920s Functional tests summary 920s ------------------------ 920s Attempted: 9 (1710 individual tests) 920s Skipped: 0 920s Errors: 0 921s autopkgtest [14:18:59]: test root-unittest: -----------------------] 921s autopkgtest [14:18:59]: test root-unittest: - - - - - - - - - - results - - - - - - - - - - 921s root-unittest PASS 922s autopkgtest [14:19:00]: test unittest: preparing testbed 922s Reading package lists... 922s Building dependency tree... 922s Reading state information... 922s Starting pkgProblemResolver with broken count: 0 922s Starting 2 pkgProblemResolver with broken count: 0 923s Done 923s The following NEW packages will be installed: 923s dh-python 923s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 923s Need to get 117 kB of archives. 923s After this operation, 489 kB of additional disk space will be used. 923s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 dh-python all 6.20250108 [117 kB] 924s Fetched 117 kB in 0s (317 kB/s) 924s Selecting previously unselected package dh-python. 924s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 80185 files and directories currently installed.) 924s Preparing to unpack .../dh-python_6.20250108_all.deb ... 924s Unpacking dh-python (6.20250108) ... 925s Setting up dh-python (6.20250108) ... 925s Processing triggers for man-db (2.13.0-1) ... 927s autopkgtest [14:19:05]: test unittest: [----------------------- 927s Interpreter: python3 927s 927s = Unit Tests = 927s DEBUG: sys.path=['/tmp/autopkgtest.GibopY/build.bYR/src', '/usr/lib/python312.zip', '/usr/lib/python3.12', '/usr/lib/python3.12/lib-dynload', '/usr/local/lib/python3.12/dist-packages', '/usr/lib/python3/dist-packages'] 927s DEBUG: test=['test_applications', 'test_backend', 'test_backend_iptables', 'test_common', 'test_frontend', 'test_parser', 'test_skeleton', 'test_util'] 927s test_applications 927s test_get_description (tests.unit.test_applications.ApplicationsTestCase.test_get_description) 927s Test get_description() ... ok 927s test_get_ports (tests.unit.test_applications.ApplicationsTestCase.test_get_ports) 927s Test get_ports() ... ok 927s test_get_profiles (tests.unit.test_applications.ApplicationsTestCase.test_get_profiles) 927s Test get_profiles() ... ok 927s test_get_title (tests.unit.test_applications.ApplicationsTestCase.test_get_title) 927s Test get_title() ... ok 927s test_valid_profile_name (tests.unit.test_applications.ApplicationsTestCase.test_valid_profile_name) 927s Test valid_profile_name() ... ok 927s test_verify_profile (tests.unit.test_applications.ApplicationsTestCase.test_verify_profile) 927s Test verify_profile() ... ok 927s test_verify_profile_bad (tests.unit.test_applications.ApplicationsTestCase.test_verify_profile_bad) 927s Test verify_profile() - bad ... {'description': 'missing title', 'ports': '53'} 927s {'title': 'missing description', 'ports': '22/tcp'} 927s {'title': 'missing ports', 'description': 'desc'} 927s {'title': '', 'description': 'empty title', 'ports': '80'} 927s {'title': 'empty description', 'description': '', 'ports': '80'} 927s {'title': 'empty ports', 'description': 'desc', 'ports': ''} 927s {'title': 'bad missing proto - list', 'description': 'desc', 'ports': '80,443'} 927s {'title': 'bad missing proto - range', 'description': 'desc', 'ports': '80:443'} 927s {'title': 'bad range too big', 'description': 'desc', 'ports': '80:70000/tcp'} 927s {'title': 'bad protocol - ah', 'description': 'desc', 'ports': '80/ah'} 927s {'title': 'bad protocol - esp', 'description': 'desc', 'ports': '80/esp'} 927s {'title': 'bad protocol - gre', 'description': 'desc', 'ports': '80/gre'} 927s {'title': 'bad protocol - igmp', 'description': 'desc', 'ports': '80/igmp'} 927s {'title': 'bad protocol - ipv6', 'description': 'desc', 'ports': '80/ipv6'} 927s {'title': 'bad protocol - vrrp', 'description': 'desc', 'ports': '80/vrrp'} 927s ok 927s 927s ---------------------------------------------------------------------- 927s Ran 7 tests in 0.040s 927s 927s OK 928s test_backend 928s test_installation_defaults (tests.unit.test_backend.BackendTestCase.test_installation_defaults) 928s Test installation defaults ... WARN: Checks disabled 928s ok 928s 928s ---------------------------------------------------------------------- 928s Ran 1 test in 0.010s 928s 928s OK 929s test_backend_iptables 929s test__get_defaults (tests.unit.test_backend_iptables.BackendIptablesTestCase.test__get_defaults) 929s Test _get_defaults() ... WARN: Checks disabled 929s ok 929s test__need_reload (tests.unit.test_backend_iptables.BackendIptablesTestCase.test__need_reload) 929s Test _need_reload() ... WARN: Checks disabled 929s ok 929s test__reload_user_rules (tests.unit.test_backend_iptables.BackendIptablesTestCase.test__reload_user_rules) 929s Test _reload_user_rules() ... WARN: Checks disabled 929s > | iptables-restore 929s > | ip6tables-restore 929s ok 929s test_find_application_name (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_find_application_name) 929s Test find_application_name() ... WARN: Checks disabled 929s ok 929s test_find_other_position (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_find_other_position) 929s Test find_other_position() ... WARN: Checks disabled 929s ok 929s test_get_app_rules_from_template (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_get_app_rules_from_template) 929s Test get_app_rules_from_template() ... WARN: Checks disabled 929s ok 929s test_get_default_application_policy (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_get_default_application_policy) 929s Test get_default_application_policy() ... WARN: Checks disabled 929s ok 929s test_get_loglevel (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_get_loglevel) 929s Test get_loglevel() ... WARN: Checks disabled 929s ok 929s test_get_matching (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_get_matching) 929s Test get_matching() ... WARN: Checks disabled 929s ok 929s test_get_rule_by_number (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_get_rule_by_number) 929s Test get_rule_by_number() ... WARN: Checks disabled 929s ok 929s test_get_rules_count (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_get_rules_count) 929s Test get_rules_count() ... WARN: Checks disabled 929s ok 929s test_get_running_raw (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_get_running_raw) 929s Test get_running_raw() ... WARN: Checks disabled 929s ok 929s test_get_status (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_get_status) 929s Test get_status() ... WARN: Checks disabled 933s ok 933s test_lp1838764 (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_lp1838764) 933s Test get_status() - LP: #1838764 ... WARN: Checks disabled 933s ok 933s test_reset (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_reset) 933s Test reset() ... WARN: Checks disabled 934s Backing up 'user.rules' to '/tmp/autopkgtest.GibopY/build.bYR/src/tests/unit/tmp/ufw/etc/ufw/user.rules.20250109_141911' 934s Backing up 'before.rules' to '/tmp/autopkgtest.GibopY/build.bYR/src/tests/unit/tmp/ufw/etc/ufw/before.rules.20250109_141911' 934s Backing up 'after.rules' to '/tmp/autopkgtest.GibopY/build.bYR/src/tests/unit/tmp/ufw/etc/ufw/after.rules.20250109_141911' 934s Backing up 'user6.rules' to '/tmp/autopkgtest.GibopY/build.bYR/src/tests/unit/tmp/ufw/etc/ufw/user6.rules.20250109_141911' 934s Backing up 'before6.rules' to '/tmp/autopkgtest.GibopY/build.bYR/src/tests/unit/tmp/ufw/etc/ufw/before6.rules.20250109_141911' 934s Backing up 'after6.rules' to '/tmp/autopkgtest.GibopY/build.bYR/src/tests/unit/tmp/ufw/etc/ufw/after6.rules.20250109_141911' 934s 934s Backing up 'user.rules' to '/tmp/autopkgtest.GibopY/build.bYR/src/tests/unit/tmp/ufw/etc/ufw/user.rules.20250109_141912' 934s Backing up 'before.rules' to '/tmp/autopkgtest.GibopY/build.bYR/src/tests/unit/tmp/ufw/etc/ufw/before.rules.20250109_141912' 934s Backing up 'after.rules' to '/tmp/autopkgtest.GibopY/build.bYR/src/tests/unit/tmp/ufw/etc/ufw/after.rules.20250109_141912' 934s Backing up 'user6.rules' to '/tmp/autopkgtest.GibopY/build.bYR/src/tests/unit/tmp/ufw/etc/ufw/user6.rules.20250109_141912' 934s Backing up 'before6.rules' to '/tmp/autopkgtest.GibopY/build.bYR/src/tests/unit/tmp/ufw/etc/ufw/before6.rules.20250109_141912' 934s Backing up 'after6.rules' to '/tmp/autopkgtest.GibopY/build.bYR/src/tests/unit/tmp/ufw/etc/ufw/after6.rules.20250109_141912' 934s 934s ok 934s test_set_bad_default (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_set_bad_default) 934s Test bad set_default_policy() ... WARN: Checks disabled 934s ok 934s test_set_bad_default_application_policy (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_set_bad_default_application_policy) 934s Test bad set_default_application_policy() ... WARN: Checks disabled 934s ok 934s test_set_default (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_set_default) 934s Test set_default() ... WARN: Checks disabled 934s ok 934s test_set_default_application_policy (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_set_default_application_policy) 934s Test set_default_application_policy() ... WARN: Checks disabled 934s ok 934s test_set_default_policy (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_set_default_policy) 934s Test set_default_policy() ... WARN: Checks disabled 934s ok 934s test_set_loglevel (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_set_loglevel) 934s Test set_loglevel() ... WARN: Checks disabled 934s ok 934s test_set_rule (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_set_rule) 934s Test set_rule() ... WARN: Checks disabled 955s ok 955s test_start_firewall (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_start_firewall) 955s Test start_firewall() ... WARN: Checks disabled 955s > running ufw-init 955s ok 955s test_stop_firewall (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_stop_firewall) 955s Test stop_firewall() ... WARN: Checks disabled 955s > running ufw-init 955s ok 955s test_update_app_rule (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_update_app_rule) 955s Test upate_app_rule() ... WARN: Checks disabled 955s ok 955s test_update_logging (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_update_logging) 955s Test update_logging() ... WARN: Checks disabled 956s ok 956s test_use_ipv6 (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_use_ipv6) 956s Test use_ipv6() ... WARN: Checks disabled 956s ok 956s 956s ---------------------------------------------------------------------- 956s Ran 27 tests in 26.951s 956s 956s OK 956s test_common 956s test__fix_anywhere (tests.unit.test_common.CommonTestCase.test__fix_anywhere) 956s Test _fix_anywhere() ... ok 956s test__get_attrib (tests.unit.test_common.CommonTestCase.test__get_attrib) 956s Test _get_attrib() ... ok 956s test__init_ (tests.unit.test_common.CommonTestCase.test__init_) 956s Test UFWRule.__init__() ... ok 956s test__is_anywhere (tests.unit.test_common.CommonTestCase.test__is_anywhere) 956s Test _is_anywhere() ... ok 956s test_dup_rule (tests.unit.test_common.CommonTestCase.test_dup_rule) 956s Test dup_rule() ... ok 956s test_format_rule (tests.unit.test_common.CommonTestCase.test_format_rule) 956s Test format_rule() ... ok 956s test_fuzzy_dst_match (tests.unit.test_common.CommonTestCase.test_fuzzy_dst_match) 956s Test fuzzy_dst_match() ... ok 956s test_get_app_tuple (tests.unit.test_common.CommonTestCase.test_get_app_tuple) 956s Test get_app_tuple() ... ok 956s test_match (tests.unit.test_common.CommonTestCase.test_match) 956s Test match() ... ok 956s test_normalize (tests.unit.test_common.CommonTestCase.test_normalize) 956s Test normalize() ... ok 956s test_set_action (tests.unit.test_common.CommonTestCase.test_set_action) 956s Test set_action() ... ok 956s test_set_direction (tests.unit.test_common.CommonTestCase.test_set_direction) 956s Test set_direction() ... ok 956s test_set_direction_bad (tests.unit.test_common.CommonTestCase.test_set_direction_bad) 956s Test set_direction() - bad ... ok 956s test_set_dst (tests.unit.test_common.CommonTestCase.test_set_dst) 956s Test set_dst() ... ok 956s test_set_dst_bad (tests.unit.test_common.CommonTestCase.test_set_dst_bad) 956s Test set_dst() - bad ... ok 956s test_set_interface (tests.unit.test_common.CommonTestCase.test_set_interface) 956s Test set_interface() ... ok 956s test_set_interface_bad (tests.unit.test_common.CommonTestCase.test_set_interface_bad) 956s Test set_interface() - bad ... ok 956s test_set_logtype (tests.unit.test_common.CommonTestCase.test_set_logtype) 956s Test set_logtype() ... ok 956s test_set_logtype_bad (tests.unit.test_common.CommonTestCase.test_set_logtype_bad) 956s Test set_logtype() - bad ... ok 956s test_set_port (tests.unit.test_common.CommonTestCase.test_set_port) 956s Test set_port() ... ok 956s test_set_port_bad (tests.unit.test_common.CommonTestCase.test_set_port_bad) 956s Test set_port() - bad ... ok 956s test_set_position (tests.unit.test_common.CommonTestCase.test_set_position) 956s Test set_position() ... ok 956s test_set_position_bad (tests.unit.test_common.CommonTestCase.test_set_position_bad) 956s Test set_position() - bad ... ok 956s test_set_protocol (tests.unit.test_common.CommonTestCase.test_set_protocol) 956s Test set_protocol() ... ok 956s test_set_protocol_bad (tests.unit.test_common.CommonTestCase.test_set_protocol_bad) 956s Test set_protocol() - bad ... ok 956s test_set_src (tests.unit.test_common.CommonTestCase.test_set_src) 956s Test set_src() ... ok 956s test_set_src_bad (tests.unit.test_common.CommonTestCase.test_set_src_bad) 956s Test set_src() - bad ... ok 956s test_set_v6 (tests.unit.test_common.CommonTestCase.test_set_v6) 956s Test set_v6() ... ok 956s test_ufwerror (tests.unit.test_common.CommonTestCase.test_ufwerror) 956s Test UFWError ... ok 956s test_ufwerror_str (tests.unit.test_common.CommonTestCase.test_ufwerror_str) 956s Test UFWError.str() ... ok 956s 956s ---------------------------------------------------------------------- 956s Ran 30 tests in 0.017s 956s 956s OK 957s test_frontend 957s test___init__ (tests.unit.test_frontend.FrontendTestCase.test___init__) 957s Test __init__() ... WARN: Checks disabled 957s ok 957s test_application_add (tests.unit.test_frontend.FrontendTestCase.test_application_add) 957s Test application_add() ... WARN: Checks disabled 957s ok 957s test_continue_under_ssh (tests.unit.test_frontend.FrontendTestCase.test_continue_under_ssh) 957s Test continue_under_ssh() ... WARN: Checks disabled 957s ok 957s test_do_action (tests.unit.test_frontend.FrontendTestCase.test_do_action) 957s Test do_action() ... WARN: Checks disabled 957s WARN: Checks disabled 957s WARN: Checks disabled 957s TODO: verify output of rules in do_action() 957s ok 957s test_do_action_remove_bad_appname (tests.unit.test_frontend.FrontendTestCase.test_do_action_remove_bad_appname) 957s Test do_action() remove bad appname ... WARN: Checks disabled 957s ok 957s test_do_application_action (tests.unit.test_frontend.FrontendTestCase.test_do_application_action) 957s Test do_application_action() ... WARN: Checks disabled 957s ok 957s test_get_command_help (tests.unit.test_frontend.FrontendTestCase.test_get_command_help) 957s Test get_command_help() ... WARN: Checks disabled 957s ok 957s test_get_show_added (tests.unit.test_frontend.FrontendTestCase.test_get_show_added) 957s Test get_show_added() ... WARN: Checks disabled 957s ok 957s test_get_show_listening (tests.unit.test_frontend.FrontendTestCase.test_get_show_listening) 957s Test get_show_listening() ... WARN: Checks disabled 957s ok 957s test_get_show_raw (tests.unit.test_frontend.FrontendTestCase.test_get_show_raw) 957s Test get_show_raw() ... WARN: Checks disabled 957s ok 957s test_parse_command (tests.unit.test_frontend.FrontendTestCase.test_parse_command) 957s Test parse_command() ... WARN: Checks disabled 957s ok 957s test_parse_command_bad (tests.unit.test_frontend.FrontendTestCase.test_parse_command_bad) 957s Test parse_command_bad ... ok 957s 957s ---------------------------------------------------------------------- 957s Ran 12 tests in 0.163s 957s 957s OK 957s WARN: Checks disabled 957s ERROR: Invalid syntax 957s ERROR: Invalid syntax 957s ERROR: Invalid syntax 957s test_parser 957s test_app_parse (tests.unit.test_parser.ParserTestCase.test_app_parse) 957s Test UFWCommandApp.parse() ... ok 957s test_bad_simple_action (tests.unit.test_parser.ParserTestCase.test_bad_simple_action) 957s Test bad simple action ... ok 957s test_bad_simple_action_with_direction (tests.unit.test_parser.ParserTestCase.test_bad_simple_action_with_direction) 957s Test bad simple action with direction ... ok 957s test_default_parse (tests.unit.test_parser.ParserTestCase.test_default_parse) 957s Test UFWCommandDefault.parse() ... ok 957s test_delete_bad_simple_action (tests.unit.test_parser.ParserTestCase.test_delete_bad_simple_action) 957s Test delete bad simple action ... ok 957s test_extended_parse (tests.unit.test_parser.ParserTestCase.test_extended_parse) 961s Test extended rule syntax ... 61920 rules checked 961s ok 961s test_logging_parse (tests.unit.test_parser.ParserTestCase.test_logging_parse) 961s Test UFWCommandLogging.parse() ... ok 961s test_misc_rules_parse (tests.unit.test_parser.ParserTestCase.test_misc_rules_parse) 961s Test rule syntax - miscellaneous ... ok 961s test_route_delete_num (tests.unit.test_parser.ParserTestCase.test_route_delete_num) 961s Test route delete NUM ... ok 961s test_rule_bad_syntax (tests.unit.test_parser.ParserTestCase.test_rule_bad_syntax) 961s Test rule syntax - bad ... ok 961s test_show_parse (tests.unit.test_parser.ParserTestCase.test_show_parse) 961s Test UFWCommandShow.parse() ... ok 961s test_simple_bad_numeric_port (tests.unit.test_parser.ParserTestCase.test_simple_bad_numeric_port) 961s Test simple bad numeric port ... ok 961s test_simple_parse (tests.unit.test_parser.ParserTestCase.test_simple_parse) 961s Test simple rule syntax ... 792 rules checked 961s ok 961s test_status_parse (tests.unit.test_parser.ParserTestCase.test_status_parse) 961s Test UFWCommandStatus.parse() ... ok 961s test_ufwcommand_help (tests.unit.test_parser.ParserTestCase.test_ufwcommand_help) 961s Test UFWCommand.help() ... ok 961s test_ufwcommand_parse (tests.unit.test_parser.ParserTestCase.test_ufwcommand_parse) 961s Test UFWCommand.parse() ... ok 961s test_ufwcommand_parse_basic_help (tests.unit.test_parser.ParserTestCase.test_ufwcommand_parse_basic_help) 961s Test parser.parse_command() - help ... ok 961s test_ufwcommand_parse_empty (tests.unit.test_parser.ParserTestCase.test_ufwcommand_parse_empty) 961s Test UFWCommand.parse([]) ... ok 961s test_ufwcommand_rule_get_command (tests.unit.test_parser.ParserTestCase.test_ufwcommand_rule_get_command) 968s Test UFWCommand(Route)Rule.get_command() ... 62717 rules checked 968s ok 968s test_ufwcommandbasic_parse_with_arg (tests.unit.test_parser.ParserTestCase.test_ufwcommandbasic_parse_with_arg) 968s Test UFWCommand.parse() - basic with arg ... ok 968s test_ufwparser_allowed_command (tests.unit.test_parser.ParserTestCase.test_ufwparser_allowed_command) 968s Test UFWParser.allowed_command() ... ok 968s test_ufwparser_register_command (tests.unit.test_parser.ParserTestCase.test_ufwparser_register_command) 968s Test UFWParser.register_command() ... ok 968s test_ufwparser_register_command_none (tests.unit.test_parser.ParserTestCase.test_ufwparser_register_command_none) 968s Test UFWParser.register_command() ... ok 968s test_ufwparser_response (tests.unit.test_parser.ParserTestCase.test_ufwparser_response) 968s Test UFWParserResponse.str() ... ok 968s 968s ---------------------------------------------------------------------- 968s Ran 24 tests in 10.639s 968s 968s OK 969s test_skeleton 969s test_example (tests.unit.test_skeleton.SkeletonTestCase.test_example) 969s Test example dummy test ... ok 969s 969s ---------------------------------------------------------------------- 969s Ran 1 test in 0.000s 969s 969s OK 969s test_util 969s test__address4_to_network (tests.unit.test_util.UtilTestCase.test__address4_to_network) 969s Test _address4_to_network() ... ok 969s test__address6_to_network (tests.unit.test_util.UtilTestCase.test__address6_to_network) 969s Test _address6_to_network() ... ok 969s test__cidr_to_dotted_netmask (tests.unit.test_util.UtilTestCase.test__cidr_to_dotted_netmask) 969s Test _cidr_to_dotted_netmask() ... ok 969s test__dotted_netmask_to_cidr (tests.unit.test_util.UtilTestCase.test__dotted_netmask_to_cidr) 969s Test _dotted_netmask_to_cidr() ... ok 969s test__get_proc_inodes (tests.unit.test_util.UtilTestCase.test__get_proc_inodes) 969s Test _get_proc_inodes() ... ok 969s test__read_proc_net_protocol (tests.unit.test_util.UtilTestCase.test__read_proc_net_protocol) 969s Test _read_proc_net_protocol() ... ok 969s test__valid_cidr_netmask (tests.unit.test_util.UtilTestCase.test__valid_cidr_netmask) 969s Test _valid_cidr_netmask() ... ok 969s test__valid_dotted_quads (tests.unit.test_util.UtilTestCase.test__valid_dotted_quads) 969s Test _valid_dotted_quads() ... ok 969s test_cidr_to_dotted_to_cidr (tests.unit.test_util.UtilTestCase.test_cidr_to_dotted_to_cidr) 969s Test _cidr_to_dotted_netmask() and _dotted_netmask_to_cidr() ... DEBUG: test debug() 969s ERROR: test error() 969s ok 969s test_close_files (tests.unit.test_util.UtilTestCase.test_close_files) 969s Test close_files() ... ok 969s test_cmd (tests.unit.test_util.UtilTestCase.test_cmd) 969s Test cmd() ... ok 969s test_cmd_pipe (tests.unit.test_util.UtilTestCase.test_cmd_pipe) 969s Test cmd_pipe() ... ok 969s test_create_lock (tests.unit.test_util.UtilTestCase.test_create_lock) 969s Test create_lock() ... ok 969s test_debug (tests.unit.test_util.UtilTestCase.test_debug) 969s Test debug() ... ('DEBUG: test debug()' output is intentional) 969s ok 969s test_error (tests.unit.test_util.UtilTestCase.test_error) 969s Test error() ... ('ERROR: test error()' output is intentional) 969s ok 969s test_get_if_from_ip (tests.unit.test_util.UtilTestCase.test_get_if_from_ip) 969s Test get_if_from_ip() ... skipped: TODO: python3 969s ok 969s test_get_ip_from_if (tests.unit.test_util.UtilTestCase.test_get_ip_from_if) 969s Test get_ip_from_if() ... skipped: TODO: python3 969s ok 969s test_get_iptables_version (tests.unit.test_util.UtilTestCase.test_get_iptables_version) 969s Test get_iptables_version() ... ok 969s test_get_netfilter_capabilities (tests.unit.test_util.UtilTestCase.test_get_netfilter_capabilities) 969s Test get_netfilter_capabilities() ... ok 969s test_get_netstat_output (tests.unit.test_util.UtilTestCase.test_get_netstat_output) 969s Test get_netstat_output() ... ok 969s test_get_ppid (tests.unit.test_util.UtilTestCase.test_get_ppid) 969s Test get_ppid() ... ok 969s test_get_ppid_no_space (tests.unit.test_util.UtilTestCase.test_get_ppid_no_space) 969s Test get_ppid() no space ... ok 969s test_get_ppid_with_parens (tests.unit.test_util.UtilTestCase.test_get_ppid_with_parens) 969s Test get_ppid() with parens ... ok 969s test_get_ppid_with_space (tests.unit.test_util.UtilTestCase.test_get_ppid_with_space) 969s Test get_ppid() with space ... ok 969s test_get_services_proto (tests.unit.test_util.UtilTestCase.test_get_services_proto) 969s Test get_services_proto() ... ok 969s test_hex_decode (tests.unit.test_util.UtilTestCase.test_hex_decode) 969s Test hex_decode() output ... ok 969s test_hex_encode (tests.unit.test_util.UtilTestCase.test_hex_encode) 969s Test hex_encode() output ... ok 969s test_human_sort (tests.unit.test_util.UtilTestCase.test_human_sort) 969s Test human_sort() ... ok 969s test_in_network (tests.unit.test_util.UtilTestCase.test_in_network) 969s Test in_network() ... ok 969s test_msg (tests.unit.test_util.UtilTestCase.test_msg) 969s Test msg() ... test msg() 969s test msg()('test msg()' output is intentional) 969s 969s ('test msg()' output is intentional) 969s ok 969s test_normalize_address_host_netmask (tests.unit.test_util.UtilTestCase.test_normalize_address_host_netmask) 969s Test normalize_address() with host_netmask ... ok 969s test_normalize_address_invalid_netmask (tests.unit.test_util.UtilTestCase.test_normalize_address_invalid_netmask) 969s Test normalize_address() with invalid_netmask ... ok 969s test_normalize_address_ipv6_cidr (tests.unit.test_util.UtilTestCase.test_normalize_address_ipv6_cidr) 969s Test normalize_address() with ipv6_cidr ... ok 969s test_normalize_address_ipv6_short_notation (tests.unit.test_util.UtilTestCase.test_normalize_address_ipv6_short_notation) 969s Test normalize_address() with ipv6_short_notation ... ok 969s test_normalize_address_netmask_to_cidr (tests.unit.test_util.UtilTestCase.test_normalize_address_netmask_to_cidr) 969s Test normalize_address() with netmask_to_cidr ... ok 969s test_normalize_address_valid_netmask_to_non_cidr (tests.unit.test_util.UtilTestCase.test_normalize_address_valid_netmask_to_non_cidr) 969s Test normalize_address() with valid_netmask_to_non_cidr ... ok 969s test_open_file_read (tests.unit.test_util.UtilTestCase.test_open_file_read) 969s Test open_file_read() ... ok 969s test_open_files (tests.unit.test_util.UtilTestCase.test_open_files) 969s Test open_files() ... ok 969s test_parse_netstat_output (tests.unit.test_util.UtilTestCase.test_parse_netstat_output) 969s Test parse_netstat_output() ... ok 969s test_parse_port_proto (tests.unit.test_util.UtilTestCase.test_parse_port_proto) 969s Test parse_port_proto() ... ok 969s test_under_ssh (tests.unit.test_util.UtilTestCase.test_under_ssh) 969s Test under_ssh() ... ok 969s test_valid_address (tests.unit.test_util.UtilTestCase.test_valid_address) 969s Test valid_address() ... WARN: Couldn't find pid (is /proc mounted?) 969s ok 969s test_valid_address4 (tests.unit.test_util.UtilTestCase.test_valid_address4) 969s Test valid_address4() ... ok 969s test_valid_address6 (tests.unit.test_util.UtilTestCase.test_valid_address6) 969s Test valid_address6() ... WARN: python does not have IPv6 support. 969s (IPv6 support warning is intentional) 969s ok 969s test_valid_netmask (tests.unit.test_util.UtilTestCase.test_valid_netmask) 969s Test valid_netmask() ... WARN: test warn() 969s ok 969s test_warn (tests.unit.test_util.UtilTestCase.test_warn) 969s Test warn() ... ('WARN: test warn()' output is intentional) 969s ok 969s test_word_wrap (tests.unit.test_util.UtilTestCase.test_word_wrap) 969s Test word_wrap() ... ok 969s test_wrap_text (tests.unit.test_util.UtilTestCase.test_wrap_text) 969s Test wrap_text() ... ok 969s test_write_to_file (tests.unit.test_util.UtilTestCase.test_write_to_file) 969s Test write_to_file() ... ok 969s 969s ---------------------------------------------------------------------- 969s Ran 49 tests in 0.199s 969s 969s OK 969s 969s ------------------ 969s Unit tests summary 969s ------------------ 969s Total=8 (Passed=8, Failed=0) 969s 969s 969s rm -rf ./build 969s rm -rf ./staging 969s rm -rf ./tests/testarea ./tests/unit/tmp 969s rm -rf ./tmp 969s rm -rf ./snap-build 969s rm -rf ./parts ./stage ./prime 969s rm -f ./locales/mo/*.mo 969s rm -f ./tests/unit/*.pyc ./tests/*.pyc ./src/*.pyc 969s rm -rf ./tests/unit/__pycache__ ./tests/__pycache__ ./src/__pycache__ 969s rm -rf ./.coverage 969s rm -f ./ufw # unittest symlink 969s = Functional Tests = 969s net.ipv4.ip_forward = 0 969s net.ipv6.conf.default.forwarding = 0 969s net.ipv6.conf.all.forwarding = 0 969s 969s Performing tests 'installation/check_help' 969s - installing 970s - result: 970s PASS 970s 970s Performing tests 'installation/check_root' 970s - installing 971s - result: 971s PASS 971s 971s Performing tests 'bad/apps' 971s - installing 971s - result: 980s PASS 980s 980s Performing tests 'bad/args' 980s - installing 981s - result: 1021s PASS 1021s 1021s Performing tests 'bad/netmasks' 1021s - installing 1022s - result: 1024s PASS 1024s 1024s Performing tests 'bad/policy' 1024s - installing 1025s - result: 1027s PASS 1027s 1027s Performing tests 'bugs/apps' 1027s - installing 1027s - result: 1029s PASS 1029s 1029s Performing tests 'bugs/misc' 1029s - installing 1030s - result: 1032s PASS 1032s 1032s Performing tests 'bugs/rules' 1032s - installing 1033s - result: 1033s PASS 1033s 1033s Performing tests 'good/apps' 1033s - installing 1034s - result: 1067s PASS 1067s 1067s Performing tests 'good/args' 1067s - installing 1068s - result: 1073s PASS 1073s 1073s Performing tests 'good/logging' 1073s - installing 1074s - result: 1088s PASS 1088s 1088s Performing tests 'good/netmasks' 1088s - installing 1089s - result: 1098s PASS 1098s 1098s Performing tests 'good/policy' 1098s - installing 1098s - result: 1101s PASS 1101s 1101s Performing tests 'good/reports' 1101s - installing 1102s - result: 1113s PASS 1113s 1113s Performing tests 'good/route' 1113s - installing 1113s - result: 1118s PASS 1118s 1118s Performing tests 'good/rules' 1118s - installing 1119s - result: 1161s PASS 1161s 1161s Performing tests 'ipv6/bad_args6' 1161s - installing 1162s - result: 1184s PASS 1184s 1184s Performing tests 'ipv6/good_args6' 1184s - installing 1185s - result: 1186s PASS 1186s 1186s Performing tests 'ipv6/logging' 1186s - installing 1187s - result: 1191s PASS 1191s 1191s Performing tests 'ipv6/rules6' 1191s - installing 1192s - result: 1209s PASS 1209s 1209s Performing tests 'ipv6/rules64' 1209s - installing 1210s - result: 1239s PASS 1239s net.ipv4.ip_forward = 0 1239s net.ipv6.conf.default.forwarding = 0 1239s net.ipv6.conf.all.forwarding = 0 1239s 1239s ------------------------ 1239s Functional tests summary 1239s ------------------------ 1239s Attempted: 22 (3339 individual tests) 1239s Skipped: 0 1239s Errors: 0 1239s autopkgtest [14:24:17]: test unittest: -----------------------] 1240s unittest PASS 1240s autopkgtest [14:24:18]: test unittest: - - - - - - - - - - results - - - - - - - - - - 1240s autopkgtest [14:24:18]: @@@@@@@@@@@@@@@@@@@@ summary 1240s command1 SKIP Test lists explicitly supported architectures, but the current architecture arm64 isn't listed. 1240s command1 SKIP Test lists explicitly supported architectures, but the current architecture arm64 isn't listed. 1240s test-ufw.py PASS 1240s root-unittest PASS 1240s unittest PASS 1258s nova [W] Using flock in prodstack6-arm64 1258s Creating nova instance adt-plucky-arm64-ufw-20250109-140338-juju-7f2275-prod-proposed-migration-environment-2-b16d385c-4ade-4f22-b3e1-46d82a70a911 from image adt/ubuntu-plucky-arm64-server-20250109.img (UUID 8868f3bf-dba6-4a93-8f44-a25914eee44e)... 1258s nova [W] Timed out waiting for 3e9488cc-a058-403d-a2c5-7a9823b8ecf8 to get deleted. 1258s nova [W] Using flock in prodstack6-arm64 1258s Creating nova instance adt-plucky-arm64-ufw-20250109-140338-juju-7f2275-prod-proposed-migration-environment-2-b16d385c-4ade-4f22-b3e1-46d82a70a911 from image adt/ubuntu-plucky-arm64-server-20250109.img (UUID 8868f3bf-dba6-4a93-8f44-a25914eee44e)... 1258s nova [W] Timed out waiting for b636a5a0-2308-4f2f-9b1c-be79ff69e0cc to get deleted. 1258s nova [W] Using flock in prodstack6-arm64 1258s Creating nova instance adt-plucky-arm64-ufw-20250109-140338-juju-7f2275-prod-proposed-migration-environment-2-b16d385c-4ade-4f22-b3e1-46d82a70a911 from image adt/ubuntu-plucky-arm64-server-20250109.img (UUID 8868f3bf-dba6-4a93-8f44-a25914eee44e)... 1258s nova [W] Timed out waiting for 049ee758-a91e-43e5-9f51-76e32ecab607 to get deleted.