0s autopkgtest [12:54:38]: starting date and time: 2025-12-04 12:54:38+0000 0s autopkgtest [12:54:38]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [12:54:38]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.w2atcit1/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:procps --apt-upgrade ufw --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=procps/2:4.0.4-9ubuntu1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@bos03-arm64-9.secgroup --name adt-resolute-arm64-ufw-20251204-125438-juju-7f2275-prod-proposed-migration-environment-20-162ec3f3-d88b-483f-8e3e-dbfa21da842a --image adt/ubuntu-resolute-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --net-id=net_prod-proposed-migration -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 4s Creating nova instance adt-resolute-arm64-ufw-20251204-125438-juju-7f2275-prod-proposed-migration-environment-20-162ec3f3-d88b-483f-8e3e-dbfa21da842a from image adt/ubuntu-resolute-arm64-server-20251204.img (UUID d10d485b-270b-4b77-bdc2-f40c1cd474cf)... 61s autopkgtest [12:55:39]: testbed dpkg architecture: arm64 61s autopkgtest [12:55:39]: testbed apt version: 3.1.12 61s autopkgtest [12:55:39]: @@@@@@@@@@@@@@@@@@@@ test bed setup 61s autopkgtest [12:55:39]: testbed release detected to be: None 62s autopkgtest [12:55:40]: updating testbed package index (apt update) 63s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 63s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 63s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 63s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 63s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [23.1 kB] 63s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [156 kB] 63s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [935 kB] 64s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 Packages [219 kB] 64s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 c-n-f Metadata [6632 B] 64s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 c-n-f Metadata [120 B] 64s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 Packages [727 kB] 64s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 c-n-f Metadata [20.6 kB] 64s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 Packages [8768 B] 64s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 c-n-f Metadata [644 B] 67s Fetched 2221 kB in 1s (1790 kB/s) 68s Reading package lists... 72s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 72s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 72s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 72s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 73s Reading package lists... 73s Reading package lists... 74s Building dependency tree... 74s Reading state information... 74s Calculating upgrade... 75s The following packages will be upgraded: 75s libproc2-0 procps 75s 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 75s Need to get 766 kB of archives. 75s After this operation, 1024 B of additional disk space will be used. 75s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libproc2-0 arm64 2:4.0.4-9ubuntu1 [59.5 kB] 75s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 procps arm64 2:4.0.4-9ubuntu1 [707 kB] 76s dpkg-preconfigure: unable to re-open stdin: No such file or directory 76s Fetched 766 kB in 1s (986 kB/s) 76s (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 ... 88300 files and directories currently installed.) 76s Preparing to unpack .../libproc2-0_2%3a4.0.4-9ubuntu1_arm64.deb ... 76s Unpacking libproc2-0:arm64 (2:4.0.4-9ubuntu1) over (2:4.0.4-8ubuntu3) ... 77s Preparing to unpack .../procps_2%3a4.0.4-9ubuntu1_arm64.deb ... 77s Unpacking procps (2:4.0.4-9ubuntu1) over (2:4.0.4-8ubuntu3) ... 77s Setting up libproc2-0:arm64 (2:4.0.4-9ubuntu1) ... 77s Setting up procps (2:4.0.4-9ubuntu1) ... 78s Processing triggers for systemd (257.9-0ubuntu2) ... 78s Processing triggers for man-db (2.13.1-1) ... 80s Processing triggers for libc-bin (2.42-2ubuntu2) ... 80s autopkgtest [12:55:58]: upgrading testbed (apt dist-upgrade and autopurge) 80s Reading package lists... 80s Building dependency tree... 80s Reading state information... 81s Calculating upgrade... 81s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 81s Reading package lists... 82s Building dependency tree... 82s Reading state information... 82s Solving dependencies... 82s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 82s autopkgtest [12:56:00]: rebooting testbed after setup commands that affected boot 113s autopkgtest [12:56:31]: testbed running kernel: Linux 6.17.0-6-generic #6-Ubuntu SMP PREEMPT_DYNAMIC Tue Oct 7 14:22:06 UTC 2025 115s autopkgtest [12:56:33]: @@@@@@@@@@@@@@@@@@@@ apt-source ufw 118s Get:1 http://ftpmaster.internal/ubuntu resolute/main ufw 0.36.2-9 (dsc) [2023 B] 118s Get:2 http://ftpmaster.internal/ubuntu resolute/main ufw 0.36.2-9 (tar) [593 kB] 118s Get:3 http://ftpmaster.internal/ubuntu resolute/main ufw 0.36.2-9 (diff) [46.0 kB] 119s gpgv: Signature made Mon Jan 20 18:04:22 2025 UTC 119s gpgv: using RSA key 4C20C06B5D8BDE688854D28A51DBDC58CC559573 119s gpgv: Can't check signature: No public key 119s dpkg-source: warning: cannot verify inline signature for ./ufw_0.36.2-9.dsc: no acceptable signature found 119s autopkgtest [12:56:37]: testing package ufw version 0.36.2-9 120s command1 SKIP Test lists explicitly supported architectures, but the current architecture arm64 isn't listed. 120s autopkgtest [12:56:38]: build needed for tests 123s Note, using directory '/tmp/autopkgtest.G8920d/build.yyX/src' to get the build dependencies 123s Reading package lists... 124s Building dependency tree... 124s Reading state information... 124s Solving dependencies... 125s The following NEW packages will be installed: 125s autoconf automake autopoint autotools-dev build-essential cpp cpp-15 125s cpp-15-aarch64-linux-gnu cpp-aarch64-linux-gnu debhelper debugedit 125s dh-autoreconf dh-python dh-strip-nondeterminism dwz g++ g++-15 125s g++-15-aarch64-linux-gnu g++-aarch64-linux-gnu gcc gcc-15 125s gcc-15-aarch64-linux-gnu gcc-aarch64-linux-gnu gettext intltool-debian 125s libarchive-zip-perl libasan8 libcc1-0 libdebhelper-perl 125s libfile-stripnondeterminism-perl libgcc-15-dev libgomp1 libhwasan0 libisl23 125s libitm1 liblsan0 libmpc3 libstdc++-15-dev libtool libtsan2 libubsan1 m4 125s po-debconf 126s 0 upgraded, 43 newly installed, 0 to remove and 0 not upgraded. 126s Need to get 69.2 MB of archives. 126s After this operation, 238 MB of additional disk space will be used. 126s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 m4 arm64 1.4.20-2 [213 kB] 126s Get:2 http://ftpmaster.internal/ubuntu resolute/main arm64 autoconf all 2.72-3.1ubuntu1 [384 kB] 126s Get:3 http://ftpmaster.internal/ubuntu resolute/main arm64 autotools-dev all 20240727.1 [43.4 kB] 126s Get:4 http://ftpmaster.internal/ubuntu resolute/main arm64 automake all 1:1.18.1-3 [582 kB] 126s Get:5 http://ftpmaster.internal/ubuntu resolute/main arm64 autopoint all 0.23.2-1 [620 kB] 126s Get:6 http://ftpmaster.internal/ubuntu resolute/main arm64 libisl23 arm64 0.27-1 [676 kB] 127s Get:7 http://ftpmaster.internal/ubuntu resolute/main arm64 libmpc3 arm64 1.3.1-2 [55.6 kB] 127s Get:8 http://ftpmaster.internal/ubuntu resolute/main arm64 cpp-15-aarch64-linux-gnu arm64 15.2.0-9ubuntu1 [11.7 MB] 128s Get:9 http://ftpmaster.internal/ubuntu resolute/main arm64 cpp-15 arm64 15.2.0-9ubuntu1 [1030 B] 128s Get:10 http://ftpmaster.internal/ubuntu resolute/main arm64 cpp-aarch64-linux-gnu arm64 4:15.2.0-4ubuntu1 [5736 B] 128s Get:11 http://ftpmaster.internal/ubuntu resolute/main arm64 cpp arm64 4:15.2.0-4ubuntu1 [22.4 kB] 128s Get:12 http://ftpmaster.internal/ubuntu resolute/main arm64 libcc1-0 arm64 15.2.0-9ubuntu1 [49.0 kB] 128s Get:13 http://ftpmaster.internal/ubuntu resolute/main arm64 libgomp1 arm64 15.2.0-9ubuntu1 [147 kB] 128s Get:14 http://ftpmaster.internal/ubuntu resolute/main arm64 libitm1 arm64 15.2.0-9ubuntu1 [28.0 kB] 128s Get:15 http://ftpmaster.internal/ubuntu resolute/main arm64 libasan8 arm64 15.2.0-9ubuntu1 [2922 kB] 128s Get:16 http://ftpmaster.internal/ubuntu resolute/main arm64 liblsan0 arm64 15.2.0-9ubuntu1 [1316 kB] 128s Get:17 http://ftpmaster.internal/ubuntu resolute/main arm64 libtsan2 arm64 15.2.0-9ubuntu1 [2689 kB] 128s Get:18 http://ftpmaster.internal/ubuntu resolute/main arm64 libubsan1 arm64 15.2.0-9ubuntu1 [1175 kB] 128s Get:19 http://ftpmaster.internal/ubuntu resolute/main arm64 libhwasan0 arm64 15.2.0-9ubuntu1 [1638 kB] 128s Get:20 http://ftpmaster.internal/ubuntu resolute/main arm64 libgcc-15-dev arm64 15.2.0-9ubuntu1 [2601 kB] 128s Get:21 http://ftpmaster.internal/ubuntu resolute/main arm64 gcc-15-aarch64-linux-gnu arm64 15.2.0-9ubuntu1 [23.1 MB] 129s Get:22 http://ftpmaster.internal/ubuntu resolute/main arm64 gcc-15 arm64 15.2.0-9ubuntu1 [516 kB] 129s Get:23 http://ftpmaster.internal/ubuntu resolute/main arm64 gcc-aarch64-linux-gnu arm64 4:15.2.0-4ubuntu1 [1206 B] 129s Get:24 http://ftpmaster.internal/ubuntu resolute/main arm64 gcc arm64 4:15.2.0-4ubuntu1 [5016 B] 129s Get:25 http://ftpmaster.internal/ubuntu resolute/main arm64 libstdc++-15-dev arm64 15.2.0-9ubuntu1 [2547 kB] 129s Get:26 http://ftpmaster.internal/ubuntu resolute/main arm64 g++-15-aarch64-linux-gnu arm64 15.2.0-9ubuntu1 [13.2 MB] 130s Get:27 http://ftpmaster.internal/ubuntu resolute/main arm64 g++-15 arm64 15.2.0-9ubuntu1 [24.3 kB] 130s Get:28 http://ftpmaster.internal/ubuntu resolute/main arm64 g++-aarch64-linux-gnu arm64 4:15.2.0-4ubuntu1 [956 B] 130s Get:29 http://ftpmaster.internal/ubuntu resolute/main arm64 g++ arm64 4:15.2.0-4ubuntu1 [1080 B] 130s Get:30 http://ftpmaster.internal/ubuntu resolute/main arm64 build-essential arm64 12.12ubuntu2 [5254 B] 130s Get:31 http://ftpmaster.internal/ubuntu resolute/main arm64 libdebhelper-perl all 13.24.2ubuntu1 [95.7 kB] 130s Get:32 http://ftpmaster.internal/ubuntu resolute/main arm64 libtool all 2.5.4-7 [169 kB] 130s Get:33 http://ftpmaster.internal/ubuntu resolute/main arm64 dh-autoreconf all 21 [12.5 kB] 130s Get:34 http://ftpmaster.internal/ubuntu resolute/main arm64 libarchive-zip-perl all 1.68-1 [90.2 kB] 130s Get:35 http://ftpmaster.internal/ubuntu resolute/main arm64 libfile-stripnondeterminism-perl all 1.15.0-1 [20.5 kB] 130s Get:36 http://ftpmaster.internal/ubuntu resolute/main arm64 dh-strip-nondeterminism all 1.15.0-1 [5090 B] 130s Get:37 http://ftpmaster.internal/ubuntu resolute/main arm64 debugedit arm64 1:5.2-3 [49.1 kB] 130s Get:38 http://ftpmaster.internal/ubuntu resolute/main arm64 dwz arm64 0.16-2 [113 kB] 130s Get:39 http://ftpmaster.internal/ubuntu resolute/main arm64 gettext arm64 0.23.2-1 [998 kB] 130s Get:40 http://ftpmaster.internal/ubuntu resolute/main arm64 intltool-debian all 0.35.0+20060710.6build1 [24.1 kB] 130s Get:41 http://ftpmaster.internal/ubuntu resolute/main arm64 po-debconf all 1.0.21+nmu1 [233 kB] 130s Get:42 http://ftpmaster.internal/ubuntu resolute/main arm64 debhelper all 13.24.2ubuntu1 [896 kB] 130s Get:43 http://ftpmaster.internal/ubuntu resolute/universe arm64 dh-python all 6.20251029 [120 kB] 131s Fetched 69.2 MB in 5s (12.7 MB/s) 131s Selecting previously unselected package m4. 131s (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 ... 88300 files and directories currently installed.) 131s Preparing to unpack .../00-m4_1.4.20-2_arm64.deb ... 131s Unpacking m4 (1.4.20-2) ... 131s Selecting previously unselected package autoconf. 131s Preparing to unpack .../01-autoconf_2.72-3.1ubuntu1_all.deb ... 131s Unpacking autoconf (2.72-3.1ubuntu1) ... 131s Selecting previously unselected package autotools-dev. 131s Preparing to unpack .../02-autotools-dev_20240727.1_all.deb ... 131s Unpacking autotools-dev (20240727.1) ... 131s Selecting previously unselected package automake. 131s Preparing to unpack .../03-automake_1%3a1.18.1-3_all.deb ... 131s Unpacking automake (1:1.18.1-3) ... 131s Selecting previously unselected package autopoint. 131s Preparing to unpack .../04-autopoint_0.23.2-1_all.deb ... 131s Unpacking autopoint (0.23.2-1) ... 131s Selecting previously unselected package libisl23:arm64. 131s Preparing to unpack .../05-libisl23_0.27-1_arm64.deb ... 131s Unpacking libisl23:arm64 (0.27-1) ... 131s Selecting previously unselected package libmpc3:arm64. 131s Preparing to unpack .../06-libmpc3_1.3.1-2_arm64.deb ... 131s Unpacking libmpc3:arm64 (1.3.1-2) ... 131s Selecting previously unselected package cpp-15-aarch64-linux-gnu. 131s Preparing to unpack .../07-cpp-15-aarch64-linux-gnu_15.2.0-9ubuntu1_arm64.deb ... 131s Unpacking cpp-15-aarch64-linux-gnu (15.2.0-9ubuntu1) ... 132s Selecting previously unselected package cpp-15. 132s Preparing to unpack .../08-cpp-15_15.2.0-9ubuntu1_arm64.deb ... 132s Unpacking cpp-15 (15.2.0-9ubuntu1) ... 132s Selecting previously unselected package cpp-aarch64-linux-gnu. 132s Preparing to unpack .../09-cpp-aarch64-linux-gnu_4%3a15.2.0-4ubuntu1_arm64.deb ... 132s Unpacking cpp-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ... 132s Selecting previously unselected package cpp. 132s Preparing to unpack .../10-cpp_4%3a15.2.0-4ubuntu1_arm64.deb ... 132s Unpacking cpp (4:15.2.0-4ubuntu1) ... 132s Selecting previously unselected package libcc1-0:arm64. 132s Preparing to unpack .../11-libcc1-0_15.2.0-9ubuntu1_arm64.deb ... 132s Unpacking libcc1-0:arm64 (15.2.0-9ubuntu1) ... 132s Selecting previously unselected package libgomp1:arm64. 132s Preparing to unpack .../12-libgomp1_15.2.0-9ubuntu1_arm64.deb ... 132s Unpacking libgomp1:arm64 (15.2.0-9ubuntu1) ... 132s Selecting previously unselected package libitm1:arm64. 132s Preparing to unpack .../13-libitm1_15.2.0-9ubuntu1_arm64.deb ... 132s Unpacking libitm1:arm64 (15.2.0-9ubuntu1) ... 132s Selecting previously unselected package libasan8:arm64. 132s Preparing to unpack .../14-libasan8_15.2.0-9ubuntu1_arm64.deb ... 132s Unpacking libasan8:arm64 (15.2.0-9ubuntu1) ... 132s Selecting previously unselected package liblsan0:arm64. 132s Preparing to unpack .../15-liblsan0_15.2.0-9ubuntu1_arm64.deb ... 132s Unpacking liblsan0:arm64 (15.2.0-9ubuntu1) ... 132s Selecting previously unselected package libtsan2:arm64. 132s Preparing to unpack .../16-libtsan2_15.2.0-9ubuntu1_arm64.deb ... 132s Unpacking libtsan2:arm64 (15.2.0-9ubuntu1) ... 132s Selecting previously unselected package libubsan1:arm64. 132s Preparing to unpack .../17-libubsan1_15.2.0-9ubuntu1_arm64.deb ... 132s Unpacking libubsan1:arm64 (15.2.0-9ubuntu1) ... 132s Selecting previously unselected package libhwasan0:arm64. 132s Preparing to unpack .../18-libhwasan0_15.2.0-9ubuntu1_arm64.deb ... 132s Unpacking libhwasan0:arm64 (15.2.0-9ubuntu1) ... 133s Selecting previously unselected package libgcc-15-dev:arm64. 133s Preparing to unpack .../19-libgcc-15-dev_15.2.0-9ubuntu1_arm64.deb ... 133s Unpacking libgcc-15-dev:arm64 (15.2.0-9ubuntu1) ... 133s Selecting previously unselected package gcc-15-aarch64-linux-gnu. 133s Preparing to unpack .../20-gcc-15-aarch64-linux-gnu_15.2.0-9ubuntu1_arm64.deb ... 133s Unpacking gcc-15-aarch64-linux-gnu (15.2.0-9ubuntu1) ... 133s Selecting previously unselected package gcc-15. 133s Preparing to unpack .../21-gcc-15_15.2.0-9ubuntu1_arm64.deb ... 133s Unpacking gcc-15 (15.2.0-9ubuntu1) ... 133s Selecting previously unselected package gcc-aarch64-linux-gnu. 133s Preparing to unpack .../22-gcc-aarch64-linux-gnu_4%3a15.2.0-4ubuntu1_arm64.deb ... 133s Unpacking gcc-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ... 133s Selecting previously unselected package gcc. 133s Preparing to unpack .../23-gcc_4%3a15.2.0-4ubuntu1_arm64.deb ... 133s Unpacking gcc (4:15.2.0-4ubuntu1) ... 133s Selecting previously unselected package libstdc++-15-dev:arm64. 133s Preparing to unpack .../24-libstdc++-15-dev_15.2.0-9ubuntu1_arm64.deb ... 133s Unpacking libstdc++-15-dev:arm64 (15.2.0-9ubuntu1) ... 134s Selecting previously unselected package g++-15-aarch64-linux-gnu. 134s Preparing to unpack .../25-g++-15-aarch64-linux-gnu_15.2.0-9ubuntu1_arm64.deb ... 134s Unpacking g++-15-aarch64-linux-gnu (15.2.0-9ubuntu1) ... 134s Selecting previously unselected package g++-15. 134s Preparing to unpack .../26-g++-15_15.2.0-9ubuntu1_arm64.deb ... 134s Unpacking g++-15 (15.2.0-9ubuntu1) ... 134s Selecting previously unselected package g++-aarch64-linux-gnu. 134s Preparing to unpack .../27-g++-aarch64-linux-gnu_4%3a15.2.0-4ubuntu1_arm64.deb ... 134s Unpacking g++-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ... 134s Selecting previously unselected package g++. 134s Preparing to unpack .../28-g++_4%3a15.2.0-4ubuntu1_arm64.deb ... 134s Unpacking g++ (4:15.2.0-4ubuntu1) ... 134s Selecting previously unselected package build-essential. 134s Preparing to unpack .../29-build-essential_12.12ubuntu2_arm64.deb ... 134s Unpacking build-essential (12.12ubuntu2) ... 134s Selecting previously unselected package libdebhelper-perl. 134s Preparing to unpack .../30-libdebhelper-perl_13.24.2ubuntu1_all.deb ... 134s Unpacking libdebhelper-perl (13.24.2ubuntu1) ... 134s Selecting previously unselected package libtool. 134s Preparing to unpack .../31-libtool_2.5.4-7_all.deb ... 134s Unpacking libtool (2.5.4-7) ... 134s Selecting previously unselected package dh-autoreconf. 134s Preparing to unpack .../32-dh-autoreconf_21_all.deb ... 134s Unpacking dh-autoreconf (21) ... 134s Selecting previously unselected package libarchive-zip-perl. 134s Preparing to unpack .../33-libarchive-zip-perl_1.68-1_all.deb ... 134s Unpacking libarchive-zip-perl (1.68-1) ... 134s Selecting previously unselected package libfile-stripnondeterminism-perl. 134s Preparing to unpack .../34-libfile-stripnondeterminism-perl_1.15.0-1_all.deb ... 134s Unpacking libfile-stripnondeterminism-perl (1.15.0-1) ... 135s Selecting previously unselected package dh-strip-nondeterminism. 135s Preparing to unpack .../35-dh-strip-nondeterminism_1.15.0-1_all.deb ... 135s Unpacking dh-strip-nondeterminism (1.15.0-1) ... 135s Selecting previously unselected package debugedit. 135s Preparing to unpack .../36-debugedit_1%3a5.2-3_arm64.deb ... 135s Unpacking debugedit (1:5.2-3) ... 135s Selecting previously unselected package dwz. 135s Preparing to unpack .../37-dwz_0.16-2_arm64.deb ... 135s Unpacking dwz (0.16-2) ... 135s Selecting previously unselected package gettext. 135s Preparing to unpack .../38-gettext_0.23.2-1_arm64.deb ... 135s Unpacking gettext (0.23.2-1) ... 135s Selecting previously unselected package intltool-debian. 135s Preparing to unpack .../39-intltool-debian_0.35.0+20060710.6build1_all.deb ... 135s Unpacking intltool-debian (0.35.0+20060710.6build1) ... 135s Selecting previously unselected package po-debconf. 135s Preparing to unpack .../40-po-debconf_1.0.21+nmu1_all.deb ... 135s Unpacking po-debconf (1.0.21+nmu1) ... 135s Selecting previously unselected package debhelper. 135s Preparing to unpack .../41-debhelper_13.24.2ubuntu1_all.deb ... 135s Unpacking debhelper (13.24.2ubuntu1) ... 135s Selecting previously unselected package dh-python. 135s Preparing to unpack .../42-dh-python_6.20251029_all.deb ... 135s Unpacking dh-python (6.20251029) ... 135s Setting up dh-python (6.20251029) ... 135s Setting up libarchive-zip-perl (1.68-1) ... 135s Setting up libdebhelper-perl (13.24.2ubuntu1) ... 135s Setting up m4 (1.4.20-2) ... 135s Setting up libgomp1:arm64 (15.2.0-9ubuntu1) ... 135s Setting up autotools-dev (20240727.1) ... 135s Setting up libmpc3:arm64 (1.3.1-2) ... 135s Setting up autopoint (0.23.2-1) ... 135s Setting up autoconf (2.72-3.1ubuntu1) ... 135s Setting up libubsan1:arm64 (15.2.0-9ubuntu1) ... 135s Setting up dwz (0.16-2) ... 135s Setting up libhwasan0:arm64 (15.2.0-9ubuntu1) ... 135s Setting up libasan8:arm64 (15.2.0-9ubuntu1) ... 135s Setting up debugedit (1:5.2-3) ... 135s Setting up libtsan2:arm64 (15.2.0-9ubuntu1) ... 135s Setting up libisl23:arm64 (0.27-1) ... 135s Setting up libcc1-0:arm64 (15.2.0-9ubuntu1) ... 135s Setting up liblsan0:arm64 (15.2.0-9ubuntu1) ... 135s Setting up libitm1:arm64 (15.2.0-9ubuntu1) ... 135s Setting up automake (1:1.18.1-3) ... 135s update-alternatives: using /usr/bin/automake-1.18 to provide /usr/bin/automake (automake) in auto mode 135s Setting up libfile-stripnondeterminism-perl (1.15.0-1) ... 135s Setting up cpp-15-aarch64-linux-gnu (15.2.0-9ubuntu1) ... 135s Setting up gettext (0.23.2-1) ... 135s Setting up libgcc-15-dev:arm64 (15.2.0-9ubuntu1) ... 135s Setting up intltool-debian (0.35.0+20060710.6build1) ... 135s Setting up cpp-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ... 135s Setting up libstdc++-15-dev:arm64 (15.2.0-9ubuntu1) ... 135s Setting up dh-strip-nondeterminism (1.15.0-1) ... 135s Setting up cpp-15 (15.2.0-9ubuntu1) ... 135s Setting up cpp (4:15.2.0-4ubuntu1) ... 135s Setting up gcc-15-aarch64-linux-gnu (15.2.0-9ubuntu1) ... 135s Setting up po-debconf (1.0.21+nmu1) ... 135s Setting up gcc-15 (15.2.0-9ubuntu1) ... 135s Setting up g++-15-aarch64-linux-gnu (15.2.0-9ubuntu1) ... 135s Setting up g++-15 (15.2.0-9ubuntu1) ... 135s Setting up gcc-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ... 135s Setting up libtool (2.5.4-7) ... 135s Setting up gcc (4:15.2.0-4ubuntu1) ... 135s Setting up dh-autoreconf (21) ... 135s Setting up g++-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ... 135s Setting up debhelper (13.24.2ubuntu1) ... 135s Setting up g++ (4:15.2.0-4ubuntu1) ... 135s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 135s Setting up build-essential (12.12ubuntu2) ... 135s Processing triggers for libc-bin (2.42-2ubuntu2) ... 135s Processing triggers for man-db (2.13.1-1) ... 137s Processing triggers for install-info (7.2-5) ... 137s Reading package lists... 138s Building dependency tree... 138s Reading state information... 138s Solving dependencies... 138s The following NEW packages will be installed: 138s fakeroot libfakeroot 139s 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. 139s Need to get 101 kB of archives. 139s After this operation, 465 kB of additional disk space will be used. 139s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 libfakeroot arm64 1.37.1.2-1 [33.8 kB] 139s Get:2 http://ftpmaster.internal/ubuntu resolute/main arm64 fakeroot arm64 1.37.1.2-1 [67.4 kB] 139s Fetched 101 kB in 1s (154 kB/s) 139s Selecting previously unselected package libfakeroot:arm64. 139s (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 ... 90621 files and directories currently installed.) 139s Preparing to unpack .../libfakeroot_1.37.1.2-1_arm64.deb ... 139s Unpacking libfakeroot:arm64 (1.37.1.2-1) ... 139s Selecting previously unselected package fakeroot. 139s Preparing to unpack .../fakeroot_1.37.1.2-1_arm64.deb ... 139s Unpacking fakeroot (1.37.1.2-1) ... 140s Setting up libfakeroot:arm64 (1.37.1.2-1) ... 140s Setting up fakeroot (1.37.1.2-1) ... 140s update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode 140s Processing triggers for man-db (2.13.1-1) ... 140s Processing triggers for libc-bin (2.42-2ubuntu2) ... 141s dpkg-buildpackage: info: source package ufw 141s dpkg-buildpackage: info: source version 0.36.2-9 141s dpkg-buildpackage: info: source distribution unstable 141s dpkg-buildpackage: info: source changed by Jamie Strandboge 141s dpkg-source --before-build . 141s dpkg-buildpackage: info: host architecture arm64 141s dpkg-source: warning: unknown information field 'Python-Version' in input data in binary package stanza of template control file 141s debian/rules clean 141s py3versions: no X-Python3-Version in control file, using supported versions 141s dh_testdir 141s dh_testroot 141s rm -f build-stamp 141s make clean 141s make[1]: Entering directory '/tmp/autopkgtest.G8920d/build.yyX/src' 141s rm -rf ./build 141s rm -rf ./staging 141s rm -rf ./tests/testarea ./tests/unit/tmp 141s rm -rf ./tmp 141s rm -rf ./snap-build 141s rm -rf ./parts ./stage ./prime 141s rm -f ./locales/mo/*.mo 141s rm -f ./tests/unit/*.pyc ./tests/*.pyc ./src/*.pyc 141s rm -rf ./tests/unit/__pycache__ ./tests/__pycache__ ./src/__pycache__ 141s rm -rf ./.coverage 141s rm -f ./ufw # unittest symlink 141s make[1]: Leaving directory '/tmp/autopkgtest.G8920d/build.yyX/src' 141s find . -name '*.py[co]' | xargs rm -f 141s dh_clean 141s debconf-updatepo 141s debian/rules binary 141s py3versions: no X-Python3-Version in control file, using supported versions 141s dh_testdir 141s touch build-stamp 141s dh_testdir 141s dh_testroot 141s dh_prep 141s dh_installdirs 141s /usr/bin/python3 ./setup.py install --root=/tmp/autopkgtest.G8920d/build.yyX/src/debian/tmp --install-layout=deb 142s make[1]: Entering directory '/tmp/autopkgtest.G8920d/build.yyX/src' 142s make -C locales all 142s make[2]: Entering directory '/tmp/autopkgtest.G8920d/build.yyX/src/locales' 142s for pofile in `ls po/*.po`; do \ 142s lang=$(basename $pofile .po); \ 142s echo "msgfmt -c -o mo/$lang.mo po/$lang.po"; \ 142s formatted=`msgfmt -c -o mo/$lang.mo po/$lang.po 2>&1 | grep fatal` ; \ 142s if [ "$formatted" != "" ]; then \ 142s exit 1; \ 142s fi; \ 142s done; \ 142s 142s msgfmt -c -o mo/ar.mo po/ar.po 142s msgfmt -c -o mo/ast.mo po/ast.po 142s msgfmt -c -o mo/bg.mo po/bg.po 142s msgfmt -c -o mo/bs.mo po/bs.po 142s msgfmt -c -o mo/ca.mo po/ca.po 142s msgfmt -c -o mo/ce.mo po/ce.po 142s msgfmt -c -o mo/cs.mo po/cs.po 142s msgfmt -c -o mo/da.mo po/da.po 142s msgfmt -c -o mo/de.mo po/de.po 142s msgfmt -c -o mo/el.mo po/el.po 142s msgfmt -c -o mo/en_AU.mo po/en_AU.po 142s msgfmt -c -o mo/en_GB.mo po/en_GB.po 142s msgfmt -c -o mo/es.mo po/es.po 142s msgfmt -c -o mo/et.mo po/et.po 142s msgfmt -c -o mo/fi.mo po/fi.po 142s msgfmt -c -o mo/fr.mo po/fr.po 142s msgfmt -c -o mo/he.mo po/he.po 142s msgfmt -c -o mo/hu.mo po/hu.po 142s msgfmt -c -o mo/id.mo po/id.po 142s msgfmt -c -o mo/it.mo po/it.po 142s msgfmt -c -o mo/ja.mo po/ja.po 142s msgfmt -c -o mo/ko.mo po/ko.po 142s msgfmt -c -o mo/lv.mo po/lv.po 142s msgfmt -c -o mo/nb.mo po/nb.po 142s msgfmt -c -o mo/nl.mo po/nl.po 142s msgfmt -c -o mo/pl.mo po/pl.po 142s msgfmt -c -o mo/pt.mo po/pt.po 142s msgfmt -c -o mo/pt_BR.mo po/pt_BR.po 142s msgfmt -c -o mo/ro.mo po/ro.po 142s msgfmt -c -o mo/ru.mo po/ru.po 142s msgfmt -c -o mo/se.mo po/se.po 142s msgfmt -c -o mo/sk.mo po/sk.po 142s msgfmt -c -o mo/sl.mo po/sl.po 142s msgfmt -c -o mo/sr.mo po/sr.po 142s msgfmt -c -o mo/sv.mo po/sv.po 142s msgfmt -c -o mo/tl.mo po/tl.po 142s msgfmt -c -o mo/tr.mo po/tr.po 142s msgfmt -c -o mo/uk.mo po/uk.po 142s msgfmt -c -o mo/ur.mo po/ur.po 142s msgfmt -c -o mo/zh_CN.mo po/zh_CN.po 142s msgfmt -c -o mo/zh_TW.mo po/zh_TW.po 142s make[2]: Leaving directory '/tmp/autopkgtest.G8920d/build.yyX/src/locales' 142s make[1]: Leaving directory '/tmp/autopkgtest.G8920d/build.yyX/src' 142s Found '/usr/sbin/iptables' 142s Found '/usr/sbin/iptables' version '1.8.11' 142s Updating staging/common.py 142s Updating staging/ufw to use /usr/bin/python3 142s Updating /tmp/autopkgtest.G8920d/build.yyX/src/debian/tmp/etc/default/ufw 142s Updating /tmp/autopkgtest.G8920d/build.yyX/src/debian/tmp/etc/ufw/ufw.conf 142s Updating /tmp/autopkgtest.G8920d/build.yyX/src/debian/tmp/etc/ufw/before.rules 142s Updating /tmp/autopkgtest.G8920d/build.yyX/src/debian/tmp/etc/ufw/after.rules 142s Updating /tmp/autopkgtest.G8920d/build.yyX/src/debian/tmp/etc/ufw/before6.rules 142s Updating /tmp/autopkgtest.G8920d/build.yyX/src/debian/tmp/etc/ufw/after6.rules 142s Updating /tmp/autopkgtest.G8920d/build.yyX/src/debian/tmp/usr/sbin/ufw 142s Updating /tmp/autopkgtest.G8920d/build.yyX/src/debian/tmp/usr/share/man/man8/ufw.8 142s Updating /tmp/autopkgtest.G8920d/build.yyX/src/debian/tmp/usr/share/man/man8/ufw-framework.8 142s Updating /tmp/autopkgtest.G8920d/build.yyX/src/debian/tmp/etc/ufw/sysctl.conf 142s Updating /tmp/autopkgtest.G8920d/build.yyX/src/debian/tmp/lib/ufw/ufw-init 142s Updating /tmp/autopkgtest.G8920d/build.yyX/src/debian/tmp/lib/ufw/ufw-init-functions 142s Updating /tmp/autopkgtest.G8920d/build.yyX/src/debian/tmp/etc/ufw/before.init 142s Updating /tmp/autopkgtest.G8920d/build.yyX/src/debian/tmp/etc/ufw/after.init 142s # these shouldn't be conffiles 142s mv /tmp/autopkgtest.G8920d/build.yyX/src/debian/tmp/etc/ufw/ufw.conf /tmp/autopkgtest.G8920d/build.yyX/src/debian/tmp/usr/share/ufw 142s mv /tmp/autopkgtest.G8920d/build.yyX/src/debian/tmp/etc/ufw/*.init /tmp/autopkgtest.G8920d/build.yyX/src/debian/tmp/usr/share/ufw 142s # these shouldn't be conffiles either, but we'll use the rules from 142s # /usr/share/ufw/iptables so just delete these and we'll use dh_link 142s # later 142s rm -f /tmp/autopkgtest.G8920d/build.yyX/src/debian/tmp/etc/ufw/*.rules 142s rm -f /tmp/autopkgtest.G8920d/build.yyX/src/debian/tmp/lib/ufw/*.rules 142s dh_link 142s # Rename and install the shell-completion file 142s cp /tmp/autopkgtest.G8920d/build.yyX/src/shell-completion/bash /tmp/autopkgtest.G8920d/build.yyX/src/debian/ufw/usr/share/bash-completion/completions/ufw 142s dh_testdir 142s dh_testroot 143s dh_installchangelogs 143s dh_installchangelogs ChangeLog 143s dh_installdocs 143s dh_installdocs README 143s dh_installexamples doc/skel-ui.example 143s dh_install 143s dh_installinit --no-start --no-stop-on-upgrade 143s # don't start the service on on install/upgrade and don't stop the 143s # service on upgrade 143s dh_installsystemd --no-start --no-stop-on-upgrade --no-restart-on-upgrade 143s dh_installlogrotate 143s dh_installman 143s dh_installdebconf 143s dh_lintian 143s : # Replace all '#!' calls to python with /usr/bin/python3 143s : # and make them executable 143s for i in `find debian -mindepth 3 -type f`; do \ 143s sed '1s,#!.*python[^ ]*\(.*\),#! /usr/bin/python3\1,' \ 143s $i > $i.temp; \ 143s if cmp --quiet $i $i.temp; then \ 143s rm -f $i.temp; \ 143s else \ 143s mv -f $i.temp $i; \ 143s chmod 755 $i; \ 143s echo "fixed interpreter: $i"; \ 143s fi; \ 143s done 144s fixed interpreter: debian/tmp/usr/sbin/ufw 144s fixed interpreter: debian/ufw/usr/share/doc/ufw/examples/skel-ui.example 144s fixed interpreter: debian/ufw/usr/sbin/ufw 145s # Don't install profiles on Ubuntu 145s if dpkg-vendor --is ubuntu; then \ 145s rm -f /tmp/autopkgtest.G8920d/build.yyX/src/debian/ufw/etc/ufw/applications.d/ufw-* ; \ 145s fi 145s dh_python3 -p ufw 145s I: dh_python3 tools:114: replacing shebang in debian/ufw/usr/sbin/ufw 145s dh_compress 145s dh_fixperms 145s dh_installdeb 145s dh_gencontrol 145s dpkg-gencontrol: warning: unknown information field 'Python-Version' in input data in binary package stanza of template control file 145s dh_md5sums 145s dh_builddeb 145s dpkg-deb: building package 'ufw' in '../ufw_0.36.2-9_all.deb'. 146s dpkg-genbuildinfo --build=binary -O../ufw_0.36.2-9_arm64.buildinfo 146s dpkg-genchanges --build=binary -O../ufw_0.36.2-9_arm64.changes 146s dpkg-genchanges: warning: unknown information field 'Python-Version' in input data in binary package stanza of template control file 146s dpkg-genchanges: info: binary-only upload (no source code included) 146s dpkg-source --after-build . 146s dpkg-source: warning: unknown information field 'Python-Version' in input data in binary package stanza of template control file 146s dpkg-buildpackage: info: binary-only upload (no source included) 146s dpkg-source: warning: unknown information field 'Python-Version' in input data in binary package stanza of template control file 148s command1 SKIP Test lists explicitly supported architectures, but the current architecture arm64 isn't listed. 148s autopkgtest [12:57:06]: test test-ufw.py: preparing testbed 171s Creating nova instance adt-resolute-arm64-ufw-20251204-125438-juju-7f2275-prod-proposed-migration-environment-20-162ec3f3-d88b-483f-8e3e-dbfa21da842a from image adt/ubuntu-resolute-arm64-server-20251204.img (UUID d10d485b-270b-4b77-bdc2-f40c1cd474cf)... 227s autopkgtest [12:58:25]: testbed dpkg architecture: arm64 228s autopkgtest [12:58:26]: testbed apt version: 3.1.12 228s autopkgtest [12:58:26]: @@@@@@@@@@@@@@@@@@@@ test bed setup 228s autopkgtest [12:58:26]: testbed release detected to be: resolute 229s autopkgtest [12:58:27]: updating testbed package index (apt update) 229s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 230s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 230s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 230s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 230s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [935 kB] 230s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [23.1 kB] 230s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [156 kB] 230s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 Packages [219 kB] 231s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 c-n-f Metadata [6632 B] 231s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 c-n-f Metadata [120 B] 231s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 Packages [727 kB] 231s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 c-n-f Metadata [20.6 kB] 231s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 Packages [8768 B] 231s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 c-n-f Metadata [644 B] 234s Fetched 2221 kB in 2s (1250 kB/s) 234s Reading package lists... 236s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 236s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 236s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 236s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 236s Reading package lists... 236s Reading package lists... 237s Building dependency tree... 237s Reading state information... 237s Calculating upgrade... 237s The following packages will be upgraded: 237s libproc2-0 procps 238s 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 238s Need to get 766 kB of archives. 238s After this operation, 1024 B of additional disk space will be used. 238s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libproc2-0 arm64 2:4.0.4-9ubuntu1 [59.5 kB] 238s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 procps arm64 2:4.0.4-9ubuntu1 [707 kB] 239s dpkg-preconfigure: unable to re-open stdin: No such file or directory 239s Fetched 766 kB in 1s (939 kB/s) 239s (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 ... 88300 files and directories currently installed.) 239s Preparing to unpack .../libproc2-0_2%3a4.0.4-9ubuntu1_arm64.deb ... 239s Unpacking libproc2-0:arm64 (2:4.0.4-9ubuntu1) over (2:4.0.4-8ubuntu3) ... 239s Preparing to unpack .../procps_2%3a4.0.4-9ubuntu1_arm64.deb ... 239s Unpacking procps (2:4.0.4-9ubuntu1) over (2:4.0.4-8ubuntu3) ... 240s Setting up libproc2-0:arm64 (2:4.0.4-9ubuntu1) ... 240s Setting up procps (2:4.0.4-9ubuntu1) ... 240s Processing triggers for systemd (257.9-0ubuntu2) ... 241s Processing triggers for man-db (2.13.1-1) ... 243s Processing triggers for libc-bin (2.42-2ubuntu2) ... 243s autopkgtest [12:58:41]: upgrading testbed (apt dist-upgrade and autopurge) 243s Reading package lists... 243s Building dependency tree... 243s Reading state information... 244s Calculating upgrade... 244s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 244s Reading package lists... 244s Building dependency tree... 244s Reading state information... 245s Solving dependencies... 245s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 245s autopkgtest [12:58:43]: rebooting testbed after setup commands that affected boot 277s Reading package lists... 277s Building dependency tree... 277s Reading state information... 277s Solving dependencies... 278s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 289s autopkgtest [12:59:27]: test test-ufw.py: [----------------------- 290s test_enable_disable (__main__.UfwTestAuto.test_enable_disable) 292s Test enable/disable ... ok 292s test_logging (__main__.UfwTestAuto.test_logging) 294s Test logging ... ok 295s test_requirements (__main__.UfwTestAuto.test_requirements) ... ok 295s test_service (__main__.UfwTestAuto.test_service) 296s Test service/proto ... ok 296s test_enable_disable (__main__.UfwTestNft.test_enable_disable) 298s Test enable/disable ... ok 298s test_logging (__main__.UfwTestNft.test_logging) 299s Test logging ... ok 300s test_requirements (__main__.UfwTestNft.test_requirements) ... ok 300s test_service (__main__.UfwTestNft.test_service) 301s Test service/proto ... ok 301s test_enable_disable (__main__.UfwTestLegacy.test_enable_disable) 302s Test enable/disable ... ok 302s test_logging (__main__.UfwTestLegacy.test_logging) 303s Test logging ... ok 304s test_requirements (__main__.UfwTestLegacy.test_requirements) ... ok 304s test_service (__main__.UfwTestLegacy.test_service) 305s Test service/proto ... ok 305s 305s ---------------------------------------------------------------------- 305s Ran 12 tests in 14.782s 305s 305s OK 305s autopkgtest [12:59:43]: test test-ufw.py: -----------------------] 306s test-ufw.py PASS 306s autopkgtest [12:59:44]: test test-ufw.py: - - - - - - - - - - results - - - - - - - - - - 306s autopkgtest [12:59:44]: test root-unittest: preparing testbed 327s Creating nova instance adt-resolute-arm64-ufw-20251204-125438-juju-7f2275-prod-proposed-migration-environment-20-162ec3f3-d88b-483f-8e3e-dbfa21da842a from image adt/ubuntu-resolute-arm64-server-20251204.img (UUID d10d485b-270b-4b77-bdc2-f40c1cd474cf)... 389s autopkgtest [13:01:07]: testbed dpkg architecture: arm64 389s autopkgtest [13:01:07]: testbed apt version: 3.1.12 390s autopkgtest [13:01:08]: @@@@@@@@@@@@@@@@@@@@ test bed setup 390s autopkgtest [13:01:08]: testbed release detected to be: resolute 391s autopkgtest [13:01:09]: updating testbed package index (apt update) 391s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 392s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 392s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 393s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 393s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [935 kB] 394s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [23.1 kB] 394s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [156 kB] 394s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 Packages [219 kB] 394s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 c-n-f Metadata [6632 B] 394s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 c-n-f Metadata [120 B] 394s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 Packages [727 kB] 395s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 c-n-f Metadata [20.6 kB] 395s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 Packages [8768 B] 395s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 c-n-f Metadata [644 B] 397s Fetched 2221 kB in 4s (572 kB/s) 398s Reading package lists... 399s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 399s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 399s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 399s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 400s Reading package lists... 400s Reading package lists... 400s Building dependency tree... 400s Reading state information... 401s Calculating upgrade... 401s The following packages will be upgraded: 401s libproc2-0 procps 401s 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 401s Need to get 766 kB of archives. 401s After this operation, 1024 B of additional disk space will be used. 401s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libproc2-0 arm64 2:4.0.4-9ubuntu1 [59.5 kB] 401s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 procps arm64 2:4.0.4-9ubuntu1 [707 kB] 402s dpkg-preconfigure: unable to re-open stdin: No such file or directory 402s Fetched 766 kB in 1s (775 kB/s) 403s (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 ... 88300 files and directories currently installed.) 403s Preparing to unpack .../libproc2-0_2%3a4.0.4-9ubuntu1_arm64.deb ... 403s Unpacking libproc2-0:arm64 (2:4.0.4-9ubuntu1) over (2:4.0.4-8ubuntu3) ... 403s Preparing to unpack .../procps_2%3a4.0.4-9ubuntu1_arm64.deb ... 403s Unpacking procps (2:4.0.4-9ubuntu1) over (2:4.0.4-8ubuntu3) ... 403s Setting up libproc2-0:arm64 (2:4.0.4-9ubuntu1) ... 403s Setting up procps (2:4.0.4-9ubuntu1) ... 404s Processing triggers for systemd (257.9-0ubuntu2) ... 404s Processing triggers for man-db (2.13.1-1) ... 406s Processing triggers for libc-bin (2.42-2ubuntu2) ... 406s autopkgtest [13:01:24]: upgrading testbed (apt dist-upgrade and autopurge) 406s Reading package lists... 406s Building dependency tree... 406s Reading state information... 406s Calculating upgrade... 407s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 407s Reading package lists... 407s Building dependency tree... 407s Reading state information... 407s Solving dependencies... 408s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 408s autopkgtest [13:01:26]: rebooting testbed after setup commands that affected boot 439s Reading package lists... 440s Building dependency tree... 440s Reading state information... 440s Solving dependencies... 440s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 445s autopkgtest [13:02:03]: test root-unittest: [----------------------- 445s Interpreter: python3 445s 445s rm -rf ./build 445s rm -rf ./staging 445s rm -rf ./tests/testarea ./tests/unit/tmp 445s rm -rf ./tmp 445s rm -rf ./snap-build 445s rm -rf ./parts ./stage ./prime 445s rm -f ./locales/mo/*.mo 445s rm -f ./tests/unit/*.pyc ./tests/*.pyc ./src/*.pyc 445s rm -rf ./tests/unit/__pycache__ ./tests/__pycache__ ./src/__pycache__ 445s rm -rf ./.coverage 445s rm -f ./ufw # unittest symlink 445s = Functional Tests = 445s net.ipv4.ip_forward = 0 445s net.ipv6.conf.default.forwarding = 0 445s net.ipv6.conf.all.forwarding = 0 445s 445s Performing tests 'root/bugs' 445s - installing 446s - result: 487s PASS 487s 487s Performing tests 'root/live' 487s - installing 487s - result: 577s PASS 577s 577s Performing tests 'root/live_apps' 577s - installing 578s - result: 624s PASS 624s 624s Performing tests 'root/live_route' 624s - installing 624s - result: 688s PASS 688s 688s Performing tests 'root/logging' 688s - installing 689s - result: 724s PASS 724s 724s Performing tests 'root/normalization' 724s - installing 725s - result: 740s PASS 740s 740s Performing tests 'root/requirements' 740s - installing 741s - result: 741s PASS 741s 741s Performing tests 'root/valid' 741s - installing 741s - result: 773s PASS 773s 773s Performing tests 'root/valid6' 773s - installing 773s - result: 802s PASS 802s net.ipv4.ip_forward = 0 802s net.ipv6.conf.default.forwarding = 0 802s net.ipv6.conf.all.forwarding = 0 802s 802s ------------------------ 802s Functional tests summary 802s ------------------------ 802s Attempted: 9 (1710 individual tests) 802s Skipped: 0 802s Errors: 0 803s autopkgtest [13:08:01]: test root-unittest: -----------------------] 803s autopkgtest [13:08:01]: test root-unittest: - - - - - - - - - - results - - - - - - - - - - 803s root-unittest PASS 803s autopkgtest [13:08:01]: test unittest: preparing testbed 804s Reading package lists... 804s Building dependency tree... 804s Reading state information... 804s Solving dependencies... 804s The following NEW packages will be installed: 804s dh-python 805s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 805s Need to get 120 kB of archives. 805s After this operation, 502 kB of additional disk space will be used. 805s Get:1 http://ftpmaster.internal/ubuntu resolute/universe arm64 dh-python all 6.20251029 [120 kB] 805s Fetched 120 kB in 0s (242 kB/s) 805s Selecting previously unselected package dh-python. 806s (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 ... 88300 files and directories currently installed.) 806s Preparing to unpack .../dh-python_6.20251029_all.deb ... 806s Unpacking dh-python (6.20251029) ... 806s Setting up dh-python (6.20251029) ... 806s Processing triggers for man-db (2.13.1-1) ... 807s autopkgtest [13:08:05]: test unittest: [----------------------- 807s Interpreter: python3 807s 807s = Unit Tests = 808s DEBUG: sys.path=['/tmp/autopkgtest.G8920d/build.yyX/src', '/usr/lib/python313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/usr/local/lib/python3.13/dist-packages', '/usr/lib/python3/dist-packages'] 808s DEBUG: test=['test_applications', 'test_backend', 'test_backend_iptables', 'test_common', 'test_frontend', 'test_parser', 'test_skeleton', 'test_util'] 808s test_applications 808s test_get_description (tests.unit.test_applications.ApplicationsTestCase.test_get_description) 808s Test get_description() ... ok 808s test_get_ports (tests.unit.test_applications.ApplicationsTestCase.test_get_ports) 808s Test get_ports() ... ok 808s test_get_profiles (tests.unit.test_applications.ApplicationsTestCase.test_get_profiles) 808s Test get_profiles() ... ok 808s test_get_title (tests.unit.test_applications.ApplicationsTestCase.test_get_title) 808s Test get_title() ... ok 808s test_valid_profile_name (tests.unit.test_applications.ApplicationsTestCase.test_valid_profile_name) 808s Test valid_profile_name() ... ok 808s test_verify_profile (tests.unit.test_applications.ApplicationsTestCase.test_verify_profile) 808s Test verify_profile() ... ok 808s test_verify_profile_bad (tests.unit.test_applications.ApplicationsTestCase.test_verify_profile_bad) 808s Test verify_profile() - bad ... {'description': 'missing title', 'ports': '53'} 808s {'title': 'missing description', 'ports': '22/tcp'} 808s {'title': 'missing ports', 'description': 'desc'} 808s {'title': '', 'description': 'empty title', 'ports': '80'} 808s {'title': 'empty description', 'description': '', 'ports': '80'} 808s {'title': 'empty ports', 'description': 'desc', 'ports': ''} 808s {'title': 'bad missing proto - list', 'description': 'desc', 'ports': '80,443'} 808s {'title': 'bad missing proto - range', 'description': 'desc', 'ports': '80:443'} 808s {'title': 'bad range too big', 'description': 'desc', 'ports': '80:70000/tcp'} 808s {'title': 'bad protocol - ah', 'description': 'desc', 'ports': '80/ah'} 808s {'title': 'bad protocol - esp', 'description': 'desc', 'ports': '80/esp'} 808s {'title': 'bad protocol - gre', 'description': 'desc', 'ports': '80/gre'} 808s {'title': 'bad protocol - igmp', 'description': 'desc', 'ports': '80/igmp'} 808s {'title': 'bad protocol - ipv6', 'description': 'desc', 'ports': '80/ipv6'} 808s {'title': 'bad protocol - vrrp', 'description': 'desc', 'ports': '80/vrrp'} 808s ok 808s 808s ---------------------------------------------------------------------- 808s Ran 7 tests in 0.048s 808s 808s OK 809s test_backend 809s test_installation_defaults (tests.unit.test_backend.BackendTestCase.test_installation_defaults) 809s Test installation defaults ... WARN: Checks disabled 809s ok 809s 809s ---------------------------------------------------------------------- 809s Ran 1 test in 0.010s 809s 809s OK 809s test_backend_iptables 809s test__get_defaults (tests.unit.test_backend_iptables.BackendIptablesTestCase.test__get_defaults) 809s Test _get_defaults() ... WARN: Checks disabled 809s ok 809s WARN: Checks disabled 809s test__need_reload (tests.unit.test_backend_iptables.BackendIptablesTestCase.test__need_reload) 809s Test _need_reload() ... ok 809s WARN: Checks disabled 809s test__reload_user_rules (tests.unit.test_backend_iptables.BackendIptablesTestCase.test__reload_user_rules) 809s Test _reload_user_rules() ... > | iptables-restore 809s > | ip6tables-restore 809s ok 809s test_find_application_name (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_find_application_name) 809s Test find_application_name() ... WARN: Checks disabled 809s ok 809s test_find_other_position (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_find_other_position) 809s Test find_other_position() ... WARN: Checks disabled 809s ok 809s test_get_app_rules_from_template (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_get_app_rules_from_template) 809s Test get_app_rules_from_template() ... WARN: Checks disabled 809s ok 809s test_get_default_application_policy (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_get_default_application_policy) 809s Test get_default_application_policy() ... WARN: Checks disabled 809s ok 809s test_get_loglevel (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_get_loglevel) 809s Test get_loglevel() ... WARN: Checks disabled 809s ok 809s test_get_matching (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_get_matching) 809s Test get_matching() ... WARN: Checks disabled 809s ok 809s test_get_rule_by_number (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_get_rule_by_number) 809s Test get_rule_by_number() ... WARN: Checks disabled 809s ok 809s test_get_rules_count (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_get_rules_count) 809s Test get_rules_count() ... WARN: Checks disabled 809s ok 809s test_get_running_raw (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_get_running_raw) 809s Test get_running_raw() ... WARN: Checks disabled 809s ok 809s test_get_status (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_get_status) 809s Test get_status() ... WARN: Checks disabled 813s ok 813s test_lp1838764 (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_lp1838764) 813s Test get_status() - LP: #1838764 ... WARN: Checks disabled 813s ok 813s test_reset (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_reset) 813s Test reset() ... WARN: Checks disabled 814s Backing up 'user.rules' to '/tmp/autopkgtest.G8920d/build.yyX/src/tests/unit/tmp/ufw/etc/ufw/user.rules.20251204_130811' 814s Backing up 'before.rules' to '/tmp/autopkgtest.G8920d/build.yyX/src/tests/unit/tmp/ufw/etc/ufw/before.rules.20251204_130811' 814s Backing up 'after.rules' to '/tmp/autopkgtest.G8920d/build.yyX/src/tests/unit/tmp/ufw/etc/ufw/after.rules.20251204_130811' 814s Backing up 'user6.rules' to '/tmp/autopkgtest.G8920d/build.yyX/src/tests/unit/tmp/ufw/etc/ufw/user6.rules.20251204_130811' 814s Backing up 'before6.rules' to '/tmp/autopkgtest.G8920d/build.yyX/src/tests/unit/tmp/ufw/etc/ufw/before6.rules.20251204_130811' 814s Backing up 'after6.rules' to '/tmp/autopkgtest.G8920d/build.yyX/src/tests/unit/tmp/ufw/etc/ufw/after6.rules.20251204_130811' 814s 814s Backing up 'user.rules' to '/tmp/autopkgtest.G8920d/build.yyX/src/tests/unit/tmp/ufw/etc/ufw/user.rules.20251204_130812' 814s Backing up 'before.rules' to '/tmp/autopkgtest.G8920d/build.yyX/src/tests/unit/tmp/ufw/etc/ufw/before.rules.20251204_130812' 814s Backing up 'after.rules' to '/tmp/autopkgtest.G8920d/build.yyX/src/tests/unit/tmp/ufw/etc/ufw/after.rules.20251204_130812' 814s Backing up 'user6.rules' to '/tmp/autopkgtest.G8920d/build.yyX/src/tests/unit/tmp/ufw/etc/ufw/user6.rules.20251204_130812' 814s Backing up 'before6.rules' to '/tmp/autopkgtest.G8920d/build.yyX/src/tests/unit/tmp/ufw/etc/ufw/before6.rules.20251204_130812' 814s Backing up 'after6.rules' to '/tmp/autopkgtest.G8920d/build.yyX/src/tests/unit/tmp/ufw/etc/ufw/after6.rules.20251204_130812' 814s 814s ok 814s test_set_bad_default (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_set_bad_default) 814s Test bad set_default_policy() ... WARN: Checks disabled 814s WARN: Checks disabled 814s ok 814s test_set_bad_default_application_policy (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_set_bad_default_application_policy) 814s Test bad set_default_application_policy() ... WARN: Checks disabled 814s ok 814s test_set_default (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_set_default) 814s Test set_default() ... ok 814s test_set_default_application_policy (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_set_default_application_policy) 814s Test set_default_application_policy() ... WARN: Checks disabled 814s ok 814s test_set_default_policy (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_set_default_policy) 814s Test set_default_policy() ... WARN: Checks disabled 814s WARN: Checks disabled 814s ok 814s test_set_loglevel (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_set_loglevel) 814s Test set_loglevel() ... WARN: Checks disabled 814s ok 814s test_set_rule (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_set_rule) 835s Test set_rule() ... ok 835s test_start_firewall (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_start_firewall) 835s Test start_firewall() ... WARN: Checks disabled 835s > running ufw-init 835s WARN: Checks disabled 835s ok 835s test_stop_firewall (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_stop_firewall) 835s Test stop_firewall() ... > running ufw-init 835s WARN: Checks disabled 835s ok 835s test_update_app_rule (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_update_app_rule) 835s Test upate_app_rule() ... ok 835s test_update_logging (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_update_logging) 835s Test update_logging() ... WARN: Checks disabled 836s ok 836s test_use_ipv6 (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_use_ipv6) 836s Test use_ipv6() ... WARN: Checks disabled 836s ok 836s 836s ---------------------------------------------------------------------- 836s Ran 27 tests in 26.611s 836s 836s OK 836s test_common 836s test__fix_anywhere (tests.unit.test_common.CommonTestCase.test__fix_anywhere) 836s Test _fix_anywhere() ... ok 836s test__get_attrib (tests.unit.test_common.CommonTestCase.test__get_attrib) 836s Test _get_attrib() ... ok 836s test__init_ (tests.unit.test_common.CommonTestCase.test__init_) 836s Test UFWRule.__init__() ... ok 836s test__is_anywhere (tests.unit.test_common.CommonTestCase.test__is_anywhere) 836s Test _is_anywhere() ... ok 836s test_dup_rule (tests.unit.test_common.CommonTestCase.test_dup_rule) 836s Test dup_rule() ... ok 836s test_format_rule (tests.unit.test_common.CommonTestCase.test_format_rule) 836s Test format_rule() ... ok 836s test_fuzzy_dst_match (tests.unit.test_common.CommonTestCase.test_fuzzy_dst_match) 836s Test fuzzy_dst_match() ... ok 836s test_get_app_tuple (tests.unit.test_common.CommonTestCase.test_get_app_tuple) 836s Test get_app_tuple() ... ok 836s test_match (tests.unit.test_common.CommonTestCase.test_match) 836s Test match() ... ok 837s test_normalize (tests.unit.test_common.CommonTestCase.test_normalize) 837s Test normalize() ... ok 837s test_set_action (tests.unit.test_common.CommonTestCase.test_set_action) 837s Test set_action() ... ok 837s test_set_direction (tests.unit.test_common.CommonTestCase.test_set_direction) 837s Test set_direction() ... ok 837s test_set_direction_bad (tests.unit.test_common.CommonTestCase.test_set_direction_bad) 837s Test set_direction() - bad ... ok 837s test_set_dst (tests.unit.test_common.CommonTestCase.test_set_dst) 837s Test set_dst() ... ok 837s test_set_dst_bad (tests.unit.test_common.CommonTestCase.test_set_dst_bad) 837s Test set_dst() - bad ... ok 837s test_set_interface (tests.unit.test_common.CommonTestCase.test_set_interface) 837s Test set_interface() ... ok 837s test_set_interface_bad (tests.unit.test_common.CommonTestCase.test_set_interface_bad) 837s Test set_interface() - bad ... ok 837s test_set_logtype (tests.unit.test_common.CommonTestCase.test_set_logtype) 837s Test set_logtype() ... ok 837s test_set_logtype_bad (tests.unit.test_common.CommonTestCase.test_set_logtype_bad) 837s Test set_logtype() - bad ... ok 837s test_set_port (tests.unit.test_common.CommonTestCase.test_set_port) 837s Test set_port() ... ok 837s test_set_port_bad (tests.unit.test_common.CommonTestCase.test_set_port_bad) 837s Test set_port() - bad ... ok 837s test_set_position (tests.unit.test_common.CommonTestCase.test_set_position) 837s Test set_position() ... ok 837s test_set_position_bad (tests.unit.test_common.CommonTestCase.test_set_position_bad) 837s Test set_position() - bad ... ok 837s test_set_protocol (tests.unit.test_common.CommonTestCase.test_set_protocol) 837s Test set_protocol() ... ok 837s test_set_protocol_bad (tests.unit.test_common.CommonTestCase.test_set_protocol_bad) 837s Test set_protocol() - bad ... ok 837s test_set_src (tests.unit.test_common.CommonTestCase.test_set_src) 837s Test set_src() ... ok 837s test_set_src_bad (tests.unit.test_common.CommonTestCase.test_set_src_bad) 837s Test set_src() - bad ... ok 837s test_set_v6 (tests.unit.test_common.CommonTestCase.test_set_v6) 837s Test set_v6() ... ok 837s test_ufwerror (tests.unit.test_common.CommonTestCase.test_ufwerror) 837s Test UFWError ... ok 837s test_ufwerror_str (tests.unit.test_common.CommonTestCase.test_ufwerror_str) 837s Test UFWError.str() ... ok 837s 837s ---------------------------------------------------------------------- 837s Ran 30 tests in 0.014s 837s 837s OK 837s test_frontend 837s test___init__ (tests.unit.test_frontend.FrontendTestCase.test___init__) 837s Test __init__() ... WARN: Checks disabled 837s WARN: Checks disabled 837s ok 837s test_application_add (tests.unit.test_frontend.FrontendTestCase.test_application_add) 837s Test application_add() ... ok 837s test_continue_under_ssh (tests.unit.test_frontend.FrontendTestCase.test_continue_under_ssh) 837s Test continue_under_ssh() ... WARN: Checks disabled 837s WARN: Checks disabled 837s ok 837s test_do_action (tests.unit.test_frontend.FrontendTestCase.test_do_action) 837s Test do_action() ... WARN: Checks disabled 837s WARN: Checks disabled 837s TODO: verify output of rules in do_action() 837s ok 837s test_do_action_remove_bad_appname (tests.unit.test_frontend.FrontendTestCase.test_do_action_remove_bad_appname) 837s Test do_action() remove bad appname ... WARN: Checks disabled 837s ok 837s test_do_application_action (tests.unit.test_frontend.FrontendTestCase.test_do_application_action) 837s Test do_application_action() ... WARN: Checks disabled 837s ok 837s test_get_command_help (tests.unit.test_frontend.FrontendTestCase.test_get_command_help) 837s Test get_command_help() ... WARN: Checks disabled 837s ok 837s test_get_show_added (tests.unit.test_frontend.FrontendTestCase.test_get_show_added) 837s Test get_show_added() ... WARN: Checks disabled 837s ok 837s test_get_show_listening (tests.unit.test_frontend.FrontendTestCase.test_get_show_listening) 837s Test get_show_listening() ... WARN: Checks disabled 837s ok 837s test_get_show_raw (tests.unit.test_frontend.FrontendTestCase.test_get_show_raw) 837s Test get_show_raw() ... WARN: Checks disabled 837s ok 837s WARN: Checks disabled 837s test_parse_command (tests.unit.test_frontend.FrontendTestCase.test_parse_command) 837s Test parse_command() ... ok 837s test_parse_command_bad (tests.unit.test_frontend.FrontendTestCase.test_parse_command_bad) 837s Test parse_command_bad ... WARN: Checks disabled 837s ERROR: Invalid syntax 837s ERROR: Invalid syntax 837s ERROR: Invalid syntax 837s ok 837s 837s ---------------------------------------------------------------------- 837s Ran 12 tests in 0.163s 837s 837s OK 838s test_parser 838s test_app_parse (tests.unit.test_parser.ParserTestCase.test_app_parse) 838s Test UFWCommandApp.parse() ... ok 838s test_bad_simple_action (tests.unit.test_parser.ParserTestCase.test_bad_simple_action) 838s Test bad simple action ... ok 838s test_bad_simple_action_with_direction (tests.unit.test_parser.ParserTestCase.test_bad_simple_action_with_direction) 838s Test bad simple action with direction ... ok 838s test_default_parse (tests.unit.test_parser.ParserTestCase.test_default_parse) 838s Test UFWCommandDefault.parse() ... ok 838s test_delete_bad_simple_action (tests.unit.test_parser.ParserTestCase.test_delete_bad_simple_action) 838s Test delete bad simple action ... ok 838s test_extended_parse (tests.unit.test_parser.ParserTestCase.test_extended_parse) 841s Test extended rule syntax ... 61920 rules checked 841s ok 841s test_logging_parse (tests.unit.test_parser.ParserTestCase.test_logging_parse) 841s Test UFWCommandLogging.parse() ... ok 841s test_misc_rules_parse (tests.unit.test_parser.ParserTestCase.test_misc_rules_parse) 841s Test rule syntax - miscellaneous ... ok 841s test_route_delete_num (tests.unit.test_parser.ParserTestCase.test_route_delete_num) 841s Test route delete NUM ... ok 841s test_rule_bad_syntax (tests.unit.test_parser.ParserTestCase.test_rule_bad_syntax) 841s Test rule syntax - bad ... ok 841s test_show_parse (tests.unit.test_parser.ParserTestCase.test_show_parse) 841s Test UFWCommandShow.parse() ... ok 841s test_simple_bad_numeric_port (tests.unit.test_parser.ParserTestCase.test_simple_bad_numeric_port) 841s Test simple bad numeric port ... ok 841s test_simple_parse (tests.unit.test_parser.ParserTestCase.test_simple_parse) 841s Test simple rule syntax ... 792 rules checked 841s ok 841s test_status_parse (tests.unit.test_parser.ParserTestCase.test_status_parse) 841s Test UFWCommandStatus.parse() ... ok 841s test_ufwcommand_help (tests.unit.test_parser.ParserTestCase.test_ufwcommand_help) 841s Test UFWCommand.help() ... ok 841s test_ufwcommand_parse (tests.unit.test_parser.ParserTestCase.test_ufwcommand_parse) 841s Test UFWCommand.parse() ... ok 841s test_ufwcommand_parse_basic_help (tests.unit.test_parser.ParserTestCase.test_ufwcommand_parse_basic_help) 841s Test parser.parse_command() - help ... ok 841s test_ufwcommand_parse_empty (tests.unit.test_parser.ParserTestCase.test_ufwcommand_parse_empty) 841s Test UFWCommand.parse([]) ... ok 841s test_ufwcommand_rule_get_command (tests.unit.test_parser.ParserTestCase.test_ufwcommand_rule_get_command) 848s Test UFWCommand(Route)Rule.get_command() ... 62717 rules checked 848s ok 848s test_ufwcommandbasic_parse_with_arg (tests.unit.test_parser.ParserTestCase.test_ufwcommandbasic_parse_with_arg) 848s Test UFWCommand.parse() - basic with arg ... ok 848s test_ufwparser_allowed_command (tests.unit.test_parser.ParserTestCase.test_ufwparser_allowed_command) 848s Test UFWParser.allowed_command() ... ok 848s test_ufwparser_register_command (tests.unit.test_parser.ParserTestCase.test_ufwparser_register_command) 848s Test UFWParser.register_command() ... ok 848s test_ufwparser_register_command_none (tests.unit.test_parser.ParserTestCase.test_ufwparser_register_command_none) 848s Test UFWParser.register_command() ... ok 848s test_ufwparser_response (tests.unit.test_parser.ParserTestCase.test_ufwparser_response) 848s Test UFWParserResponse.str() ... ok 848s 848s ---------------------------------------------------------------------- 848s Ran 24 tests in 9.850s 848s 848s OK 848s test_skeleton 848s test_example (tests.unit.test_skeleton.SkeletonTestCase.test_example) 848s Test example dummy test ... ok 848s 848s ---------------------------------------------------------------------- 848s Ran 1 test in 0.000s 848s 848s OK 849s test_util 849s test__address4_to_network (tests.unit.test_util.UtilTestCase.test__address4_to_network) 849s Test _address4_to_network() ... ok 849s test__address6_to_network (tests.unit.test_util.UtilTestCase.test__address6_to_network) 849s Test _address6_to_network() ... ok 849s test__cidr_to_dotted_netmask (tests.unit.test_util.UtilTestCase.test__cidr_to_dotted_netmask) 849s Test _cidr_to_dotted_netmask() ... ok 849s test__dotted_netmask_to_cidr (tests.unit.test_util.UtilTestCase.test__dotted_netmask_to_cidr) 849s Test _dotted_netmask_to_cidr() ... ok 849s test__get_proc_inodes (tests.unit.test_util.UtilTestCase.test__get_proc_inodes) 849s Test _get_proc_inodes() ... ok 849s test__read_proc_net_protocol (tests.unit.test_util.UtilTestCase.test__read_proc_net_protocol) 849s Test _read_proc_net_protocol() ... ok 849s test__valid_cidr_netmask (tests.unit.test_util.UtilTestCase.test__valid_cidr_netmask) 849s Test _valid_cidr_netmask() ... ok 849s test__valid_dotted_quads (tests.unit.test_util.UtilTestCase.test__valid_dotted_quads) 849s Test _valid_dotted_quads() ... ok 849s test_cidr_to_dotted_to_cidr (tests.unit.test_util.UtilTestCase.test_cidr_to_dotted_to_cidr) 849s Test _cidr_to_dotted_netmask() and _dotted_netmask_to_cidr() ... ok 849s test_close_files (tests.unit.test_util.UtilTestCase.test_close_files) 849s Test close_files() ... ok 849s test_cmd (tests.unit.test_util.UtilTestCase.test_cmd) 849s Test cmd() ... ok 849s test_cmd_pipe (tests.unit.test_util.UtilTestCase.test_cmd_pipe) 849s Test cmd_pipe() ... ok 849s test_create_lock (tests.unit.test_util.UtilTestCase.test_create_lock) 849s Test create_lock() ... ok 849s test_debug (tests.unit.test_util.UtilTestCase.test_debug) 849s Test debug() ... ('DEBUG: test debug()' output is intentional) 849s ok 849s test_error (tests.unit.test_util.UtilTestCase.test_error) 849s Test error() ... ('ERROR: test error()' output is intentional) 849s ok 849s test_get_if_from_ip (tests.unit.test_util.UtilTestCase.test_get_if_from_ip) 849s Test get_if_from_ip() ... skipped: TODO: python3 849s ok 849s test_get_ip_from_if (tests.unit.test_util.UtilTestCase.test_get_ip_from_if) 849s Test get_ip_from_if() ... skipped: TODO: python3 849s ok 849s test_get_iptables_version (tests.unit.test_util.UtilTestCase.test_get_iptables_version) 849s Test get_iptables_version() ... ok 849s test_get_netfilter_capabilities (tests.unit.test_util.UtilTestCase.test_get_netfilter_capabilities) 849s Test get_netfilter_capabilities() ... ok 849s test_get_netstat_output (tests.unit.test_util.UtilTestCase.test_get_netstat_output) 849s Test get_netstat_output() ... ok 849s test_get_ppid (tests.unit.test_util.UtilTestCase.test_get_ppid) 849s Test get_ppid() ... ok 849s test_get_ppid_no_space (tests.unit.test_util.UtilTestCase.test_get_ppid_no_space) 849s Test get_ppid() no space ... ok 849s test_get_ppid_with_parens (tests.unit.test_util.UtilTestCase.test_get_ppid_with_parens) 849s Test get_ppid() with parens ... ok 849s test_get_ppid_with_space (tests.unit.test_util.UtilTestCase.test_get_ppid_with_space) 849s Test get_ppid() with space ... ok 849s test_get_services_proto (tests.unit.test_util.UtilTestCase.test_get_services_proto) 849s Test get_services_proto() ... ok 849s test_hex_decode (tests.unit.test_util.UtilTestCase.test_hex_decode) 849s Test hex_decode() output ... ok 849s test_hex_encode (tests.unit.test_util.UtilTestCase.test_hex_encode) 849s Test hex_encode() output ... ok 849s test_human_sort (tests.unit.test_util.UtilTestCase.test_human_sort) 849s Test human_sort() ... ok 849s test_in_network (tests.unit.test_util.UtilTestCase.test_in_network) 849s Test in_network() ... DEBUG: test debug() 849s ERROR: test error() 849s ok 849s test_msg (tests.unit.test_util.UtilTestCase.test_msg) 849s Test msg() ... test msg() 849s test msg()('test msg()' output is intentional) 849s 849s ('test msg()' output is intentional) 849s ok 849s test_normalize_address_host_netmask (tests.unit.test_util.UtilTestCase.test_normalize_address_host_netmask) 849s Test normalize_address() with host_netmask ... ok 849s test_normalize_address_invalid_netmask (tests.unit.test_util.UtilTestCase.test_normalize_address_invalid_netmask) 849s Test normalize_address() with invalid_netmask ... ok 849s test_normalize_address_ipv6_cidr (tests.unit.test_util.UtilTestCase.test_normalize_address_ipv6_cidr) 849s Test normalize_address() with ipv6_cidr ... ok 849s test_normalize_address_ipv6_short_notation (tests.unit.test_util.UtilTestCase.test_normalize_address_ipv6_short_notation) 849s Test normalize_address() with ipv6_short_notation ... ok 849s test_normalize_address_netmask_to_cidr (tests.unit.test_util.UtilTestCase.test_normalize_address_netmask_to_cidr) 849s Test normalize_address() with netmask_to_cidr ... ok 849s test_normalize_address_valid_netmask_to_non_cidr (tests.unit.test_util.UtilTestCase.test_normalize_address_valid_netmask_to_non_cidr) 849s Test normalize_address() with valid_netmask_to_non_cidr ... ok 849s test_open_file_read (tests.unit.test_util.UtilTestCase.test_open_file_read) 849s Test open_file_read() ... ok 849s test_open_files (tests.unit.test_util.UtilTestCase.test_open_files) 849s Test open_files() ... ok 849s test_parse_netstat_output (tests.unit.test_util.UtilTestCase.test_parse_netstat_output) 849s Test parse_netstat_output() ... ok 849s test_parse_port_proto (tests.unit.test_util.UtilTestCase.test_parse_port_proto) 849s Test parse_port_proto() ... ok 849s test_under_ssh (tests.unit.test_util.UtilTestCase.test_under_ssh) 849s Test under_ssh() ... ok 849s test_valid_address (tests.unit.test_util.UtilTestCase.test_valid_address) 849s Test valid_address() ... ok 849s test_valid_address4 (tests.unit.test_util.UtilTestCase.test_valid_address4) 849s Test valid_address4() ... ok 849s test_valid_address6 (tests.unit.test_util.UtilTestCase.test_valid_address6) 849s Test valid_address6() ... (IPv6 support warning is intentional) 849s ok 849s test_valid_netmask (tests.unit.test_util.UtilTestCase.test_valid_netmask) 849s Test valid_netmask() ... ok 849s test_warn (tests.unit.test_util.UtilTestCase.test_warn) 849s Test warn() ... ('WARN: test warn()' output is intentional) 849s ok 849s test_word_wrap (tests.unit.test_util.UtilTestCase.test_word_wrap) 849s Test word_wrap() ... ok 849s test_wrap_text (tests.unit.test_util.UtilTestCase.test_wrap_text) 849s Test wrap_text() ... ok 849s test_write_to_file (tests.unit.test_util.UtilTestCase.test_write_to_file) 849s Test write_to_file() ... ok 849s 849s ---------------------------------------------------------------------- 849s Ran 49 tests in 0.150s 849s 849s OK 849s 849s ------------------ 849s Unit tests summary 849s ------------------ 849s Total=8 (Passed=8, Failed=0) 849s WARN: Couldn't find pid (is /proc mounted?) 849s WARN: python does not have IPv6 support. 849s WARN: test warn() 849s 849s 849s rm -rf ./build 849s rm -rf ./staging 849s rm -rf ./tests/testarea ./tests/unit/tmp 849s rm -rf ./tmp 849s rm -rf ./snap-build 849s rm -rf ./parts ./stage ./prime 849s rm -f ./locales/mo/*.mo 849s rm -f ./tests/unit/*.pyc ./tests/*.pyc ./src/*.pyc 849s rm -rf ./tests/unit/__pycache__ ./tests/__pycache__ ./src/__pycache__ 849s rm -rf ./.coverage 849s rm -f ./ufw # unittest symlink 849s = Functional Tests = 849s net.ipv4.ip_forward = 0 849s net.ipv6.conf.default.forwarding = 0 849s net.ipv6.conf.all.forwarding = 0 849s 849s Performing tests 'installation/check_help' 849s - installing 850s - result: 850s PASS 850s 850s Performing tests 'installation/check_root' 850s - installing 850s - result: 850s PASS 850s 850s Performing tests 'bad/apps' 850s - installing 851s - result: 860s PASS 860s 860s Performing tests 'bad/args' 860s - installing 861s - result: 902s PASS 902s 902s Performing tests 'bad/netmasks' 902s - installing 902s - result: 905s PASS 905s 905s Performing tests 'bad/policy' 905s - installing 906s - result: 907s PASS 907s 907s Performing tests 'bugs/apps' 907s - installing 908s - result: 910s PASS 910s 910s Performing tests 'bugs/misc' 910s - installing 910s - result: 913s PASS 913s 913s Performing tests 'bugs/rules' 913s - installing 914s - result: 914s PASS 914s 914s Performing tests 'good/apps' 914s - installing 915s - result: 947s PASS 947s 947s Performing tests 'good/args' 947s - installing 948s - result: 953s PASS 953s 953s Performing tests 'good/logging' 953s - installing 953s - result: 967s PASS 967s 967s Performing tests 'good/netmasks' 967s - installing 968s - result: 979s PASS 979s 979s Performing tests 'good/policy' 979s - installing 980s - result: 983s PASS 983s 983s Performing tests 'good/reports' 983s - installing 984s - result: 996s PASS 996s 996s Performing tests 'good/route' 996s - installing 996s - result: 1001s PASS 1001s 1001s Performing tests 'good/rules' 1001s - installing 1002s - result: 1049s PASS 1049s 1049s Performing tests 'ipv6/bad_args6' 1049s - installing 1049s - result: 1072s PASS 1072s 1072s Performing tests 'ipv6/good_args6' 1072s - installing 1073s - result: 1075s PASS 1075s 1075s Performing tests 'ipv6/logging' 1075s - installing 1075s - result: 1080s PASS 1080s 1080s Performing tests 'ipv6/rules6' 1080s - installing 1080s - result: 1098s PASS 1098s 1098s Performing tests 'ipv6/rules64' 1098s - installing 1098s - result: 1129s PASS 1129s net.ipv4.ip_forward = 0 1129s net.ipv6.conf.default.forwarding = 0 1129s net.ipv6.conf.all.forwarding = 0 1130s 1130s ------------------------ 1130s Functional tests summary 1130s ------------------------ 1130s Attempted: 22 (3339 individual tests) 1130s Skipped: 0 1130s Errors: 0 1130s autopkgtest [13:13:28]: test unittest: -----------------------] 1131s unittest PASS 1131s autopkgtest [13:13:29]: test unittest: - - - - - - - - - - results - - - - - - - - - - 1131s autopkgtest [13:13:29]: @@@@@@@@@@@@@@@@@@@@ summary 1131s command1 SKIP Test lists explicitly supported architectures, but the current architecture arm64 isn't listed. 1131s command1 SKIP Test lists explicitly supported architectures, but the current architecture arm64 isn't listed. 1131s test-ufw.py PASS 1131s root-unittest PASS 1131s unittest PASS