0s autopkgtest [09:54:02]: starting date and time: 2024-10-30 09:54:02+0000 0s autopkgtest [09:54:02]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [09:54:02]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.mzn709ju/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:setuptools --apt-upgrade ufw --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=setuptools/75.2.0-1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-arm64-47.secgroup --name adt-plucky-arm64-ufw-20241030-095401-juju-7f2275-prod-proposed-migration-environment-2-e84cbd39-b53b-4b58-908f-39f6763d321f --image adt/ubuntu-plucky-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 74s autopkgtest [09:55:16]: testbed dpkg architecture: arm64 74s autopkgtest [09:55:16]: testbed apt version: 2.9.8 74s autopkgtest [09:55:16]: @@@@@@@@@@@@@@@@@@@@ test bed setup 75s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 75s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [212 kB] 75s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [2840 B] 75s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 75s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [28.1 kB] 75s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [59.3 kB] 75s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [50.3 kB] 75s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [249 kB] 75s Fetched 682 kB in 1s (961 kB/s) 75s Reading package lists... 78s Reading package lists... 79s Building dependency tree... 79s Reading state information... 80s Calculating upgrade... 80s The following NEW packages will be installed: 80s python3-jaraco.text 80s The following packages will be upgraded: 80s libkeyutils1 python3-pkg-resources python3-setuptools 80s 3 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 80s Need to get 812 kB of archives. 80s After this operation, 13.3 kB of additional disk space will be used. 80s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 libkeyutils1 arm64 1.6.3-4ubuntu2 [10.2 kB] 80s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-jaraco.text all 4.0.0-1 [11.5 kB] 80s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-pkg-resources all 75.2.0-1 [134 kB] 81s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-setuptools all 75.2.0-1 [657 kB] 81s Fetched 812 kB in 1s (1479 kB/s) 82s (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 ... 79697 files and directories currently installed.) 82s Preparing to unpack .../libkeyutils1_1.6.3-4ubuntu2_arm64.deb ... 82s Unpacking libkeyutils1:arm64 (1.6.3-4ubuntu2) over (1.6.3-3build1) ... 82s Selecting previously unselected package python3-jaraco.text. 82s Preparing to unpack .../python3-jaraco.text_4.0.0-1_all.deb ... 82s Unpacking python3-jaraco.text (4.0.0-1) ... 82s Preparing to unpack .../python3-pkg-resources_75.2.0-1_all.deb ... 82s Unpacking python3-pkg-resources (75.2.0-1) over (74.1.2-1) ... 82s Preparing to unpack .../python3-setuptools_75.2.0-1_all.deb ... 82s Unpacking python3-setuptools (75.2.0-1) over (74.1.2-1) ... 82s Setting up python3-pkg-resources (75.2.0-1) ... 83s Setting up libkeyutils1:arm64 (1.6.3-4ubuntu2) ... 83s Setting up python3-jaraco.text (4.0.0-1) ... 83s Setting up python3-setuptools (75.2.0-1) ... 84s Processing triggers for libc-bin (2.40-1ubuntu3) ... 84s Reading package lists... 85s Building dependency tree... 85s Reading state information... 86s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 86s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 86s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 86s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 86s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 87s Reading package lists... 87s Reading package lists... 88s Building dependency tree... 88s Reading state information... 88s Calculating upgrade... 89s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 89s Reading package lists... 89s Building dependency tree... 89s Reading state information... 90s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 93s autopkgtest [09:55:35]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 14:19:41 UTC 2024 93s autopkgtest [09:55:35]: @@@@@@@@@@@@@@@@@@@@ apt-source ufw 96s Get:1 http://ftpmaster.internal/ubuntu plucky/main ufw 0.36.2-6 (dsc) [2027 B] 96s Get:2 http://ftpmaster.internal/ubuntu plucky/main ufw 0.36.2-6 (tar) [593 kB] 96s Get:3 http://ftpmaster.internal/ubuntu plucky/main ufw 0.36.2-6 (diff) [44.4 kB] 96s gpgv: Signature made Mon Mar 11 13:32:13 2024 UTC 96s gpgv: using RSA key 4C20C06B5D8BDE688854D28A51DBDC58CC559573 96s gpgv: Can't check signature: No public key 96s dpkg-source: warning: cannot verify inline signature for ./ufw_0.36.2-6.dsc: no acceptable signature found 96s autopkgtest [09:55:38]: testing package ufw version 0.36.2-6 97s command1 SKIP Test lists explicitly supported architectures, but the current architecture arm64 isn't listed. 97s autopkgtest [09:55:39]: build needed for tests 101s Note, using directory '/tmp/autopkgtest.A7R9Xk/build.Moc/src' to get the build dependencies 101s Reading package lists... 101s Building dependency tree... 101s Reading state information... 102s Starting pkgProblemResolver with broken count: 0 102s Starting 2 pkgProblemResolver with broken count: 0 102s Done 103s The following NEW packages will be installed: 103s autoconf automake autopoint autotools-dev build-essential cpp cpp-14 103s cpp-14-aarch64-linux-gnu cpp-aarch64-linux-gnu debhelper debugedit 103s dh-autoreconf dh-python dh-strip-nondeterminism dwz g++ g++-14 103s g++-14-aarch64-linux-gnu g++-aarch64-linux-gnu gcc gcc-14 103s gcc-14-aarch64-linux-gnu gcc-aarch64-linux-gnu gettext intltool-debian 103s libarchive-zip-perl libasan8 libcc1-0 libdebhelper-perl 103s libfile-stripnondeterminism-perl libgcc-14-dev libgomp1 libhwasan0 libisl23 103s libitm1 liblsan0 libmpc3 libstdc++-14-dev libtool libtsan2 libubsan1 m4 103s po-debconf 103s 0 upgraded, 43 newly installed, 0 to remove and 0 not upgraded. 103s Need to get 64.4 MB of archives. 103s After this operation, 220 MB of additional disk space will be used. 103s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 m4 arm64 1.4.19-4build1 [240 kB] 103s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 autoconf all 2.72-3 [382 kB] 103s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 autotools-dev all 20220109.1 [44.9 kB] 103s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 automake all 1:1.16.5-1.3ubuntu1 [558 kB] 103s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 autopoint all 0.22.5-2 [616 kB] 103s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 libisl23 arm64 0.27-1 [676 kB] 103s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 libmpc3 arm64 1.3.1-1build2 [56.8 kB] 103s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-14-aarch64-linux-gnu arm64 14.2.0-7ubuntu1 [10.6 MB] 104s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-14 arm64 14.2.0-7ubuntu1 [1030 B] 104s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [5452 B] 104s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 cpp arm64 4:14.1.0-2ubuntu1 [22.5 kB] 104s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 libcc1-0 arm64 14.2.0-7ubuntu1 [49.7 kB] 104s Get:13 http://ftpmaster.internal/ubuntu plucky/main arm64 libgomp1 arm64 14.2.0-7ubuntu1 [145 kB] 104s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 libitm1 arm64 14.2.0-7ubuntu1 [27.8 kB] 104s Get:15 http://ftpmaster.internal/ubuntu plucky/main arm64 libasan8 arm64 14.2.0-7ubuntu1 [2893 kB] 104s Get:16 http://ftpmaster.internal/ubuntu plucky/main arm64 liblsan0 arm64 14.2.0-7ubuntu1 [1283 kB] 104s Get:17 http://ftpmaster.internal/ubuntu plucky/main arm64 libtsan2 arm64 14.2.0-7ubuntu1 [2691 kB] 104s Get:18 http://ftpmaster.internal/ubuntu plucky/main arm64 libubsan1 arm64 14.2.0-7ubuntu1 [1151 kB] 104s Get:19 http://ftpmaster.internal/ubuntu plucky/main arm64 libhwasan0 arm64 14.2.0-7ubuntu1 [1599 kB] 105s Get:20 http://ftpmaster.internal/ubuntu plucky/main arm64 libgcc-14-dev arm64 14.2.0-7ubuntu1 [2594 kB] 105s Get:21 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-14-aarch64-linux-gnu arm64 14.2.0-7ubuntu1 [20.9 MB] 106s Get:22 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-14 arm64 14.2.0-7ubuntu1 [515 kB] 106s Get:23 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [1200 B] 106s Get:24 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc arm64 4:14.1.0-2ubuntu1 [4994 B] 106s Get:25 http://ftpmaster.internal/ubuntu plucky/main arm64 libstdc++-14-dev arm64 14.2.0-7ubuntu1 [2474 kB] 106s Get:26 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-14-aarch64-linux-gnu arm64 14.2.0-7ubuntu1 [12.1 MB] 107s Get:27 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-14 arm64 14.2.0-7ubuntu1 [19.8 kB] 107s Get:28 http://ftpmaster.internal/ubuntu plucky/main arm64 g++-aarch64-linux-gnu arm64 4:14.1.0-2ubuntu1 [958 B] 107s Get:29 http://ftpmaster.internal/ubuntu plucky/main arm64 g++ arm64 4:14.1.0-2ubuntu1 [1080 B] 107s Get:30 http://ftpmaster.internal/ubuntu plucky/main arm64 build-essential arm64 12.10ubuntu1 [4932 B] 107s Get:31 http://ftpmaster.internal/ubuntu plucky/main arm64 libdebhelper-perl all 13.20ubuntu1 [94.2 kB] 107s Get:32 http://ftpmaster.internal/ubuntu plucky/main arm64 libtool all 2.4.7-7build1 [166 kB] 107s Get:33 http://ftpmaster.internal/ubuntu plucky/main arm64 dh-autoreconf all 20 [16.1 kB] 107s Get:34 http://ftpmaster.internal/ubuntu plucky/main arm64 libarchive-zip-perl all 1.68-1 [90.2 kB] 107s Get:35 http://ftpmaster.internal/ubuntu plucky/main arm64 libfile-stripnondeterminism-perl all 1.14.0-1 [20.1 kB] 107s Get:36 http://ftpmaster.internal/ubuntu plucky/main arm64 dh-strip-nondeterminism all 1.14.0-1 [5058 B] 107s Get:37 http://ftpmaster.internal/ubuntu plucky/main arm64 debugedit arm64 1:5.0-6 [45.4 kB] 107s Get:38 http://ftpmaster.internal/ubuntu plucky/main arm64 dwz arm64 0.15-1build6 [113 kB] 107s Get:39 http://ftpmaster.internal/ubuntu plucky/main arm64 gettext arm64 0.22.5-2 [930 kB] 107s Get:40 http://ftpmaster.internal/ubuntu plucky/main arm64 intltool-debian all 0.35.0+20060710.6 [23.2 kB] 107s Get:41 http://ftpmaster.internal/ubuntu plucky/main arm64 po-debconf all 1.0.21+nmu1 [233 kB] 107s Get:42 http://ftpmaster.internal/ubuntu plucky/main arm64 debhelper all 13.20ubuntu1 [893 kB] 107s Get:43 http://ftpmaster.internal/ubuntu plucky/universe arm64 dh-python all 6.20240824 [112 kB] 107s Fetched 64.4 MB in 4s (16.4 MB/s) 107s Selecting previously unselected package m4. 107s (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 ... 79706 files and directories currently installed.) 107s Preparing to unpack .../00-m4_1.4.19-4build1_arm64.deb ... 107s Unpacking m4 (1.4.19-4build1) ... 107s Selecting previously unselected package autoconf. 107s Preparing to unpack .../01-autoconf_2.72-3_all.deb ... 107s Unpacking autoconf (2.72-3) ... 108s Selecting previously unselected package autotools-dev. 108s Preparing to unpack .../02-autotools-dev_20220109.1_all.deb ... 108s Unpacking autotools-dev (20220109.1) ... 108s Selecting previously unselected package automake. 108s Preparing to unpack .../03-automake_1%3a1.16.5-1.3ubuntu1_all.deb ... 108s Unpacking automake (1:1.16.5-1.3ubuntu1) ... 108s Selecting previously unselected package autopoint. 108s Preparing to unpack .../04-autopoint_0.22.5-2_all.deb ... 108s Unpacking autopoint (0.22.5-2) ... 108s Selecting previously unselected package libisl23:arm64. 108s Preparing to unpack .../05-libisl23_0.27-1_arm64.deb ... 108s Unpacking libisl23:arm64 (0.27-1) ... 108s Selecting previously unselected package libmpc3:arm64. 108s Preparing to unpack .../06-libmpc3_1.3.1-1build2_arm64.deb ... 108s Unpacking libmpc3:arm64 (1.3.1-1build2) ... 108s Selecting previously unselected package cpp-14-aarch64-linux-gnu. 108s Preparing to unpack .../07-cpp-14-aarch64-linux-gnu_14.2.0-7ubuntu1_arm64.deb ... 108s Unpacking cpp-14-aarch64-linux-gnu (14.2.0-7ubuntu1) ... 108s Selecting previously unselected package cpp-14. 108s Preparing to unpack .../08-cpp-14_14.2.0-7ubuntu1_arm64.deb ... 108s Unpacking cpp-14 (14.2.0-7ubuntu1) ... 108s Selecting previously unselected package cpp-aarch64-linux-gnu. 108s Preparing to unpack .../09-cpp-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 108s Unpacking cpp-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 108s Selecting previously unselected package cpp. 108s Preparing to unpack .../10-cpp_4%3a14.1.0-2ubuntu1_arm64.deb ... 108s Unpacking cpp (4:14.1.0-2ubuntu1) ... 108s Selecting previously unselected package libcc1-0:arm64. 108s Preparing to unpack .../11-libcc1-0_14.2.0-7ubuntu1_arm64.deb ... 108s Unpacking libcc1-0:arm64 (14.2.0-7ubuntu1) ... 108s Selecting previously unselected package libgomp1:arm64. 108s Preparing to unpack .../12-libgomp1_14.2.0-7ubuntu1_arm64.deb ... 108s Unpacking libgomp1:arm64 (14.2.0-7ubuntu1) ... 108s Selecting previously unselected package libitm1:arm64. 108s Preparing to unpack .../13-libitm1_14.2.0-7ubuntu1_arm64.deb ... 108s Unpacking libitm1:arm64 (14.2.0-7ubuntu1) ... 108s Selecting previously unselected package libasan8:arm64. 108s Preparing to unpack .../14-libasan8_14.2.0-7ubuntu1_arm64.deb ... 108s Unpacking libasan8:arm64 (14.2.0-7ubuntu1) ... 109s Selecting previously unselected package liblsan0:arm64. 109s Preparing to unpack .../15-liblsan0_14.2.0-7ubuntu1_arm64.deb ... 109s Unpacking liblsan0:arm64 (14.2.0-7ubuntu1) ... 109s Selecting previously unselected package libtsan2:arm64. 109s Preparing to unpack .../16-libtsan2_14.2.0-7ubuntu1_arm64.deb ... 109s Unpacking libtsan2:arm64 (14.2.0-7ubuntu1) ... 109s Selecting previously unselected package libubsan1:arm64. 109s Preparing to unpack .../17-libubsan1_14.2.0-7ubuntu1_arm64.deb ... 109s Unpacking libubsan1:arm64 (14.2.0-7ubuntu1) ... 109s Selecting previously unselected package libhwasan0:arm64. 109s Preparing to unpack .../18-libhwasan0_14.2.0-7ubuntu1_arm64.deb ... 109s Unpacking libhwasan0:arm64 (14.2.0-7ubuntu1) ... 109s Selecting previously unselected package libgcc-14-dev:arm64. 109s Preparing to unpack .../19-libgcc-14-dev_14.2.0-7ubuntu1_arm64.deb ... 109s Unpacking libgcc-14-dev:arm64 (14.2.0-7ubuntu1) ... 109s Selecting previously unselected package gcc-14-aarch64-linux-gnu. 109s Preparing to unpack .../20-gcc-14-aarch64-linux-gnu_14.2.0-7ubuntu1_arm64.deb ... 109s Unpacking gcc-14-aarch64-linux-gnu (14.2.0-7ubuntu1) ... 110s Selecting previously unselected package gcc-14. 110s Preparing to unpack .../21-gcc-14_14.2.0-7ubuntu1_arm64.deb ... 110s Unpacking gcc-14 (14.2.0-7ubuntu1) ... 110s Selecting previously unselected package gcc-aarch64-linux-gnu. 110s Preparing to unpack .../22-gcc-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 110s Unpacking gcc-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 110s Selecting previously unselected package gcc. 110s Preparing to unpack .../23-gcc_4%3a14.1.0-2ubuntu1_arm64.deb ... 110s Unpacking gcc (4:14.1.0-2ubuntu1) ... 110s Selecting previously unselected package libstdc++-14-dev:arm64. 110s Preparing to unpack .../24-libstdc++-14-dev_14.2.0-7ubuntu1_arm64.deb ... 110s Unpacking libstdc++-14-dev:arm64 (14.2.0-7ubuntu1) ... 110s Selecting previously unselected package g++-14-aarch64-linux-gnu. 110s Preparing to unpack .../25-g++-14-aarch64-linux-gnu_14.2.0-7ubuntu1_arm64.deb ... 110s Unpacking g++-14-aarch64-linux-gnu (14.2.0-7ubuntu1) ... 111s Selecting previously unselected package g++-14. 111s Preparing to unpack .../26-g++-14_14.2.0-7ubuntu1_arm64.deb ... 111s Unpacking g++-14 (14.2.0-7ubuntu1) ... 111s Selecting previously unselected package g++-aarch64-linux-gnu. 111s Preparing to unpack .../27-g++-aarch64-linux-gnu_4%3a14.1.0-2ubuntu1_arm64.deb ... 111s Unpacking g++-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 111s Selecting previously unselected package g++. 111s Preparing to unpack .../28-g++_4%3a14.1.0-2ubuntu1_arm64.deb ... 111s Unpacking g++ (4:14.1.0-2ubuntu1) ... 111s Selecting previously unselected package build-essential. 111s Preparing to unpack .../29-build-essential_12.10ubuntu1_arm64.deb ... 111s Unpacking build-essential (12.10ubuntu1) ... 111s Selecting previously unselected package libdebhelper-perl. 111s Preparing to unpack .../30-libdebhelper-perl_13.20ubuntu1_all.deb ... 111s Unpacking libdebhelper-perl (13.20ubuntu1) ... 111s Selecting previously unselected package libtool. 111s Preparing to unpack .../31-libtool_2.4.7-7build1_all.deb ... 111s Unpacking libtool (2.4.7-7build1) ... 111s Selecting previously unselected package dh-autoreconf. 111s Preparing to unpack .../32-dh-autoreconf_20_all.deb ... 111s Unpacking dh-autoreconf (20) ... 111s Selecting previously unselected package libarchive-zip-perl. 111s Preparing to unpack .../33-libarchive-zip-perl_1.68-1_all.deb ... 111s Unpacking libarchive-zip-perl (1.68-1) ... 111s Selecting previously unselected package libfile-stripnondeterminism-perl. 111s Preparing to unpack .../34-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... 111s Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... 111s Selecting previously unselected package dh-strip-nondeterminism. 111s Preparing to unpack .../35-dh-strip-nondeterminism_1.14.0-1_all.deb ... 111s Unpacking dh-strip-nondeterminism (1.14.0-1) ... 111s Selecting previously unselected package debugedit. 111s Preparing to unpack .../36-debugedit_1%3a5.0-6_arm64.deb ... 111s Unpacking debugedit (1:5.0-6) ... 111s Selecting previously unselected package dwz. 111s Preparing to unpack .../37-dwz_0.15-1build6_arm64.deb ... 111s Unpacking dwz (0.15-1build6) ... 111s Selecting previously unselected package gettext. 111s Preparing to unpack .../38-gettext_0.22.5-2_arm64.deb ... 111s Unpacking gettext (0.22.5-2) ... 111s Selecting previously unselected package intltool-debian. 111s Preparing to unpack .../39-intltool-debian_0.35.0+20060710.6_all.deb ... 111s Unpacking intltool-debian (0.35.0+20060710.6) ... 111s Selecting previously unselected package po-debconf. 111s Preparing to unpack .../40-po-debconf_1.0.21+nmu1_all.deb ... 111s Unpacking po-debconf (1.0.21+nmu1) ... 111s Selecting previously unselected package debhelper. 111s Preparing to unpack .../41-debhelper_13.20ubuntu1_all.deb ... 111s Unpacking debhelper (13.20ubuntu1) ... 112s Selecting previously unselected package dh-python. 112s Preparing to unpack .../42-dh-python_6.20240824_all.deb ... 112s Unpacking dh-python (6.20240824) ... 112s Setting up dh-python (6.20240824) ... 112s Setting up libarchive-zip-perl (1.68-1) ... 112s Setting up libdebhelper-perl (13.20ubuntu1) ... 112s Setting up m4 (1.4.19-4build1) ... 112s Setting up libgomp1:arm64 (14.2.0-7ubuntu1) ... 112s Setting up autotools-dev (20220109.1) ... 112s Setting up libmpc3:arm64 (1.3.1-1build2) ... 112s Setting up autopoint (0.22.5-2) ... 112s Setting up autoconf (2.72-3) ... 112s Setting up libubsan1:arm64 (14.2.0-7ubuntu1) ... 112s Setting up dwz (0.15-1build6) ... 112s Setting up libhwasan0:arm64 (14.2.0-7ubuntu1) ... 112s Setting up libasan8:arm64 (14.2.0-7ubuntu1) ... 112s Setting up debugedit (1:5.0-6) ... 112s Setting up libtsan2:arm64 (14.2.0-7ubuntu1) ... 112s Setting up libisl23:arm64 (0.27-1) ... 112s Setting up libcc1-0:arm64 (14.2.0-7ubuntu1) ... 112s Setting up liblsan0:arm64 (14.2.0-7ubuntu1) ... 112s Setting up libitm1:arm64 (14.2.0-7ubuntu1) ... 112s Setting up automake (1:1.16.5-1.3ubuntu1) ... 112s update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode 112s Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... 112s Setting up gettext (0.22.5-2) ... 112s Setting up intltool-debian (0.35.0+20060710.6) ... 112s Setting up dh-strip-nondeterminism (1.14.0-1) ... 112s Setting up cpp-14-aarch64-linux-gnu (14.2.0-7ubuntu1) ... 112s Setting up libgcc-14-dev:arm64 (14.2.0-7ubuntu1) ... 112s Setting up libstdc++-14-dev:arm64 (14.2.0-7ubuntu1) ... 112s Setting up po-debconf (1.0.21+nmu1) ... 112s Setting up cpp-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 112s Setting up cpp-14 (14.2.0-7ubuntu1) ... 112s Setting up cpp (4:14.1.0-2ubuntu1) ... 112s Setting up gcc-14-aarch64-linux-gnu (14.2.0-7ubuntu1) ... 112s Setting up gcc-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 112s Setting up g++-14-aarch64-linux-gnu (14.2.0-7ubuntu1) ... 112s Setting up gcc-14 (14.2.0-7ubuntu1) ... 112s Setting up g++-aarch64-linux-gnu (4:14.1.0-2ubuntu1) ... 112s Setting up g++-14 (14.2.0-7ubuntu1) ... 112s Setting up libtool (2.4.7-7build1) ... 112s Setting up gcc (4:14.1.0-2ubuntu1) ... 112s Setting up dh-autoreconf (20) ... 112s Setting up g++ (4:14.1.0-2ubuntu1) ... 112s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 112s Setting up build-essential (12.10ubuntu1) ... 112s Setting up debhelper (13.20ubuntu1) ... 112s Processing triggers for install-info (7.1.1-1) ... 112s Processing triggers for libc-bin (2.40-1ubuntu3) ... 112s Processing triggers for man-db (2.12.1-3) ... 115s Reading package lists... 115s Building dependency tree... 115s Reading state information... 116s Starting pkgProblemResolver with broken count: 0 116s Starting 2 pkgProblemResolver with broken count: 0 116s Done 117s The following additional packages will be installed: 117s fakeroot libfakeroot 117s The following NEW packages will be installed: 117s autopkgtest-satdep fakeroot libfakeroot 118s 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. 118s Need to get 100 kB/101 kB of archives. 118s After this operation, 464 kB of additional disk space will be used. 118s Get:1 /tmp/autopkgtest.A7R9Xk/1-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [704 B] 118s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 libfakeroot arm64 1.36-1 [33.0 kB] 118s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 fakeroot arm64 1.36-1 [67.1 kB] 119s Fetched 100 kB in 0s (268 kB/s) 119s Selecting previously unselected package libfakeroot:arm64. 119s (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 ... 81993 files and directories currently installed.) 119s Preparing to unpack .../libfakeroot_1.36-1_arm64.deb ... 119s Unpacking libfakeroot:arm64 (1.36-1) ... 119s Selecting previously unselected package fakeroot. 119s Preparing to unpack .../fakeroot_1.36-1_arm64.deb ... 119s Unpacking fakeroot (1.36-1) ... 119s Selecting previously unselected package autopkgtest-satdep. 119s Preparing to unpack .../1-autopkgtest-satdep.deb ... 119s Unpacking autopkgtest-satdep (0) ... 119s Setting up libfakeroot:arm64 (1.36-1) ... 119s Setting up fakeroot (1.36-1) ... 119s update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode 119s Setting up autopkgtest-satdep (0) ... 119s Processing triggers for man-db (2.12.1-3) ... 120s Processing triggers for libc-bin (2.40-1ubuntu3) ... 124s (Reading database ... 82046 files and directories currently installed.) 124s Removing autopkgtest-satdep (0) ... 124s dpkg-buildpackage: info: source package ufw 124s dpkg-buildpackage: info: source version 0.36.2-6 124s dpkg-buildpackage: info: source distribution unstable 124s dpkg-buildpackage: info: source changed by Jamie Strandboge 124s dpkg-source --before-build . 124s dpkg-buildpackage: info: host architecture arm64 124s dpkg-source: warning: unknown information field 'Python-Version' in input data in binary package stanza of template control file 124s fakeroot debian/rules clean 125s py3versions: no X-Python3-Version in control file, using supported versions 125s dh_testdir 125s dh_testroot 125s rm -f build-stamp 125s make clean 125s make[1]: Entering directory '/tmp/autopkgtest.A7R9Xk/build.Moc/src' 125s rm -rf ./build 125s rm -rf ./staging 125s rm -rf ./tests/testarea ./tests/unit/tmp 125s rm -rf ./tmp 125s rm -rf ./snap-build 125s rm -rf ./parts ./stage ./prime 125s rm -f ./locales/mo/*.mo 125s rm -f ./tests/unit/*.pyc ./tests/*.pyc ./src/*.pyc 125s rm -rf ./tests/unit/__pycache__ ./tests/__pycache__ ./src/__pycache__ 125s rm -rf ./.coverage 125s rm -f ./ufw # unittest symlink 125s make[1]: Leaving directory '/tmp/autopkgtest.A7R9Xk/build.Moc/src' 125s find . -name '*.py[co]' | xargs rm -f 125s dh_clean 125s debconf-updatepo 125s debian/rules build 125s py3versions: no X-Python3-Version in control file, using supported versions 125s dh_testdir 125s touch build-stamp 125s fakeroot debian/rules binary 125s py3versions: no X-Python3-Version in control file, using supported versions 125s dh_testdir 125s dh_testroot 125s dh_prep 125s dh_installdirs 125s ./run_tests.sh -i /usr/bin/python3 125s Interpreter: /usr/bin/python3 125s 125s = Unit Tests = 127s DEBUG: sys.path=['/tmp/autopkgtest.A7R9Xk/build.Moc/src', '/usr/lib/python312.zip', '/usr/lib/python3.12', '/usr/lib/python3.12/lib-dynload', '/usr/local/lib/python3.12/dist-packages', '/usr/lib/python3/dist-packages'] 127s DEBUG: test=['test_applications', 'test_backend', 'test_backend_iptables', 'test_common', 'test_frontend', 'test_parser', 'test_skeleton', 'test_util'] 127s test_applications 127s test_get_description (tests.unit.test_applications.ApplicationsTestCase.test_get_description) 127s Test get_description() ... ok 127s test_get_ports (tests.unit.test_applications.ApplicationsTestCase.test_get_ports) 127s Test get_ports() ... ok 127s test_get_profiles (tests.unit.test_applications.ApplicationsTestCase.test_get_profiles) 127s Test get_profiles() ... ok 127s test_get_title (tests.unit.test_applications.ApplicationsTestCase.test_get_title) 127s Test get_title() ... ok 127s test_valid_profile_name (tests.unit.test_applications.ApplicationsTestCase.test_valid_profile_name) 127s Test valid_profile_name() ... ok 127s test_verify_profile (tests.unit.test_applications.ApplicationsTestCase.test_verify_profile) 127s Test verify_profile() ... ok 127s test_verify_profile_bad (tests.unit.test_applications.ApplicationsTestCase.test_verify_profile_bad) 127s Test verify_profile() - bad ... {'description': 'missing title', 'ports': '53'} 127s {'title': 'missing description', 'ports': '22/tcp'} 127s {'title': 'missing ports', 'description': 'desc'} 127s {'title': '', 'description': 'empty title', 'ports': '80'} 127s {'title': 'empty description', 'description': '', 'ports': '80'} 127s {'title': 'empty ports', 'description': 'desc', 'ports': ''} 127s {'title': 'bad missing proto - list', 'description': 'desc', 'ports': '80,443'} 127s {'title': 'bad missing proto - range', 'description': 'desc', 'ports': '80:443'} 127s {'title': 'bad range too big', 'description': 'desc', 'ports': '80:70000/tcp'} 127s {'title': 'bad protocol - ah', 'description': 'desc', 'ports': '80/ah'} 127s {'title': 'bad protocol - esp', 'description': 'desc', 'ports': '80/esp'} 127s {'title': 'bad protocol - gre', 'description': 'desc', 'ports': '80/gre'} 127s {'title': 'bad protocol - igmp', 'description': 'desc', 'ports': '80/igmp'} 127s {'title': 'bad protocol - ipv6', 'description': 'desc', 'ports': '80/ipv6'} 127s {'title': 'bad protocol - vrrp', 'description': 'desc', 'ports': '80/vrrp'} 127s ok 127s 127s ---------------------------------------------------------------------- 127s Ran 7 tests in 0.093s 127s 127s OK 129s test_backend 129s test_installation_defaults (tests.unit.test_backend.BackendTestCase.test_installation_defaults) 129s Test installation defaults ... WARN: Checks disabled 129s ok 129s 129s ---------------------------------------------------------------------- 129s Ran 1 test in 0.020s 129s 129s OK 130s test_backend_iptables 130s test__get_defaults (tests.unit.test_backend_iptables.BackendIptablesTestCase.test__get_defaults) 130s Test _get_defaults() ... WARN: Checks disabled 130s ok 130s test__need_reload (tests.unit.test_backend_iptables.BackendIptablesTestCase.test__need_reload) 130s Test _need_reload() ... WARN: Checks disabled 130s ok 130s test__reload_user_rules (tests.unit.test_backend_iptables.BackendIptablesTestCase.test__reload_user_rules) 130s Test _reload_user_rules() ... WARN: Checks disabled 130s > | iptables-restore 130s > | ip6tables-restore 130s ok 130s test_find_application_name (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_find_application_name) 130s Test find_application_name() ... WARN: Checks disabled 130s ok 130s test_find_other_position (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_find_other_position) 130s Test find_other_position() ... WARN: Checks disabled 130s ok 130s test_get_app_rules_from_template (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_get_app_rules_from_template) 130s Test get_app_rules_from_template() ... WARN: Checks disabled 130s ok 130s test_get_default_application_policy (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_get_default_application_policy) 130s Test get_default_application_policy() ... WARN: Checks disabled 130s ok 130s test_get_loglevel (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_get_loglevel) 130s Test get_loglevel() ... WARN: Checks disabled 130s ok 130s test_get_matching (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_get_matching) 130s Test get_matching() ... WARN: Checks disabled 130s ok 130s test_get_rule_by_number (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_get_rule_by_number) 130s Test get_rule_by_number() ... WARN: Checks disabled 130s ok 130s test_get_rules_count (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_get_rules_count) 130s Test get_rules_count() ... WARN: Checks disabled 130s ok 130s test_get_running_raw (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_get_running_raw) 130s Test get_running_raw() ... WARN: Checks disabled 130s ok 130s test_get_status (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_get_status) 130s Test get_status() ... WARN: Checks disabled 135s ok 135s test_lp1838764 (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_lp1838764) 135s Test get_status() - LP: #1838764 ... WARN: Checks disabled 135s ok 135s test_reset (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_reset) 135s Test reset() ... WARN: Checks disabled 136s Backing up 'user.rules' to '/tmp/autopkgtest.A7R9Xk/build.Moc/src/tests/unit/tmp/ufw/etc/ufw/user.rules.20241030_095617' 136s Backing up 'before.rules' to '/tmp/autopkgtest.A7R9Xk/build.Moc/src/tests/unit/tmp/ufw/etc/ufw/before.rules.20241030_095617' 136s Backing up 'after.rules' to '/tmp/autopkgtest.A7R9Xk/build.Moc/src/tests/unit/tmp/ufw/etc/ufw/after.rules.20241030_095617' 136s Backing up 'user6.rules' to '/tmp/autopkgtest.A7R9Xk/build.Moc/src/tests/unit/tmp/ufw/etc/ufw/user6.rules.20241030_095617' 136s Backing up 'before6.rules' to '/tmp/autopkgtest.A7R9Xk/build.Moc/src/tests/unit/tmp/ufw/etc/ufw/before6.rules.20241030_095617' 136s Backing up 'after6.rules' to '/tmp/autopkgtest.A7R9Xk/build.Moc/src/tests/unit/tmp/ufw/etc/ufw/after6.rules.20241030_095617' 136s 136s Backing up 'user.rules' to '/tmp/autopkgtest.A7R9Xk/build.Moc/src/tests/unit/tmp/ufw/etc/ufw/user.rules.20241030_095618' 136s Backing up 'before.rules' to '/tmp/autopkgtest.A7R9Xk/build.Moc/src/tests/unit/tmp/ufw/etc/ufw/before.rules.20241030_095618' 136s Backing up 'after.rules' to '/tmp/autopkgtest.A7R9Xk/build.Moc/src/tests/unit/tmp/ufw/etc/ufw/after.rules.20241030_095618' 136s Backing up 'user6.rules' to '/tmp/autopkgtest.A7R9Xk/build.Moc/src/tests/unit/tmp/ufw/etc/ufw/user6.rules.20241030_095618' 136s Backing up 'before6.rules' to '/tmp/autopkgtest.A7R9Xk/build.Moc/src/tests/unit/tmp/ufw/etc/ufw/before6.rules.20241030_095618' 136s Backing up 'after6.rules' to '/tmp/autopkgtest.A7R9Xk/build.Moc/src/tests/unit/tmp/ufw/etc/ufw/after6.rules.20241030_095618' 136s 136s ok 136s test_set_bad_default (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_set_bad_default) 136s Test bad set_default_policy() ... WARN: Checks disabled 136s ok 136s test_set_bad_default_application_policy (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_set_bad_default_application_policy) 136s Test bad set_default_application_policy() ... WARN: Checks disabled 136s ok 136s test_set_default (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_set_default) 136s Test set_default() ... WARN: Checks disabled 136s ok 136s test_set_default_application_policy (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_set_default_application_policy) 136s Test set_default_application_policy() ... WARN: Checks disabled 136s ok 136s test_set_default_policy (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_set_default_policy) 136s Test set_default_policy() ... WARN: Checks disabled 137s ok 137s test_set_loglevel (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_set_loglevel) 137s Test set_loglevel() ... WARN: Checks disabled 137s ok 137s test_set_rule (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_set_rule) 137s Test set_rule() ... WARN: Checks disabled 195s ok 195s test_start_firewall (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_start_firewall) 195s Test start_firewall() ... WARN: Checks disabled 195s > running ufw-init 195s ok 195s test_stop_firewall (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_stop_firewall) 195s Test stop_firewall() ... WARN: Checks disabled 195s > running ufw-init 195s ok 195s test_update_app_rule (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_update_app_rule) 195s Test upate_app_rule() ... WARN: Checks disabled 195s ok 195s test_update_logging (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_update_logging) 195s Test update_logging() ... WARN: Checks disabled 196s ok 196s test_use_ipv6 (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_use_ipv6) 196s Test use_ipv6() ... WARN: Checks disabled 196s ok 196s 196s ---------------------------------------------------------------------- 196s Ran 27 tests in 66.373s 196s 196s OK 197s test_common 197s test__fix_anywhere (tests.unit.test_common.CommonTestCase.test__fix_anywhere) 197s Test _fix_anywhere() ... ok 197s test__get_attrib (tests.unit.test_common.CommonTestCase.test__get_attrib) 197s Test _get_attrib() ... ok 197s test__init_ (tests.unit.test_common.CommonTestCase.test__init_) 197s Test UFWRule.__init__() ... ok 197s test__is_anywhere (tests.unit.test_common.CommonTestCase.test__is_anywhere) 197s Test _is_anywhere() ... ok 197s test_dup_rule (tests.unit.test_common.CommonTestCase.test_dup_rule) 197s Test dup_rule() ... ok 197s test_format_rule (tests.unit.test_common.CommonTestCase.test_format_rule) 197s Test format_rule() ... ok 197s test_fuzzy_dst_match (tests.unit.test_common.CommonTestCase.test_fuzzy_dst_match) 197s Test fuzzy_dst_match() ... ok 197s test_get_app_tuple (tests.unit.test_common.CommonTestCase.test_get_app_tuple) 197s Test get_app_tuple() ... ok 197s test_match (tests.unit.test_common.CommonTestCase.test_match) 197s Test match() ... ok 197s test_normalize (tests.unit.test_common.CommonTestCase.test_normalize) 197s Test normalize() ... ok 197s test_set_action (tests.unit.test_common.CommonTestCase.test_set_action) 197s Test set_action() ... ok 197s test_set_direction (tests.unit.test_common.CommonTestCase.test_set_direction) 197s Test set_direction() ... ok 197s test_set_direction_bad (tests.unit.test_common.CommonTestCase.test_set_direction_bad) 197s Test set_direction() - bad ... ok 197s test_set_dst (tests.unit.test_common.CommonTestCase.test_set_dst) 197s Test set_dst() ... ok 197s test_set_dst_bad (tests.unit.test_common.CommonTestCase.test_set_dst_bad) 197s Test set_dst() - bad ... ok 197s test_set_interface (tests.unit.test_common.CommonTestCase.test_set_interface) 197s Test set_interface() ... ok 197s test_set_interface_bad (tests.unit.test_common.CommonTestCase.test_set_interface_bad) 197s Test set_interface() - bad ... ok 197s test_set_logtype (tests.unit.test_common.CommonTestCase.test_set_logtype) 197s Test set_logtype() ... ok 197s test_set_logtype_bad (tests.unit.test_common.CommonTestCase.test_set_logtype_bad) 197s Test set_logtype() - bad ... ok 197s test_set_port (tests.unit.test_common.CommonTestCase.test_set_port) 197s Test set_port() ... ok 197s test_set_port_bad (tests.unit.test_common.CommonTestCase.test_set_port_bad) 197s Test set_port() - bad ... ok 197s test_set_position (tests.unit.test_common.CommonTestCase.test_set_position) 197s Test set_position() ... ok 197s test_set_position_bad (tests.unit.test_common.CommonTestCase.test_set_position_bad) 197s Test set_position() - bad ... ok 197s test_set_protocol (tests.unit.test_common.CommonTestCase.test_set_protocol) 197s Test set_protocol() ... ok 197s test_set_protocol_bad (tests.unit.test_common.CommonTestCase.test_set_protocol_bad) 197s Test set_protocol() - bad ... ok 197s test_set_src (tests.unit.test_common.CommonTestCase.test_set_src) 197s Test set_src() ... ok 197s test_set_src_bad (tests.unit.test_common.CommonTestCase.test_set_src_bad) 197s Test set_src() - bad ... ok 197s test_set_v6 (tests.unit.test_common.CommonTestCase.test_set_v6) 197s Test set_v6() ... ok 197s test_ufwerror (tests.unit.test_common.CommonTestCase.test_ufwerror) 197s Test UFWError ... ok 197s test_ufwerror_str (tests.unit.test_common.CommonTestCase.test_ufwerror_str) 197s Test UFWError.str() ... ok 197s 197s ---------------------------------------------------------------------- 197s Ran 30 tests in 0.020s 197s 197s OK 198s test_frontend 198s test___init__ (tests.unit.test_frontend.FrontendTestCase.test___init__) 198s Test __init__() ... WARN: Checks disabled 198s ok 198s test_application_add (tests.unit.test_frontend.FrontendTestCase.test_application_add) 198s Test application_add() ... WARN: Checks disabled 198s ok 198s test_continue_under_ssh (tests.unit.test_frontend.FrontendTestCase.test_continue_under_ssh) 198s Test continue_under_ssh() ... WARN: Checks disabled 198s ok 198s test_do_action (tests.unit.test_frontend.FrontendTestCase.test_do_action) 198s Test do_action() ... WARN: Checks disabled 198s WARN: Checks disabled 198s WARN: Checks disabled 198s TODO: verify output of rules in do_action() 198s ok 198s test_do_action_remove_bad_appname (tests.unit.test_frontend.FrontendTestCase.test_do_action_remove_bad_appname) 198s Test do_action() remove bad appname ... WARN: Checks disabled 198s ok 198s test_do_application_action (tests.unit.test_frontend.FrontendTestCase.test_do_application_action) 198s Test do_application_action() ... WARN: Checks disabled 198s ok 198s test_get_command_help (tests.unit.test_frontend.FrontendTestCase.test_get_command_help) 198s Test get_command_help() ... WARN: Checks disabled 198s ok 198s test_get_show_added (tests.unit.test_frontend.FrontendTestCase.test_get_show_added) 198s Test get_show_added() ... WARN: Checks disabled 198s ok 198s test_get_show_listening (tests.unit.test_frontend.FrontendTestCase.test_get_show_listening) 198s Test get_show_listening() ... WARN: Checks disabled 198s ok 198s test_get_show_raw (tests.unit.test_frontend.FrontendTestCase.test_get_show_raw) 198s Test get_show_raw() ... WARN: Checks disabled 198s ok 198s test_parse_command (tests.unit.test_frontend.FrontendTestCase.test_parse_command) 198s Test parse_command() ... WARN: Checks disabled 198s ok 198s test_parse_command_bad (tests.unit.test_frontend.FrontendTestCase.test_parse_command_bad) 198s Test parse_command_bad ... WARN: Checks disabled 198s ERROR: Invalid syntax 198s ERROR: Invalid syntax 198s ERROR: Invalid syntax 198s ok 198s 198s ---------------------------------------------------------------------- 198s Ran 12 tests in 0.292s 198s 198s OK 199s test_parser 199s test_app_parse (tests.unit.test_parser.ParserTestCase.test_app_parse) 199s Test UFWCommandApp.parse() ... ok 199s test_bad_simple_action (tests.unit.test_parser.ParserTestCase.test_bad_simple_action) 199s Test bad simple action ... ok 199s test_bad_simple_action_with_direction (tests.unit.test_parser.ParserTestCase.test_bad_simple_action_with_direction) 199s Test bad simple action with direction ... ok 199s test_default_parse (tests.unit.test_parser.ParserTestCase.test_default_parse) 199s Test UFWCommandDefault.parse() ... ok 199s test_delete_bad_simple_action (tests.unit.test_parser.ParserTestCase.test_delete_bad_simple_action) 199s Test delete bad simple action ... ok 199s test_extended_parse (tests.unit.test_parser.ParserTestCase.test_extended_parse) 203s Test extended rule syntax ... 61920 rules checked 203s ok 203s test_logging_parse (tests.unit.test_parser.ParserTestCase.test_logging_parse) 203s Test UFWCommandLogging.parse() ... ok 203s test_misc_rules_parse (tests.unit.test_parser.ParserTestCase.test_misc_rules_parse) 203s Test rule syntax - miscellaneous ... ok 203s test_route_delete_num (tests.unit.test_parser.ParserTestCase.test_route_delete_num) 203s Test route delete NUM ... ok 203s test_rule_bad_syntax (tests.unit.test_parser.ParserTestCase.test_rule_bad_syntax) 203s Test rule syntax - bad ... ok 203s test_show_parse (tests.unit.test_parser.ParserTestCase.test_show_parse) 203s Test UFWCommandShow.parse() ... ok 203s test_simple_bad_numeric_port (tests.unit.test_parser.ParserTestCase.test_simple_bad_numeric_port) 203s Test simple bad numeric port ... ok 203s test_simple_parse (tests.unit.test_parser.ParserTestCase.test_simple_parse) 203s Test simple rule syntax ... 792 rules checked 203s ok 203s test_status_parse (tests.unit.test_parser.ParserTestCase.test_status_parse) 203s Test UFWCommandStatus.parse() ... ok 203s test_ufwcommand_help (tests.unit.test_parser.ParserTestCase.test_ufwcommand_help) 203s Test UFWCommand.help() ... ok 203s test_ufwcommand_parse (tests.unit.test_parser.ParserTestCase.test_ufwcommand_parse) 203s Test UFWCommand.parse() ... ok 203s test_ufwcommand_parse_basic_help (tests.unit.test_parser.ParserTestCase.test_ufwcommand_parse_basic_help) 203s Test parser.parse_command() - help ... ok 203s test_ufwcommand_parse_empty (tests.unit.test_parser.ParserTestCase.test_ufwcommand_parse_empty) 203s Test UFWCommand.parse([]) ... ok 203s test_ufwcommand_rule_get_command (tests.unit.test_parser.ParserTestCase.test_ufwcommand_rule_get_command) 210s Test UFWCommand(Route)Rule.get_command() ... 62717 rules checked 210s ok 210s test_ufwcommandbasic_parse_with_arg (tests.unit.test_parser.ParserTestCase.test_ufwcommandbasic_parse_with_arg) 210s Test UFWCommand.parse() - basic with arg ... ok 210s test_ufwparser_allowed_command (tests.unit.test_parser.ParserTestCase.test_ufwparser_allowed_command) 210s Test UFWParser.allowed_command() ... ok 210s test_ufwparser_register_command (tests.unit.test_parser.ParserTestCase.test_ufwparser_register_command) 210s Test UFWParser.register_command() ... ok 210s test_ufwparser_register_command_none (tests.unit.test_parser.ParserTestCase.test_ufwparser_register_command_none) 210s Test UFWParser.register_command() ... ok 210s test_ufwparser_response (tests.unit.test_parser.ParserTestCase.test_ufwparser_response) 210s Test UFWParserResponse.str() ... ok 210s 210s ---------------------------------------------------------------------- 210s Ran 24 tests in 10.735s 210s 210s OK 211s test_skeleton 211s test_example (tests.unit.test_skeleton.SkeletonTestCase.test_example) 211s Test example dummy test ... ok 211s 211s ---------------------------------------------------------------------- 211s Ran 1 test in 0.000s 211s 211s OK 211s test_util 211s test__address4_to_network (tests.unit.test_util.UtilTestCase.test__address4_to_network) 211s Test _address4_to_network() ... ok 211s test__address6_to_network (tests.unit.test_util.UtilTestCase.test__address6_to_network) 211s Test _address6_to_network() ... ok 211s test__cidr_to_dotted_netmask (tests.unit.test_util.UtilTestCase.test__cidr_to_dotted_netmask) 211s Test _cidr_to_dotted_netmask() ... ok 211s test__dotted_netmask_to_cidr (tests.unit.test_util.UtilTestCase.test__dotted_netmask_to_cidr) 211s Test _dotted_netmask_to_cidr() ... ok 211s test__get_proc_inodes (tests.unit.test_util.UtilTestCase.test__get_proc_inodes) 211s Test _get_proc_inodes() ... ok 211s test__read_proc_net_protocol (tests.unit.test_util.UtilTestCase.test__read_proc_net_protocol) 211s Test _read_proc_net_protocol() ... ok 211s test__valid_cidr_netmask (tests.unit.test_util.UtilTestCase.test__valid_cidr_netmask) 211s Test _valid_cidr_netmask() ... ok 211s test__valid_dotted_quads (tests.unit.test_util.UtilTestCase.test__valid_dotted_quads) 211s Test _valid_dotted_quads() ... ok 211s test_cidr_to_dotted_to_cidr (tests.unit.test_util.UtilTestCase.test_cidr_to_dotted_to_cidr) 211s Test _cidr_to_dotted_netmask() and _dotted_netmask_to_cidr() ... ok 211s test_close_files (tests.unit.test_util.UtilTestCase.test_close_files) 211s Test close_files() ... ok 211s test_cmd (tests.unit.test_util.UtilTestCase.test_cmd) 211s Test cmd() ... ok 211s test_cmd_pipe (tests.unit.test_util.UtilTestCase.test_cmd_pipe) 211s Test cmd_pipe() ... ok 211s test_create_lock (tests.unit.test_util.UtilTestCase.test_create_lock) 211s Test create_lock() ... ok 211s test_debug (tests.unit.test_util.UtilTestCase.test_debug) 211s Test debug() ... DEBUG: test debug() 211s ('DEBUG: test debug()' output is intentional) 211s ok 211s test_error (tests.unit.test_util.UtilTestCase.test_error) 211s Test error() ... ERROR: test error() 211s ('ERROR: test error()' output is intentional) 211s ok 211s test_get_if_from_ip (tests.unit.test_util.UtilTestCase.test_get_if_from_ip) 211s Test get_if_from_ip() ... skipped: TODO: python3 211s ok 211s test_get_ip_from_if (tests.unit.test_util.UtilTestCase.test_get_ip_from_if) 211s Test get_ip_from_if() ... skipped: TODO: python3 211s ok 211s test_get_iptables_version (tests.unit.test_util.UtilTestCase.test_get_iptables_version) 211s Test get_iptables_version() ... ok 211s test_get_netfilter_capabilities (tests.unit.test_util.UtilTestCase.test_get_netfilter_capabilities) 211s Test get_netfilter_capabilities() ... ok 211s test_get_netstat_output (tests.unit.test_util.UtilTestCase.test_get_netstat_output) 211s Test get_netstat_output() ... ok 211s test_get_ppid (tests.unit.test_util.UtilTestCase.test_get_ppid) 211s Test get_ppid() ... ok 211s test_get_ppid_no_space (tests.unit.test_util.UtilTestCase.test_get_ppid_no_space) 211s Test get_ppid() no space ... ok 211s test_get_ppid_with_parens (tests.unit.test_util.UtilTestCase.test_get_ppid_with_parens) 211s Test get_ppid() with parens ... ok 211s test_get_ppid_with_space (tests.unit.test_util.UtilTestCase.test_get_ppid_with_space) 211s Test get_ppid() with space ... ok 211s test_get_services_proto (tests.unit.test_util.UtilTestCase.test_get_services_proto) 211s Test get_services_proto() ... ok 211s test_hex_decode (tests.unit.test_util.UtilTestCase.test_hex_decode) 211s Test hex_decode() output ... ok 211s test_hex_encode (tests.unit.test_util.UtilTestCase.test_hex_encode) 211s Test hex_encode() output ... ok 211s test_human_sort (tests.unit.test_util.UtilTestCase.test_human_sort) 211s Test human_sort() ... ok 211s test_in_network (tests.unit.test_util.UtilTestCase.test_in_network) 211s Test in_network() ... ok 211s test_msg (tests.unit.test_util.UtilTestCase.test_msg) 211s Test msg() ... test msg() 211s test msg()('test msg()' output is intentional) 211s 211s ('test msg()' output is intentional) 211s ok 211s test_normalize_address_host_netmask (tests.unit.test_util.UtilTestCase.test_normalize_address_host_netmask) 211s Test normalize_address() with host_netmask ... ok 211s test_normalize_address_invalid_netmask (tests.unit.test_util.UtilTestCase.test_normalize_address_invalid_netmask) 211s Test normalize_address() with invalid_netmask ... ok 211s test_normalize_address_ipv6_cidr (tests.unit.test_util.UtilTestCase.test_normalize_address_ipv6_cidr) 211s Test normalize_address() with ipv6_cidr ... ok 211s test_normalize_address_ipv6_short_notation (tests.unit.test_util.UtilTestCase.test_normalize_address_ipv6_short_notation) 211s Test normalize_address() with ipv6_short_notation ... ok 211s test_normalize_address_netmask_to_cidr (tests.unit.test_util.UtilTestCase.test_normalize_address_netmask_to_cidr) 211s Test normalize_address() with netmask_to_cidr ... ok 211s test_normalize_address_valid_netmask_to_non_cidr (tests.unit.test_util.UtilTestCase.test_normalize_address_valid_netmask_to_non_cidr) 211s Test normalize_address() with valid_netmask_to_non_cidr ... ok 211s test_open_file_read (tests.unit.test_util.UtilTestCase.test_open_file_read) 211s Test open_file_read() ... ok 211s test_open_files (tests.unit.test_util.UtilTestCase.test_open_files) 211s Test open_files() ... ok 211s test_parse_netstat_output (tests.unit.test_util.UtilTestCase.test_parse_netstat_output) 211s Test parse_netstat_output() ... ok 211s test_parse_port_proto (tests.unit.test_util.UtilTestCase.test_parse_port_proto) 211s Test parse_port_proto() ... ok 211s test_under_ssh (tests.unit.test_util.UtilTestCase.test_under_ssh) 211s Test under_ssh() ... WARN: Couldn't find pid (is /proc mounted?) 211s ok 211s test_valid_address (tests.unit.test_util.UtilTestCase.test_valid_address) 211s Test valid_address() ... ok 211s test_valid_address4 (tests.unit.test_util.UtilTestCase.test_valid_address4) 211s Test valid_address4() ... ok 211s test_valid_address6 (tests.unit.test_util.UtilTestCase.test_valid_address6) 211s Test valid_address6() ... WARN: python does not have IPv6 support. 211s (IPv6 support warning is intentional) 211s ok 211s test_valid_netmask (tests.unit.test_util.UtilTestCase.test_valid_netmask) 211s Test valid_netmask() ... ok 211s test_warn (tests.unit.test_util.UtilTestCase.test_warn) 211s Test warn() ... WARN: test warn() 211s ('WARN: test warn()' output is intentional) 211s ok 211s test_word_wrap (tests.unit.test_util.UtilTestCase.test_word_wrap) 211s Test word_wrap() ... ok 211s test_wrap_text (tests.unit.test_util.UtilTestCase.test_wrap_text) 211s Test wrap_text() ... ok 211s test_write_to_file (tests.unit.test_util.UtilTestCase.test_write_to_file) 211s Test write_to_file() ... ok 211s 211s ---------------------------------------------------------------------- 211s Ran 49 tests in 0.329s 211s 211s OK 211s 211s ------------------ 211s Unit tests summary 211s ------------------ 211s Total=8 (Passed=8, Failed=0) 212s 212s 212s make[1]: Entering directory '/tmp/autopkgtest.A7R9Xk/build.Moc/src' 212s rm -rf ./build 212s rm -rf ./staging 212s rm -rf ./tests/testarea ./tests/unit/tmp 212s rm -rf ./tmp 212s rm -rf ./snap-build 212s rm -rf ./parts ./stage ./prime 212s rm -f ./locales/mo/*.mo 212s rm -f ./tests/unit/*.pyc ./tests/*.pyc ./src/*.pyc 212s rm -rf ./tests/unit/__pycache__ ./tests/__pycache__ ./src/__pycache__ 212s rm -rf ./.coverage 212s rm -f ./ufw # unittest symlink 212s make[1]: Leaving directory '/tmp/autopkgtest.A7R9Xk/build.Moc/src' 212s = Functional Tests = 212s net.ipv4.ip_forward = 0 212s net.ipv6.conf.default.forwarding = 0 212s net.ipv6.conf.all.forwarding = 0 212s 212s Performing tests 'installation/check_help' 212s - installing 213s - result: 213s PASS 213s 213s Performing tests 'installation/check_root' 213s - installing 215s - result: 215s PASS 215s 215s Performing tests 'bad/apps' 215s - installing 216s - result: 235s PASS 235s 235s Performing tests 'bad/args' 235s - installing 236s - result: 333s PASS 333s 333s Performing tests 'bad/netmasks' 333s - installing 334s - result: 341s PASS 341s 341s Performing tests 'bad/policy' 341s - installing 342s - result: 346s PASS 346s 346s Performing tests 'bugs/apps' 346s - installing 347s - result: 352s PASS 352s 352s Performing tests 'bugs/misc' 352s - installing 353s - result: 359s PASS 359s 359s Performing tests 'bugs/rules' 359s - installing 360s - result: 361s PASS 361s 361s Performing tests 'good/apps' 361s - installing 362s - result: 451s PASS 451s 451s Performing tests 'good/args' 451s - installing 452s - result: 465s PASS 465s 465s Performing tests 'good/logging' 465s - installing 466s - result: 496s PASS 496s 496s Performing tests 'good/netmasks' 496s - installing 496s - result: 511s PASS 511s 511s Performing tests 'good/policy' 511s - installing 511s - result: 515s PASS 515s 515s Performing tests 'good/reports' 515s - installing 516s - result: 532s PASS 532s 532s Performing tests 'good/route' 532s - installing 533s - result: 539s PASS 539s 539s Performing tests 'good/rules' 539s - installing 540s - result: 601s PASS 601s 601s Performing tests 'ipv6/bad_args6' 601s - installing 602s - result: 633s PASS 633s 633s Performing tests 'ipv6/good_args6' 633s - installing 634s - result: 635s PASS 635s 635s Performing tests 'ipv6/logging' 635s - installing 636s - result: 642s PASS 642s 642s Performing tests 'ipv6/rules6' 642s - installing 643s - result: 665s PASS 665s 665s Performing tests 'ipv6/rules64' 665s - installing 666s - result: 706s PASS 706s net.ipv4.ip_forward = 0 706s net.ipv6.conf.default.forwarding = 0 706s net.ipv6.conf.all.forwarding = 0 706s 706s ------------------------ 706s Functional tests summary 706s ------------------------ 706s Attempted: 22 (3339 individual tests) 706s Skipped: 0 706s Errors: 0 706s # the testsuite creates the build/ directory with test values that we 706s # don't want to use 706s make clean 706s make[1]: Entering directory '/tmp/autopkgtest.A7R9Xk/build.Moc/src' 706s rm -rf ./build 706s rm -rf ./staging 706s rm -rf ./tests/testarea ./tests/unit/tmp 706s rm -rf ./tmp 706s rm -rf ./snap-build 706s rm -rf ./parts ./stage ./prime 706s rm -f ./locales/mo/*.mo 706s rm -f ./tests/unit/*.pyc ./tests/*.pyc ./src/*.pyc 706s rm -rf ./tests/unit/__pycache__ ./tests/__pycache__ ./src/__pycache__ 706s rm -rf ./.coverage 706s rm -f ./ufw # unittest symlink 706s make[1]: Leaving directory '/tmp/autopkgtest.A7R9Xk/build.Moc/src' 706s /usr/bin/python3 ./setup.py install --root=/tmp/autopkgtest.A7R9Xk/build.Moc/src/debian/tmp --install-layout=deb 706s make[1]: Entering directory '/tmp/autopkgtest.A7R9Xk/build.Moc/src' 706s make -C locales all 706s make[2]: Entering directory '/tmp/autopkgtest.A7R9Xk/build.Moc/src/locales' 706s for pofile in `ls po/*.po`; do \ 706s lang=$(basename $pofile .po); \ 706s echo "msgfmt -c -o mo/$lang.mo po/$lang.po"; \ 706s formatted=`msgfmt -c -o mo/$lang.mo po/$lang.po 2>&1 | grep fatal` ; \ 706s if [ "$formatted" != "" ]; then \ 706s exit 1; \ 706s fi; \ 706s done; \ 706s 706s msgfmt -c -o mo/ar.mo po/ar.po 706s msgfmt -c -o mo/ast.mo po/ast.po 706s msgfmt -c -o mo/bg.mo po/bg.po 706s msgfmt -c -o mo/bs.mo po/bs.po 706s msgfmt -c -o mo/ca.mo po/ca.po 706s msgfmt -c -o mo/ce.mo po/ce.po 706s msgfmt -c -o mo/cs.mo po/cs.po 706s msgfmt -c -o mo/da.mo po/da.po 706s msgfmt -c -o mo/de.mo po/de.po 706s msgfmt -c -o mo/el.mo po/el.po 706s msgfmt -c -o mo/en_AU.mo po/en_AU.po 706s msgfmt -c -o mo/en_GB.mo po/en_GB.po 707s msgfmt -c -o mo/es.mo po/es.po 707s msgfmt -c -o mo/et.mo po/et.po 707s msgfmt -c -o mo/fi.mo po/fi.po 707s msgfmt -c -o mo/fr.mo po/fr.po 707s msgfmt -c -o mo/he.mo po/he.po 707s msgfmt -c -o mo/hu.mo po/hu.po 707s msgfmt -c -o mo/id.mo po/id.po 707s msgfmt -c -o mo/it.mo po/it.po 707s msgfmt -c -o mo/ja.mo po/ja.po 707s msgfmt -c -o mo/ko.mo po/ko.po 707s msgfmt -c -o mo/lv.mo po/lv.po 707s msgfmt -c -o mo/nb.mo po/nb.po 707s msgfmt -c -o mo/nl.mo po/nl.po 707s msgfmt -c -o mo/pl.mo po/pl.po 707s msgfmt -c -o mo/pt.mo po/pt.po 707s msgfmt -c -o mo/pt_BR.mo po/pt_BR.po 707s msgfmt -c -o mo/ro.mo po/ro.po 707s msgfmt -c -o mo/ru.mo po/ru.po 707s msgfmt -c -o mo/se.mo po/se.po 707s msgfmt -c -o mo/sk.mo po/sk.po 707s msgfmt -c -o mo/sl.mo po/sl.po 707s msgfmt -c -o mo/sr.mo po/sr.po 707s msgfmt -c -o mo/sv.mo po/sv.po 707s msgfmt -c -o mo/tl.mo po/tl.po 707s msgfmt -c -o mo/tr.mo po/tr.po 707s msgfmt -c -o mo/uk.mo po/uk.po 707s msgfmt -c -o mo/ur.mo po/ur.po 707s msgfmt -c -o mo/zh_CN.mo po/zh_CN.po 707s msgfmt -c -o mo/zh_TW.mo po/zh_TW.po 707s make[2]: Leaving directory '/tmp/autopkgtest.A7R9Xk/build.Moc/src/locales' 707s make[1]: Leaving directory '/tmp/autopkgtest.A7R9Xk/build.Moc/src' 707s Found '/usr/sbin/iptables' 707s Found '/usr/sbin/iptables' version '1.8.10' 707s Updating staging/common.py 707s Updating staging/ufw to use /usr/bin/python3 707s Updating /tmp/autopkgtest.A7R9Xk/build.Moc/src/debian/tmp/etc/default/ufw 707s Updating /tmp/autopkgtest.A7R9Xk/build.Moc/src/debian/tmp/etc/ufw/ufw.conf 707s Updating /tmp/autopkgtest.A7R9Xk/build.Moc/src/debian/tmp/etc/ufw/before.rules 707s Updating /tmp/autopkgtest.A7R9Xk/build.Moc/src/debian/tmp/etc/ufw/after.rules 707s Updating /tmp/autopkgtest.A7R9Xk/build.Moc/src/debian/tmp/etc/ufw/before6.rules 707s Updating /tmp/autopkgtest.A7R9Xk/build.Moc/src/debian/tmp/etc/ufw/after6.rules 707s Updating /tmp/autopkgtest.A7R9Xk/build.Moc/src/debian/tmp/usr/sbin/ufw 707s Updating /tmp/autopkgtest.A7R9Xk/build.Moc/src/debian/tmp/usr/share/man/man8/ufw.8 707s Updating /tmp/autopkgtest.A7R9Xk/build.Moc/src/debian/tmp/usr/share/man/man8/ufw-framework.8 707s Updating /tmp/autopkgtest.A7R9Xk/build.Moc/src/debian/tmp/etc/ufw/sysctl.conf 707s Updating /tmp/autopkgtest.A7R9Xk/build.Moc/src/debian/tmp/lib/ufw/ufw-init 707s Updating /tmp/autopkgtest.A7R9Xk/build.Moc/src/debian/tmp/lib/ufw/ufw-init-functions 707s Updating /tmp/autopkgtest.A7R9Xk/build.Moc/src/debian/tmp/etc/ufw/before.init 707s Updating /tmp/autopkgtest.A7R9Xk/build.Moc/src/debian/tmp/etc/ufw/after.init 707s # these shouldn't be conffiles 707s mv /tmp/autopkgtest.A7R9Xk/build.Moc/src/debian/tmp/etc/ufw/ufw.conf /tmp/autopkgtest.A7R9Xk/build.Moc/src/debian/tmp/usr/share/ufw 707s mv /tmp/autopkgtest.A7R9Xk/build.Moc/src/debian/tmp/etc/ufw/*.init /tmp/autopkgtest.A7R9Xk/build.Moc/src/debian/tmp/usr/share/ufw 707s # these shouldn't be conffiles either, but we'll use the rules from 707s # /usr/share/ufw/iptables so just delete these and we'll use dh_link 707s # later 707s rm -f /tmp/autopkgtest.A7R9Xk/build.Moc/src/debian/tmp/etc/ufw/*.rules 707s rm -f /tmp/autopkgtest.A7R9Xk/build.Moc/src/debian/tmp/lib/ufw/*.rules 707s dh_link 707s # Rename and install the shell-completion file 707s cp /tmp/autopkgtest.A7R9Xk/build.Moc/src/shell-completion/bash /tmp/autopkgtest.A7R9Xk/build.Moc/src/debian/ufw/usr/share/bash-completion/completions/ufw 707s dh_testdir 707s dh_testroot 707s dh_installchangelogs 707s dh_installchangelogs ChangeLog 707s dh_installdocs 707s dh_installdocs README 707s dh_installexamples doc/skel-ui.example 707s dh_install 707s dh_installinit --no-start --no-stop-on-upgrade 707s # don't start the service on on install/upgrade and don't stop the 707s # service on upgrade 707s dh_installsystemd --no-start --no-stop-on-upgrade --no-restart-on-upgrade 708s dh_installlogrotate 708s dh_installman 708s dh_installdebconf 708s dh_lintian 708s : # Replace all '#!' calls to python with /usr/bin/python3 708s : # and make them executable 708s for i in `find debian -mindepth 3 -type f`; do \ 708s sed '1s,#!.*python[^ ]*\(.*\),#! /usr/bin/python3\1,' \ 708s $i > $i.temp; \ 708s if cmp --quiet $i $i.temp; then \ 708s rm -f $i.temp; \ 708s else \ 708s mv -f $i.temp $i; \ 708s chmod 755 $i; \ 708s echo "fixed interpreter: $i"; \ 708s fi; \ 708s done 708s fixed interpreter: debian/ufw/usr/sbin/ufw 708s fixed interpreter: debian/ufw/usr/share/doc/ufw/examples/skel-ui.example 708s fixed interpreter: debian/tmp/usr/sbin/ufw 709s # Don't install profiles on Ubuntu 709s if dpkg-vendor --is ubuntu; then \ 709s rm -f /tmp/autopkgtest.A7R9Xk/build.Moc/src/debian/ufw/etc/ufw/applications.d/ufw-* ; \ 709s fi 709s dh_python3 -p ufw 709s dh_compress 709s dh_fixperms 709s dh_installdeb 709s dh_gencontrol 709s dpkg-gencontrol: warning: unknown information field 'Python-Version' in input data in binary package stanza of template control file 709s dh_md5sums 709s dh_builddeb 709s dpkg-deb: building package 'ufw' in '../ufw_0.36.2-6_all.deb'. 709s dpkg-genbuildinfo --build=binary -O../ufw_0.36.2-6_arm64.buildinfo 710s dpkg-genchanges --build=binary -O../ufw_0.36.2-6_arm64.changes 710s dpkg-genchanges: warning: unknown information field 'Python-Version' in input data in binary package stanza of template control file 710s dpkg-genchanges: info: binary-only upload (no source code included) 710s dpkg-source --after-build . 710s dpkg-source: warning: unknown information field 'Python-Version' in input data in binary package stanza of template control file 710s dpkg-buildpackage: info: binary-only upload (no source included) 710s dpkg-source: warning: unknown information field 'Python-Version' in input data in binary package stanza of template control file 711s command1 SKIP Test lists explicitly supported architectures, but the current architecture arm64 isn't listed. 711s autopkgtest [10:05:53]: test test-ufw.py: preparing testbed 781s autopkgtest [10:07:03]: testbed dpkg architecture: arm64 781s autopkgtest [10:07:03]: testbed apt version: 2.9.8 781s autopkgtest [10:07:03]: @@@@@@@@@@@@@@@@@@@@ test bed setup 782s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 782s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [2840 B] 783s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 783s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [28.1 kB] 783s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [212 kB] 783s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [59.3 kB] 783s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [50.3 kB] 783s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [249 kB] 783s Fetched 682 kB in 1s (971 kB/s) 783s Reading package lists... 785s Reading package lists... 786s Building dependency tree... 786s Reading state information... 786s Calculating upgrade... 787s The following NEW packages will be installed: 787s python3-jaraco.text 787s The following packages will be upgraded: 787s libkeyutils1 python3-pkg-resources python3-setuptools 787s 3 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 787s Need to get 812 kB of archives. 787s After this operation, 13.3 kB of additional disk space will be used. 787s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 libkeyutils1 arm64 1.6.3-4ubuntu2 [10.2 kB] 787s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-jaraco.text all 4.0.0-1 [11.5 kB] 787s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-pkg-resources all 75.2.0-1 [134 kB] 787s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-setuptools all 75.2.0-1 [657 kB] 788s Fetched 812 kB in 1s (1512 kB/s) 788s (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 ... 79697 files and directories currently installed.) 788s Preparing to unpack .../libkeyutils1_1.6.3-4ubuntu2_arm64.deb ... 788s Unpacking libkeyutils1:arm64 (1.6.3-4ubuntu2) over (1.6.3-3build1) ... 788s Selecting previously unselected package python3-jaraco.text. 788s Preparing to unpack .../python3-jaraco.text_4.0.0-1_all.deb ... 788s Unpacking python3-jaraco.text (4.0.0-1) ... 788s Preparing to unpack .../python3-pkg-resources_75.2.0-1_all.deb ... 789s Unpacking python3-pkg-resources (75.2.0-1) over (74.1.2-1) ... 789s Preparing to unpack .../python3-setuptools_75.2.0-1_all.deb ... 789s Unpacking python3-setuptools (75.2.0-1) over (74.1.2-1) ... 789s Setting up python3-pkg-resources (75.2.0-1) ... 789s Setting up libkeyutils1:arm64 (1.6.3-4ubuntu2) ... 789s Setting up python3-jaraco.text (4.0.0-1) ... 789s Setting up python3-setuptools (75.2.0-1) ... 790s Processing triggers for libc-bin (2.40-1ubuntu3) ... 791s Reading package lists... 791s Building dependency tree... 791s Reading state information... 792s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 792s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 792s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 792s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 792s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 793s Reading package lists... 793s Reading package lists... 794s Building dependency tree... 794s Reading state information... 794s Calculating upgrade... 795s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 795s Reading package lists... 795s Building dependency tree... 795s Reading state information... 796s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 800s Reading package lists... 800s Building dependency tree... 800s Reading state information... 801s Starting pkgProblemResolver with broken count: 0 801s Starting 2 pkgProblemResolver with broken count: 0 801s Done 802s The following NEW packages will be installed: 802s autopkgtest-satdep 802s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 802s Need to get 0 B/704 B of archives. 802s After this operation, 0 B of additional disk space will be used. 802s Get:1 /tmp/autopkgtest.A7R9Xk/2-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [704 B] 802s Selecting previously unselected package autopkgtest-satdep. 802s (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 ... 79706 files and directories currently installed.) 802s Preparing to unpack .../2-autopkgtest-satdep.deb ... 802s Unpacking autopkgtest-satdep (0) ... 802s Setting up autopkgtest-satdep (0) ... 805s (Reading database ... 79706 files and directories currently installed.) 805s Removing autopkgtest-satdep (0) ... 807s autopkgtest [10:07:29]: test test-ufw.py: [----------------------- 807s test_enable_disable (__main__.UfwTestAuto.test_enable_disable) 809s Test enable/disable ... ok 809s test_logging (__main__.UfwTestAuto.test_logging) 811s Test logging ... ok 812s test_requirements (__main__.UfwTestAuto.test_requirements) ... ok 812s test_service (__main__.UfwTestAuto.test_service) 814s Test service/proto ... ok 814s test_enable_disable (__main__.UfwTestNft.test_enable_disable) 816s Test enable/disable ... ok 816s test_logging (__main__.UfwTestNft.test_logging) 818s Test logging ... ok 819s test_requirements (__main__.UfwTestNft.test_requirements) ... ok 819s test_service (__main__.UfwTestNft.test_service) 820s Test service/proto ... ok 820s test_enable_disable (__main__.UfwTestLegacy.test_enable_disable) 821s Test enable/disable ... ok 821s test_logging (__main__.UfwTestLegacy.test_logging) 823s Test logging ... ok 823s test_requirements (__main__.UfwTestLegacy.test_requirements) ... ok 823s test_service (__main__.UfwTestLegacy.test_service) 824s Test service/proto ... ok 824s 824s ---------------------------------------------------------------------- 824s Ran 12 tests in 17.052s 824s 824s OK 824s autopkgtest [10:07:46]: test test-ufw.py: -----------------------] 825s autopkgtest [10:07:47]: test test-ufw.py: - - - - - - - - - - results - - - - - - - - - - 825s test-ufw.py PASS 825s autopkgtest [10:07:47]: test root-unittest: preparing testbed 904s autopkgtest [10:09:06]: testbed dpkg architecture: arm64 904s autopkgtest [10:09:06]: testbed apt version: 2.9.8 904s autopkgtest [10:09:06]: @@@@@@@@@@@@@@@@@@@@ test bed setup 905s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 905s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [28.1 kB] 905s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [2840 B] 905s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [212 kB] 905s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 905s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [59.3 kB] 905s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [50.3 kB] 905s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [249 kB] 905s Fetched 682 kB in 1s (1021 kB/s) 905s Reading package lists... 908s Reading package lists... 908s Building dependency tree... 908s Reading state information... 909s Calculating upgrade... 910s The following NEW packages will be installed: 910s python3-jaraco.text 910s The following packages will be upgraded: 910s libkeyutils1 python3-pkg-resources python3-setuptools 910s 3 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 910s Need to get 812 kB of archives. 910s After this operation, 13.3 kB of additional disk space will be used. 910s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 libkeyutils1 arm64 1.6.3-4ubuntu2 [10.2 kB] 910s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-jaraco.text all 4.0.0-1 [11.5 kB] 910s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-pkg-resources all 75.2.0-1 [134 kB] 910s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-setuptools all 75.2.0-1 [657 kB] 911s Fetched 812 kB in 1s (1457 kB/s) 911s (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 ... 79697 files and directories currently installed.) 911s Preparing to unpack .../libkeyutils1_1.6.3-4ubuntu2_arm64.deb ... 911s Unpacking libkeyutils1:arm64 (1.6.3-4ubuntu2) over (1.6.3-3build1) ... 911s Selecting previously unselected package python3-jaraco.text. 911s Preparing to unpack .../python3-jaraco.text_4.0.0-1_all.deb ... 911s Unpacking python3-jaraco.text (4.0.0-1) ... 911s Preparing to unpack .../python3-pkg-resources_75.2.0-1_all.deb ... 911s Unpacking python3-pkg-resources (75.2.0-1) over (74.1.2-1) ... 911s Preparing to unpack .../python3-setuptools_75.2.0-1_all.deb ... 911s Unpacking python3-setuptools (75.2.0-1) over (74.1.2-1) ... 912s Setting up python3-pkg-resources (75.2.0-1) ... 912s Setting up libkeyutils1:arm64 (1.6.3-4ubuntu2) ... 912s Setting up python3-jaraco.text (4.0.0-1) ... 912s Setting up python3-setuptools (75.2.0-1) ... 913s Processing triggers for libc-bin (2.40-1ubuntu3) ... 913s Reading package lists... 913s Building dependency tree... 913s Reading state information... 914s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 914s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 914s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 914s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 914s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 916s Reading package lists... 916s Reading package lists... 916s Building dependency tree... 916s Reading state information... 916s Calculating upgrade... 917s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 917s Reading package lists... 917s Building dependency tree... 917s Reading state information... 918s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 922s Reading package lists... 922s Building dependency tree... 922s Reading state information... 923s Starting pkgProblemResolver with broken count: 0 923s Starting 2 pkgProblemResolver with broken count: 0 923s Done 924s The following NEW packages will be installed: 924s autopkgtest-satdep 924s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 924s Need to get 0 B/740 B of archives. 924s After this operation, 0 B of additional disk space will be used. 924s Get:1 /tmp/autopkgtest.A7R9Xk/3-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [740 B] 924s Selecting previously unselected package autopkgtest-satdep. 924s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 79706 files and directories currently installed.) 924s Preparing to unpack .../3-autopkgtest-satdep.deb ... 924s Unpacking autopkgtest-satdep (0) ... 924s Setting up autopkgtest-satdep (0) ... 926s (Reading database ... 79706 files and directories currently installed.) 926s Removing autopkgtest-satdep (0) ... 929s autopkgtest [10:09:31]: test root-unittest: [----------------------- 929s Interpreter: python3 929s 929s rm -rf ./build 929s rm -rf ./staging 929s rm -rf ./tests/testarea ./tests/unit/tmp 929s rm -rf ./tmp 929s rm -rf ./snap-build 929s rm -rf ./parts ./stage ./prime 929s rm -f ./locales/mo/*.mo 929s rm -f ./tests/unit/*.pyc ./tests/*.pyc ./src/*.pyc 929s rm -rf ./tests/unit/__pycache__ ./tests/__pycache__ ./src/__pycache__ 929s rm -rf ./.coverage 929s rm -f ./ufw # unittest symlink 929s = Functional Tests = 929s net.ipv4.ip_forward = 0 929s net.ipv6.conf.default.forwarding = 0 929s net.ipv6.conf.all.forwarding = 0 929s 929s Performing tests 'root/bugs' 929s - installing 930s - result: 979s PASS 979s 979s Performing tests 'root/live' 979s - installing 980s - result: 1076s PASS 1076s 1076s Performing tests 'root/live_apps' 1076s - installing 1077s - result: 1124s PASS 1124s 1124s Performing tests 'root/live_route' 1124s - installing 1124s - result: 1190s PASS 1190s 1190s Performing tests 'root/logging' 1190s - installing 1191s - result: 1229s PASS 1229s 1229s Performing tests 'root/normalization' 1229s - installing 1230s - result: 1245s PASS 1245s 1245s Performing tests 'root/requirements' 1245s - installing 1246s - result: 1246s PASS 1246s 1246s Performing tests 'root/valid' 1246s - installing 1247s - result: 1278s PASS 1278s 1278s Performing tests 'root/valid6' 1278s - installing 1279s - result: 1308s PASS 1308s net.ipv4.ip_forward = 0 1308s net.ipv6.conf.default.forwarding = 0 1308s net.ipv6.conf.all.forwarding = 0 1308s 1308s ------------------------ 1308s Functional tests summary 1308s ------------------------ 1308s Attempted: 9 (1710 individual tests) 1308s Skipped: 0 1308s Errors: 0 1309s autopkgtest [10:15:51]: test root-unittest: -----------------------] 1309s root-unittest PASS 1309s autopkgtest [10:15:51]: test root-unittest: - - - - - - - - - - results - - - - - - - - - - 1310s autopkgtest [10:15:52]: test unittest: preparing testbed 1311s Reading package lists... 1311s Building dependency tree... 1311s Reading state information... 1311s Starting pkgProblemResolver with broken count: 0 1312s Starting 2 pkgProblemResolver with broken count: 0 1312s Done 1312s The following additional packages will be installed: 1312s dh-python 1312s Suggested packages: 1312s flit python3-build python3-installer python3-wheel 1312s The following NEW packages will be installed: 1312s autopkgtest-satdep dh-python 1312s 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. 1312s Need to get 112 kB/113 kB of archives. 1312s After this operation, 471 kB of additional disk space will be used. 1312s Get:1 /tmp/autopkgtest.A7R9Xk/4-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [740 B] 1312s Get:2 http://ftpmaster.internal/ubuntu plucky/universe arm64 dh-python all 6.20240824 [112 kB] 1313s Fetched 112 kB in 0s (292 kB/s) 1313s Selecting previously unselected package dh-python. 1313s (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 ... 79706 files and directories currently installed.) 1313s Preparing to unpack .../dh-python_6.20240824_all.deb ... 1313s Unpacking dh-python (6.20240824) ... 1313s Selecting previously unselected package autopkgtest-satdep. 1313s Preparing to unpack .../4-autopkgtest-satdep.deb ... 1313s Unpacking autopkgtest-satdep (0) ... 1313s Setting up dh-python (6.20240824) ... 1313s Setting up autopkgtest-satdep (0) ... 1313s Processing triggers for man-db (2.12.1-3) ... 1317s (Reading database ... 79755 files and directories currently installed.) 1317s Removing autopkgtest-satdep (0) ... 1317s autopkgtest [10:15:59]: test unittest: [----------------------- 1318s Interpreter: python3 1318s 1318s = Unit Tests = 1318s DEBUG: sys.path=['/tmp/autopkgtest.A7R9Xk/build.Moc/src', '/usr/lib/python312.zip', '/usr/lib/python3.12', '/usr/lib/python3.12/lib-dynload', '/usr/local/lib/python3.12/dist-packages', '/usr/lib/python3/dist-packages'] 1318s DEBUG: test=['test_applications', 'test_backend', 'test_backend_iptables', 'test_common', 'test_frontend', 'test_parser', 'test_skeleton', 'test_util'] 1318s test_applications 1318s test_get_description (tests.unit.test_applications.ApplicationsTestCase.test_get_description) 1318s Test get_description() ... ok 1318s test_get_ports (tests.unit.test_applications.ApplicationsTestCase.test_get_ports) 1318s Test get_ports() ... ok 1318s test_get_profiles (tests.unit.test_applications.ApplicationsTestCase.test_get_profiles) 1318s Test get_profiles() ... ok 1318s test_get_title (tests.unit.test_applications.ApplicationsTestCase.test_get_title) 1318s Test get_title() ... ok 1318s test_valid_profile_name (tests.unit.test_applications.ApplicationsTestCase.test_valid_profile_name) 1318s Test valid_profile_name() ... ok 1318s test_verify_profile (tests.unit.test_applications.ApplicationsTestCase.test_verify_profile) 1318s Test verify_profile() ... ok 1318s test_verify_profile_bad (tests.unit.test_applications.ApplicationsTestCase.test_verify_profile_bad) 1318s Test verify_profile() - bad ... {'description': 'missing title', 'ports': '53'} 1318s {'title': 'missing description', 'ports': '22/tcp'} 1318s {'title': 'missing ports', 'description': 'desc'} 1318s {'title': '', 'description': 'empty title', 'ports': '80'} 1318s {'title': 'empty description', 'description': '', 'ports': '80'} 1318s {'title': 'empty ports', 'description': 'desc', 'ports': ''} 1318s {'title': 'bad missing proto - list', 'description': 'desc', 'ports': '80,443'} 1318s {'title': 'bad missing proto - range', 'description': 'desc', 'ports': '80:443'} 1318s {'title': 'bad range too big', 'description': 'desc', 'ports': '80:70000/tcp'} 1318s {'title': 'bad protocol - ah', 'description': 'desc', 'ports': '80/ah'} 1318s {'title': 'bad protocol - esp', 'description': 'desc', 'ports': '80/esp'} 1318s {'title': 'bad protocol - gre', 'description': 'desc', 'ports': '80/gre'} 1318s {'title': 'bad protocol - igmp', 'description': 'desc', 'ports': '80/igmp'} 1318s {'title': 'bad protocol - ipv6', 'description': 'desc', 'ports': '80/ipv6'} 1318s {'title': 'bad protocol - vrrp', 'description': 'desc', 'ports': '80/vrrp'} 1318s ok 1318s 1318s ---------------------------------------------------------------------- 1318s Ran 7 tests in 0.039s 1318s 1318s OK 1319s test_backend 1319s test_installation_defaults (tests.unit.test_backend.BackendTestCase.test_installation_defaults) 1319s Test installation defaults ... WARN: Checks disabled 1319s ok 1319s 1319s ---------------------------------------------------------------------- 1319s Ran 1 test in 0.009s 1319s 1319s OK 1319s test_backend_iptables 1319s test__get_defaults (tests.unit.test_backend_iptables.BackendIptablesTestCase.test__get_defaults) 1319s Test _get_defaults() ... WARN: Checks disabled 1319s WARN: Checks disabled 1319s ok 1319s test__need_reload (tests.unit.test_backend_iptables.BackendIptablesTestCase.test__need_reload) 1319s Test _need_reload() ... WARN: Checks disabled 1319s ok 1319s test__reload_user_rules (tests.unit.test_backend_iptables.BackendIptablesTestCase.test__reload_user_rules) 1319s Test _reload_user_rules() ... > | iptables-restore 1319s > | ip6tables-restore 1319s WARN: Checks disabled 1319s ok 1319s test_find_application_name (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_find_application_name) 1319s Test find_application_name() ... ok 1319s test_find_other_position (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_find_other_position) 1319s Test find_other_position() ... WARN: Checks disabled 1319s WARN: Checks disabled 1319s ok 1319s test_get_app_rules_from_template (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_get_app_rules_from_template) 1319s Test get_app_rules_from_template() ... ok 1319s test_get_default_application_policy (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_get_default_application_policy) 1319s Test get_default_application_policy() ... WARN: Checks disabled 1319s ok 1319s test_get_loglevel (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_get_loglevel) 1319s Test get_loglevel() ... WARN: Checks disabled 1319s ok 1319s test_get_matching (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_get_matching) 1319s Test get_matching() ... WARN: Checks disabled 1319s ok 1319s test_get_rule_by_number (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_get_rule_by_number) 1319s Test get_rule_by_number() ... WARN: Checks disabled 1319s ok 1319s test_get_rules_count (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_get_rules_count) 1319s Test get_rules_count() ... WARN: Checks disabled 1319s ok 1319s test_get_running_raw (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_get_running_raw) 1319s Test get_running_raw() ... WARN: Checks disabled 1320s ok 1320s test_get_status (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_get_status) 1320s Test get_status() ... WARN: Checks disabled 1324s ok 1324s test_lp1838764 (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_lp1838764) 1324s Test get_status() - LP: #1838764 ... WARN: Checks disabled 1324s WARN: Checks disabled 1324s ok 1324s test_reset (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_reset) 1325s Test reset() ... Backing up 'user.rules' to '/tmp/autopkgtest.A7R9Xk/build.Moc/src/tests/unit/tmp/ufw/etc/ufw/user.rules.20241030_101606' 1325s Backing up 'before.rules' to '/tmp/autopkgtest.A7R9Xk/build.Moc/src/tests/unit/tmp/ufw/etc/ufw/before.rules.20241030_101606' 1325s Backing up 'after.rules' to '/tmp/autopkgtest.A7R9Xk/build.Moc/src/tests/unit/tmp/ufw/etc/ufw/after.rules.20241030_101606' 1325s Backing up 'user6.rules' to '/tmp/autopkgtest.A7R9Xk/build.Moc/src/tests/unit/tmp/ufw/etc/ufw/user6.rules.20241030_101606' 1325s Backing up 'before6.rules' to '/tmp/autopkgtest.A7R9Xk/build.Moc/src/tests/unit/tmp/ufw/etc/ufw/before6.rules.20241030_101606' 1325s Backing up 'after6.rules' to '/tmp/autopkgtest.A7R9Xk/build.Moc/src/tests/unit/tmp/ufw/etc/ufw/after6.rules.20241030_101606' 1325s 1325s Backing up 'user.rules' to '/tmp/autopkgtest.A7R9Xk/build.Moc/src/tests/unit/tmp/ufw/etc/ufw/user.rules.20241030_101607' 1325s Backing up 'before.rules' to '/tmp/autopkgtest.A7R9Xk/build.Moc/src/tests/unit/tmp/ufw/etc/ufw/before.rules.20241030_101607' 1325s Backing up 'after.rules' to '/tmp/autopkgtest.A7R9Xk/build.Moc/src/tests/unit/tmp/ufw/etc/ufw/after.rules.20241030_101607' 1325s Backing up 'user6.rules' to '/tmp/autopkgtest.A7R9Xk/build.Moc/src/tests/unit/tmp/ufw/etc/ufw/user6.rules.20241030_101607' 1325s Backing up 'before6.rules' to '/tmp/autopkgtest.A7R9Xk/build.Moc/src/tests/unit/tmp/ufw/etc/ufw/before6.rules.20241030_101607' 1325s Backing up 'after6.rules' to '/tmp/autopkgtest.A7R9Xk/build.Moc/src/tests/unit/tmp/ufw/etc/ufw/after6.rules.20241030_101607' 1325s 1325s ok 1325s test_set_bad_default (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_set_bad_default) 1325s Test bad set_default_policy() ... WARN: Checks disabled 1325s ok 1325s test_set_bad_default_application_policy (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_set_bad_default_application_policy) 1325s Test bad set_default_application_policy() ... WARN: Checks disabled 1325s ok 1325s test_set_default (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_set_default) 1325s Test set_default() ... WARN: Checks disabled 1325s ok 1325s test_set_default_application_policy (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_set_default_application_policy) 1325s Test set_default_application_policy() ... WARN: Checks disabled 1325s ok 1325s WARN: Checks disabled 1325s test_set_default_policy (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_set_default_policy) 1325s Test set_default_policy() ... WARN: Checks disabled 1325s ok 1325s test_set_loglevel (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_set_loglevel) 1325s Test set_loglevel() ... ok 1325s test_set_rule (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_set_rule) 1325s Test set_rule() ... WARN: Checks disabled 1346s ok 1346s test_start_firewall (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_start_firewall) 1346s Test start_firewall() ... WARN: Checks disabled 1346s > running ufw-init 1346s ok 1346s test_stop_firewall (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_stop_firewall) 1346s Test stop_firewall() ... WARN: Checks disabled 1346s > running ufw-init 1346s ok 1346s test_update_app_rule (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_update_app_rule) 1346s Test upate_app_rule() ... WARN: Checks disabled 1346s ok 1346s WARN: Checks disabled 1346s test_update_logging (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_update_logging) 1347s Test update_logging() ... ok 1347s WARN: Checks disabled 1347s test_use_ipv6 (tests.unit.test_backend_iptables.BackendIptablesTestCase.test_use_ipv6) 1347s Test use_ipv6() ... ok 1347s 1347s ---------------------------------------------------------------------- 1347s Ran 27 tests in 27.274s 1347s 1347s OK 1347s test_common 1347s test__fix_anywhere (tests.unit.test_common.CommonTestCase.test__fix_anywhere) 1347s Test _fix_anywhere() ... ok 1347s test__get_attrib (tests.unit.test_common.CommonTestCase.test__get_attrib) 1347s Test _get_attrib() ... ok 1347s test__init_ (tests.unit.test_common.CommonTestCase.test__init_) 1347s Test UFWRule.__init__() ... ok 1347s test__is_anywhere (tests.unit.test_common.CommonTestCase.test__is_anywhere) 1347s Test _is_anywhere() ... ok 1347s test_dup_rule (tests.unit.test_common.CommonTestCase.test_dup_rule) 1347s Test dup_rule() ... ok 1347s test_format_rule (tests.unit.test_common.CommonTestCase.test_format_rule) 1347s Test format_rule() ... ok 1347s test_fuzzy_dst_match (tests.unit.test_common.CommonTestCase.test_fuzzy_dst_match) 1347s Test fuzzy_dst_match() ... ok 1347s test_get_app_tuple (tests.unit.test_common.CommonTestCase.test_get_app_tuple) 1347s Test get_app_tuple() ... ok 1347s test_match (tests.unit.test_common.CommonTestCase.test_match) 1347s Test match() ... ok 1347s test_normalize (tests.unit.test_common.CommonTestCase.test_normalize) 1347s Test normalize() ... ok 1347s test_set_action (tests.unit.test_common.CommonTestCase.test_set_action) 1347s Test set_action() ... ok 1347s test_set_direction (tests.unit.test_common.CommonTestCase.test_set_direction) 1347s Test set_direction() ... ok 1347s test_set_direction_bad (tests.unit.test_common.CommonTestCase.test_set_direction_bad) 1347s Test set_direction() - bad ... ok 1347s test_set_dst (tests.unit.test_common.CommonTestCase.test_set_dst) 1347s Test set_dst() ... ok 1347s test_set_dst_bad (tests.unit.test_common.CommonTestCase.test_set_dst_bad) 1347s Test set_dst() - bad ... ok 1347s test_set_interface (tests.unit.test_common.CommonTestCase.test_set_interface) 1347s Test set_interface() ... ok 1347s test_set_interface_bad (tests.unit.test_common.CommonTestCase.test_set_interface_bad) 1347s Test set_interface() - bad ... ok 1347s test_set_logtype (tests.unit.test_common.CommonTestCase.test_set_logtype) 1347s Test set_logtype() ... ok 1347s test_set_logtype_bad (tests.unit.test_common.CommonTestCase.test_set_logtype_bad) 1347s Test set_logtype() - bad ... ok 1347s test_set_port (tests.unit.test_common.CommonTestCase.test_set_port) 1347s Test set_port() ... ok 1347s test_set_port_bad (tests.unit.test_common.CommonTestCase.test_set_port_bad) 1347s Test set_port() - bad ... ok 1347s test_set_position (tests.unit.test_common.CommonTestCase.test_set_position) 1347s Test set_position() ... ok 1347s test_set_position_bad (tests.unit.test_common.CommonTestCase.test_set_position_bad) 1347s Test set_position() - bad ... ok 1347s test_set_protocol (tests.unit.test_common.CommonTestCase.test_set_protocol) 1347s Test set_protocol() ... ok 1347s test_set_protocol_bad (tests.unit.test_common.CommonTestCase.test_set_protocol_bad) 1347s Test set_protocol() - bad ... ok 1347s test_set_src (tests.unit.test_common.CommonTestCase.test_set_src) 1347s Test set_src() ... ok 1347s test_set_src_bad (tests.unit.test_common.CommonTestCase.test_set_src_bad) 1347s Test set_src() - bad ... ok 1347s test_set_v6 (tests.unit.test_common.CommonTestCase.test_set_v6) 1347s Test set_v6() ... ok 1347s test_ufwerror (tests.unit.test_common.CommonTestCase.test_ufwerror) 1347s Test UFWError ... ok 1347s test_ufwerror_str (tests.unit.test_common.CommonTestCase.test_ufwerror_str) 1347s Test UFWError.str() ... ok 1347s 1347s ---------------------------------------------------------------------- 1347s Ran 30 tests in 0.017s 1347s 1347s OK 1348s test_frontend 1348s test___init__ (tests.unit.test_frontend.FrontendTestCase.test___init__) 1348s Test __init__() ... WARN: Checks disabled 1348s ok 1348s test_application_add (tests.unit.test_frontend.FrontendTestCase.test_application_add) 1348s Test application_add() ... WARN: Checks disabled 1348s ok 1348s test_continue_under_ssh (tests.unit.test_frontend.FrontendTestCase.test_continue_under_ssh) 1348s Test continue_under_ssh() ... WARN: Checks disabled 1348s ok 1348s test_do_action (tests.unit.test_frontend.FrontendTestCase.test_do_action) 1348s Test do_action() ... WARN: Checks disabled 1348s WARN: Checks disabled 1348s WARN: Checks disabled 1348s TODO: verify output of rules in do_action() 1348s ok 1348s test_do_action_remove_bad_appname (tests.unit.test_frontend.FrontendTestCase.test_do_action_remove_bad_appname) 1348s Test do_action() remove bad appname ... WARN: Checks disabled 1348s WARN: Checks disabled 1348s ok 1348s test_do_application_action (tests.unit.test_frontend.FrontendTestCase.test_do_application_action) 1348s Test do_application_action() ... ok 1348s test_get_command_help (tests.unit.test_frontend.FrontendTestCase.test_get_command_help) 1348s Test get_command_help() ... WARN: Checks disabled 1348s WARN: Checks disabled 1348s ok 1348s test_get_show_added (tests.unit.test_frontend.FrontendTestCase.test_get_show_added) 1348s Test get_show_added() ... WARN: Checks disabled 1348s ok 1348s test_get_show_listening (tests.unit.test_frontend.FrontendTestCase.test_get_show_listening) 1348s Test get_show_listening() ... ok 1348s test_get_show_raw (tests.unit.test_frontend.FrontendTestCase.test_get_show_raw) 1348s Test get_show_raw() ... WARN: Checks disabled 1348s ok 1348s test_parse_command (tests.unit.test_frontend.FrontendTestCase.test_parse_command) 1348s Test parse_command() ... WARN: Checks disabled 1348s ok 1348s test_parse_command_bad (tests.unit.test_frontend.FrontendTestCase.test_parse_command_bad) 1348s Test parse_command_bad ... WARN: Checks disabled 1348s ok 1348s ERROR: Invalid syntax 1348s ERROR: Invalid syntax 1348s ERROR: Invalid syntax 1348s 1348s ---------------------------------------------------------------------- 1348s Ran 12 tests in 0.162s 1348s 1348s OK 1348s test_parser 1348s test_app_parse (tests.unit.test_parser.ParserTestCase.test_app_parse) 1348s Test UFWCommandApp.parse() ... ok 1348s test_bad_simple_action (tests.unit.test_parser.ParserTestCase.test_bad_simple_action) 1348s Test bad simple action ... ok 1348s test_bad_simple_action_with_direction (tests.unit.test_parser.ParserTestCase.test_bad_simple_action_with_direction) 1348s Test bad simple action with direction ... ok 1348s test_default_parse (tests.unit.test_parser.ParserTestCase.test_default_parse) 1348s Test UFWCommandDefault.parse() ... ok 1348s test_delete_bad_simple_action (tests.unit.test_parser.ParserTestCase.test_delete_bad_simple_action) 1348s Test delete bad simple action ... ok 1348s test_extended_parse (tests.unit.test_parser.ParserTestCase.test_extended_parse) 1352s Test extended rule syntax ... 61920 rules checked 1352s ok 1352s test_logging_parse (tests.unit.test_parser.ParserTestCase.test_logging_parse) 1352s Test UFWCommandLogging.parse() ... ok 1352s test_misc_rules_parse (tests.unit.test_parser.ParserTestCase.test_misc_rules_parse) 1352s Test rule syntax - miscellaneous ... ok 1352s test_route_delete_num (tests.unit.test_parser.ParserTestCase.test_route_delete_num) 1352s Test route delete NUM ... ok 1352s test_rule_bad_syntax (tests.unit.test_parser.ParserTestCase.test_rule_bad_syntax) 1352s Test rule syntax - bad ... ok 1352s test_show_parse (tests.unit.test_parser.ParserTestCase.test_show_parse) 1352s Test UFWCommandShow.parse() ... ok 1352s test_simple_bad_numeric_port (tests.unit.test_parser.ParserTestCase.test_simple_bad_numeric_port) 1352s Test simple bad numeric port ... ok 1352s test_simple_parse (tests.unit.test_parser.ParserTestCase.test_simple_parse) 1352s Test simple rule syntax ... 792 rules checked 1352s ok 1352s test_status_parse (tests.unit.test_parser.ParserTestCase.test_status_parse) 1352s Test UFWCommandStatus.parse() ... ok 1352s test_ufwcommand_help (tests.unit.test_parser.ParserTestCase.test_ufwcommand_help) 1352s Test UFWCommand.help() ... ok 1352s test_ufwcommand_parse (tests.unit.test_parser.ParserTestCase.test_ufwcommand_parse) 1352s Test UFWCommand.parse() ... ok 1352s test_ufwcommand_parse_basic_help (tests.unit.test_parser.ParserTestCase.test_ufwcommand_parse_basic_help) 1352s Test parser.parse_command() - help ... ok 1352s test_ufwcommand_parse_empty (tests.unit.test_parser.ParserTestCase.test_ufwcommand_parse_empty) 1352s Test UFWCommand.parse([]) ... ok 1352s test_ufwcommand_rule_get_command (tests.unit.test_parser.ParserTestCase.test_ufwcommand_rule_get_command) 1359s Test UFWCommand(Route)Rule.get_command() ... 62717 rules checked 1359s ok 1359s test_ufwcommandbasic_parse_with_arg (tests.unit.test_parser.ParserTestCase.test_ufwcommandbasic_parse_with_arg) 1359s Test UFWCommand.parse() - basic with arg ... ok 1359s test_ufwparser_allowed_command (tests.unit.test_parser.ParserTestCase.test_ufwparser_allowed_command) 1359s Test UFWParser.allowed_command() ... ok 1359s test_ufwparser_register_command (tests.unit.test_parser.ParserTestCase.test_ufwparser_register_command) 1359s Test UFWParser.register_command() ... ok 1359s test_ufwparser_register_command_none (tests.unit.test_parser.ParserTestCase.test_ufwparser_register_command_none) 1359s Test UFWParser.register_command() ... ok 1359s test_ufwparser_response (tests.unit.test_parser.ParserTestCase.test_ufwparser_response) 1359s Test UFWParserResponse.str() ... ok 1359s 1359s ---------------------------------------------------------------------- 1359s Ran 24 tests in 10.246s 1359s 1359s OK 1359s test_skeleton 1359s test_example (tests.unit.test_skeleton.SkeletonTestCase.test_example) 1359s Test example dummy test ... ok 1359s 1359s ---------------------------------------------------------------------- 1359s Ran 1 test in 0.000s 1359s 1359s OK 1360s test_util 1360s test__address4_to_network (tests.unit.test_util.UtilTestCase.test__address4_to_network) 1360s Test _address4_to_network() ... ok 1360s test__address6_to_network (tests.unit.test_util.UtilTestCase.test__address6_to_network) 1360s Test _address6_to_network() ... ok 1360s test__cidr_to_dotted_netmask (tests.unit.test_util.UtilTestCase.test__cidr_to_dotted_netmask) 1360s Test _cidr_to_dotted_netmask() ... ok 1360s test__dotted_netmask_to_cidr (tests.unit.test_util.UtilTestCase.test__dotted_netmask_to_cidr) 1360s Test _dotted_netmask_to_cidr() ... ok 1360s test__get_proc_inodes (tests.unit.test_util.UtilTestCase.test__get_proc_inodes) 1360s Test _get_proc_inodes() ... ok 1360s test__read_proc_net_protocol (tests.unit.test_util.UtilTestCase.test__read_proc_net_protocol) 1360s Test _read_proc_net_protocol() ... ok 1360s test__valid_cidr_netmask (tests.unit.test_util.UtilTestCase.test__valid_cidr_netmask) 1360s Test _valid_cidr_netmask() ... ok 1360s test__valid_dotted_quads (tests.unit.test_util.UtilTestCase.test__valid_dotted_quads) 1360s Test _valid_dotted_quads() ... ok 1360s test_cidr_to_dotted_to_cidr (tests.unit.test_util.UtilTestCase.test_cidr_to_dotted_to_cidr) 1360s Test _cidr_to_dotted_netmask() and _dotted_netmask_to_cidr() ... ok 1360s test_close_files (tests.unit.test_util.UtilTestCase.test_close_files) 1360s Test close_files() ... ok 1360s test_cmd (tests.unit.test_util.UtilTestCase.test_cmd) 1360s Test cmd() ... ok 1360s test_cmd_pipe (tests.unit.test_util.UtilTestCase.test_cmd_pipe) 1360s Test cmd_pipe() ... ok 1360s test_create_lock (tests.unit.test_util.UtilTestCase.test_create_lock) 1360s Test create_lock() ... ok 1360s test_debug (tests.unit.test_util.UtilTestCase.test_debug) 1360s Test debug() ... ('DEBUG: test debug()' output is intentional) 1360s ok 1360s test_error (tests.unit.test_util.UtilTestCase.test_error) 1360s Test error() ... ('ERROR: test error()' output is intentional) 1360s ok 1360s test_get_if_from_ip (tests.unit.test_util.UtilTestCase.test_get_if_from_ip) 1360s Test get_if_from_ip() ... skipped: TODO: python3 1360s ok 1360s test_get_ip_from_if (tests.unit.test_util.UtilTestCase.test_get_ip_from_if) 1360s Test get_ip_from_if() ... skipped: TODO: python3 1360s ok 1360s test_get_iptables_version (tests.unit.test_util.UtilTestCase.test_get_iptables_version) 1360s Test get_iptables_version() ... ok 1360s test_get_netfilter_capabilities (tests.unit.test_util.UtilTestCase.test_get_netfilter_capabilities) 1360s Test get_netfilter_capabilities() ... ok 1360s test_get_netstat_output (tests.unit.test_util.UtilTestCase.test_get_netstat_output) 1360s Test get_netstat_output() ... ok 1360s test_get_ppid (tests.unit.test_util.UtilTestCase.test_get_ppid) 1360s Test get_ppid() ... ok 1360s test_get_ppid_no_space (tests.unit.test_util.UtilTestCase.test_get_ppid_no_space) 1360s Test get_ppid() no space ... DEBUG: test debug() 1360s ERROR: test error() 1360s ok 1360s test_get_ppid_with_parens (tests.unit.test_util.UtilTestCase.test_get_ppid_with_parens) 1360s Test get_ppid() with parens ... ok 1360s test_get_ppid_with_space (tests.unit.test_util.UtilTestCase.test_get_ppid_with_space) 1360s Test get_ppid() with space ... ok 1360s test_get_services_proto (tests.unit.test_util.UtilTestCase.test_get_services_proto) 1360s Test get_services_proto() ... ok 1360s test_hex_decode (tests.unit.test_util.UtilTestCase.test_hex_decode) 1360s Test hex_decode() output ... ok 1360s test_hex_encode (tests.unit.test_util.UtilTestCase.test_hex_encode) 1360s Test hex_encode() output ... ok 1360s test_human_sort (tests.unit.test_util.UtilTestCase.test_human_sort) 1360s Test human_sort() ... ok 1360s test_in_network (tests.unit.test_util.UtilTestCase.test_in_network) 1360s Test in_network() ... ok 1360s test_msg (tests.unit.test_util.UtilTestCase.test_msg) 1360s Test msg() ... test msg() 1360s test msg()('test msg()' output is intentional) 1360s 1360s ('test msg()' output is intentional) 1360s ok 1360s test_normalize_address_host_netmask (tests.unit.test_util.UtilTestCase.test_normalize_address_host_netmask) 1360s Test normalize_address() with host_netmask ... ok 1360s test_normalize_address_invalid_netmask (tests.unit.test_util.UtilTestCase.test_normalize_address_invalid_netmask) 1360s Test normalize_address() with invalid_netmask ... ok 1360s test_normalize_address_ipv6_cidr (tests.unit.test_util.UtilTestCase.test_normalize_address_ipv6_cidr) 1360s Test normalize_address() with ipv6_cidr ... ok 1360s test_normalize_address_ipv6_short_notation (tests.unit.test_util.UtilTestCase.test_normalize_address_ipv6_short_notation) 1360s Test normalize_address() with ipv6_short_notation ... ok 1360s test_normalize_address_netmask_to_cidr (tests.unit.test_util.UtilTestCase.test_normalize_address_netmask_to_cidr) 1360s Test normalize_address() with netmask_to_cidr ... ok 1360s test_normalize_address_valid_netmask_to_non_cidr (tests.unit.test_util.UtilTestCase.test_normalize_address_valid_netmask_to_non_cidr) 1360s Test normalize_address() with valid_netmask_to_non_cidr ... ok 1360s test_open_file_read (tests.unit.test_util.UtilTestCase.test_open_file_read) 1360s Test open_file_read() ... ok 1360s test_open_files (tests.unit.test_util.UtilTestCase.test_open_files) 1360s Test open_files() ... ok 1360s test_parse_netstat_output (tests.unit.test_util.UtilTestCase.test_parse_netstat_output) 1360s Test parse_netstat_output() ... ok 1360s test_parse_port_proto (tests.unit.test_util.UtilTestCase.test_parse_port_proto) 1360s Test parse_port_proto() ... ok 1360s test_under_ssh (tests.unit.test_util.UtilTestCase.test_under_ssh) 1360s Test under_ssh() ... ok 1360s test_valid_address (tests.unit.test_util.UtilTestCase.test_valid_address) 1360s Test valid_address() ... WARN: Couldn't find pid (is /proc mounted?) 1360s ok 1360s test_valid_address4 (tests.unit.test_util.UtilTestCase.test_valid_address4) 1360s Test valid_address4() ... ok 1360s test_valid_address6 (tests.unit.test_util.UtilTestCase.test_valid_address6) 1360s Test valid_address6() ... (IPv6 support warning is intentional) 1360s ok 1360s test_valid_netmask (tests.unit.test_util.UtilTestCase.test_valid_netmask) 1360s Test valid_netmask() ... ok 1360s test_warn (tests.unit.test_util.UtilTestCase.test_warn) 1360s Test warn() ... ('WARN: test warn()' output is intentional) 1360s ok 1360s test_word_wrap (tests.unit.test_util.UtilTestCase.test_word_wrap) 1360s Test word_wrap() ... ok 1360s test_wrap_text (tests.unit.test_util.UtilTestCase.test_wrap_text) 1360s Test wrap_text() ... ok 1360s test_write_to_file (tests.unit.test_util.UtilTestCase.test_write_to_file) 1360s Test write_to_file() ... ok 1360s 1360s ---------------------------------------------------------------------- 1360s Ran 49 tests in 0.191s 1360s 1360s OK 1360s WARN: python does not have IPv6 support. 1360s WARN: test warn() 1360s 1360s ------------------ 1360s Unit tests summary 1360s ------------------ 1360s Total=8 (Passed=8, Failed=0) 1360s 1360s 1360s rm -rf ./build 1360s rm -rf ./staging 1360s rm -rf ./tests/testarea ./tests/unit/tmp 1360s rm -rf ./tmp 1360s rm -rf ./snap-build 1360s rm -rf ./parts ./stage ./prime 1360s rm -f ./locales/mo/*.mo 1360s rm -f ./tests/unit/*.pyc ./tests/*.pyc ./src/*.pyc 1360s rm -rf ./tests/unit/__pycache__ ./tests/__pycache__ ./src/__pycache__ 1360s rm -rf ./.coverage 1360s rm -f ./ufw # unittest symlink 1360s = Functional Tests = 1360s net.ipv4.ip_forward = 0 1360s net.ipv6.conf.default.forwarding = 0 1360s net.ipv6.conf.all.forwarding = 0 1360s 1360s Performing tests 'installation/check_help' 1360s - installing 1361s - result: 1361s PASS 1361s 1361s Performing tests 'installation/check_root' 1361s - installing 1361s - result: 1361s PASS 1361s 1361s Performing tests 'bad/apps' 1361s - installing 1363s - result: 1375s PASS 1375s 1375s Performing tests 'bad/args' 1375s - installing 1375s - result: 1417s PASS 1417s 1417s Performing tests 'bad/netmasks' 1417s - installing 1418s - result: 1425s PASS 1425s 1425s Performing tests 'bad/policy' 1425s - installing 1426s - result: 1428s PASS 1428s 1428s Performing tests 'bugs/apps' 1428s - installing 1428s - result: 1431s PASS 1431s 1431s Performing tests 'bugs/misc' 1431s - installing 1432s - result: 1434s PASS 1434s 1434s Performing tests 'bugs/rules' 1434s - installing 1435s - result: 1435s PASS 1435s 1435s Performing tests 'good/apps' 1435s - installing 1436s - result: 1471s PASS 1471s 1471s Performing tests 'good/args' 1471s - installing 1472s - result: 1477s PASS 1477s 1477s Performing tests 'good/logging' 1477s - installing 1477s - result: 1492s PASS 1492s 1492s Performing tests 'good/netmasks' 1492s - installing 1493s - result: 1502s PASS 1502s 1502s Performing tests 'good/policy' 1502s - installing 1502s - result: 1505s PASS 1505s 1505s Performing tests 'good/reports' 1505s - installing 1506s - result: 1518s PASS 1518s 1518s Performing tests 'good/route' 1518s - installing 1519s - result: 1524s PASS 1524s 1524s Performing tests 'good/rules' 1524s - installing 1525s - result: 1569s PASS 1569s 1569s Performing tests 'ipv6/bad_args6' 1569s - installing 1569s - result: 1592s PASS 1592s 1592s Performing tests 'ipv6/good_args6' 1592s - installing 1593s - result: 1594s PASS 1594s 1594s Performing tests 'ipv6/logging' 1594s - installing 1594s - result: 1600s PASS 1600s 1600s Performing tests 'ipv6/rules6' 1600s - installing 1600s - result: 1618s PASS 1618s 1618s Performing tests 'ipv6/rules64' 1618s - installing 1619s - result: 1650s PASS 1650s net.ipv4.ip_forward = 0 1650s net.ipv6.conf.default.forwarding = 0 1650s net.ipv6.conf.all.forwarding = 0 1650s 1650s ------------------------ 1650s Functional tests summary 1650s ------------------------ 1650s Attempted: 22 (3339 individual tests) 1650s Skipped: 0 1650s Errors: 0 1650s autopkgtest [10:21:32]: test unittest: -----------------------] 1651s autopkgtest [10:21:33]: test unittest: - - - - - - - - - - results - - - - - - - - - - 1651s unittest PASS 1651s autopkgtest [10:21:33]: @@@@@@@@@@@@@@@@@@@@ summary 1651s command1 SKIP Test lists explicitly supported architectures, but the current architecture arm64 isn't listed. 1651s command1 SKIP Test lists explicitly supported architectures, but the current architecture arm64 isn't listed. 1651s test-ufw.py PASS 1651s root-unittest PASS 1651s unittest PASS 1664s nova [W] Skipping flock in bos03-arm64 1664s Creating nova instance adt-plucky-arm64-ufw-20241030-095401-juju-7f2275-prod-proposed-migration-environment-2-e84cbd39-b53b-4b58-908f-39f6763d321f from image adt/ubuntu-plucky-arm64-server-20241029.img (UUID b10dda10-7c97-4e89-a4a8-9b73e189f96e)... 1664s nova [W] Skipping flock in bos03-arm64 1664s Creating nova instance adt-plucky-arm64-ufw-20241030-095401-juju-7f2275-prod-proposed-migration-environment-2-e84cbd39-b53b-4b58-908f-39f6763d321f from image adt/ubuntu-plucky-arm64-server-20241029.img (UUID b10dda10-7c97-4e89-a4a8-9b73e189f96e)... 1664s nova [W] Skipping flock in bos03-arm64 1664s Creating nova instance adt-plucky-arm64-ufw-20241030-095401-juju-7f2275-prod-proposed-migration-environment-2-e84cbd39-b53b-4b58-908f-39f6763d321f from image adt/ubuntu-plucky-arm64-server-20241029.img (UUID b10dda10-7c97-4e89-a4a8-9b73e189f96e)...