0s autopkgtest [22:45:19]: starting date and time: 2025-12-02 22:45:19+0000 0s autopkgtest [22:45:19]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [22:45:19]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.0svr9fta/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-cpu2-ram4-disk20-amd64 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@sto01-5.secgroup --name adt-resolute-amd64-ufw-20251202-224519-juju-7f2275-prod-proposed-migration-environment-2-23799cf1-7d07-42d0-a1a8-dc3523bf9435 --image adt/ubuntu-resolute-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-autopkgtest-workers-amd64 -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 3s Creating nova instance adt-resolute-amd64-ufw-20251202-224519-juju-7f2275-prod-proposed-migration-environment-2-23799cf1-7d07-42d0-a1a8-dc3523bf9435 from image adt/ubuntu-resolute-amd64-server-20251202.img (UUID 2f738dd5-7fa2-4ca0-90f0-baf94e87c733)... 40s autopkgtest [22:45:59]: testbed dpkg architecture: amd64 41s autopkgtest [22:46:00]: testbed apt version: 3.1.12 41s autopkgtest [22:46:00]: @@@@@@@@@@@@@@@@@@@@ test bed setup 41s autopkgtest [22:46:00]: testbed release detected to be: None 42s autopkgtest [22:46:01]: updating testbed package index (apt update) 42s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 42s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 42s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 42s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 42s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [829 kB] 42s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [20.5 kB] 42s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [132 kB] 42s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 Packages [122 kB] 42s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main i386 Packages [97.0 kB] 42s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 c-n-f Metadata [5436 B] 42s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 c-n-f Metadata [120 B] 43s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 Packages [576 kB] 43s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/universe i386 Packages [272 kB] 43s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 c-n-f Metadata [18.3 kB] 43s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse i386 Packages [3452 B] 43s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 Packages [8032 B] 43s Get:17 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 c-n-f Metadata [616 B] 44s Fetched 2208 kB in 1s (2340 kB/s) 45s Reading package lists... 45s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 45s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 45s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 45s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 46s Reading package lists... 46s Reading package lists... 46s Building dependency tree... 46s Reading state information... 46s Calculating upgrade... 46s The following packages will be upgraded: 46s libproc2-0 procps python3-jmespath 46s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 46s Need to get 791 kB of archives. 46s After this operation, 32.8 kB disk space will be freed. 46s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 libproc2-0 amd64 2:4.0.4-9ubuntu1 [59.4 kB] 46s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 procps amd64 2:4.0.4-9ubuntu1 [710 kB] 46s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-jmespath all 1.0.1-1build1 [21.2 kB] 47s dpkg-preconfigure: unable to re-open stdin: No such file or directory 47s Fetched 791 kB in 0s (3430 kB/s) 47s (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 ... 123179 files and directories currently installed.) 47s Preparing to unpack .../libproc2-0_2%3a4.0.4-9ubuntu1_amd64.deb ... 47s Unpacking libproc2-0:amd64 (2:4.0.4-9ubuntu1) over (2:4.0.4-8ubuntu3) ... 47s Preparing to unpack .../procps_2%3a4.0.4-9ubuntu1_amd64.deb ... 47s Unpacking procps (2:4.0.4-9ubuntu1) over (2:4.0.4-8ubuntu3) ... 47s Preparing to unpack .../python3-jmespath_1.0.1-1build1_all.deb ... 47s Unpacking python3-jmespath (1.0.1-1build1) over (1.0.1-1) ... 47s Setting up python3-jmespath (1.0.1-1build1) ... 47s Setting up libproc2-0:amd64 (2:4.0.4-9ubuntu1) ... 47s Setting up procps (2:4.0.4-9ubuntu1) ... 47s Processing triggers for systemd (257.9-0ubuntu2) ... 47s Processing triggers for man-db (2.13.1-1) ... 48s Processing triggers for libc-bin (2.42-2ubuntu2) ... 48s autopkgtest [22:46:07]: upgrading testbed (apt dist-upgrade and autopurge) 49s Reading package lists... 49s Building dependency tree... 49s Reading state information... 49s Calculating upgrade... 49s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 49s Reading package lists... 49s Building dependency tree... 49s Reading state information... 49s Solving dependencies... 49s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 49s autopkgtest [22:46:08]: rebooting testbed after setup commands that affected boot 76s autopkgtest [22:46:35]: testbed running kernel: Linux 6.17.0-6-generic #6-Ubuntu SMP PREEMPT_DYNAMIC Tue Oct 7 13:34:17 UTC 2025 78s autopkgtest [22:46:37]: @@@@@@@@@@@@@@@@@@@@ apt-source ufw 79s Get:1 http://ftpmaster.internal/ubuntu resolute/main ufw 0.36.2-9 (dsc) [2023 B] 79s Get:2 http://ftpmaster.internal/ubuntu resolute/main ufw 0.36.2-9 (tar) [593 kB] 79s Get:3 http://ftpmaster.internal/ubuntu resolute/main ufw 0.36.2-9 (diff) [46.0 kB] 80s gpgv: Signature made Mon Jan 20 18:04:22 2025 UTC 80s gpgv: using RSA key 4C20C06B5D8BDE688854D28A51DBDC58CC559573 80s gpgv: Can't check signature: No public key 80s dpkg-source: warning: cannot verify inline signature for ./ufw_0.36.2-9.dsc: no acceptable signature found 80s autopkgtest [22:46:39]: testing package ufw version 0.36.2-9 80s autopkgtest [22:46:39]: build needed for tests 81s Note, using directory '/tmp/autopkgtest.PcDd0J/build.Eyv/src' to get the build dependencies 81s Reading package lists... 81s Building dependency tree... 81s Reading state information... 81s Solving dependencies... 82s The following NEW packages will be installed: 82s autoconf automake autopoint autotools-dev build-essential cpp cpp-15 82s cpp-15-x86-64-linux-gnu cpp-x86-64-linux-gnu debhelper debugedit 82s dh-autoreconf dh-python dh-strip-nondeterminism dwz g++ g++-15 82s g++-15-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-15 82s gcc-15-x86-64-linux-gnu gcc-x86-64-linux-gnu gettext intltool-debian 82s libarchive-zip-perl libasan8 libcc1-0 libdebhelper-perl 82s libfile-stripnondeterminism-perl libgcc-15-dev libgomp1 libhwasan0 libisl23 82s libitm1 liblsan0 libmpc3 libquadmath0 libstdc++-15-dev libtool libtsan2 82s libubsan1 m4 po-debconf 82s 0 upgraded, 44 newly installed, 0 to remove and 0 not upgraded. 82s Need to get 74.7 MB of archives. 82s After this operation, 251 MB of additional disk space will be used. 82s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 m4 amd64 1.4.20-2 [217 kB] 82s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 autoconf all 2.72-3.1ubuntu1 [384 kB] 82s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 autotools-dev all 20240727.1 [43.4 kB] 82s Get:4 http://ftpmaster.internal/ubuntu resolute/main amd64 automake all 1:1.18.1-3 [582 kB] 82s Get:5 http://ftpmaster.internal/ubuntu resolute/main amd64 autopoint all 0.23.2-1 [620 kB] 82s Get:6 http://ftpmaster.internal/ubuntu resolute/main amd64 libisl23 amd64 0.27-1 [685 kB] 82s Get:7 http://ftpmaster.internal/ubuntu resolute/main amd64 libmpc3 amd64 1.3.1-2 [54.8 kB] 82s Get:8 http://ftpmaster.internal/ubuntu resolute/main amd64 cpp-15-x86-64-linux-gnu amd64 15.2.0-9ubuntu1 [12.9 MB] 82s Get:9 http://ftpmaster.internal/ubuntu resolute/main amd64 cpp-15 amd64 15.2.0-9ubuntu1 [1030 B] 82s Get:10 http://ftpmaster.internal/ubuntu resolute/main amd64 cpp-x86-64-linux-gnu amd64 4:15.2.0-4ubuntu1 [5746 B] 82s Get:11 http://ftpmaster.internal/ubuntu resolute/main amd64 cpp amd64 4:15.2.0-4ubuntu1 [22.4 kB] 82s Get:12 http://ftpmaster.internal/ubuntu resolute/main amd64 libcc1-0 amd64 15.2.0-9ubuntu1 [47.4 kB] 82s Get:13 http://ftpmaster.internal/ubuntu resolute/main amd64 libgomp1 amd64 15.2.0-9ubuntu1 [151 kB] 82s Get:14 http://ftpmaster.internal/ubuntu resolute/main amd64 libitm1 amd64 15.2.0-9ubuntu1 [29.6 kB] 82s Get:15 http://ftpmaster.internal/ubuntu resolute/main amd64 libasan8 amd64 15.2.0-9ubuntu1 [3071 kB] 82s Get:16 http://ftpmaster.internal/ubuntu resolute/main amd64 liblsan0 amd64 15.2.0-9ubuntu1 [1360 kB] 82s Get:17 http://ftpmaster.internal/ubuntu resolute/main amd64 libtsan2 amd64 15.2.0-9ubuntu1 [2757 kB] 82s Get:18 http://ftpmaster.internal/ubuntu resolute/main amd64 libubsan1 amd64 15.2.0-9ubuntu1 [1210 kB] 82s Get:19 http://ftpmaster.internal/ubuntu resolute/main amd64 libhwasan0 amd64 15.2.0-9ubuntu1 [1685 kB] 82s Get:20 http://ftpmaster.internal/ubuntu resolute/main amd64 libquadmath0 amd64 15.2.0-9ubuntu1 [153 kB] 82s Get:21 http://ftpmaster.internal/ubuntu resolute/main amd64 libgcc-15-dev amd64 15.2.0-9ubuntu1 [2863 kB] 83s Get:22 http://ftpmaster.internal/ubuntu resolute/main amd64 gcc-15-x86-64-linux-gnu amd64 15.2.0-9ubuntu1 [25.4 MB] 83s Get:23 http://ftpmaster.internal/ubuntu resolute/main amd64 gcc-15 amd64 15.2.0-9ubuntu1 [527 kB] 83s Get:24 http://ftpmaster.internal/ubuntu resolute/main amd64 gcc-x86-64-linux-gnu amd64 4:15.2.0-4ubuntu1 [1208 B] 83s Get:25 http://ftpmaster.internal/ubuntu resolute/main amd64 gcc amd64 4:15.2.0-4ubuntu1 [5024 B] 83s Get:26 http://ftpmaster.internal/ubuntu resolute/main amd64 libstdc++-15-dev amd64 15.2.0-9ubuntu1 [2574 kB] 83s Get:27 http://ftpmaster.internal/ubuntu resolute/main amd64 g++-15-x86-64-linux-gnu amd64 15.2.0-9ubuntu1 [14.4 MB] 83s Get:28 http://ftpmaster.internal/ubuntu resolute/main amd64 g++-15 amd64 15.2.0-9ubuntu1 [24.3 kB] 83s Get:29 http://ftpmaster.internal/ubuntu resolute/main amd64 g++-x86-64-linux-gnu amd64 4:15.2.0-4ubuntu1 [966 B] 83s Get:30 http://ftpmaster.internal/ubuntu resolute/main amd64 g++ amd64 4:15.2.0-4ubuntu1 [1100 B] 83s Get:31 http://ftpmaster.internal/ubuntu resolute/main amd64 build-essential amd64 12.12ubuntu2 [5256 B] 83s Get:32 http://ftpmaster.internal/ubuntu resolute/main amd64 libdebhelper-perl all 13.24.2ubuntu1 [95.7 kB] 83s Get:33 http://ftpmaster.internal/ubuntu resolute/main amd64 libtool all 2.5.4-7 [169 kB] 83s Get:34 http://ftpmaster.internal/ubuntu resolute/main amd64 dh-autoreconf all 21 [12.5 kB] 83s Get:35 http://ftpmaster.internal/ubuntu resolute/main amd64 libarchive-zip-perl all 1.68-1 [90.2 kB] 83s Get:36 http://ftpmaster.internal/ubuntu resolute/main amd64 libfile-stripnondeterminism-perl all 1.15.0-1 [20.5 kB] 83s Get:37 http://ftpmaster.internal/ubuntu resolute/main amd64 dh-strip-nondeterminism all 1.15.0-1 [5090 B] 83s Get:38 http://ftpmaster.internal/ubuntu resolute/main amd64 debugedit amd64 1:5.2-3 [49.9 kB] 83s Get:39 http://ftpmaster.internal/ubuntu resolute/main amd64 dwz amd64 0.16-2 [115 kB] 83s Get:40 http://ftpmaster.internal/ubuntu resolute/main amd64 gettext amd64 0.23.2-1 [1019 kB] 83s Get:41 http://ftpmaster.internal/ubuntu resolute/main amd64 intltool-debian all 0.35.0+20060710.6build1 [24.1 kB] 83s Get:42 http://ftpmaster.internal/ubuntu resolute/main amd64 po-debconf all 1.0.21+nmu1 [233 kB] 83s Get:43 http://ftpmaster.internal/ubuntu resolute/main amd64 debhelper all 13.24.2ubuntu1 [896 kB] 83s Get:44 http://ftpmaster.internal/ubuntu resolute/universe amd64 dh-python all 6.20251029 [120 kB] 84s Fetched 74.7 MB in 2s (42.6 MB/s) 84s Selecting previously unselected package m4. 84s (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 ... 123179 files and directories currently installed.) 84s Preparing to unpack .../00-m4_1.4.20-2_amd64.deb ... 84s Unpacking m4 (1.4.20-2) ... 84s Selecting previously unselected package autoconf. 84s Preparing to unpack .../01-autoconf_2.72-3.1ubuntu1_all.deb ... 84s Unpacking autoconf (2.72-3.1ubuntu1) ... 84s Selecting previously unselected package autotools-dev. 84s Preparing to unpack .../02-autotools-dev_20240727.1_all.deb ... 84s Unpacking autotools-dev (20240727.1) ... 84s Selecting previously unselected package automake. 84s Preparing to unpack .../03-automake_1%3a1.18.1-3_all.deb ... 84s Unpacking automake (1:1.18.1-3) ... 84s Selecting previously unselected package autopoint. 84s Preparing to unpack .../04-autopoint_0.23.2-1_all.deb ... 84s Unpacking autopoint (0.23.2-1) ... 84s Selecting previously unselected package libisl23:amd64. 84s Preparing to unpack .../05-libisl23_0.27-1_amd64.deb ... 84s Unpacking libisl23:amd64 (0.27-1) ... 84s Selecting previously unselected package libmpc3:amd64. 84s Preparing to unpack .../06-libmpc3_1.3.1-2_amd64.deb ... 84s Unpacking libmpc3:amd64 (1.3.1-2) ... 84s Selecting previously unselected package cpp-15-x86-64-linux-gnu. 84s Preparing to unpack .../07-cpp-15-x86-64-linux-gnu_15.2.0-9ubuntu1_amd64.deb ... 84s Unpacking cpp-15-x86-64-linux-gnu (15.2.0-9ubuntu1) ... 84s Selecting previously unselected package cpp-15. 84s Preparing to unpack .../08-cpp-15_15.2.0-9ubuntu1_amd64.deb ... 84s Unpacking cpp-15 (15.2.0-9ubuntu1) ... 84s Selecting previously unselected package cpp-x86-64-linux-gnu. 84s Preparing to unpack .../09-cpp-x86-64-linux-gnu_4%3a15.2.0-4ubuntu1_amd64.deb ... 84s Unpacking cpp-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ... 84s Selecting previously unselected package cpp. 84s Preparing to unpack .../10-cpp_4%3a15.2.0-4ubuntu1_amd64.deb ... 84s Unpacking cpp (4:15.2.0-4ubuntu1) ... 84s Selecting previously unselected package libcc1-0:amd64. 84s Preparing to unpack .../11-libcc1-0_15.2.0-9ubuntu1_amd64.deb ... 84s Unpacking libcc1-0:amd64 (15.2.0-9ubuntu1) ... 84s Selecting previously unselected package libgomp1:amd64. 84s Preparing to unpack .../12-libgomp1_15.2.0-9ubuntu1_amd64.deb ... 84s Unpacking libgomp1:amd64 (15.2.0-9ubuntu1) ... 84s Selecting previously unselected package libitm1:amd64. 84s Preparing to unpack .../13-libitm1_15.2.0-9ubuntu1_amd64.deb ... 84s Unpacking libitm1:amd64 (15.2.0-9ubuntu1) ... 84s Selecting previously unselected package libasan8:amd64. 84s Preparing to unpack .../14-libasan8_15.2.0-9ubuntu1_amd64.deb ... 84s Unpacking libasan8:amd64 (15.2.0-9ubuntu1) ... 84s Selecting previously unselected package liblsan0:amd64. 84s Preparing to unpack .../15-liblsan0_15.2.0-9ubuntu1_amd64.deb ... 84s Unpacking liblsan0:amd64 (15.2.0-9ubuntu1) ... 84s Selecting previously unselected package libtsan2:amd64. 84s Preparing to unpack .../16-libtsan2_15.2.0-9ubuntu1_amd64.deb ... 84s Unpacking libtsan2:amd64 (15.2.0-9ubuntu1) ... 84s Selecting previously unselected package libubsan1:amd64. 84s Preparing to unpack .../17-libubsan1_15.2.0-9ubuntu1_amd64.deb ... 84s Unpacking libubsan1:amd64 (15.2.0-9ubuntu1) ... 84s Selecting previously unselected package libhwasan0:amd64. 84s Preparing to unpack .../18-libhwasan0_15.2.0-9ubuntu1_amd64.deb ... 84s Unpacking libhwasan0:amd64 (15.2.0-9ubuntu1) ... 84s Selecting previously unselected package libquadmath0:amd64. 84s Preparing to unpack .../19-libquadmath0_15.2.0-9ubuntu1_amd64.deb ... 84s Unpacking libquadmath0:amd64 (15.2.0-9ubuntu1) ... 84s Selecting previously unselected package libgcc-15-dev:amd64. 84s Preparing to unpack .../20-libgcc-15-dev_15.2.0-9ubuntu1_amd64.deb ... 84s Unpacking libgcc-15-dev:amd64 (15.2.0-9ubuntu1) ... 84s Selecting previously unselected package gcc-15-x86-64-linux-gnu. 84s Preparing to unpack .../21-gcc-15-x86-64-linux-gnu_15.2.0-9ubuntu1_amd64.deb ... 84s Unpacking gcc-15-x86-64-linux-gnu (15.2.0-9ubuntu1) ... 84s Selecting previously unselected package gcc-15. 84s Preparing to unpack .../22-gcc-15_15.2.0-9ubuntu1_amd64.deb ... 84s Unpacking gcc-15 (15.2.0-9ubuntu1) ... 84s Selecting previously unselected package gcc-x86-64-linux-gnu. 84s Preparing to unpack .../23-gcc-x86-64-linux-gnu_4%3a15.2.0-4ubuntu1_amd64.deb ... 84s Unpacking gcc-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ... 85s Selecting previously unselected package gcc. 85s Preparing to unpack .../24-gcc_4%3a15.2.0-4ubuntu1_amd64.deb ... 85s Unpacking gcc (4:15.2.0-4ubuntu1) ... 85s Selecting previously unselected package libstdc++-15-dev:amd64. 85s Preparing to unpack .../25-libstdc++-15-dev_15.2.0-9ubuntu1_amd64.deb ... 85s Unpacking libstdc++-15-dev:amd64 (15.2.0-9ubuntu1) ... 85s Selecting previously unselected package g++-15-x86-64-linux-gnu. 85s Preparing to unpack .../26-g++-15-x86-64-linux-gnu_15.2.0-9ubuntu1_amd64.deb ... 85s Unpacking g++-15-x86-64-linux-gnu (15.2.0-9ubuntu1) ... 85s Selecting previously unselected package g++-15. 85s Preparing to unpack .../27-g++-15_15.2.0-9ubuntu1_amd64.deb ... 85s Unpacking g++-15 (15.2.0-9ubuntu1) ... 85s Selecting previously unselected package g++-x86-64-linux-gnu. 85s Preparing to unpack .../28-g++-x86-64-linux-gnu_4%3a15.2.0-4ubuntu1_amd64.deb ... 85s Unpacking g++-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ... 85s Selecting previously unselected package g++. 85s Preparing to unpack .../29-g++_4%3a15.2.0-4ubuntu1_amd64.deb ... 85s Unpacking g++ (4:15.2.0-4ubuntu1) ... 85s Selecting previously unselected package build-essential. 85s Preparing to unpack .../30-build-essential_12.12ubuntu2_amd64.deb ... 85s Unpacking build-essential (12.12ubuntu2) ... 85s Selecting previously unselected package libdebhelper-perl. 85s Preparing to unpack .../31-libdebhelper-perl_13.24.2ubuntu1_all.deb ... 85s Unpacking libdebhelper-perl (13.24.2ubuntu1) ... 85s Selecting previously unselected package libtool. 85s Preparing to unpack .../32-libtool_2.5.4-7_all.deb ... 85s Unpacking libtool (2.5.4-7) ... 85s Selecting previously unselected package dh-autoreconf. 85s Preparing to unpack .../33-dh-autoreconf_21_all.deb ... 85s Unpacking dh-autoreconf (21) ... 85s Selecting previously unselected package libarchive-zip-perl. 85s Preparing to unpack .../34-libarchive-zip-perl_1.68-1_all.deb ... 85s Unpacking libarchive-zip-perl (1.68-1) ... 85s Selecting previously unselected package libfile-stripnondeterminism-perl. 85s Preparing to unpack .../35-libfile-stripnondeterminism-perl_1.15.0-1_all.deb ... 85s Unpacking libfile-stripnondeterminism-perl (1.15.0-1) ... 85s Selecting previously unselected package dh-strip-nondeterminism. 85s Preparing to unpack .../36-dh-strip-nondeterminism_1.15.0-1_all.deb ... 85s Unpacking dh-strip-nondeterminism (1.15.0-1) ... 85s Selecting previously unselected package debugedit. 85s Preparing to unpack .../37-debugedit_1%3a5.2-3_amd64.deb ... 85s Unpacking debugedit (1:5.2-3) ... 85s Selecting previously unselected package dwz. 85s Preparing to unpack .../38-dwz_0.16-2_amd64.deb ... 85s Unpacking dwz (0.16-2) ... 85s Selecting previously unselected package gettext. 85s Preparing to unpack .../39-gettext_0.23.2-1_amd64.deb ... 85s Unpacking gettext (0.23.2-1) ... 85s Selecting previously unselected package intltool-debian. 85s Preparing to unpack .../40-intltool-debian_0.35.0+20060710.6build1_all.deb ... 85s Unpacking intltool-debian (0.35.0+20060710.6build1) ... 85s Selecting previously unselected package po-debconf. 85s Preparing to unpack .../41-po-debconf_1.0.21+nmu1_all.deb ... 85s Unpacking po-debconf (1.0.21+nmu1) ... 85s Selecting previously unselected package debhelper. 85s Preparing to unpack .../42-debhelper_13.24.2ubuntu1_all.deb ... 85s Unpacking debhelper (13.24.2ubuntu1) ... 85s Selecting previously unselected package dh-python. 85s Preparing to unpack .../43-dh-python_6.20251029_all.deb ... 85s Unpacking dh-python (6.20251029) ... 85s Setting up dh-python (6.20251029) ... 85s Setting up libarchive-zip-perl (1.68-1) ... 85s Setting up libdebhelper-perl (13.24.2ubuntu1) ... 85s Setting up m4 (1.4.20-2) ... 85s Setting up libgomp1:amd64 (15.2.0-9ubuntu1) ... 85s Setting up autotools-dev (20240727.1) ... 85s Setting up libquadmath0:amd64 (15.2.0-9ubuntu1) ... 85s Setting up libmpc3:amd64 (1.3.1-2) ... 85s Setting up autopoint (0.23.2-1) ... 85s Setting up autoconf (2.72-3.1ubuntu1) ... 85s Setting up libubsan1:amd64 (15.2.0-9ubuntu1) ... 85s Setting up dwz (0.16-2) ... 85s Setting up libhwasan0:amd64 (15.2.0-9ubuntu1) ... 85s Setting up libasan8:amd64 (15.2.0-9ubuntu1) ... 85s Setting up debugedit (1:5.2-3) ... 85s Setting up libtsan2:amd64 (15.2.0-9ubuntu1) ... 85s Setting up libisl23:amd64 (0.27-1) ... 85s Setting up libcc1-0:amd64 (15.2.0-9ubuntu1) ... 85s Setting up liblsan0:amd64 (15.2.0-9ubuntu1) ... 85s Setting up libitm1:amd64 (15.2.0-9ubuntu1) ... 85s Setting up automake (1:1.18.1-3) ... 85s update-alternatives: using /usr/bin/automake-1.18 to provide /usr/bin/automake (automake) in auto mode 85s Setting up libfile-stripnondeterminism-perl (1.15.0-1) ... 85s Setting up gettext (0.23.2-1) ... 85s Setting up libgcc-15-dev:amd64 (15.2.0-9ubuntu1) ... 85s Setting up cpp-15-x86-64-linux-gnu (15.2.0-9ubuntu1) ... 85s Setting up intltool-debian (0.35.0+20060710.6build1) ... 85s Setting up gcc-15-x86-64-linux-gnu (15.2.0-9ubuntu1) ... 85s Setting up libstdc++-15-dev:amd64 (15.2.0-9ubuntu1) ... 85s Setting up dh-strip-nondeterminism (1.15.0-1) ... 85s Setting up cpp-15 (15.2.0-9ubuntu1) ... 85s Setting up cpp-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ... 85s Setting up g++-15-x86-64-linux-gnu (15.2.0-9ubuntu1) ... 85s Setting up gcc-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ... 85s Setting up po-debconf (1.0.21+nmu1) ... 85s Setting up gcc-15 (15.2.0-9ubuntu1) ... 85s Setting up cpp (4:15.2.0-4ubuntu1) ... 85s Setting up g++-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ... 85s Setting up g++-15 (15.2.0-9ubuntu1) ... 85s Setting up libtool (2.5.4-7) ... 85s Setting up gcc (4:15.2.0-4ubuntu1) ... 85s Setting up dh-autoreconf (21) ... 85s Setting up g++ (4:15.2.0-4ubuntu1) ... 85s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 85s Setting up build-essential (12.12ubuntu2) ... 85s Setting up debhelper (13.24.2ubuntu1) ... 85s Processing triggers for install-info (7.2-5) ... 85s Processing triggers for libc-bin (2.42-2ubuntu2) ... 85s Processing triggers for man-db (2.13.1-1) ... 86s Reading package lists... 86s Building dependency tree... 86s Reading state information... 86s Solving dependencies... 87s The following NEW packages will be installed: 87s fakeroot libfakeroot 87s 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. 87s Need to get 102 kB of archives. 87s After this operation, 383 kB of additional disk space will be used. 87s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 libfakeroot amd64 1.37.1.2-1 [33.7 kB] 87s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 fakeroot amd64 1.37.1.2-1 [68.0 kB] 87s Fetched 102 kB in 0s (7352 kB/s) 87s Selecting previously unselected package libfakeroot:amd64. 87s (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 ... 125626 files and directories currently installed.) 87s Preparing to unpack .../libfakeroot_1.37.1.2-1_amd64.deb ... 87s Unpacking libfakeroot:amd64 (1.37.1.2-1) ... 87s Selecting previously unselected package fakeroot. 87s Preparing to unpack .../fakeroot_1.37.1.2-1_amd64.deb ... 87s Unpacking fakeroot (1.37.1.2-1) ... 87s Setting up libfakeroot:amd64 (1.37.1.2-1) ... 87s Setting up fakeroot (1.37.1.2-1) ... 87s update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode 87s Processing triggers for man-db (2.13.1-1) ... 87s Processing triggers for libc-bin (2.42-2ubuntu2) ... 88s dpkg-buildpackage: info: source package ufw 88s dpkg-buildpackage: info: source version 0.36.2-9 88s dpkg-buildpackage: info: source distribution unstable 88s dpkg-buildpackage: info: source changed by Jamie Strandboge 88s dpkg-source --before-build . 88s dpkg-buildpackage: info: host architecture amd64 88s dpkg-source: warning: unknown information field 'Python-Version' in input data in binary package stanza of template control file 88s debian/rules clean 88s py3versions: no X-Python3-Version in control file, using supported versions 88s dh_testdir 88s dh_testroot 88s rm -f build-stamp 88s make clean 88s make[1]: Entering directory '/tmp/autopkgtest.PcDd0J/build.Eyv/src' 88s rm -rf ./build 88s rm -rf ./staging 88s rm -rf ./tests/testarea ./tests/unit/tmp 88s rm -rf ./tmp 88s rm -rf ./snap-build 88s rm -rf ./parts ./stage ./prime 88s rm -f ./locales/mo/*.mo 88s rm -f ./tests/unit/*.pyc ./tests/*.pyc ./src/*.pyc 88s rm -rf ./tests/unit/__pycache__ ./tests/__pycache__ ./src/__pycache__ 88s rm -rf ./.coverage 88s rm -f ./ufw # unittest symlink 88s make[1]: Leaving directory '/tmp/autopkgtest.PcDd0J/build.Eyv/src' 88s find . -name '*.py[co]' | xargs rm -f 88s dh_clean 88s debconf-updatepo 88s debian/rules binary 88s py3versions: no X-Python3-Version in control file, using supported versions 88s dh_testdir 88s touch build-stamp 88s dh_testdir 88s dh_testroot 88s dh_prep 88s dh_installdirs 88s /usr/bin/python3 ./setup.py install --root=/tmp/autopkgtest.PcDd0J/build.Eyv/src/debian/tmp --install-layout=deb 88s make[1]: Entering directory '/tmp/autopkgtest.PcDd0J/build.Eyv/src' 88s make -C locales all 88s make[2]: Entering directory '/tmp/autopkgtest.PcDd0J/build.Eyv/src/locales' 88s for pofile in `ls po/*.po`; do \ 88s lang=$(basename $pofile .po); \ 88s echo "msgfmt -c -o mo/$lang.mo po/$lang.po"; \ 88s formatted=`msgfmt -c -o mo/$lang.mo po/$lang.po 2>&1 | grep fatal` ; \ 88s if [ "$formatted" != "" ]; then \ 88s exit 1; \ 88s fi; \ 88s done; \ 88s 88s msgfmt -c -o mo/ar.mo po/ar.po 88s msgfmt -c -o mo/ast.mo po/ast.po 88s msgfmt -c -o mo/bg.mo po/bg.po 88s msgfmt -c -o mo/bs.mo po/bs.po 88s msgfmt -c -o mo/ca.mo po/ca.po 88s msgfmt -c -o mo/ce.mo po/ce.po 88s msgfmt -c -o mo/cs.mo po/cs.po 88s msgfmt -c -o mo/da.mo po/da.po 88s msgfmt -c -o mo/de.mo po/de.po 88s msgfmt -c -o mo/el.mo po/el.po 88s msgfmt -c -o mo/en_AU.mo po/en_AU.po 88s msgfmt -c -o mo/en_GB.mo po/en_GB.po 88s msgfmt -c -o mo/es.mo po/es.po 88s msgfmt -c -o mo/et.mo po/et.po 88s msgfmt -c -o mo/fi.mo po/fi.po 88s msgfmt -c -o mo/fr.mo po/fr.po 88s msgfmt -c -o mo/he.mo po/he.po 88s msgfmt -c -o mo/hu.mo po/hu.po 88s msgfmt -c -o mo/id.mo po/id.po 88s msgfmt -c -o mo/it.mo po/it.po 88s msgfmt -c -o mo/ja.mo po/ja.po 88s msgfmt -c -o mo/ko.mo po/ko.po 88s msgfmt -c -o mo/lv.mo po/lv.po 88s msgfmt -c -o mo/nb.mo po/nb.po 88s msgfmt -c -o mo/nl.mo po/nl.po 88s msgfmt -c -o mo/pl.mo po/pl.po 88s msgfmt -c -o mo/pt.mo po/pt.po 88s msgfmt -c -o mo/pt_BR.mo po/pt_BR.po 88s msgfmt -c -o mo/ro.mo po/ro.po 88s msgfmt -c -o mo/ru.mo po/ru.po 88s msgfmt -c -o mo/se.mo po/se.po 88s msgfmt -c -o mo/sk.mo po/sk.po 88s msgfmt -c -o mo/sl.mo po/sl.po 88s msgfmt -c -o mo/sr.mo po/sr.po 88s msgfmt -c -o mo/sv.mo po/sv.po 88s msgfmt -c -o mo/tl.mo po/tl.po 88s msgfmt -c -o mo/tr.mo po/tr.po 88s msgfmt -c -o mo/uk.mo po/uk.po 88s msgfmt -c -o mo/ur.mo po/ur.po 88s msgfmt -c -o mo/zh_CN.mo po/zh_CN.po 88s msgfmt -c -o mo/zh_TW.mo po/zh_TW.po 88s make[2]: Leaving directory '/tmp/autopkgtest.PcDd0J/build.Eyv/src/locales' 88s make[1]: Leaving directory '/tmp/autopkgtest.PcDd0J/build.Eyv/src' 88s Found '/usr/sbin/iptables' 88s Found '/usr/sbin/iptables' version '1.8.11' 88s Updating staging/common.py 88s Updating staging/ufw to use /usr/bin/python3 88s Updating /tmp/autopkgtest.PcDd0J/build.Eyv/src/debian/tmp/etc/default/ufw 88s Updating /tmp/autopkgtest.PcDd0J/build.Eyv/src/debian/tmp/etc/ufw/ufw.conf 88s Updating /tmp/autopkgtest.PcDd0J/build.Eyv/src/debian/tmp/etc/ufw/before.rules 88s Updating /tmp/autopkgtest.PcDd0J/build.Eyv/src/debian/tmp/etc/ufw/after.rules 88s Updating /tmp/autopkgtest.PcDd0J/build.Eyv/src/debian/tmp/etc/ufw/before6.rules 88s Updating /tmp/autopkgtest.PcDd0J/build.Eyv/src/debian/tmp/etc/ufw/after6.rules 88s Updating /tmp/autopkgtest.PcDd0J/build.Eyv/src/debian/tmp/usr/sbin/ufw 88s Updating /tmp/autopkgtest.PcDd0J/build.Eyv/src/debian/tmp/usr/share/man/man8/ufw.8 88s Updating /tmp/autopkgtest.PcDd0J/build.Eyv/src/debian/tmp/usr/share/man/man8/ufw-framework.8 88s Updating /tmp/autopkgtest.PcDd0J/build.Eyv/src/debian/tmp/etc/ufw/sysctl.conf 88s Updating /tmp/autopkgtest.PcDd0J/build.Eyv/src/debian/tmp/lib/ufw/ufw-init 88s Updating /tmp/autopkgtest.PcDd0J/build.Eyv/src/debian/tmp/lib/ufw/ufw-init-functions 88s Updating /tmp/autopkgtest.PcDd0J/build.Eyv/src/debian/tmp/etc/ufw/before.init 88s Updating /tmp/autopkgtest.PcDd0J/build.Eyv/src/debian/tmp/etc/ufw/after.init 88s # these shouldn't be conffiles 88s mv /tmp/autopkgtest.PcDd0J/build.Eyv/src/debian/tmp/etc/ufw/ufw.conf /tmp/autopkgtest.PcDd0J/build.Eyv/src/debian/tmp/usr/share/ufw 88s mv /tmp/autopkgtest.PcDd0J/build.Eyv/src/debian/tmp/etc/ufw/*.init /tmp/autopkgtest.PcDd0J/build.Eyv/src/debian/tmp/usr/share/ufw 88s # these shouldn't be conffiles either, but we'll use the rules from 88s # /usr/share/ufw/iptables so just delete these and we'll use dh_link 88s # later 88s rm -f /tmp/autopkgtest.PcDd0J/build.Eyv/src/debian/tmp/etc/ufw/*.rules 88s rm -f /tmp/autopkgtest.PcDd0J/build.Eyv/src/debian/tmp/lib/ufw/*.rules 88s dh_link 88s # Rename and install the shell-completion file 88s cp /tmp/autopkgtest.PcDd0J/build.Eyv/src/shell-completion/bash /tmp/autopkgtest.PcDd0J/build.Eyv/src/debian/ufw/usr/share/bash-completion/completions/ufw 88s dh_testdir 88s dh_testroot 88s dh_installchangelogs 88s dh_installchangelogs ChangeLog 89s dh_installdocs 89s dh_installdocs README 89s dh_installexamples doc/skel-ui.example 89s dh_install 89s dh_installinit --no-start --no-stop-on-upgrade 89s # don't start the service on on install/upgrade and don't stop the 89s # service on upgrade 89s dh_installsystemd --no-start --no-stop-on-upgrade --no-restart-on-upgrade 89s dh_installlogrotate 89s dh_installman 89s dh_installdebconf 89s dh_lintian 89s : # Replace all '#!' calls to python with /usr/bin/python3 89s : # and make them executable 89s for i in `find debian -mindepth 3 -type f`; do \ 89s sed '1s,#!.*python[^ ]*\(.*\),#! /usr/bin/python3\1,' \ 89s $i > $i.temp; \ 89s if cmp --quiet $i $i.temp; then \ 89s rm -f $i.temp; \ 89s else \ 89s mv -f $i.temp $i; \ 89s chmod 755 $i; \ 89s echo "fixed interpreter: $i"; \ 89s fi; \ 89s done 89s fixed interpreter: debian/tmp/usr/sbin/ufw 89s fixed interpreter: debian/ufw/usr/share/doc/ufw/examples/skel-ui.example 89s fixed interpreter: debian/ufw/usr/sbin/ufw 89s # Don't install profiles on Ubuntu 89s if dpkg-vendor --is ubuntu; then \ 89s rm -f /tmp/autopkgtest.PcDd0J/build.Eyv/src/debian/ufw/etc/ufw/applications.d/ufw-* ; \ 89s fi 89s dh_python3 -p ufw 89s I: dh_python3 tools:114: replacing shebang in debian/ufw/usr/sbin/ufw 89s dh_compress 89s dh_fixperms 89s dh_installdeb 89s dh_gencontrol 89s dpkg-gencontrol: warning: unknown information field 'Python-Version' in input data in binary package stanza of template control file 89s dh_md5sums 89s dh_builddeb 89s dpkg-deb: building package 'ufw' in '../ufw_0.36.2-9_all.deb'. 90s dpkg-genbuildinfo --build=binary -O../ufw_0.36.2-9_amd64.buildinfo 90s dpkg-genchanges --build=binary -O../ufw_0.36.2-9_amd64.changes 90s dpkg-genchanges: warning: unknown information field 'Python-Version' in input data in binary package stanza of template control file 90s dpkg-genchanges: info: binary-only upload (no source code included) 90s dpkg-source --after-build . 90s dpkg-source: warning: unknown information field 'Python-Version' in input data in binary package stanza of template control file 90s dpkg-buildpackage: info: binary-only upload (no source included) 90s dpkg-source: warning: unknown information field 'Python-Version' in input data in binary package stanza of template control file 93s autopkgtest [22:46:52]: test test-ufw.py: preparing testbed 113s Creating nova instance adt-resolute-amd64-ufw-20251202-224519-juju-7f2275-prod-proposed-migration-environment-2-23799cf1-7d07-42d0-a1a8-dc3523bf9435 from image adt/ubuntu-resolute-amd64-server-20251202.img (UUID 2f738dd5-7fa2-4ca0-90f0-baf94e87c733)... 151s autopkgtest [22:47:50]: testbed dpkg architecture: amd64 151s autopkgtest [22:47:50]: testbed apt version: 3.1.12 151s autopkgtest [22:47:50]: @@@@@@@@@@@@@@@@@@@@ test bed setup 151s autopkgtest [22:47:50]: testbed release detected to be: resolute 152s autopkgtest [22:47:51]: updating testbed package index (apt update) 153s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 153s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 153s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 153s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 153s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [829 kB] 153s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [20.5 kB] 153s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [132 kB] 153s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main i386 Packages [97.0 kB] 153s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 Packages [122 kB] 153s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 c-n-f Metadata [5436 B] 153s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 c-n-f Metadata [120 B] 153s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/universe i386 Packages [272 kB] 153s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 Packages [576 kB] 153s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 c-n-f Metadata [18.3 kB] 153s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse i386 Packages [3452 B] 153s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 Packages [8032 B] 154s Get:17 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 c-n-f Metadata [616 B] 155s Fetched 2208 kB in 1s (2025 kB/s) 155s Reading package lists... 156s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 156s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 156s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 156s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 157s Reading package lists... 157s Reading package lists... 157s Building dependency tree... 157s Reading state information... 157s Calculating upgrade... 157s The following packages will be upgraded: 157s libproc2-0 procps python3-jmespath 157s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 157s Need to get 791 kB of archives. 157s After this operation, 32.8 kB disk space will be freed. 157s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 libproc2-0 amd64 2:4.0.4-9ubuntu1 [59.4 kB] 157s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 procps amd64 2:4.0.4-9ubuntu1 [710 kB] 157s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-jmespath all 1.0.1-1build1 [21.2 kB] 157s dpkg-preconfigure: unable to re-open stdin: No such file or directory 157s Fetched 791 kB in 0s (2671 kB/s) 158s (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 ... 123179 files and directories currently installed.) 158s Preparing to unpack .../libproc2-0_2%3a4.0.4-9ubuntu1_amd64.deb ... 158s Unpacking libproc2-0:amd64 (2:4.0.4-9ubuntu1) over (2:4.0.4-8ubuntu3) ... 158s Preparing to unpack .../procps_2%3a4.0.4-9ubuntu1_amd64.deb ... 158s Unpacking procps (2:4.0.4-9ubuntu1) over (2:4.0.4-8ubuntu3) ... 158s Preparing to unpack .../python3-jmespath_1.0.1-1build1_all.deb ... 158s Unpacking python3-jmespath (1.0.1-1build1) over (1.0.1-1) ... 158s Setting up python3-jmespath (1.0.1-1build1) ... 158s Setting up libproc2-0:amd64 (2:4.0.4-9ubuntu1) ... 158s Setting up procps (2:4.0.4-9ubuntu1) ... 158s Processing triggers for systemd (257.9-0ubuntu2) ... 158s Processing triggers for man-db (2.13.1-1) ... 159s Processing triggers for libc-bin (2.42-2ubuntu2) ... 159s autopkgtest [22:47:58]: upgrading testbed (apt dist-upgrade and autopurge) 159s Reading package lists... 159s Building dependency tree... 159s Reading state information... 160s Calculating upgrade... 160s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 160s Reading package lists... 160s Building dependency tree... 160s Reading state information... 160s Solving dependencies... 160s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 160s autopkgtest [22:47:59]: rebooting testbed after setup commands that affected boot 190s Reading package lists... 190s Building dependency tree... 190s Reading state information... 190s Solving dependencies... 190s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 191s autopkgtest [22:48:30]: test test-ufw.py: [----------------------- 192s test_enable_disable (__main__.UfwTestAuto.test_enable_disable) 193s Test enable/disable ... ok 193s test_logging (__main__.UfwTestAuto.test_logging) 194s Test logging ... ok 194s test_requirements (__main__.UfwTestAuto.test_requirements) ... ok 194s test_service (__main__.UfwTestAuto.test_service) 195s Test service/proto ... ok 195s test_enable_disable (__main__.UfwTestNft.test_enable_disable) 196s Test enable/disable ... ok 196s test_logging (__main__.UfwTestNft.test_logging) 197s Test logging ... ok 197s test_requirements (__main__.UfwTestNft.test_requirements) ... ok 197s test_service (__main__.UfwTestNft.test_service) 198s Test service/proto ... ok 198s test_enable_disable (__main__.UfwTestLegacy.test_enable_disable) 198s Test enable/disable ... ok 198s test_logging (__main__.UfwTestLegacy.test_logging) 199s Test logging ... ok 199s test_requirements (__main__.UfwTestLegacy.test_requirements) ... ok 199s test_service (__main__.UfwTestLegacy.test_service) 199s Test service/proto ... ok 199s 199s ---------------------------------------------------------------------- 199s Ran 12 tests in 7.773s 199s 199s OK 200s autopkgtest [22:48:39]: test test-ufw.py: -----------------------] 200s test-ufw.py PASS 200s autopkgtest [22:48:39]: test test-ufw.py: - - - - - - - - - - results - - - - - - - - - - 200s autopkgtest [22:48:39]: test command1: preparing testbed 200s Reading package lists... 201s Building dependency tree... 201s Reading state information... 201s Solving dependencies... 201s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 201s autopkgtest [22:48:40]: test command1: python3 debian/tests/test-ufw.py --container 201s autopkgtest [22:48:40]: test command1: [----------------------- 201s test_enable_disable (__main__.UfwTestAuto.test_enable_disable) 202s Test enable/disable ... ok 202s test_logging (__main__.UfwTestAuto.test_logging) 203s Test logging ... ok 204s test_requirements (__main__.UfwTestAuto.test_requirements) ... ok 204s test_service (__main__.UfwTestAuto.test_service) 205s Test service/proto ... ok 205s test_enable_disable (__main__.UfwTestNft.test_enable_disable) 206s Test enable/disable ... ok 206s test_logging (__main__.UfwTestNft.test_logging) 207s Test logging ... ok 207s test_requirements (__main__.UfwTestNft.test_requirements) ... ok 207s test_service (__main__.UfwTestNft.test_service) 208s Test service/proto ... ok 208s test_enable_disable (__main__.UfwTestLegacy.test_enable_disable) 208s Test enable/disable ... ok 208s test_logging (__main__.UfwTestLegacy.test_logging) 209s Test logging ... ok 209s test_requirements (__main__.UfwTestLegacy.test_requirements) ... ok 209s test_service (__main__.UfwTestLegacy.test_service) 209s Test service/proto ... Adjusting tests for x86_64 container 209s ok 209s 209s ---------------------------------------------------------------------- 209s Ran 12 tests in 7.600s 209s 209s OK 209s autopkgtest [22:48:48]: test command1: -----------------------] 210s autopkgtest [22:48:49]: test command1: - - - - - - - - - - results - - - - - - - - - - 210s command1 PASS 210s autopkgtest [22:48:49]: test root-unittest: preparing testbed 218s Creating nova instance adt-resolute-amd64-ufw-20251202-224519-juju-7f2275-prod-proposed-migration-environment-2-23799cf1-7d07-42d0-a1a8-dc3523bf9435 from image adt/ubuntu-resolute-amd64-server-20251202.img (UUID 2f738dd5-7fa2-4ca0-90f0-baf94e87c733)... 253s autopkgtest [22:49:32]: testbed dpkg architecture: amd64 253s autopkgtest [22:49:32]: testbed apt version: 3.1.12 254s autopkgtest [22:49:33]: @@@@@@@@@@@@@@@@@@@@ test bed setup 254s autopkgtest [22:49:33]: testbed release detected to be: resolute 255s autopkgtest [22:49:34]: updating testbed package index (apt update) 255s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 255s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 255s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 255s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 255s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [829 kB] 255s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [132 kB] 255s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [20.5 kB] 255s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main i386 Packages [97.0 kB] 256s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 Packages [122 kB] 256s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 c-n-f Metadata [5436 B] 256s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 c-n-f Metadata [120 B] 256s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 Packages [576 kB] 256s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/universe i386 Packages [272 kB] 256s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 c-n-f Metadata [18.3 kB] 256s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse i386 Packages [3452 B] 256s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 Packages [8032 B] 256s Get:17 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 c-n-f Metadata [616 B] 257s Fetched 2208 kB in 1s (2190 kB/s) 258s Reading package lists... 258s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 258s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 258s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 258s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 259s Reading package lists... 259s Reading package lists... 259s Building dependency tree... 259s Reading state information... 259s Calculating upgrade... 259s The following packages will be upgraded: 259s libproc2-0 procps python3-jmespath 259s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 259s Need to get 791 kB of archives. 259s After this operation, 32.8 kB disk space will be freed. 259s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 libproc2-0 amd64 2:4.0.4-9ubuntu1 [59.4 kB] 259s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 procps amd64 2:4.0.4-9ubuntu1 [710 kB] 259s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-jmespath all 1.0.1-1build1 [21.2 kB] 260s dpkg-preconfigure: unable to re-open stdin: No such file or directory 260s Fetched 791 kB in 0s (3473 kB/s) 260s (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 ... 123179 files and directories currently installed.) 260s Preparing to unpack .../libproc2-0_2%3a4.0.4-9ubuntu1_amd64.deb ... 260s Unpacking libproc2-0:amd64 (2:4.0.4-9ubuntu1) over (2:4.0.4-8ubuntu3) ... 260s Preparing to unpack .../procps_2%3a4.0.4-9ubuntu1_amd64.deb ... 260s Unpacking procps (2:4.0.4-9ubuntu1) over (2:4.0.4-8ubuntu3) ... 260s Preparing to unpack .../python3-jmespath_1.0.1-1build1_all.deb ... 260s Unpacking python3-jmespath (1.0.1-1build1) over (1.0.1-1) ... 260s Setting up python3-jmespath (1.0.1-1build1) ... 260s Setting up libproc2-0:amd64 (2:4.0.4-9ubuntu1) ... 260s Setting up procps (2:4.0.4-9ubuntu1) ... 260s Processing triggers for systemd (257.9-0ubuntu2) ... 260s Processing triggers for man-db (2.13.1-1) ... 261s Processing triggers for libc-bin (2.42-2ubuntu2) ... 261s autopkgtest [22:49:40]: upgrading testbed (apt dist-upgrade and autopurge) 262s Reading package lists... 262s Building dependency tree... 262s Reading state information... 262s Calculating upgrade... 262s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 262s Reading package lists... 262s Building dependency tree... 262s Reading state information... 262s Solving dependencies... 262s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 262s autopkgtest [22:49:41]: rebooting testbed after setup commands that affected boot 292s Reading package lists... 292s Building dependency tree... 292s Reading state information... 292s Solving dependencies... 293s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 295s autopkgtest [22:50:14]: test root-unittest: [----------------------- 295s Interpreter: python3 295s 295s rm -rf ./build 295s rm -rf ./staging 295s rm -rf ./tests/testarea ./tests/unit/tmp 295s rm -rf ./tmp 295s rm -rf ./snap-build 295s rm -rf ./parts ./stage ./prime 295s rm -f ./locales/mo/*.mo 295s rm -f ./tests/unit/*.pyc ./tests/*.pyc ./src/*.pyc 295s rm -rf ./tests/unit/__pycache__ ./tests/__pycache__ ./src/__pycache__ 295s rm -rf ./.coverage 295s rm -f ./ufw # unittest symlink 295s = Functional Tests = 295s net.ipv4.ip_forward = 0 295s net.ipv6.conf.default.forwarding = 0 295s net.ipv6.conf.all.forwarding = 0 295s 295s Performing tests 'root/bugs' 295s - installing 295s - result: 323s PASS 323s 323s Performing tests 'root/live' 323s - installing 324s - result: 381s PASS 381s 381s Performing tests 'root/live_apps' 381s - installing 381s - result: 407s PASS 407s 407s Performing tests 'root/live_route' 407s - installing 407s - result: 443s PASS 443s 443s Performing tests 'root/logging' 443s - installing 445s - result: 464s PASS 464s 464s Performing tests 'root/normalization' 464s - installing 464s - result: 473s PASS 473s 473s Performing tests 'root/requirements' 473s - installing 473s - result: 473s PASS 473s 473s Performing tests 'root/valid' 473s - installing 474s - result: 490s PASS 490s 490s Performing tests 'root/valid6' 490s - installing 490s - result: 506s PASS 506s net.ipv4.ip_forward = 0 506s net.ipv6.conf.default.forwarding = 0 506s net.ipv6.conf.all.forwarding = 0 506s 506s ------------------------ 506s Functional tests summary 506s ------------------------ 506s Attempted: 9 (1710 individual tests) 506s Skipped: 0 506s Errors: 0 506s autopkgtest [22:53:45]: test root-unittest: -----------------------] 507s autopkgtest [22:53:46]: test root-unittest: - - - - - - - - - - results - - - - - - - - - - 507s root-unittest PASS 507s autopkgtest [22:53:46]: test unittest: preparing testbed 507s Reading package lists... 508s Building dependency tree... 508s Reading state information... 508s Solving dependencies... 508s The following NEW packages will be installed: 508s dh-python 508s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 508s Need to get 120 kB of archives. 508s After this operation, 502 kB of additional disk space will be used. 508s Get:1 http://ftpmaster.internal/ubuntu resolute/universe amd64 dh-python all 6.20251029 [120 kB] 508s Fetched 120 kB in 0s (7269 kB/s) 508s Selecting previously unselected package dh-python. 508s (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 ... 123179 files and directories currently installed.) 508s Preparing to unpack .../dh-python_6.20251029_all.deb ... 508s Unpacking dh-python (6.20251029) ... 508s Setting up dh-python (6.20251029) ... 508s Processing triggers for man-db (2.13.1-1) ... 510s autopkgtest [22:53:49]: test unittest: [----------------------- 510s Interpreter: python3 510s 510s = Unit Tests = 510s DEBUG: sys.path=['/tmp/autopkgtest.PcDd0J/build.Eyv/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'] 510s DEBUG: test=['test_applications', 'test_backend', 'test_backend_iptables', 'test_common', 'test_frontend', 'test_parser', 'test_skeleton', 'test_util'] 510s test_applications 510s test_get_description (tests.unit.test_applications.ApplicationsTestCase.test_get_description) 510s Test get_description() ... ok 510s test_get_ports (tests.unit.test_applications.ApplicationsTestCase.test_get_ports) 510s Test get_ports() ... ok 510s test_get_profiles (tests.unit.test_applications.ApplicationsTestCase.test_get_profiles) 510s Test get_profiles() ... ok 510s test_get_title (tests.unit.test_applications.ApplicationsTestCase.test_get_title) 510s Test get_title() ... ok 510s test_valid_profile_name (tests.unit.test_applications.ApplicationsTestCase.test_valid_profile_name) 510s Test valid_profile_name() ... ok 510s test_verify_profile (tests.unit.test_applications.ApplicationsTestCase.test_verify_profile) 510s Test verify_profile() ... ok 510s test_verify_profile_bad (tests.unit.test_applications.ApplicationsTestCase.test_verify_profile_bad) 510s Test verify_profile() - bad ... {'description': 'missing title', 'ports': '53'} 510s {'title': 'missing description', 'ports': '22/tcp'} 510s {'title': 'missing ports', 'description': 'desc'} 510s {'title': '', 'description': 'empty title', 'ports': '80'} 510s {'title': 'empty description', 'description': '', 'ports': '80'} 510s {'title': 'empty ports', 'description': 'desc', 'ports': ''} 510s {'title': 'bad missing proto - list', 'description': 'desc', 'ports': '80,443'} 510s {'title': 'bad missing proto - range', 'description': 'desc', 'ports': '80:443'} 510s {'title': 'bad range too big', 'description': 'desc', 'ports': '80:70000/tcp'} 510s {'title': 'bad protocol - ah', 'description': 'desc', 'ports': '80/ah'} 510s {'title': 'bad protocol - esp', 'description': 'desc', 'ports': '80/esp'} 510s {'title': 'bad protocol - gre', 'description': 'desc', 'ports': '80/gre'} 510s {'title': 'bad protocol - igmp', 'description': 'desc', 'ports': '80/igmp'} 510s {'title': 'bad protocol - ipv6', 'description': 'desc', 'ports': '80/ipv6'} 510s {'title': 'bad protocol - vrrp', 'description': 'desc', 'ports': '80/vrrp'} 510s ok 510s 510s ---------------------------------------------------------------------- 510s Ran 7 tests in 0.025s 510s 510s OK 511s test_backend 511s test_installation_defaults (tests.unit.test_backend.BackendTestCase.test_installation_defaults) 511s Test installation defaults ... WARN: Checks disabled 511s ok 511s 511s ---------------------------------------------------------------------- 511s Ran 1 test in 0.005s 511s 511s OK 511s test_backend_iptables 511s test__get_defaults (tests.unit.test_backend_iptables.BackendIptablesTestCase.test__get_defaults) 511s Test _get_defaults() ... WARN: Checks disabled 511s WARN: Checks disabled 511s ok 511s test__need_reload (tests.unit.test_backend_iptables.BackendIptablesTestCase.test__need_reload) 511s Test _need_reload() ... WARN: Checks disabled 511s ok 511s test__reload_user_rules (tests.unit.test_backend_iptables.BackendIptablesTestCase.test__reload_user_rules) 511s Test _reload_user_rules() ... > | iptables-restore 511s > | ip6tables-restore 511s WARN: Checks disabled 511s ok 511s test_find_application_name (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_find_application_name) 511s Test find_application_name() ... ok 511s test_find_other_position (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_find_other_position) 511s Test find_other_position() ... WARN: Checks disabled 511s ok 511s test_get_app_rules_from_template (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_get_app_rules_from_template) 511s Test get_app_rules_from_template() ... WARN: Checks disabled 511s ok 511s test_get_default_application_policy (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_get_default_application_policy) 511s Test get_default_application_policy() ... WARN: Checks disabled 511s ok 511s test_get_loglevel (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_get_loglevel) 511s Test get_loglevel() ... WARN: Checks disabled 511s ok 511s test_get_matching (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_get_matching) 511s Test get_matching() ... WARN: Checks disabled 511s ok 511s test_get_rule_by_number (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_get_rule_by_number) 511s Test get_rule_by_number() ... WARN: Checks disabled 511s ok 511s test_get_rules_count (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_get_rules_count) 511s Test get_rules_count() ... WARN: Checks disabled 511s ok 511s test_get_running_raw (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_get_running_raw) 511s Test get_running_raw() ... WARN: Checks disabled 511s ok 511s WARN: Checks disabled 511s test_get_status (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_get_status) 513s Test get_status() ... ok 513s test_lp1838764 (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_lp1838764) 513s Test get_status() - LP: #1838764 ... WARN: Checks disabled 513s WARN: Checks disabled 513s ok 513s test_reset (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_reset) 514s Test reset() ... Backing up 'user.rules' to '/tmp/autopkgtest.PcDd0J/build.Eyv/src/tests/unit/tmp/ufw/etc/ufw/user.rules.20251202_225352' 514s Backing up 'before.rules' to '/tmp/autopkgtest.PcDd0J/build.Eyv/src/tests/unit/tmp/ufw/etc/ufw/before.rules.20251202_225352' 514s Backing up 'after.rules' to '/tmp/autopkgtest.PcDd0J/build.Eyv/src/tests/unit/tmp/ufw/etc/ufw/after.rules.20251202_225352' 514s Backing up 'user6.rules' to '/tmp/autopkgtest.PcDd0J/build.Eyv/src/tests/unit/tmp/ufw/etc/ufw/user6.rules.20251202_225352' 514s Backing up 'before6.rules' to '/tmp/autopkgtest.PcDd0J/build.Eyv/src/tests/unit/tmp/ufw/etc/ufw/before6.rules.20251202_225352' 514s Backing up 'after6.rules' to '/tmp/autopkgtest.PcDd0J/build.Eyv/src/tests/unit/tmp/ufw/etc/ufw/after6.rules.20251202_225352' 514s 514s Backing up 'user.rules' to '/tmp/autopkgtest.PcDd0J/build.Eyv/src/tests/unit/tmp/ufw/etc/ufw/user.rules.20251202_225353' 514s Backing up 'before.rules' to '/tmp/autopkgtest.PcDd0J/build.Eyv/src/tests/unit/tmp/ufw/etc/ufw/before.rules.20251202_225353' 514s Backing up 'after.rules' to '/tmp/autopkgtest.PcDd0J/build.Eyv/src/tests/unit/tmp/ufw/etc/ufw/after.rules.20251202_225353' 514s Backing up 'user6.rules' to '/tmp/autopkgtest.PcDd0J/build.Eyv/src/tests/unit/tmp/ufw/etc/ufw/user6.rules.20251202_225353' 514s Backing up 'before6.rules' to '/tmp/autopkgtest.PcDd0J/build.Eyv/src/tests/unit/tmp/ufw/etc/ufw/before6.rules.20251202_225353' 514s Backing up 'after6.rules' to '/tmp/autopkgtest.PcDd0J/build.Eyv/src/tests/unit/tmp/ufw/etc/ufw/after6.rules.20251202_225353' 514s 514s ok 514s test_set_bad_default (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_set_bad_default) 514s Test bad set_default_policy() ... WARN: Checks disabled 514s ok 514s test_set_bad_default_application_policy (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_set_bad_default_application_policy) 514s Test bad set_default_application_policy() ... WARN: Checks disabled 514s ok 514s test_set_default (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_set_default) 514s Test set_default() ... WARN: Checks disabled 514s ok 514s test_set_default_application_policy (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_set_default_application_policy) 514s Test set_default_application_policy() ... ok 514s test_set_default_policy (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_set_default_policy) 514s Test set_default_policy() ... WARN: Checks disabled 514s WARN: Checks disabled 514s ok 514s test_set_loglevel (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_set_loglevel) 514s Test set_loglevel() ... WARN: Checks disabled 514s WARN: Checks disabled 514s ok 514s test_set_rule (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_set_rule) 525s Test set_rule() ... ok 525s test_start_firewall (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_start_firewall) 525s Test start_firewall() ... WARN: Checks disabled 525s > running ufw-init 525s WARN: Checks disabled 525s ok 525s test_stop_firewall (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_stop_firewall) 525s Test stop_firewall() ... > running ufw-init 525s WARN: Checks disabled 525s ok 525s test_update_app_rule (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_update_app_rule) 525s Test upate_app_rule() ... WARN: Checks disabled 525s ok 525s test_update_logging (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_update_logging) 525s Test update_logging() ... ok 525s test_use_ipv6 (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_use_ipv6) 525s Test use_ipv6() ... WARN: Checks disabled 525s ok 525s 525s ---------------------------------------------------------------------- 525s Ran 27 tests in 14.555s 525s 525s OK 526s test_common 526s test__fix_anywhere (tests.unit.test_common.CommonTestCase.test__fix_anywhere) 526s Test _fix_anywhere() ... ok 526s test__get_attrib (tests.unit.test_common.CommonTestCase.test__get_attrib) 526s Test _get_attrib() ... ok 526s test__init_ (tests.unit.test_common.CommonTestCase.test__init_) 526s Test UFWRule.__init__() ... ok 526s test__is_anywhere (tests.unit.test_common.CommonTestCase.test__is_anywhere) 526s Test _is_anywhere() ... ok 526s test_dup_rule (tests.unit.test_common.CommonTestCase.test_dup_rule) 526s Test dup_rule() ... ok 526s test_format_rule (tests.unit.test_common.CommonTestCase.test_format_rule) 526s Test format_rule() ... ok 526s test_fuzzy_dst_match (tests.unit.test_common.CommonTestCase.test_fuzzy_dst_match) 526s Test fuzzy_dst_match() ... ok 526s test_get_app_tuple (tests.unit.test_common.CommonTestCase.test_get_app_tuple) 526s Test get_app_tuple() ... ok 526s test_match (tests.unit.test_common.CommonTestCase.test_match) 526s Test match() ... ok 526s test_normalize (tests.unit.test_common.CommonTestCase.test_normalize) 526s Test normalize() ... ok 526s test_set_action (tests.unit.test_common.CommonTestCase.test_set_action) 526s Test set_action() ... ok 526s test_set_direction (tests.unit.test_common.CommonTestCase.test_set_direction) 526s Test set_direction() ... ok 526s test_set_direction_bad (tests.unit.test_common.CommonTestCase.test_set_direction_bad) 526s Test set_direction() - bad ... ok 526s test_set_dst (tests.unit.test_common.CommonTestCase.test_set_dst) 526s Test set_dst() ... ok 526s test_set_dst_bad (tests.unit.test_common.CommonTestCase.test_set_dst_bad) 526s Test set_dst() - bad ... ok 526s test_set_interface (tests.unit.test_common.CommonTestCase.test_set_interface) 526s Test set_interface() ... ok 526s test_set_interface_bad (tests.unit.test_common.CommonTestCase.test_set_interface_bad) 526s Test set_interface() - bad ... ok 526s test_set_logtype (tests.unit.test_common.CommonTestCase.test_set_logtype) 526s Test set_logtype() ... ok 526s test_set_logtype_bad (tests.unit.test_common.CommonTestCase.test_set_logtype_bad) 526s Test set_logtype() - bad ... ok 526s test_set_port (tests.unit.test_common.CommonTestCase.test_set_port) 526s Test set_port() ... ok 526s test_set_port_bad (tests.unit.test_common.CommonTestCase.test_set_port_bad) 526s Test set_port() - bad ... ok 526s test_set_position (tests.unit.test_common.CommonTestCase.test_set_position) 526s Test set_position() ... ok 526s test_set_position_bad (tests.unit.test_common.CommonTestCase.test_set_position_bad) 526s Test set_position() - bad ... ok 526s test_set_protocol (tests.unit.test_common.CommonTestCase.test_set_protocol) 526s Test set_protocol() ... ok 526s test_set_protocol_bad (tests.unit.test_common.CommonTestCase.test_set_protocol_bad) 526s Test set_protocol() - bad ... ok 526s test_set_src (tests.unit.test_common.CommonTestCase.test_set_src) 526s Test set_src() ... ok 526s test_set_src_bad (tests.unit.test_common.CommonTestCase.test_set_src_bad) 526s Test set_src() - bad ... ok 526s test_set_v6 (tests.unit.test_common.CommonTestCase.test_set_v6) 526s Test set_v6() ... ok 526s test_ufwerror (tests.unit.test_common.CommonTestCase.test_ufwerror) 526s Test UFWError ... ok 526s test_ufwerror_str (tests.unit.test_common.CommonTestCase.test_ufwerror_str) 526s Test UFWError.str() ... ok 526s 526s ---------------------------------------------------------------------- 526s Ran 30 tests in 0.009s 526s 526s OK 526s test_frontend 526s test___init__ (tests.unit.test_frontend.FrontendTestCase.test___init__) 526s Test __init__() ... WARN: Checks disabled 526s WARN: Checks disabled 526s ok 526s test_application_add (tests.unit.test_frontend.FrontendTestCase.test_application_add) 526s Test application_add() ... WARN: Checks disabled 526s ok 526s test_continue_under_ssh (tests.unit.test_frontend.FrontendTestCase.test_continue_under_ssh) 526s Test continue_under_ssh() ... ok 526s test_do_action (tests.unit.test_frontend.FrontendTestCase.test_do_action) 526s Test do_action() ... WARN: Checks disabled 526s WARN: Checks disabled 526s WARN: Checks disabled 526s TODO: verify output of rules in do_action() 526s ok 526s test_do_action_remove_bad_appname (tests.unit.test_frontend.FrontendTestCase.test_do_action_remove_bad_appname) 526s Test do_action() remove bad appname ... WARN: Checks disabled 526s ok 526s test_do_application_action (tests.unit.test_frontend.FrontendTestCase.test_do_application_action) 526s Test do_application_action() ... WARN: Checks disabled 526s ok 526s test_get_command_help (tests.unit.test_frontend.FrontendTestCase.test_get_command_help) 526s Test get_command_help() ... WARN: Checks disabled 526s WARN: Checks disabled 526s ok 526s test_get_show_added (tests.unit.test_frontend.FrontendTestCase.test_get_show_added) 526s Test get_show_added() ... ok 526s test_get_show_listening (tests.unit.test_frontend.FrontendTestCase.test_get_show_listening) 526s Test get_show_listening() ... WARN: Checks disabled 526s ok 526s test_get_show_raw (tests.unit.test_frontend.FrontendTestCase.test_get_show_raw) 526s Test get_show_raw() ... WARN: Checks disabled 526s ok 526s test_parse_command (tests.unit.test_frontend.FrontendTestCase.test_parse_command) 526s WARN: Checks disabled 526s Test parse_command() ... ok 526s test_parse_command_bad (tests.unit.test_frontend.FrontendTestCase.test_parse_command_bad) 526s Test parse_command_bad ... WARN: Checks disabled 526s ok 526s ERROR: Invalid syntax 526s ERROR: Invalid syntax 526s ERROR: Invalid syntax 526s 526s ---------------------------------------------------------------------- 526s Ran 12 tests in 0.085s 526s 526s OK 526s test_parser 526s test_app_parse (tests.unit.test_parser.ParserTestCase.test_app_parse) 526s Test UFWCommandApp.parse() ... ok 526s test_bad_simple_action (tests.unit.test_parser.ParserTestCase.test_bad_simple_action) 526s Test bad simple action ... ok 526s test_bad_simple_action_with_direction (tests.unit.test_parser.ParserTestCase.test_bad_simple_action_with_direction) 526s Test bad simple action with direction ... ok 526s test_default_parse (tests.unit.test_parser.ParserTestCase.test_default_parse) 526s Test UFWCommandDefault.parse() ... ok 526s test_delete_bad_simple_action (tests.unit.test_parser.ParserTestCase.test_delete_bad_simple_action) 526s Test delete bad simple action ... ok 526s test_extended_parse (tests.unit.test_parser.ParserTestCase.test_extended_parse) 528s Test extended rule syntax ... 61920 rules checked 528s ok 528s test_logging_parse (tests.unit.test_parser.ParserTestCase.test_logging_parse) 528s Test UFWCommandLogging.parse() ... ok 528s test_misc_rules_parse (tests.unit.test_parser.ParserTestCase.test_misc_rules_parse) 528s Test rule syntax - miscellaneous ... ok 528s test_route_delete_num (tests.unit.test_parser.ParserTestCase.test_route_delete_num) 528s Test route delete NUM ... ok 528s test_rule_bad_syntax (tests.unit.test_parser.ParserTestCase.test_rule_bad_syntax) 528s Test rule syntax - bad ... ok 528s test_show_parse (tests.unit.test_parser.ParserTestCase.test_show_parse) 528s Test UFWCommandShow.parse() ... ok 528s test_simple_bad_numeric_port (tests.unit.test_parser.ParserTestCase.test_simple_bad_numeric_port) 528s Test simple bad numeric port ... ok 528s test_simple_parse (tests.unit.test_parser.ParserTestCase.test_simple_parse) 528s Test simple rule syntax ... 792 rules checked 528s ok 528s test_status_parse (tests.unit.test_parser.ParserTestCase.test_status_parse) 528s Test UFWCommandStatus.parse() ... ok 528s test_ufwcommand_help (tests.unit.test_parser.ParserTestCase.test_ufwcommand_help) 528s Test UFWCommand.help() ... ok 528s test_ufwcommand_parse (tests.unit.test_parser.ParserTestCase.test_ufwcommand_parse) 528s Test UFWCommand.parse() ... ok 528s test_ufwcommand_parse_basic_help (tests.unit.test_parser.ParserTestCase.test_ufwcommand_parse_basic_help) 528s Test parser.parse_command() - help ... ok 528s test_ufwcommand_parse_empty (tests.unit.test_parser.ParserTestCase.test_ufwcommand_parse_empty) 528s Test UFWCommand.parse([]) ... ok 528s test_ufwcommand_rule_get_command (tests.unit.test_parser.ParserTestCase.test_ufwcommand_rule_get_command) 532s Test UFWCommand(Route)Rule.get_command() ... 62717 rules checked 532s ok 532s test_ufwcommandbasic_parse_with_arg (tests.unit.test_parser.ParserTestCase.test_ufwcommandbasic_parse_with_arg) 532s Test UFWCommand.parse() - basic with arg ... ok 532s test_ufwparser_allowed_command (tests.unit.test_parser.ParserTestCase.test_ufwparser_allowed_command) 532s Test UFWParser.allowed_command() ... ok 532s test_ufwparser_register_command (tests.unit.test_parser.ParserTestCase.test_ufwparser_register_command) 532s Test UFWParser.register_command() ... ok 532s test_ufwparser_register_command_none (tests.unit.test_parser.ParserTestCase.test_ufwparser_register_command_none) 532s Test UFWParser.register_command() ... ok 532s test_ufwparser_response (tests.unit.test_parser.ParserTestCase.test_ufwparser_response) 532s Test UFWParserResponse.str() ... ok 532s 532s ---------------------------------------------------------------------- 532s Ran 24 tests in 5.172s 532s 532s OK 532s test_skeleton 532s test_example (tests.unit.test_skeleton.SkeletonTestCase.test_example) 532s Test example dummy test ... ok 532s 532s ---------------------------------------------------------------------- 532s Ran 1 test in 0.000s 532s 532s OK 532s test_util 532s test__address4_to_network (tests.unit.test_util.UtilTestCase.test__address4_to_network) 532s Test _address4_to_network() ... ok 532s test__address6_to_network (tests.unit.test_util.UtilTestCase.test__address6_to_network) 532s Test _address6_to_network() ... ok 532s test__cidr_to_dotted_netmask (tests.unit.test_util.UtilTestCase.test__cidr_to_dotted_netmask) 532s Test _cidr_to_dotted_netmask() ... ok 532s test__dotted_netmask_to_cidr (tests.unit.test_util.UtilTestCase.test__dotted_netmask_to_cidr) 532s Test _dotted_netmask_to_cidr() ... ok 532s test__get_proc_inodes (tests.unit.test_util.UtilTestCase.test__get_proc_inodes) 532s Test _get_proc_inodes() ... ok 532s test__read_proc_net_protocol (tests.unit.test_util.UtilTestCase.test__read_proc_net_protocol) 532s Test _read_proc_net_protocol() ... ok 532s test__valid_cidr_netmask (tests.unit.test_util.UtilTestCase.test__valid_cidr_netmask) 532s Test _valid_cidr_netmask() ... ok 532s test__valid_dotted_quads (tests.unit.test_util.UtilTestCase.test__valid_dotted_quads) 532s Test _valid_dotted_quads() ... ok 532s test_cidr_to_dotted_to_cidr (tests.unit.test_util.UtilTestCase.test_cidr_to_dotted_to_cidr) 532s Test _cidr_to_dotted_netmask() and _dotted_netmask_to_cidr() ... ok 532s test_close_files (tests.unit.test_util.UtilTestCase.test_close_files) 532s Test close_files() ... ok 532s test_cmd (tests.unit.test_util.UtilTestCase.test_cmd) 532s Test cmd() ... ok 532s test_cmd_pipe (tests.unit.test_util.UtilTestCase.test_cmd_pipe) 532s Test cmd_pipe() ... ok 532s test_create_lock (tests.unit.test_util.UtilTestCase.test_create_lock) 532s Test create_lock() ... ok 532s test_debug (tests.unit.test_util.UtilTestCase.test_debug) 532s Test debug() ... ('DEBUG: test debug()' output is intentional) 532s ok 532s test_error (tests.unit.test_util.UtilTestCase.test_error) 532s Test error() ... ('ERROR: test error()' output is intentional) 532s ok 532s test_get_if_from_ip (tests.unit.test_util.UtilTestCase.test_get_if_from_ip) 532s Test get_if_from_ip() ... skipped: TODO: python3 532s ok 532s test_get_ip_from_if (tests.unit.test_util.UtilTestCase.test_get_ip_from_if) 532s Test get_ip_from_if() ... skipped: TODO: python3 532s ok 532s test_get_iptables_version (tests.unit.test_util.UtilTestCase.test_get_iptables_version) 532s Test get_iptables_version() ... ok 532s test_get_netfilter_capabilities (tests.unit.test_util.UtilTestCase.test_get_netfilter_capabilities) 532s Test get_netfilter_capabilities() ... ok 532s test_get_netstat_output (tests.unit.test_util.UtilTestCase.test_get_netstat_output) 532s Test get_netstat_output() ... ok 532s test_get_ppid (tests.unit.test_util.UtilTestCase.test_get_ppid) 532s Test get_ppid() ... ok 532s test_get_ppid_no_space (tests.unit.test_util.UtilTestCase.test_get_ppid_no_space) 532s Test get_ppid() no space ... ok 532s test_get_ppid_with_parens (tests.unit.test_util.UtilTestCase.test_get_ppid_with_parens) 532s Test get_ppid() with parens ... ok 532s test_get_ppid_with_space (tests.unit.test_util.UtilTestCase.test_get_ppid_with_space) 532s Test get_ppid() with space ... ok 532s test_get_services_proto (tests.unit.test_util.UtilTestCase.test_get_services_proto) 532s Test get_services_proto() ... ok 532s test_hex_decode (tests.unit.test_util.UtilTestCase.test_hex_decode) 532s Test hex_decode() output ... ok 532s test_hex_encode (tests.unit.test_util.UtilTestCase.test_hex_encode) 532s Test hex_encode() output ... ok 532s DEBUG: test debug() 532s ERROR: test error() 532s test_human_sort (tests.unit.test_util.UtilTestCase.test_human_sort) 532s Test human_sort() ... ok 532s test_in_network (tests.unit.test_util.UtilTestCase.test_in_network) 532s Test in_network() ... ok 532s test_msg (tests.unit.test_util.UtilTestCase.test_msg) 532s Test msg() ... test msg() 532s test msg()('test msg()' output is intentional) 532s 532s ('test msg()' output is intentional) 532s ok 532s test_normalize_address_host_netmask (tests.unit.test_util.UtilTestCase.test_normalize_address_host_netmask) 532s Test normalize_address() with host_netmask ... ok 532s test_normalize_address_invalid_netmask (tests.unit.test_util.UtilTestCase.test_normalize_address_invalid_netmask) 532s Test normalize_address() with invalid_netmask ... ok 532s test_normalize_address_ipv6_cidr (tests.unit.test_util.UtilTestCase.test_normalize_address_ipv6_cidr) 532s Test normalize_address() with ipv6_cidr ... ok 532s test_normalize_address_ipv6_short_notation (tests.unit.test_util.UtilTestCase.test_normalize_address_ipv6_short_notation) 532s Test normalize_address() with ipv6_short_notation ... ok 532s test_normalize_address_netmask_to_cidr (tests.unit.test_util.UtilTestCase.test_normalize_address_netmask_to_cidr) 532s Test normalize_address() with netmask_to_cidr ... ok 532s test_normalize_address_valid_netmask_to_non_cidr (tests.unit.test_util.UtilTestCase.test_normalize_address_valid_netmask_to_non_cidr) 532s Test normalize_address() with valid_netmask_to_non_cidr ... ok 532s test_open_file_read (tests.unit.test_util.UtilTestCase.test_open_file_read) 532s Test open_file_read() ... ok 532s test_open_files (tests.unit.test_util.UtilTestCase.test_open_files) 532s Test open_files() ... ok 532s test_parse_netstat_output (tests.unit.test_util.UtilTestCase.test_parse_netstat_output) 532s Test parse_netstat_output() ... ok 532s test_parse_port_proto (tests.unit.test_util.UtilTestCase.test_parse_port_proto) 532s Test parse_port_proto() ... ok 532s test_under_ssh (tests.unit.test_util.UtilTestCase.test_under_ssh) 532s Test under_ssh() ... WARN: Couldn't find pid (is /proc mounted?) 532s ok 532s test_valid_address (tests.unit.test_util.UtilTestCase.test_valid_address) 532s Test valid_address() ... ok 532s WARN: python does not have IPv6 support. 532s WARN: test warn() 532s test_valid_address4 (tests.unit.test_util.UtilTestCase.test_valid_address4) 532s Test valid_address4() ... ok 532s test_valid_address6 (tests.unit.test_util.UtilTestCase.test_valid_address6) 532s Test valid_address6() ... (IPv6 support warning is intentional) 532s ok 532s test_valid_netmask (tests.unit.test_util.UtilTestCase.test_valid_netmask) 532s Test valid_netmask() ... ok 532s test_warn (tests.unit.test_util.UtilTestCase.test_warn) 532s Test warn() ... ('WARN: test warn()' output is intentional) 532s ok 532s test_word_wrap (tests.unit.test_util.UtilTestCase.test_word_wrap) 532s Test word_wrap() ... ok 532s test_wrap_text (tests.unit.test_util.UtilTestCase.test_wrap_text) 532s Test wrap_text() ... ok 532s test_write_to_file (tests.unit.test_util.UtilTestCase.test_write_to_file) 532s Test write_to_file() ... ok 532s 532s ---------------------------------------------------------------------- 532s Ran 49 tests in 0.088s 532s 532s OK 532s 532s ------------------ 532s Unit tests summary 532s ------------------ 532s Total=8 (Passed=8, Failed=0) 532s 532s 532s rm -rf ./build 532s rm -rf ./staging 532s rm -rf ./tests/testarea ./tests/unit/tmp 532s rm -rf ./tmp 532s rm -rf ./snap-build 532s rm -rf ./parts ./stage ./prime 532s rm -f ./locales/mo/*.mo 532s rm -f ./tests/unit/*.pyc ./tests/*.pyc ./src/*.pyc 532s rm -rf ./tests/unit/__pycache__ ./tests/__pycache__ ./src/__pycache__ 532s rm -rf ./.coverage 532s rm -f ./ufw # unittest symlink 532s = Functional Tests = 532s net.ipv4.ip_forward = 0 532s net.ipv6.conf.default.forwarding = 0 532s net.ipv6.conf.all.forwarding = 0 532s 532s Performing tests 'installation/check_help' 532s - installing 533s - result: 533s PASS 533s 533s Performing tests 'installation/check_root' 533s - installing 533s - result: 533s PASS 533s 533s Performing tests 'bad/apps' 533s - installing 533s - result: 538s PASS 538s 538s Performing tests 'bad/args' 538s - installing 538s - result: 558s PASS 558s 558s Performing tests 'bad/netmasks' 558s - installing 559s - result: 560s PASS 560s 560s Performing tests 'bad/policy' 560s - installing 560s - result: 561s PASS 561s 561s Performing tests 'bugs/apps' 561s - installing 561s - result: 562s PASS 562s 562s Performing tests 'bugs/misc' 562s - installing 563s - result: 564s PASS 564s 564s Performing tests 'bugs/rules' 564s - installing 564s - result: 564s PASS 564s 564s Performing tests 'good/apps' 564s - installing 565s - result: 583s PASS 583s 583s Performing tests 'good/args' 583s - installing 583s - result: 586s PASS 586s 586s Performing tests 'good/logging' 586s - installing 586s - result: 594s PASS 594s 594s Performing tests 'good/netmasks' 594s - installing 594s - result: 599s PASS 599s 599s Performing tests 'good/policy' 599s - installing 599s - result: 601s PASS 601s 601s Performing tests 'good/reports' 601s - installing 601s - result: 607s PASS 607s 607s Performing tests 'good/route' 607s - installing 608s - result: 610s PASS 610s 610s Performing tests 'good/rules' 610s - installing 610s - result: 634s PASS 634s 634s Performing tests 'ipv6/bad_args6' 634s - installing 634s - result: 645s PASS 645s 645s Performing tests 'ipv6/good_args6' 645s - installing 646s - result: 646s PASS 646s 646s Performing tests 'ipv6/logging' 646s - installing 647s - result: 649s PASS 649s 649s Performing tests 'ipv6/rules6' 649s - installing 650s - result: 659s PASS 659s 659s Performing tests 'ipv6/rules64' 659s - installing 660s - result: 675s PASS 675s net.ipv4.ip_forward = 0 675s net.ipv6.conf.default.forwarding = 0 675s net.ipv6.conf.all.forwarding = 0 675s 675s ------------------------ 675s Functional tests summary 675s ------------------------ 675s Attempted: 22 (3339 individual tests) 675s Skipped: 0 675s Errors: 0 676s autopkgtest [22:56:35]: test unittest: -----------------------] 676s unittest PASS 676s autopkgtest [22:56:35]: test unittest: - - - - - - - - - - results - - - - - - - - - - 676s autopkgtest [22:56:35]: @@@@@@@@@@@@@@@@@@@@ summary 676s test-ufw.py PASS 676s command1 PASS 676s root-unittest PASS 676s unittest PASS