I: pbuilder: network access will be disabled during build I: Current time: Thu Jul 1 09:40:08 -12 2021 I: pbuilder-time-stamp: 1625175608 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: using eatmydata during job I: Copying source file I: copying [ufw_0.36-1.dsc] I: copying [./ufw_0.36.orig.tar.gz] I: copying [./ufw_0.36-1.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error gpgv: Signature made Wed Dec 26 19:17:03 2018 -12 gpgv: using RSA key A5C3F68F229DD60F723E6E138972F4DFDC6DC026 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./ufw_0.36-1.dsc dpkg-source: info: extracting ufw in ufw-0.36 dpkg-source: info: unpacking ufw_0.36.orig.tar.gz dpkg-source: info: unpacking ufw_0.36-1.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 0001-optimize-boot.patch I: using fakeroot in build. I: Installing the build-deps -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: i386 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper (>= 9.20160709), dh-python, po-debconf, python (>= 2.6.6-3~), python3 (>= 3.2), python3-distutils, iptables, netbase, procps, sed (>= 3.95) dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19234 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper (>= 9.20160709); however: Package debhelper is not installed. pbuilder-satisfydepends-dummy depends on dh-python; however: Package dh-python is not installed. pbuilder-satisfydepends-dummy depends on po-debconf; however: Package po-debconf is not installed. pbuilder-satisfydepends-dummy depends on python (>= 2.6.6-3~); however: Package python is not installed. pbuilder-satisfydepends-dummy depends on python3 (>= 3.2); however: Package python3 is not installed. pbuilder-satisfydepends-dummy depends on python3-distutils; however: Package python3-distutils is not installed. pbuilder-satisfydepends-dummy depends on iptables; however: Package iptables is not installed. pbuilder-satisfydepends-dummy depends on netbase; however: Package netbase is not installed. pbuilder-satisfydepends-dummy depends on procps; however: Package procps is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdmainutils{a} debhelper{a} dh-autoreconf{a} dh-python{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} iptables{a} libarchive-zip-perl{a} libbsd0{a} libcroco3{a} libelf1{a} libexpat1{a} libfile-stripnondeterminism-perl{a} libglib2.0-0{a} libicu63{a} libip4tc0{a} libip6tc0{a} libiptc0{a} libmagic-mgc{a} libmagic1{a} libmnl0{a} libmpdec2{a} libncurses6{a} libnetfilter-conntrack3{a} libnfnetlink0{a} libnftnl11{a} libpipeline1{a} libprocps7{a} libpython-stdlib{a} libpython2-stdlib{a} libpython2.7-minimal{a} libpython2.7-stdlib{a} libpython3-stdlib{a} libpython3.7-minimal{a} libpython3.7-stdlib{a} libreadline7{a} libsigsegv2{a} libssl1.1{a} libtool{a} libuchardet0{a} libxml2{a} libxtables12{a} lsb-base{a} m4{a} man-db{a} mime-support{a} netbase{a} po-debconf{a} procps{a} python{a} python-minimal{a} python2{a} python2-minimal{a} python2.7{a} python2.7-minimal{a} python3{a} python3-distutils{a} python3-lib2to3{a} python3-minimal{a} python3.7{a} python3.7-minimal{a} readline-common{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libglib2.0-data libgpm2 libltdl-dev libmail-sendmail-perl lynx nftables psmisc shared-mime-info wget xdg-user-dirs 0 packages upgraded, 72 newly installed, 0 to remove and 0 not upgraded. Need to get 31.6 MB of archives. After unpacking 122 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian buster/main i386 libbsd0 i386 0.9.1-2 [104 kB] Get: 2 http://deb.debian.org/debian buster/main i386 bsdmainutils i386 11.1.2+b1 [193 kB] Get: 3 http://deb.debian.org/debian buster/main i386 libuchardet0 i386 0.0.6-3 [65.2 kB] Get: 4 http://deb.debian.org/debian buster/main i386 groff-base i386 1.22.4-3 [935 kB] Get: 5 http://deb.debian.org/debian buster/main i386 libpipeline1 i386 1.5.1-2 [33.3 kB] Get: 6 http://deb.debian.org/debian buster/main i386 man-db i386 2.8.5-2 [1284 kB] Get: 7 http://deb.debian.org/debian buster/main i386 libpython2.7-minimal i386 2.7.16-2+deb10u1 [395 kB] Get: 8 http://deb.debian.org/debian buster/main i386 python2.7-minimal i386 2.7.16-2+deb10u1 [1381 kB] Get: 9 http://deb.debian.org/debian buster/main i386 python2-minimal i386 2.7.16-1 [41.4 kB] Get: 10 http://deb.debian.org/debian buster/main i386 python-minimal i386 2.7.16-1 [21.0 kB] Get: 11 http://deb.debian.org/debian buster/main i386 libssl1.1 i386 1.1.1d-0+deb10u3 [1537 kB] Get: 12 http://deb.debian.org/debian buster/main i386 mime-support all 3.62 [37.2 kB] Get: 13 http://deb.debian.org/debian buster/main i386 libexpat1 i386 2.2.6-2+deb10u1 [104 kB] Get: 14 http://deb.debian.org/debian buster/main i386 readline-common all 7.0-5 [70.6 kB] Get: 15 http://deb.debian.org/debian buster/main i386 libreadline7 i386 7.0-5 [156 kB] Get: 16 http://deb.debian.org/debian buster/main i386 libpython2.7-stdlib i386 2.7.16-2+deb10u1 [1934 kB] Get: 17 http://deb.debian.org/debian buster/main i386 python2.7 i386 2.7.16-2+deb10u1 [305 kB] Get: 18 http://deb.debian.org/debian buster/main i386 libpython2-stdlib i386 2.7.16-1 [20.8 kB] Get: 19 http://deb.debian.org/debian buster/main i386 libpython-stdlib i386 2.7.16-1 [20.8 kB] Get: 20 http://deb.debian.org/debian buster/main i386 python2 i386 2.7.16-1 [41.6 kB] Get: 21 http://deb.debian.org/debian buster/main i386 python i386 2.7.16-1 [22.8 kB] Get: 22 http://deb.debian.org/debian buster/main i386 libpython3.7-minimal i386 3.7.3-2+deb10u1 [590 kB] Get: 23 http://deb.debian.org/debian buster/main i386 python3.7-minimal i386 3.7.3-2+deb10u1 [1745 kB] Get: 24 http://deb.debian.org/debian buster/main i386 python3-minimal i386 3.7.3-1 [36.6 kB] Get: 25 http://deb.debian.org/debian buster/main i386 libmpdec2 i386 2.4.2-2 [83.2 kB] Get: 26 http://deb.debian.org/debian buster/main i386 libpython3.7-stdlib i386 3.7.3-2+deb10u1 [1750 kB] Get: 27 http://deb.debian.org/debian buster/main i386 python3.7 i386 3.7.3-2+deb10u1 [330 kB] Get: 28 http://deb.debian.org/debian buster/main i386 libpython3-stdlib i386 3.7.3-1 [20.0 kB] Get: 29 http://deb.debian.org/debian buster/main i386 python3 i386 3.7.3-1 [61.5 kB] Get: 30 http://deb.debian.org/debian buster/main i386 libip4tc0 i386 1.8.2-4 [70.9 kB] Get: 31 http://deb.debian.org/debian buster/main i386 libip6tc0 i386 1.8.2-4 [71.3 kB] Get: 32 http://deb.debian.org/debian buster/main i386 libiptc0 i386 1.8.2-4 [59.6 kB] Get: 33 http://deb.debian.org/debian buster/main i386 libxtables12 i386 1.8.2-4 [82.3 kB] Get: 34 http://deb.debian.org/debian buster/main i386 libmnl0 i386 1.0.4-2 [12.8 kB] Get: 35 http://deb.debian.org/debian buster/main i386 libnfnetlink0 i386 1.0.1-3+b1 [14.7 kB] Get: 36 http://deb.debian.org/debian buster/main i386 libnetfilter-conntrack3 i386 1.0.7-1 [46.3 kB] Get: 37 http://deb.debian.org/debian buster/main i386 libnftnl11 i386 1.1.2-2 [61.7 kB] Get: 38 http://deb.debian.org/debian buster/main i386 iptables i386 1.8.2-4 [412 kB] Get: 39 http://deb.debian.org/debian buster/main i386 netbase all 5.6 [19.4 kB] Get: 40 http://deb.debian.org/debian buster/main i386 libncurses6 i386 6.1+20181013-2+deb10u2 [109 kB] Get: 41 http://deb.debian.org/debian buster/main i386 libprocps7 i386 2:3.3.15-2 [62.7 kB] Get: 42 http://deb.debian.org/debian buster/main i386 lsb-base all 10.2019051400 [28.4 kB] Get: 43 http://deb.debian.org/debian buster/main i386 procps i386 2:3.3.15-2 [259 kB] Get: 44 http://deb.debian.org/debian buster/main i386 sensible-utils all 0.0.12 [15.8 kB] Get: 45 http://deb.debian.org/debian buster/main i386 libmagic-mgc i386 1:5.35-4+deb10u1 [242 kB] Get: 46 http://deb.debian.org/debian buster/main i386 libmagic1 i386 1:5.35-4+deb10u1 [124 kB] Get: 47 http://deb.debian.org/debian buster/main i386 file i386 1:5.35-4+deb10u1 [66.3 kB] Get: 48 http://deb.debian.org/debian buster/main i386 gettext-base i386 0.19.8.1-9 [124 kB] Get: 49 http://deb.debian.org/debian buster/main i386 libsigsegv2 i386 2.12-2 [33.2 kB] Get: 50 http://deb.debian.org/debian buster/main i386 m4 i386 1.4.18-2 [205 kB] Get: 51 http://deb.debian.org/debian buster/main i386 autoconf all 2.69-11 [341 kB] Get: 52 http://deb.debian.org/debian buster/main i386 autotools-dev all 20180224.1 [77.0 kB] Get: 53 http://deb.debian.org/debian buster/main i386 automake all 1:1.16.1-4 [771 kB] Get: 54 http://deb.debian.org/debian buster/main i386 autopoint all 0.19.8.1-9 [434 kB] Get: 55 http://deb.debian.org/debian buster/main i386 libtool all 2.4.6-9 [547 kB] Get: 56 http://deb.debian.org/debian buster/main i386 dh-autoreconf all 19 [16.9 kB] Get: 57 http://deb.debian.org/debian buster/main i386 libarchive-zip-perl all 1.64-1 [96.8 kB] Get: 58 http://deb.debian.org/debian buster/main i386 libfile-stripnondeterminism-perl all 1.1.2-1 [19.8 kB] Get: 59 http://deb.debian.org/debian buster/main i386 dh-strip-nondeterminism all 1.1.2-1 [13.0 kB] Get: 60 http://deb.debian.org/debian buster/main i386 libelf1 i386 0.176-1.1 [166 kB] Get: 61 http://deb.debian.org/debian buster/main i386 dwz i386 0.12-3 [81.4 kB] Get: 62 http://deb.debian.org/debian buster/main i386 libglib2.0-0 i386 2.58.3-2+deb10u2 [1334 kB] Get: 63 http://deb.debian.org/debian buster/main i386 libicu63 i386 63.1-6+deb10u1 [8451 kB] Get: 64 http://deb.debian.org/debian buster/main i386 libxml2 i386 2.9.4+dfsg1-7+b3 [721 kB] Get: 65 http://deb.debian.org/debian buster/main i386 libcroco3 i386 0.6.12-3 [151 kB] Get: 66 http://deb.debian.org/debian buster/main i386 gettext i386 0.19.8.1-9 [1314 kB] Get: 67 http://deb.debian.org/debian buster/main i386 intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 68 http://deb.debian.org/debian buster/main i386 po-debconf all 1.0.21 [248 kB] Get: 69 http://deb.debian.org/debian buster/main i386 debhelper all 12.1.1 [1016 kB] Get: 70 http://deb.debian.org/debian buster/main i386 python3-lib2to3 all 3.7.3-1 [76.7 kB] Get: 71 http://deb.debian.org/debian buster/main i386 python3-distutils all 3.7.3-1 [142 kB] Get: 72 http://deb.debian.org/debian buster/main i386 dh-python all 3.20190308 [99.3 kB] Fetched 31.6 MB in 0s (78.7 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:i386. (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 ... 19234 files and directories currently installed.) Preparing to unpack .../00-libbsd0_0.9.1-2_i386.deb ... Unpacking libbsd0:i386 (0.9.1-2) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../01-bsdmainutils_11.1.2+b1_i386.deb ... Unpacking bsdmainutils (11.1.2+b1) ... Selecting previously unselected package libuchardet0:i386. Preparing to unpack .../02-libuchardet0_0.0.6-3_i386.deb ... Unpacking libuchardet0:i386 (0.0.6-3) ... Selecting previously unselected package groff-base. Preparing to unpack .../03-groff-base_1.22.4-3_i386.deb ... Unpacking groff-base (1.22.4-3) ... Selecting previously unselected package libpipeline1:i386. Preparing to unpack .../04-libpipeline1_1.5.1-2_i386.deb ... Unpacking libpipeline1:i386 (1.5.1-2) ... Selecting previously unselected package man-db. Preparing to unpack .../05-man-db_2.8.5-2_i386.deb ... Unpacking man-db (2.8.5-2) ... Selecting previously unselected package libpython2.7-minimal:i386. Preparing to unpack .../06-libpython2.7-minimal_2.7.16-2+deb10u1_i386.deb ... Unpacking libpython2.7-minimal:i386 (2.7.16-2+deb10u1) ... Selecting previously unselected package python2.7-minimal. Preparing to unpack .../07-python2.7-minimal_2.7.16-2+deb10u1_i386.deb ... Unpacking python2.7-minimal (2.7.16-2+deb10u1) ... Selecting previously unselected package python2-minimal. Preparing to unpack .../08-python2-minimal_2.7.16-1_i386.deb ... Unpacking python2-minimal (2.7.16-1) ... Selecting previously unselected package python-minimal. Preparing to unpack .../09-python-minimal_2.7.16-1_i386.deb ... Unpacking python-minimal (2.7.16-1) ... Selecting previously unselected package libssl1.1:i386. Preparing to unpack .../10-libssl1.1_1.1.1d-0+deb10u3_i386.deb ... Unpacking libssl1.1:i386 (1.1.1d-0+deb10u3) ... Selecting previously unselected package mime-support. Preparing to unpack .../11-mime-support_3.62_all.deb ... Unpacking mime-support (3.62) ... Selecting previously unselected package libexpat1:i386. Preparing to unpack .../12-libexpat1_2.2.6-2+deb10u1_i386.deb ... Unpacking libexpat1:i386 (2.2.6-2+deb10u1) ... Selecting previously unselected package readline-common. Preparing to unpack .../13-readline-common_7.0-5_all.deb ... Unpacking readline-common (7.0-5) ... Selecting previously unselected package libreadline7:i386. Preparing to unpack .../14-libreadline7_7.0-5_i386.deb ... Unpacking libreadline7:i386 (7.0-5) ... Selecting previously unselected package libpython2.7-stdlib:i386. Preparing to unpack .../15-libpython2.7-stdlib_2.7.16-2+deb10u1_i386.deb ... Unpacking libpython2.7-stdlib:i386 (2.7.16-2+deb10u1) ... Selecting previously unselected package python2.7. Preparing to unpack .../16-python2.7_2.7.16-2+deb10u1_i386.deb ... Unpacking python2.7 (2.7.16-2+deb10u1) ... Selecting previously unselected package libpython2-stdlib:i386. Preparing to unpack .../17-libpython2-stdlib_2.7.16-1_i386.deb ... Unpacking libpython2-stdlib:i386 (2.7.16-1) ... Selecting previously unselected package libpython-stdlib:i386. Preparing to unpack .../18-libpython-stdlib_2.7.16-1_i386.deb ... Unpacking libpython-stdlib:i386 (2.7.16-1) ... Setting up libpython2.7-minimal:i386 (2.7.16-2+deb10u1) ... Setting up python2.7-minimal (2.7.16-2+deb10u1) ... Setting up python2-minimal (2.7.16-1) ... Selecting previously unselected package python2. (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 ... 20699 files and directories currently installed.) Preparing to unpack .../python2_2.7.16-1_i386.deb ... Unpacking python2 (2.7.16-1) ... Setting up python-minimal (2.7.16-1) ... Selecting previously unselected package python. (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 ... 20732 files and directories currently installed.) Preparing to unpack .../python_2.7.16-1_i386.deb ... Unpacking python (2.7.16-1) ... Selecting previously unselected package libpython3.7-minimal:i386. Preparing to unpack .../libpython3.7-minimal_3.7.3-2+deb10u1_i386.deb ... Unpacking libpython3.7-minimal:i386 (3.7.3-2+deb10u1) ... Selecting previously unselected package python3.7-minimal. Preparing to unpack .../python3.7-minimal_3.7.3-2+deb10u1_i386.deb ... Unpacking python3.7-minimal (3.7.3-2+deb10u1) ... Setting up libssl1.1:i386 (1.1.1d-0+deb10u3) ... Setting up libpython3.7-minimal:i386 (3.7.3-2+deb10u1) ... Setting up libexpat1:i386 (2.2.6-2+deb10u1) ... Setting up python3.7-minimal (3.7.3-2+deb10u1) ... Selecting previously unselected package python3-minimal. (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 ... 20986 files and directories currently installed.) Preparing to unpack .../python3-minimal_3.7.3-1_i386.deb ... Unpacking python3-minimal (3.7.3-1) ... Selecting previously unselected package libmpdec2:i386. Preparing to unpack .../libmpdec2_2.4.2-2_i386.deb ... Unpacking libmpdec2:i386 (2.4.2-2) ... Selecting previously unselected package libpython3.7-stdlib:i386. Preparing to unpack .../libpython3.7-stdlib_3.7.3-2+deb10u1_i386.deb ... Unpacking libpython3.7-stdlib:i386 (3.7.3-2+deb10u1) ... Selecting previously unselected package python3.7. Preparing to unpack .../python3.7_3.7.3-2+deb10u1_i386.deb ... Unpacking python3.7 (3.7.3-2+deb10u1) ... Selecting previously unselected package libpython3-stdlib:i386. Preparing to unpack .../libpython3-stdlib_3.7.3-1_i386.deb ... Unpacking libpython3-stdlib:i386 (3.7.3-1) ... Setting up python3-minimal (3.7.3-1) ... Selecting previously unselected package python3. (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 ... 21398 files and directories currently installed.) Preparing to unpack .../00-python3_3.7.3-1_i386.deb ... Unpacking python3 (3.7.3-1) ... Selecting previously unselected package libip4tc0:i386. Preparing to unpack .../01-libip4tc0_1.8.2-4_i386.deb ... Unpacking libip4tc0:i386 (1.8.2-4) ... Selecting previously unselected package libip6tc0:i386. Preparing to unpack .../02-libip6tc0_1.8.2-4_i386.deb ... Unpacking libip6tc0:i386 (1.8.2-4) ... Selecting previously unselected package libiptc0:i386. Preparing to unpack .../03-libiptc0_1.8.2-4_i386.deb ... Unpacking libiptc0:i386 (1.8.2-4) ... Selecting previously unselected package libxtables12:i386. Preparing to unpack .../04-libxtables12_1.8.2-4_i386.deb ... Unpacking libxtables12:i386 (1.8.2-4) ... Selecting previously unselected package libmnl0:i386. Preparing to unpack .../05-libmnl0_1.0.4-2_i386.deb ... Unpacking libmnl0:i386 (1.0.4-2) ... Selecting previously unselected package libnfnetlink0:i386. Preparing to unpack .../06-libnfnetlink0_1.0.1-3+b1_i386.deb ... Unpacking libnfnetlink0:i386 (1.0.1-3+b1) ... Selecting previously unselected package libnetfilter-conntrack3:i386. Preparing to unpack .../07-libnetfilter-conntrack3_1.0.7-1_i386.deb ... Unpacking libnetfilter-conntrack3:i386 (1.0.7-1) ... Selecting previously unselected package libnftnl11:i386. Preparing to unpack .../08-libnftnl11_1.1.2-2_i386.deb ... Unpacking libnftnl11:i386 (1.1.2-2) ... Selecting previously unselected package iptables. Preparing to unpack .../09-iptables_1.8.2-4_i386.deb ... Unpacking iptables (1.8.2-4) ... Selecting previously unselected package netbase. Preparing to unpack .../10-netbase_5.6_all.deb ... Unpacking netbase (5.6) ... Selecting previously unselected package libncurses6:i386. Preparing to unpack .../11-libncurses6_6.1+20181013-2+deb10u2_i386.deb ... Unpacking libncurses6:i386 (6.1+20181013-2+deb10u2) ... Selecting previously unselected package libprocps7:i386. Preparing to unpack .../12-libprocps7_2%3a3.3.15-2_i386.deb ... Unpacking libprocps7:i386 (2:3.3.15-2) ... Selecting previously unselected package lsb-base. Preparing to unpack .../13-lsb-base_10.2019051400_all.deb ... Unpacking lsb-base (10.2019051400) ... Selecting previously unselected package procps. Preparing to unpack .../14-procps_2%3a3.3.15-2_i386.deb ... Unpacking procps (2:3.3.15-2) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../15-sensible-utils_0.0.12_all.deb ... Unpacking sensible-utils (0.0.12) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../16-libmagic-mgc_1%3a5.35-4+deb10u1_i386.deb ... Unpacking libmagic-mgc (1:5.35-4+deb10u1) ... Selecting previously unselected package libmagic1:i386. Preparing to unpack .../17-libmagic1_1%3a5.35-4+deb10u1_i386.deb ... Unpacking libmagic1:i386 (1:5.35-4+deb10u1) ... Selecting previously unselected package file. Preparing to unpack .../18-file_1%3a5.35-4+deb10u1_i386.deb ... Unpacking file (1:5.35-4+deb10u1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../19-gettext-base_0.19.8.1-9_i386.deb ... Unpacking gettext-base (0.19.8.1-9) ... Selecting previously unselected package libsigsegv2:i386. Preparing to unpack .../20-libsigsegv2_2.12-2_i386.deb ... Unpacking libsigsegv2:i386 (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../21-m4_1.4.18-2_i386.deb ... Unpacking m4 (1.4.18-2) ... Selecting previously unselected package autoconf. Preparing to unpack .../22-autoconf_2.69-11_all.deb ... Unpacking autoconf (2.69-11) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../23-autotools-dev_20180224.1_all.deb ... Unpacking autotools-dev (20180224.1) ... Selecting previously unselected package automake. Preparing to unpack .../24-automake_1%3a1.16.1-4_all.deb ... Unpacking automake (1:1.16.1-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../25-autopoint_0.19.8.1-9_all.deb ... Unpacking autopoint (0.19.8.1-9) ... Selecting previously unselected package libtool. Preparing to unpack .../26-libtool_2.4.6-9_all.deb ... Unpacking libtool (2.4.6-9) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../27-dh-autoreconf_19_all.deb ... Unpacking dh-autoreconf (19) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../28-libarchive-zip-perl_1.64-1_all.deb ... Unpacking libarchive-zip-perl (1.64-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../29-libfile-stripnondeterminism-perl_1.1.2-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.1.2-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../30-dh-strip-nondeterminism_1.1.2-1_all.deb ... Unpacking dh-strip-nondeterminism (1.1.2-1) ... Selecting previously unselected package libelf1:i386. Preparing to unpack .../31-libelf1_0.176-1.1_i386.deb ... Unpacking libelf1:i386 (0.176-1.1) ... Selecting previously unselected package dwz. Preparing to unpack .../32-dwz_0.12-3_i386.deb ... Unpacking dwz (0.12-3) ... Selecting previously unselected package libglib2.0-0:i386. Preparing to unpack .../33-libglib2.0-0_2.58.3-2+deb10u2_i386.deb ... Unpacking libglib2.0-0:i386 (2.58.3-2+deb10u2) ... Selecting previously unselected package libicu63:i386. Preparing to unpack .../34-libicu63_63.1-6+deb10u1_i386.deb ... Unpacking libicu63:i386 (63.1-6+deb10u1) ... Selecting previously unselected package libxml2:i386. Preparing to unpack .../35-libxml2_2.9.4+dfsg1-7+b3_i386.deb ... Unpacking libxml2:i386 (2.9.4+dfsg1-7+b3) ... Selecting previously unselected package libcroco3:i386. Preparing to unpack .../36-libcroco3_0.6.12-3_i386.deb ... Unpacking libcroco3:i386 (0.6.12-3) ... Selecting previously unselected package gettext. Preparing to unpack .../37-gettext_0.19.8.1-9_i386.deb ... Unpacking gettext (0.19.8.1-9) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../38-intltool-debian_0.35.0+20060710.5_all.deb ... Unpacking intltool-debian (0.35.0+20060710.5) ... Selecting previously unselected package po-debconf. Preparing to unpack .../39-po-debconf_1.0.21_all.deb ... Unpacking po-debconf (1.0.21) ... Selecting previously unselected package debhelper. Preparing to unpack .../40-debhelper_12.1.1_all.deb ... Unpacking debhelper (12.1.1) ... Selecting previously unselected package python3-lib2to3. Preparing to unpack .../41-python3-lib2to3_3.7.3-1_all.deb ... Unpacking python3-lib2to3 (3.7.3-1) ... Selecting previously unselected package python3-distutils. Preparing to unpack .../42-python3-distutils_3.7.3-1_all.deb ... Unpacking python3-distutils (3.7.3-1) ... Selecting previously unselected package dh-python. Preparing to unpack .../43-dh-python_3.20190308_all.deb ... Unpacking dh-python (3.20190308) ... Setting up libpipeline1:i386 (1.5.1-2) ... Setting up lsb-base (10.2019051400) ... Setting up libip6tc0:i386 (1.8.2-4) ... Setting up mime-support (3.62) ... Setting up libip4tc0:i386 (1.8.2-4) ... Setting up libmagic-mgc (1:5.35-4+deb10u1) ... Setting up libarchive-zip-perl (1.64-1) ... Setting up libglib2.0-0:i386 (2.58.3-2+deb10u2) ... No schema files found: doing nothing. Setting up libprocps7:i386 (2:3.3.15-2) ... Setting up libmagic1:i386 (1:5.35-4+deb10u1) ... Setting up gettext-base (0.19.8.1-9) ... Setting up file (1:5.35-4+deb10u1) ... Setting up libicu63:i386 (63.1-6+deb10u1) ... Setting up autotools-dev (20180224.1) ... Setting up libiptc0:i386 (1.8.2-4) ... Setting up libncurses6:i386 (6.1+20181013-2+deb10u2) ... Setting up libsigsegv2:i386 (2.12-2) ... Setting up libmnl0:i386 (1.0.4-2) ... Setting up autopoint (0.19.8.1-9) ... Setting up libxtables12:i386 (1.8.2-4) ... Setting up sensible-utils (0.0.12) ... Setting up libnfnetlink0:i386 (1.0.1-3+b1) ... Setting up libuchardet0:i386 (0.0.6-3) ... Setting up procps (2:3.3.15-2) ... update-alternatives: using /usr/bin/w.procps to provide /usr/bin/w (w) in auto mode Setting up netbase (5.6) ... Setting up libmpdec2:i386 (2.4.2-2) ... Setting up libbsd0:i386 (0.9.1-2) ... Setting up libelf1:i386 (0.176-1.1) ... Setting up readline-common (7.0-5) ... Setting up libxml2:i386 (2.9.4+dfsg1-7+b3) ... Setting up libreadline7:i386 (7.0-5) ... Setting up libfile-stripnondeterminism-perl (1.1.2-1) ... Setting up libpython3.7-stdlib:i386 (3.7.3-2+deb10u1) ... Setting up libtool (2.4.6-9) ... Setting up m4 (1.4.18-2) ... Setting up libnftnl11:i386 (1.1.2-2) ... Setting up libpython2.7-stdlib:i386 (2.7.16-2+deb10u1) ... Setting up bsdmainutils (11.1.2+b1) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up libcroco3:i386 (0.6.12-3) ... Setting up autoconf (2.69-11) ... Setting up dwz (0.12-3) ... Setting up libnetfilter-conntrack3:i386 (1.0.7-1) ... Setting up groff-base (1.22.4-3) ... Setting up libpython3-stdlib:i386 (3.7.3-1) ... Setting up automake (1:1.16.1-4) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up python3.7 (3.7.3-2+deb10u1) ... Setting up gettext (0.19.8.1-9) ... Setting up python2.7 (2.7.16-2+deb10u1) ... Setting up libpython2-stdlib:i386 (2.7.16-1) ... Setting up iptables (1.8.2-4) ... update-alternatives: using /usr/sbin/iptables-legacy to provide /usr/sbin/iptables (iptables) in auto mode update-alternatives: using /usr/sbin/ip6tables-legacy to provide /usr/sbin/ip6tables (ip6tables) in auto mode update-alternatives: using /usr/sbin/iptables-nft to provide /usr/sbin/iptables (iptables) in auto mode update-alternatives: using /usr/sbin/ip6tables-nft to provide /usr/sbin/ip6tables (ip6tables) in auto mode update-alternatives: using /usr/sbin/arptables-nft to provide /usr/sbin/arptables (arptables) in auto mode update-alternatives: using /usr/sbin/ebtables-nft to provide /usr/sbin/ebtables (ebtables) in auto mode Setting up python3 (3.7.3-1) ... Setting up man-db (2.8.5-2) ... Not building database; man-db/auto-update is not 'true'. Setting up python2 (2.7.16-1) ... Setting up intltool-debian (0.35.0+20060710.5) ... Setting up libpython-stdlib:i386 (2.7.16-1) ... Setting up python3-lib2to3 (3.7.3-1) ... Setting up python (2.7.16-1) ... Setting up python3-distutils (3.7.3-1) ... Setting up dh-python (3.20190308) ... Setting up po-debconf (1.0.21) ... Setting up debhelper (12.1.1) ... Setting up dh-autoreconf (19) ... Setting up dh-strip-nondeterminism (1.1.2-1) ... Processing triggers for libc-bin (2.28-10) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps Reading package lists... Building dependency tree... Reading state information... fakeroot is already the newest version (1.23-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package I: Running cd /build/ufw-0.36/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package ufw dpkg-buildpackage: info: source version 0.36-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Jamie Strandboge dpkg-source --before-build . dpkg-buildpackage: info: host architecture i386 fakeroot debian/rules clean py3versions: no X-Python3-Version in control file, using supported versions dh_testdir dh_testroot rm -f build-stamp make clean make[1]: Entering directory '/build/ufw-0.36' rm -rf ./build rm -rf ./staging rm -rf ./tests/testarea ./tests/unit/tmp rm -rf ./tmp rm -rf ./snap-build rm -rf ./parts ./stage ./prime rm -rf ./snappy-packaging/files/* ./snappy-packaging/parts ./snappy-packaging/prime ./snappy-packaging/stage rm -f ./snappy-packaging/*.snap rm -f ./locales/mo/*.mo rm -f ./tests/unit/*.pyc ./tests/*.pyc ./src/*.pyc rm -rf ./tests/unit/__pycache__ ./tests/__pycache__ ./src/__pycache__ rm -rf ./.coverage rm -f ./ufw # unittest symlink make[1]: Leaving directory '/build/ufw-0.36' find . -name '*.py[co]' | xargs rm -f dh_clean debconf-updatepo debian/rules build py3versions: no X-Python3-Version in control file, using supported versions dh_testdir touch build-stamp fakeroot debian/rules binary py3versions: no X-Python3-Version in control file, using supported versions dh_testdir dh_testroot dh_prep dh_installdirs # make sure the version is in sync with our changelog sed -i "s/^ufw_version = .*/ufw_version = '0.36'/" ./setup.py ./run_tests.sh -i /usr/bin/python2 Interpreter: /usr/bin/python2 = Unit Tests = DEBUG: sys.path=['/build/ufw-0.36', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-i386-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages'] DEBUG: test=['test_applications', 'test_backend', 'test_backend_iptables', 'test_common', 'test_frontend', 'test_parser', 'test_skeleton', 'test_util'] test_applications test_get_description (tests.unit.test_applications.ApplicationsTestCase) Test get_description() ... ok test_get_ports (tests.unit.test_applications.ApplicationsTestCase) Test get_ports() ... ok test_get_profiles (tests.unit.test_applications.ApplicationsTestCase) Test get_profiles() ... ok test_get_title (tests.unit.test_applications.ApplicationsTestCase) Test get_title() ... ok test_valid_profile_name (tests.unit.test_applications.ApplicationsTestCase) Test valid_profile_name() ... ok test_verify_profile (tests.unit.test_applications.ApplicationsTestCase) Test verify_profile() ... ok test_verify_profile_bad (tests.unit.test_applications.ApplicationsTestCase) Test verify_profile() - bad ... {'description': 'missing title', 'ports': '53'} {'ports': '22/tcp', 'title': 'missing description'} {'description': 'desc', 'title': 'missing ports'} {'ports': '80', 'description': 'empty title', 'title': ''} {'ports': '80', 'description': '', 'title': 'empty description'} {'ports': '', 'description': 'desc', 'title': 'empty ports'} {'ports': '80,443', 'description': 'desc', 'title': 'bad missing proto - list'} {'ports': '80:443', 'description': 'desc', 'title': 'bad missing proto - range'} {'ports': '80:70000/tcp', 'description': 'desc', 'title': 'bad range too big'} {'ports': '80/ah', 'description': 'desc', 'title': 'bad protocol - ah'} {'ports': '80/esp', 'description': 'desc', 'title': 'bad protocol - esp'} {'ports': '80/gre', 'description': 'desc', 'title': 'bad protocol - gre'} {'ports': '80/igmp', 'description': 'desc', 'title': 'bad protocol - igmp'} {'ports': '80/ipv6', 'description': 'desc', 'title': 'bad protocol - ipv6'} ok ---------------------------------------------------------------------- Ran 7 tests in 0.080s OK test_backend test_installation_defaults (tests.unit.test_backend.BackendTestCase) Test installation defaults ... WARN: Checks disabled ok ---------------------------------------------------------------------- Ran 1 test in 0.016s OK test_backend_iptables test__get_defaults (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test _get_defaults() ... WARN: Checks disabled ok test__need_reload (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test _need_reload() ... WARN: Checks disabled ok test__reload_user_rules (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test _reload_user_rules() ... WARN: Checks disabled > | iptables-restore > | ip6tables-restore ok test_find_application_name (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test find_application_name() ... WARN: Checks disabled ok test_find_other_position (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test find_other_position() ... WARN: Checks disabled ok test_get_app_rules_from_template (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test get_app_rules_from_template() ... WARN: Checks disabled ok test_get_default_application_policy (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test get_default_application_policy() ... WARN: Checks disabled ok test_get_loglevel (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test get_loglevel() ... WARN: Checks disabled ok test_get_matching (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test get_matching() ... WARN: Checks disabled ok test_get_rule_by_number (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test get_rule_by_number() ... WARN: Checks disabled ok test_get_rules_count (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test get_rules_count() ... WARN: Checks disabled ok test_get_running_raw (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test get_running_raw() ... WARN: Checks disabled ok test_get_status (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test get_status() ... WARN: Checks disabled ok test_reset (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test reset() ... WARN: Checks disabled Backing up 'user.rules' to '/build/ufw-0.36/tests/unit/tmp/ufw/etc/ufw/user.rules.20210701_094242' Backing up 'after6.rules' to '/build/ufw-0.36/tests/unit/tmp/ufw/etc/ufw/after6.rules.20210701_094242' Backing up 'user6.rules' to '/build/ufw-0.36/tests/unit/tmp/ufw/etc/ufw/user6.rules.20210701_094242' Backing up 'before6.rules' to '/build/ufw-0.36/tests/unit/tmp/ufw/etc/ufw/before6.rules.20210701_094242' Backing up 'after.rules' to '/build/ufw-0.36/tests/unit/tmp/ufw/etc/ufw/after.rules.20210701_094242' Backing up 'before.rules' to '/build/ufw-0.36/tests/unit/tmp/ufw/etc/ufw/before.rules.20210701_094242' Backing up 'user.rules' to '/build/ufw-0.36/tests/unit/tmp/ufw/etc/ufw/user.rules.20210701_094243' Backing up 'after6.rules' to '/build/ufw-0.36/tests/unit/tmp/ufw/etc/ufw/after6.rules.20210701_094243' Backing up 'user6.rules' to '/build/ufw-0.36/tests/unit/tmp/ufw/etc/ufw/user6.rules.20210701_094243' Backing up 'before6.rules' to '/build/ufw-0.36/tests/unit/tmp/ufw/etc/ufw/before6.rules.20210701_094243' Backing up 'after.rules' to '/build/ufw-0.36/tests/unit/tmp/ufw/etc/ufw/after.rules.20210701_094243' Backing up 'before.rules' to '/build/ufw-0.36/tests/unit/tmp/ufw/etc/ufw/before.rules.20210701_094243' ok test_set_bad_default (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test bad set_default_policy() ... WARN: Checks disabled ok test_set_bad_default_application_policy (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test bad set_default_application_policy() ... WARN: Checks disabled ok test_set_default (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test set_default() ... WARN: Checks disabled ok test_set_default_application_policy (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test set_default_application_policy() ... WARN: Checks disabled ok test_set_default_policy (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test set_default_policy() ... WARN: Checks disabled ok test_set_loglevel (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test set_loglevel() ... WARN: Checks disabled ok test_set_rule (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test set_rule() ... WARN: Checks disabled ok test_start_firewall (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test start_firewall() ... WARN: Checks disabled > running ufw-init ok test_stop_firewall (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test stop_firewall() ... WARN: Checks disabled > running ufw-init ok test_update_app_rule (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test upate_app_rule() ... WARN: Checks disabled ok test_update_logging (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test update_logging() ... WARN: Checks disabled ok test_use_ipv6 (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test use_ipv6() ... WARN: Checks disabled ok ---------------------------------------------------------------------- Ran 26 tests in 184.117s OK test_common test__fix_anywhere (tests.unit.test_common.CommonTestCase) Test _fix_anywhere() ... ok test__get_attrib (tests.unit.test_common.CommonTestCase) Test _get_attrib() ... ok test__init_ (tests.unit.test_common.CommonTestCase) Test UFWRule.__init__() ... ok test__is_anywhere (tests.unit.test_common.CommonTestCase) Test _is_anywhere() ... ok test_dup_rule (tests.unit.test_common.CommonTestCase) Test dup_rule() ... ok test_format_rule (tests.unit.test_common.CommonTestCase) Test format_rule() ... ok test_fuzzy_dst_match (tests.unit.test_common.CommonTestCase) Test fuzzy_dst_match() ... ok test_get_app_tuple (tests.unit.test_common.CommonTestCase) Test get_app_tuple() ... ok test_match (tests.unit.test_common.CommonTestCase) Test match() ... ok test_normalize (tests.unit.test_common.CommonTestCase) Test normalize() ... ok test_set_action (tests.unit.test_common.CommonTestCase) Test set_action() ... ok test_set_direction (tests.unit.test_common.CommonTestCase) Test set_direction() ... ok test_set_direction_bad (tests.unit.test_common.CommonTestCase) Test set_direction() - bad ... ok test_set_dst (tests.unit.test_common.CommonTestCase) Test set_dst() ... ok test_set_dst_bad (tests.unit.test_common.CommonTestCase) Test set_dst() - bad ... ok test_set_interface (tests.unit.test_common.CommonTestCase) Test set_interface() ... ok test_set_interface_bad (tests.unit.test_common.CommonTestCase) Test set_interface() - bad ... ok test_set_logtype (tests.unit.test_common.CommonTestCase) Test set_logtype() ... ok test_set_logtype_bad (tests.unit.test_common.CommonTestCase) Test set_logtype() - bad ... ok test_set_port (tests.unit.test_common.CommonTestCase) Test set_port() ... ok test_set_port_bad (tests.unit.test_common.CommonTestCase) Test set_port() - bad ... ok test_set_position (tests.unit.test_common.CommonTestCase) Test set_position() ... ok test_set_position_bad (tests.unit.test_common.CommonTestCase) Test set_position() - bad ... ok test_set_protocol (tests.unit.test_common.CommonTestCase) Test set_protocol() ... ok test_set_protocol_bad (tests.unit.test_common.CommonTestCase) Test set_protocol() - bad ... ok test_set_src (tests.unit.test_common.CommonTestCase) Test set_src() ... ok test_set_src_bad (tests.unit.test_common.CommonTestCase) Test set_src() - bad ... ok test_set_v6 (tests.unit.test_common.CommonTestCase) Test set_v6() ... ok test_ufwerror (tests.unit.test_common.CommonTestCase) Test UFWError ... ok test_ufwerror_str (tests.unit.test_common.CommonTestCase) Test UFWError.str() ... ok ---------------------------------------------------------------------- Ran 30 tests in 0.032s OK test_frontend test___init__ (tests.unit.test_frontend.FrontendTestCase) Test __init__() ... WARN: Checks disabled ok test_application_add (tests.unit.test_frontend.FrontendTestCase) Test application_add() ... WARN: Checks disabled ok test_continue_under_ssh (tests.unit.test_frontend.FrontendTestCase) Test continue_under_ssh() ... WARN: Checks disabled ok test_do_action (tests.unit.test_frontend.FrontendTestCase) Test do_action() ... WARN: Checks disabled WARN: Checks disabled WARN: Checks disabled TODO: verify output of rules in do_action() ok test_do_action_remove_bad_appname (tests.unit.test_frontend.FrontendTestCase) Test do_action() remove bad appname ... WARN: Checks disabled ok test_do_application_action (tests.unit.test_frontend.FrontendTestCase) Test do_application_action() ... WARN: Checks disabled ok test_get_command_help (tests.unit.test_frontend.FrontendTestCase) Test get_command_help() ... WARN: Checks disabled ok test_get_show_added (tests.unit.test_frontend.FrontendTestCase) Test get_show_added() ... WARN: Checks disabled ok test_get_show_listening (tests.unit.test_frontend.FrontendTestCase) Test get_show_listening() ... WARN: Checks disabled (TODO: fake-netstat) Could not find 'tcp' in: (TODO: fake-netstat) Could not find 'udp' in: ok test_get_show_raw (tests.unit.test_frontend.FrontendTestCase) Test get_show_raw() ... WARN: Checks disabled ok test_parse_command (tests.unit.test_frontend.FrontendTestCase) Test parse_command() ... WARN: Checks disabled ok test_parse_command_bad (tests.unit.test_frontend.FrontendTestCase) Test parse_command_bad ... WARN: Checks disabled ERROR: Invalid syntax ERROR: Invalid syntax ERROR: Invalid syntax ok ---------------------------------------------------------------------- Ran 12 tests in 0.294s OK test_parser test_app_parse (tests.unit.test_parser.ParserTestCase) Test UFWCommandApp.parse() ... ok test_bad_simple_action (tests.unit.test_parser.ParserTestCase) Test bad simple action ... ok test_bad_simple_action_with_direction (tests.unit.test_parser.ParserTestCase) Test bad simple action with direction ... ok test_default_parse (tests.unit.test_parser.ParserTestCase) Test UFWCommandDefault.parse() ... ok test_delete_bad_simple_action (tests.unit.test_parser.ParserTestCase) Test delete bad simple action ... ok test_extended_parse (tests.unit.test_parser.ParserTestCase) Test extended rule syntax ... 61920 rules checked ok test_logging_parse (tests.unit.test_parser.ParserTestCase) Test UFWCommandLogging.parse() ... ok test_misc_rules_parse (tests.unit.test_parser.ParserTestCase) Test rule syntax - miscellaneous ... ok test_route_delete_num (tests.unit.test_parser.ParserTestCase) Test route delete NUM ... ok test_rule_bad_syntax (tests.unit.test_parser.ParserTestCase) Test rule syntax - bad ... ok test_show_parse (tests.unit.test_parser.ParserTestCase) Test UFWCommandShow.parse() ... ok test_simple_bad_numeric_port (tests.unit.test_parser.ParserTestCase) Test simple bad numeric port ... ok test_simple_parse (tests.unit.test_parser.ParserTestCase) Test simple rule syntax ... 792 rules checked ok test_status_parse (tests.unit.test_parser.ParserTestCase) Test UFWCommandStatus.parse() ... ok test_ufwcommand_help (tests.unit.test_parser.ParserTestCase) Test UFWCommand.help() ... ok test_ufwcommand_parse (tests.unit.test_parser.ParserTestCase) Test UFWCommand.parse() ... ok test_ufwcommand_parse_basic_help (tests.unit.test_parser.ParserTestCase) Test parser.parse_command() - help ... ok test_ufwcommand_parse_empty (tests.unit.test_parser.ParserTestCase) Test UFWCommand.parse([]) ... ok test_ufwcommand_rule_get_command (tests.unit.test_parser.ParserTestCase) Test UFWCommand(Route)Rule.get_command() ... 62717 rules checked ok test_ufwcommandbasic_parse_with_arg (tests.unit.test_parser.ParserTestCase) Test UFWCommand.parse() - basic with arg ... ok test_ufwparser_allowed_command (tests.unit.test_parser.ParserTestCase) Test UFWParser.allowed_command() ... ok test_ufwparser_register_command (tests.unit.test_parser.ParserTestCase) Test UFWParser.register_command() ... ok test_ufwparser_register_command_none (tests.unit.test_parser.ParserTestCase) Test UFWParser.register_command() ... ok test_ufwparser_response (tests.unit.test_parser.ParserTestCase) Test UFWParserResponse.str() ... ok ---------------------------------------------------------------------- Ran 24 tests in 22.382s OK test_skeleton test_example (tests.unit.test_skeleton.SkeletonTestCase) Test example dummy test ... ok ---------------------------------------------------------------------- Ran 1 test in 0.000s OK test_util test__address4_to_network (tests.unit.test_util.UtilTestCase) Test _address4_to_network() ... ok test__address6_to_network (tests.unit.test_util.UtilTestCase) Test _address6_to_network() ... ok test__cidr_to_dotted_netmask (tests.unit.test_util.UtilTestCase) Test _cidr_to_dotted_netmask() ... ok test__dotted_netmask_to_cidr (tests.unit.test_util.UtilTestCase) Test _dotted_netmask_to_cidr() ... ok test__get_proc_inodes (tests.unit.test_util.UtilTestCase) Test _get_proc_inodes() ... ok test__read_proc_net_protocol (tests.unit.test_util.UtilTestCase) Test _read_proc_net_protocol() ... (TODO: fake-netstat) could not find tcp entries (TODO: fake-netstat) could not find udp entries ok test__valid_cidr_netmask (tests.unit.test_util.UtilTestCase) Test _valid_cidr_netmask() ... ok test__valid_dotted_quads (tests.unit.test_util.UtilTestCase) Test _valid_dotted_quads() ... ok test_cidr_to_dotted_to_cidr (tests.unit.test_util.UtilTestCase) Test _cidr_to_dotted_netmask() and _dotted_netmask_to_cidr() ... ok test_close_files (tests.unit.test_util.UtilTestCase) Test close_files() ... ok test_cmd (tests.unit.test_util.UtilTestCase) Test cmd() ... ok test_cmd_pipe (tests.unit.test_util.UtilTestCase) Test cmd_pipe() ... ok test_create_lock (tests.unit.test_util.UtilTestCase) Test create_lock() ... ok test_debug (tests.unit.test_util.UtilTestCase) Test debug() ... DEBUG: test debug() ('DEBUG: test debug()' output is intentional) ok test_error (tests.unit.test_util.UtilTestCase) Test error() ... ERROR: test error() ('ERROR: test error()' output is intentional) ok test_get_if_from_ip (tests.unit.test_util.UtilTestCase) Test get_if_from_ip() ... ok test_get_ip_from_if (tests.unit.test_util.UtilTestCase) Test get_ip_from_if() ... ok test_get_iptables_version (tests.unit.test_util.UtilTestCase) Test get_iptables_version() ... ok test_get_netfilter_capabilities (tests.unit.test_util.UtilTestCase) Test get_netfilter_capabilities() ... ok test_get_netstat_output (tests.unit.test_util.UtilTestCase) Test get_netstat_output() ... (TODO: fake-netstat) could not find tcp in: (TODO: fake-netstat) could not find udp in: (TODO: fake-netstat) could not find tcp in: (TODO: fake-netstat) could not find udp in: ok test_get_ppid (tests.unit.test_util.UtilTestCase) Test get_ppid() ... ok test_get_services_proto (tests.unit.test_util.UtilTestCase) Test get_services_proto() ... ok test_hex_decode (tests.unit.test_util.UtilTestCase) Test hex_decode() output ... ok test_hex_encode (tests.unit.test_util.UtilTestCase) Test hex_encode() output ... ok test_human_sort (tests.unit.test_util.UtilTestCase) Test human_sort() ... ok test_in_network (tests.unit.test_util.UtilTestCase) Test in_network() ... ok test_msg (tests.unit.test_util.UtilTestCase) Test msg() ... test msg() ('test msg()' output is intentional) test msg() ('test msg()' output is intentional) ok test_normalize_address_host_netmask (tests.unit.test_util.UtilTestCase) Test normalize_address() with host_netmask ... ok test_normalize_address_invalid_netmask (tests.unit.test_util.UtilTestCase) Test normalize_address() with invalid_netmask ... ok test_normalize_address_ipv6_cidr (tests.unit.test_util.UtilTestCase) Test normalize_address() with ipv6_cidr ... ok test_normalize_address_ipv6_short_notation (tests.unit.test_util.UtilTestCase) Test normalize_address() with ipv6_short_notation ... ok test_normalize_address_netmask_to_cidr (tests.unit.test_util.UtilTestCase) Test normalize_address() with netmask_to_cidr ... ok test_normalize_address_valid_netmask_to_non_cidr (tests.unit.test_util.UtilTestCase) Test normalize_address() with valid_netmask_to_non_cidr ... ok test_open_file_read (tests.unit.test_util.UtilTestCase) Test open_file_read() ... ok test_open_files (tests.unit.test_util.UtilTestCase) Test open_files() ... ok test_parse_netstat_output (tests.unit.test_util.UtilTestCase) Test parse_netstat_output() ... ok test_parse_port_proto (tests.unit.test_util.UtilTestCase) Test parse_port_proto() ... ok test_under_ssh (tests.unit.test_util.UtilTestCase) Test under_ssh() ... WARN: Couldn't find pid (is /proc mounted?) ok test_valid_address (tests.unit.test_util.UtilTestCase) Test valid_address() ... ok test_valid_address4 (tests.unit.test_util.UtilTestCase) Test valid_address4() ... ok test_valid_address6 (tests.unit.test_util.UtilTestCase) Test valid_address6() ... WARN: python does not have IPv6 support. (IPv6 support warning is intentional) ok test_valid_netmask (tests.unit.test_util.UtilTestCase) Test valid_netmask() ... ok test_warn (tests.unit.test_util.UtilTestCase) Test warn() ... WARN: test warn() ('WARN: test warn()' output is intentional) ok test_word_wrap (tests.unit.test_util.UtilTestCase) Test word_wrap() ... ok test_wrap_text (tests.unit.test_util.UtilTestCase) Test wrap_text() ... ok test_write_to_file (tests.unit.test_util.UtilTestCase) Test write_to_file() ... ok ---------------------------------------------------------------------- Ran 46 tests in 0.304s OK ------------------ Unit tests summary ------------------ Total=8 (Passed=8, Failed=0) make[1]: Entering directory '/build/ufw-0.36' rm -rf ./build rm -rf ./staging rm -rf ./tests/testarea ./tests/unit/tmp rm -rf ./tmp rm -rf ./snap-build rm -rf ./parts ./stage ./prime rm -rf ./snappy-packaging/files/* ./snappy-packaging/parts ./snappy-packaging/prime ./snappy-packaging/stage rm -f ./snappy-packaging/*.snap rm -f ./locales/mo/*.mo rm -f ./tests/unit/*.pyc ./tests/*.pyc ./src/*.pyc rm -rf ./tests/unit/__pycache__ ./tests/__pycache__ ./src/__pycache__ rm -rf ./.coverage rm -f ./ufw # unittest symlink make[1]: Leaving directory '/build/ufw-0.36' = Functional Tests = Performing tests 'installation/check_help' - installing - result: PASS Performing tests 'installation/check_root' - installing - result: PASS Performing tests 'bad/apps' - installing - result: PASS Performing tests 'bad/args' - installing - result: PASS Performing tests 'bad/netmasks' - installing - result: PASS Performing tests 'bad/policy' - installing - result: PASS Performing tests 'bugs/apps' - installing - result: PASS Performing tests 'bugs/misc' - installing - result: PASS Performing tests 'bugs/rules' - installing - result: PASS Performing tests 'good/apps' - installing - result: PASS Performing tests 'good/args' - installing - result: PASS Performing tests 'good/logging' - installing - result: PASS Performing tests 'good/netmasks' - installing - result: PASS Performing tests 'good/policy' - installing - result: PASS Performing tests 'good/reports' - installing - result: PASS Performing tests 'good/route' - installing - result: PASS Performing tests 'good/rules' - installing - result: PASS Performing tests 'ipv6/bad_args6' - installing - result: PASS Performing tests 'ipv6/good_args6' - installing - result: PASS Performing tests 'ipv6/logging' - installing - result: PASS Performing tests 'ipv6/rules6' - installing - result: PASS Performing tests 'ipv6/rules64' - installing - result: PASS ------------------------ Functional tests summary ------------------------ Attempted: 22 (3339 individual tests) Skipped: 0 Errors: 0 ./run_tests.sh -i /usr/bin/python3 Interpreter: /usr/bin/python3 = Unit Tests = DEBUG: sys.path=['/build/ufw-0.36', '/usr/lib/python37.zip', '/usr/lib/python3.7', '/usr/lib/python3.7/lib-dynload', '/usr/local/lib/python3.7/dist-packages', '/usr/lib/python3/dist-packages'] DEBUG: test=['test_applications', 'test_backend', 'test_backend_iptables', 'test_common', 'test_frontend', 'test_parser', 'test_skeleton', 'test_util'] test_applications test_get_description (tests.unit.test_applications.ApplicationsTestCase) Test get_description() ... ok test_get_ports (tests.unit.test_applications.ApplicationsTestCase) Test get_ports() ... ok test_get_profiles (tests.unit.test_applications.ApplicationsTestCase) Test get_profiles() ... ok test_get_title (tests.unit.test_applications.ApplicationsTestCase) Test get_title() ... ok test_valid_profile_name (tests.unit.test_applications.ApplicationsTestCase) Test valid_profile_name() ... ok test_verify_profile (tests.unit.test_applications.ApplicationsTestCase) Test verify_profile() ... ok test_verify_profile_bad (tests.unit.test_applications.ApplicationsTestCase) Test verify_profile() - bad ... {'description': 'missing title', 'ports': '53'} {'title': 'missing description', 'ports': '22/tcp'} {'title': 'missing ports', 'description': 'desc'} {'title': '', 'description': 'empty title', 'ports': '80'} {'title': 'empty description', 'description': '', 'ports': '80'} {'title': 'empty ports', 'description': 'desc', 'ports': ''} {'title': 'bad missing proto - list', 'description': 'desc', 'ports': '80,443'} {'title': 'bad missing proto - range', 'description': 'desc', 'ports': '80:443'} {'title': 'bad range too big', 'description': 'desc', 'ports': '80:70000/tcp'} {'title': 'bad protocol - ah', 'description': 'desc', 'ports': '80/ah'} {'title': 'bad protocol - esp', 'description': 'desc', 'ports': '80/esp'} {'title': 'bad protocol - gre', 'description': 'desc', 'ports': '80/gre'} {'title': 'bad protocol - igmp', 'description': 'desc', 'ports': '80/igmp'} {'title': 'bad protocol - ipv6', 'description': 'desc', 'ports': '80/ipv6'} ok ---------------------------------------------------------------------- Ran 7 tests in 0.075s OK test_backend test_installation_defaults (tests.unit.test_backend.BackendTestCase) Test installation defaults ... WARN: Checks disabled ok ---------------------------------------------------------------------- Ran 1 test in 0.015s OK test_backend_iptables test__get_defaults (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test _get_defaults() ... WARN: Checks disabled ok test__need_reload (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test _need_reload() ... WARN: Checks disabled ok test__reload_user_rules (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test _reload_user_rules() ... WARN: Checks disabled > | iptables-restore > | ip6tables-restore ok test_find_application_name (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test find_application_name() ... WARN: Checks disabled ok test_find_other_position (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test find_other_position() ... WARN: Checks disabled ok test_get_app_rules_from_template (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test get_app_rules_from_template() ... WARN: Checks disabled ok test_get_default_application_policy (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test get_default_application_policy() ... WARN: Checks disabled ok test_get_loglevel (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test get_loglevel() ... WARN: Checks disabled ok test_get_matching (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test get_matching() ... WARN: Checks disabled ok test_get_rule_by_number (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test get_rule_by_number() ... WARN: Checks disabled ok test_get_rules_count (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test get_rules_count() ... WARN: Checks disabled ok test_get_running_raw (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test get_running_raw() ... WARN: Checks disabled ok test_get_status (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test get_status() ... WARN: Checks disabled ok test_reset (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test reset() ... WARN: Checks disabled Backing up 'user.rules' to '/build/ufw-0.36/tests/unit/tmp/ufw/etc/ufw/user.rules.20210701_094729' Backing up 'before.rules' to '/build/ufw-0.36/tests/unit/tmp/ufw/etc/ufw/before.rules.20210701_094729' Backing up 'after.rules' to '/build/ufw-0.36/tests/unit/tmp/ufw/etc/ufw/after.rules.20210701_094729' Backing up 'user6.rules' to '/build/ufw-0.36/tests/unit/tmp/ufw/etc/ufw/user6.rules.20210701_094729' Backing up 'before6.rules' to '/build/ufw-0.36/tests/unit/tmp/ufw/etc/ufw/before6.rules.20210701_094729' Backing up 'after6.rules' to '/build/ufw-0.36/tests/unit/tmp/ufw/etc/ufw/after6.rules.20210701_094729' Backing up 'user.rules' to '/build/ufw-0.36/tests/unit/tmp/ufw/etc/ufw/user.rules.20210701_094730' Backing up 'before.rules' to '/build/ufw-0.36/tests/unit/tmp/ufw/etc/ufw/before.rules.20210701_094730' Backing up 'after.rules' to '/build/ufw-0.36/tests/unit/tmp/ufw/etc/ufw/after.rules.20210701_094730' Backing up 'user6.rules' to '/build/ufw-0.36/tests/unit/tmp/ufw/etc/ufw/user6.rules.20210701_094730' Backing up 'before6.rules' to '/build/ufw-0.36/tests/unit/tmp/ufw/etc/ufw/before6.rules.20210701_094730' Backing up 'after6.rules' to '/build/ufw-0.36/tests/unit/tmp/ufw/etc/ufw/after6.rules.20210701_094730' ok test_set_bad_default (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test bad set_default_policy() ... WARN: Checks disabled ok test_set_bad_default_application_policy (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test bad set_default_application_policy() ... WARN: Checks disabled ok test_set_default (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test set_default() ... WARN: Checks disabled ok test_set_default_application_policy (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test set_default_application_policy() ... WARN: Checks disabled ok test_set_default_policy (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test set_default_policy() ... WARN: Checks disabled ok test_set_loglevel (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test set_loglevel() ... WARN: Checks disabled ok test_set_rule (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test set_rule() ... WARN: Checks disabled ok test_start_firewall (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test start_firewall() ... WARN: Checks disabled > running ufw-init ok test_stop_firewall (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test stop_firewall() ... WARN: Checks disabled > running ufw-init ok test_update_app_rule (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test upate_app_rule() ... WARN: Checks disabled ok test_update_logging (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test update_logging() ... WARN: Checks disabled ok test_use_ipv6 (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test use_ipv6() ... WARN: Checks disabled ok ---------------------------------------------------------------------- Ran 26 tests in 48.937s OK test_common test__fix_anywhere (tests.unit.test_common.CommonTestCase) Test _fix_anywhere() ... ok test__get_attrib (tests.unit.test_common.CommonTestCase) Test _get_attrib() ... ok test__init_ (tests.unit.test_common.CommonTestCase) Test UFWRule.__init__() ... ok test__is_anywhere (tests.unit.test_common.CommonTestCase) Test _is_anywhere() ... ok test_dup_rule (tests.unit.test_common.CommonTestCase) Test dup_rule() ... ok test_format_rule (tests.unit.test_common.CommonTestCase) Test format_rule() ... ok test_fuzzy_dst_match (tests.unit.test_common.CommonTestCase) Test fuzzy_dst_match() ... ok test_get_app_tuple (tests.unit.test_common.CommonTestCase) Test get_app_tuple() ... ok test_match (tests.unit.test_common.CommonTestCase) Test match() ... ok test_normalize (tests.unit.test_common.CommonTestCase) Test normalize() ... ok test_set_action (tests.unit.test_common.CommonTestCase) Test set_action() ... ok test_set_direction (tests.unit.test_common.CommonTestCase) Test set_direction() ... ok test_set_direction_bad (tests.unit.test_common.CommonTestCase) Test set_direction() - bad ... ok test_set_dst (tests.unit.test_common.CommonTestCase) Test set_dst() ... ok test_set_dst_bad (tests.unit.test_common.CommonTestCase) Test set_dst() - bad ... ok test_set_interface (tests.unit.test_common.CommonTestCase) Test set_interface() ... ok test_set_interface_bad (tests.unit.test_common.CommonTestCase) Test set_interface() - bad ... ok test_set_logtype (tests.unit.test_common.CommonTestCase) Test set_logtype() ... ok test_set_logtype_bad (tests.unit.test_common.CommonTestCase) Test set_logtype() - bad ... ok test_set_port (tests.unit.test_common.CommonTestCase) Test set_port() ... ok test_set_port_bad (tests.unit.test_common.CommonTestCase) Test set_port() - bad ... ok test_set_position (tests.unit.test_common.CommonTestCase) Test set_position() ... ok test_set_position_bad (tests.unit.test_common.CommonTestCase) Test set_position() - bad ... ok test_set_protocol (tests.unit.test_common.CommonTestCase) Test set_protocol() ... ok test_set_protocol_bad (tests.unit.test_common.CommonTestCase) Test set_protocol() - bad ... ok test_set_src (tests.unit.test_common.CommonTestCase) Test set_src() ... ok test_set_src_bad (tests.unit.test_common.CommonTestCase) Test set_src() - bad ... ok test_set_v6 (tests.unit.test_common.CommonTestCase) Test set_v6() ... ok test_ufwerror (tests.unit.test_common.CommonTestCase) Test UFWError ... ok test_ufwerror_str (tests.unit.test_common.CommonTestCase) Test UFWError.str() ... ok ---------------------------------------------------------------------- Ran 30 tests in 0.027s OK test_frontend test___init__ (tests.unit.test_frontend.FrontendTestCase) Test __init__() ... WARN: Checks disabled ok test_application_add (tests.unit.test_frontend.FrontendTestCase) Test application_add() ... WARN: Checks disabled ok test_continue_under_ssh (tests.unit.test_frontend.FrontendTestCase) Test continue_under_ssh() ... WARN: Checks disabled ok test_do_action (tests.unit.test_frontend.FrontendTestCase) Test do_action() ... WARN: Checks disabled WARN: Checks disabled WARN: Checks disabled TODO: verify output of rules in do_action() ok test_do_action_remove_bad_appname (tests.unit.test_frontend.FrontendTestCase) Test do_action() remove bad appname ... WARN: Checks disabled ok test_do_application_action (tests.unit.test_frontend.FrontendTestCase) Test do_application_action() ... WARN: Checks disabled ok test_get_command_help (tests.unit.test_frontend.FrontendTestCase) Test get_command_help() ... WARN: Checks disabled ok test_get_show_added (tests.unit.test_frontend.FrontendTestCase) Test get_show_added() ... WARN: Checks disabled ok test_get_show_listening (tests.unit.test_frontend.FrontendTestCase) Test get_show_listening() ... WARN: Checks disabled (TODO: fake-netstat) Could not find 'tcp' in: (TODO: fake-netstat) Could not find 'udp' in: ok test_get_show_raw (tests.unit.test_frontend.FrontendTestCase) Test get_show_raw() ... WARN: Checks disabled ok test_parse_command (tests.unit.test_frontend.FrontendTestCase) Test parse_command() ... WARN: Checks disabled ok test_parse_command_bad (tests.unit.test_frontend.FrontendTestCase) Test parse_command_bad ... WARN: Checks disabled ERROR: Invalid syntax ERROR: Invalid syntax ERROR: Invalid syntax ok ---------------------------------------------------------------------- Ran 12 tests in 0.281s OK test_parser test_app_parse (tests.unit.test_parser.ParserTestCase) Test UFWCommandApp.parse() ... ok test_bad_simple_action (tests.unit.test_parser.ParserTestCase) Test bad simple action ... ok test_bad_simple_action_with_direction (tests.unit.test_parser.ParserTestCase) Test bad simple action with direction ... ok test_default_parse (tests.unit.test_parser.ParserTestCase) Test UFWCommandDefault.parse() ... ok test_delete_bad_simple_action (tests.unit.test_parser.ParserTestCase) Test delete bad simple action ... ok test_extended_parse (tests.unit.test_parser.ParserTestCase) Test extended rule syntax ... 61920 rules checked ok test_logging_parse (tests.unit.test_parser.ParserTestCase) Test UFWCommandLogging.parse() ... ok test_misc_rules_parse (tests.unit.test_parser.ParserTestCase) Test rule syntax - miscellaneous ... ok test_route_delete_num (tests.unit.test_parser.ParserTestCase) Test route delete NUM ... ok test_rule_bad_syntax (tests.unit.test_parser.ParserTestCase) Test rule syntax - bad ... ok test_show_parse (tests.unit.test_parser.ParserTestCase) Test UFWCommandShow.parse() ... ok test_simple_bad_numeric_port (tests.unit.test_parser.ParserTestCase) Test simple bad numeric port ... ok test_simple_parse (tests.unit.test_parser.ParserTestCase) Test simple rule syntax ... 792 rules checked ok test_status_parse (tests.unit.test_parser.ParserTestCase) Test UFWCommandStatus.parse() ... ok test_ufwcommand_help (tests.unit.test_parser.ParserTestCase) Test UFWCommand.help() ... ok test_ufwcommand_parse (tests.unit.test_parser.ParserTestCase) Test UFWCommand.parse() ... ok test_ufwcommand_parse_basic_help (tests.unit.test_parser.ParserTestCase) Test parser.parse_command() - help ... ok test_ufwcommand_parse_empty (tests.unit.test_parser.ParserTestCase) Test UFWCommand.parse([]) ... ok test_ufwcommand_rule_get_command (tests.unit.test_parser.ParserTestCase) Test UFWCommand(Route)Rule.get_command() ... 62717 rules checked ok test_ufwcommandbasic_parse_with_arg (tests.unit.test_parser.ParserTestCase) Test UFWCommand.parse() - basic with arg ... ok test_ufwparser_allowed_command (tests.unit.test_parser.ParserTestCase) Test UFWParser.allowed_command() ... ok test_ufwparser_register_command (tests.unit.test_parser.ParserTestCase) Test UFWParser.register_command() ... ok test_ufwparser_register_command_none (tests.unit.test_parser.ParserTestCase) Test UFWParser.register_command() ... ok test_ufwparser_response (tests.unit.test_parser.ParserTestCase) Test UFWParserResponse.str() ... ok ---------------------------------------------------------------------- Ran 24 tests in 18.765s OK test_skeleton test_example (tests.unit.test_skeleton.SkeletonTestCase) Test example dummy test ... ok ---------------------------------------------------------------------- Ran 1 test in 0.000s OK test_util test__address4_to_network (tests.unit.test_util.UtilTestCase) Test _address4_to_network() ... ok test__address6_to_network (tests.unit.test_util.UtilTestCase) Test _address6_to_network() ... ok test__cidr_to_dotted_netmask (tests.unit.test_util.UtilTestCase) Test _cidr_to_dotted_netmask() ... ok test__dotted_netmask_to_cidr (tests.unit.test_util.UtilTestCase) Test _dotted_netmask_to_cidr() ... ok test__get_proc_inodes (tests.unit.test_util.UtilTestCase) Test _get_proc_inodes() ... ok test__read_proc_net_protocol (tests.unit.test_util.UtilTestCase) Test _read_proc_net_protocol() ... (TODO: fake-netstat) could not find tcp entries (TODO: fake-netstat) could not find udp entries ok test__valid_cidr_netmask (tests.unit.test_util.UtilTestCase) Test _valid_cidr_netmask() ... ok test__valid_dotted_quads (tests.unit.test_util.UtilTestCase) Test _valid_dotted_quads() ... ok test_cidr_to_dotted_to_cidr (tests.unit.test_util.UtilTestCase) Test _cidr_to_dotted_netmask() and _dotted_netmask_to_cidr() ... ok test_close_files (tests.unit.test_util.UtilTestCase) Test close_files() ... ok test_cmd (tests.unit.test_util.UtilTestCase) Test cmd() ... ok test_cmd_pipe (tests.unit.test_util.UtilTestCase) Test cmd_pipe() ... ok test_create_lock (tests.unit.test_util.UtilTestCase) Test create_lock() ... ok test_debug (tests.unit.test_util.UtilTestCase) Test debug() ... DEBUG: test debug() ('DEBUG: test debug()' output is intentional) ok test_error (tests.unit.test_util.UtilTestCase) Test error() ... ERROR: test error() ('ERROR: test error()' output is intentional) ok test_get_if_from_ip (tests.unit.test_util.UtilTestCase) Test get_if_from_ip() ... skipped: TODO: python3 ok test_get_ip_from_if (tests.unit.test_util.UtilTestCase) Test get_ip_from_if() ... skipped: TODO: python3 ok test_get_iptables_version (tests.unit.test_util.UtilTestCase) Test get_iptables_version() ... ok test_get_netfilter_capabilities (tests.unit.test_util.UtilTestCase) Test get_netfilter_capabilities() ... ok test_get_netstat_output (tests.unit.test_util.UtilTestCase) Test get_netstat_output() ... (TODO: fake-netstat) could not find tcp in: (TODO: fake-netstat) could not find udp in: (TODO: fake-netstat) could not find tcp in: (TODO: fake-netstat) could not find udp in: ok test_get_ppid (tests.unit.test_util.UtilTestCase) Test get_ppid() ... ok test_get_services_proto (tests.unit.test_util.UtilTestCase) Test get_services_proto() ... ok test_hex_decode (tests.unit.test_util.UtilTestCase) Test hex_decode() output ... ok test_hex_encode (tests.unit.test_util.UtilTestCase) Test hex_encode() output ... ok test_human_sort (tests.unit.test_util.UtilTestCase) Test human_sort() ... ok test_in_network (tests.unit.test_util.UtilTestCase) Test in_network() ... ok test_msg (tests.unit.test_util.UtilTestCase) Test msg() ... test msg() test msg()('test msg()' output is intentional) ('test msg()' output is intentional) ok test_normalize_address_host_netmask (tests.unit.test_util.UtilTestCase) Test normalize_address() with host_netmask ... ok test_normalize_address_invalid_netmask (tests.unit.test_util.UtilTestCase) Test normalize_address() with invalid_netmask ... ok test_normalize_address_ipv6_cidr (tests.unit.test_util.UtilTestCase) Test normalize_address() with ipv6_cidr ... ok test_normalize_address_ipv6_short_notation (tests.unit.test_util.UtilTestCase) Test normalize_address() with ipv6_short_notation ... ok test_normalize_address_netmask_to_cidr (tests.unit.test_util.UtilTestCase) Test normalize_address() with netmask_to_cidr ... ok test_normalize_address_valid_netmask_to_non_cidr (tests.unit.test_util.UtilTestCase) Test normalize_address() with valid_netmask_to_non_cidr ... ok test_open_file_read (tests.unit.test_util.UtilTestCase) Test open_file_read() ... ok test_open_files (tests.unit.test_util.UtilTestCase) Test open_files() ... ok test_parse_netstat_output (tests.unit.test_util.UtilTestCase) Test parse_netstat_output() ... ok test_parse_port_proto (tests.unit.test_util.UtilTestCase) Test parse_port_proto() ... ok test_under_ssh (tests.unit.test_util.UtilTestCase) Test under_ssh() ... WARN: Couldn't find pid (is /proc mounted?) ok test_valid_address (tests.unit.test_util.UtilTestCase) Test valid_address() ... ok test_valid_address4 (tests.unit.test_util.UtilTestCase) Test valid_address4() ... ok test_valid_address6 (tests.unit.test_util.UtilTestCase) Test valid_address6() ... WARN: python does not have IPv6 support. (IPv6 support warning is intentional) ok test_valid_netmask (tests.unit.test_util.UtilTestCase) Test valid_netmask() ... ok test_warn (tests.unit.test_util.UtilTestCase) Test warn() ... WARN: test warn() ('WARN: test warn()' output is intentional) ok test_word_wrap (tests.unit.test_util.UtilTestCase) Test word_wrap() ... ok test_wrap_text (tests.unit.test_util.UtilTestCase) Test wrap_text() ... ok test_write_to_file (tests.unit.test_util.UtilTestCase) Test write_to_file() ... ok ---------------------------------------------------------------------- Ran 46 tests in 0.235s OK ------------------ Unit tests summary ------------------ Total=8 (Passed=8, Failed=0) make[1]: Entering directory '/build/ufw-0.36' rm -rf ./build rm -rf ./staging rm -rf ./tests/testarea ./tests/unit/tmp rm -rf ./tmp rm -rf ./snap-build rm -rf ./parts ./stage ./prime rm -rf ./snappy-packaging/files/* ./snappy-packaging/parts ./snappy-packaging/prime ./snappy-packaging/stage rm -f ./snappy-packaging/*.snap rm -f ./locales/mo/*.mo rm -f ./tests/unit/*.pyc ./tests/*.pyc ./src/*.pyc rm -rf ./tests/unit/__pycache__ ./tests/__pycache__ ./src/__pycache__ rm -rf ./.coverage rm -f ./ufw # unittest symlink make[1]: Leaving directory '/build/ufw-0.36' = Functional Tests = Performing tests 'installation/check_help' - installing - result: PASS Performing tests 'installation/check_root' - installing - result: PASS Performing tests 'bad/apps' - installing - result: PASS Performing tests 'bad/args' - installing - result: PASS Performing tests 'bad/netmasks' - installing - result: PASS Performing tests 'bad/policy' - installing - result: PASS Performing tests 'bugs/apps' - installing - result: PASS Performing tests 'bugs/misc' - installing - result: PASS Performing tests 'bugs/rules' - installing - result: PASS Performing tests 'good/apps' - installing - result: PASS Performing tests 'good/args' - installing - result: PASS Performing tests 'good/logging' - installing - result: PASS Performing tests 'good/netmasks' - installing - result: PASS Performing tests 'good/policy' - installing - result: PASS Performing tests 'good/reports' - installing - result: PASS Performing tests 'good/route' - installing - result: PASS Performing tests 'good/rules' - installing - result: PASS Performing tests 'ipv6/bad_args6' - installing - result: PASS Performing tests 'ipv6/good_args6' - installing - result: PASS Performing tests 'ipv6/logging' - installing - result: PASS Performing tests 'ipv6/rules6' - installing - result: PASS Performing tests 'ipv6/rules64' - installing - result: PASS ------------------------ Functional tests summary ------------------------ Attempted: 22 (3339 individual tests) Skipped: 0 Errors: 0 # the testsuite creates the build/ directory with test values that we # don't want to use make clean make[1]: Entering directory '/build/ufw-0.36' rm -rf ./build rm -rf ./staging rm -rf ./tests/testarea ./tests/unit/tmp rm -rf ./tmp rm -rf ./snap-build rm -rf ./parts ./stage ./prime rm -rf ./snappy-packaging/files/* ./snappy-packaging/parts ./snappy-packaging/prime ./snappy-packaging/stage rm -f ./snappy-packaging/*.snap rm -f ./locales/mo/*.mo rm -f ./tests/unit/*.pyc ./tests/*.pyc ./src/*.pyc rm -rf ./tests/unit/__pycache__ ./tests/__pycache__ ./src/__pycache__ rm -rf ./.coverage rm -f ./ufw # unittest symlink make[1]: Leaving directory '/build/ufw-0.36' /usr/bin/python2 ./setup.py install --root=/build/ufw-0.36/debian/tmp --install-layout=deb Found '/sbin/iptables' Found '/sbin/iptables' version '1.8.2' running install Updating staging/common.py running build running build_py creating build creating build/lib.linux-x86_64-2.7 creating build/lib.linux-x86_64-2.7/ufw copying staging/__init__.py -> build/lib.linux-x86_64-2.7/ufw copying staging/backend.py -> build/lib.linux-x86_64-2.7/ufw copying staging/backend_iptables.py -> build/lib.linux-x86_64-2.7/ufw copying staging/common.py -> build/lib.linux-x86_64-2.7/ufw copying staging/frontend.py -> build/lib.linux-x86_64-2.7/ufw copying staging/util.py -> build/lib.linux-x86_64-2.7/ufw copying staging/applications.py -> build/lib.linux-x86_64-2.7/ufw copying staging/parser.py -> build/lib.linux-x86_64-2.7/ufw running install_lib creating /build/ufw-0.36/debian/tmp creating /build/ufw-0.36/debian/tmp/usr creating /build/ufw-0.36/debian/tmp/usr/lib creating /build/ufw-0.36/debian/tmp/usr/lib/python2.7 creating /build/ufw-0.36/debian/tmp/usr/lib/python2.7/dist-packages creating /build/ufw-0.36/debian/tmp/usr/lib/python2.7/dist-packages/ufw copying build/lib.linux-x86_64-2.7/ufw/backend.py -> /build/ufw-0.36/debian/tmp/usr/lib/python2.7/dist-packages/ufw copying build/lib.linux-x86_64-2.7/ufw/util.py -> /build/ufw-0.36/debian/tmp/usr/lib/python2.7/dist-packages/ufw copying build/lib.linux-x86_64-2.7/ufw/backend_iptables.py -> /build/ufw-0.36/debian/tmp/usr/lib/python2.7/dist-packages/ufw copying build/lib.linux-x86_64-2.7/ufw/parser.py -> /build/ufw-0.36/debian/tmp/usr/lib/python2.7/dist-packages/ufw copying build/lib.linux-x86_64-2.7/ufw/applications.py -> /build/ufw-0.36/debian/tmp/usr/lib/python2.7/dist-packages/ufw copying build/lib.linux-x86_64-2.7/ufw/__init__.py -> /build/ufw-0.36/debian/tmp/usr/lib/python2.7/dist-packages/ufw copying build/lib.linux-x86_64-2.7/ufw/common.py -> /build/ufw-0.36/debian/tmp/usr/lib/python2.7/dist-packages/ufw copying build/lib.linux-x86_64-2.7/ufw/frontend.py -> /build/ufw-0.36/debian/tmp/usr/lib/python2.7/dist-packages/ufw byte-compiling /build/ufw-0.36/debian/tmp/usr/lib/python2.7/dist-packages/ufw/backend.py to backend.pyc byte-compiling /build/ufw-0.36/debian/tmp/usr/lib/python2.7/dist-packages/ufw/util.py to util.pyc byte-compiling /build/ufw-0.36/debian/tmp/usr/lib/python2.7/dist-packages/ufw/backend_iptables.py to backend_iptables.pyc byte-compiling /build/ufw-0.36/debian/tmp/usr/lib/python2.7/dist-packages/ufw/parser.py to parser.pyc byte-compiling /build/ufw-0.36/debian/tmp/usr/lib/python2.7/dist-packages/ufw/applications.py to applications.pyc byte-compiling /build/ufw-0.36/debian/tmp/usr/lib/python2.7/dist-packages/ufw/__init__.py to __init__.pyc byte-compiling /build/ufw-0.36/debian/tmp/usr/lib/python2.7/dist-packages/ufw/common.py to common.pyc byte-compiling /build/ufw-0.36/debian/tmp/usr/lib/python2.7/dist-packages/ufw/frontend.py to frontend.pyc running install_egg_info Writing /build/ufw-0.36/debian/tmp/usr/lib/python2.7/dist-packages/ufw-0.36.egg-info creating /build/ufw-0.36/debian/tmp/usr/sbin creating /build/ufw-0.36/debian/tmp/usr/share creating /build/ufw-0.36/debian/tmp/usr/share/man creating /build/ufw-0.36/debian/tmp/usr/share/man/man8 Updating staging/ufw to use /usr/bin/python2 copying staging/ufw -> /build/ufw-0.36/debian/tmp/usr/sbin copying doc/ufw.8 -> /build/ufw-0.36/debian/tmp/usr/share/man/man8 copying doc/ufw-framework.8 -> /build/ufw-0.36/debian/tmp/usr/share/man/man8 creating /build/ufw-0.36/debian/tmp/lib creating /build/ufw-0.36/debian/tmp/lib/ufw copying src/ufw-init -> /build/ufw-0.36/debian/tmp/lib/ufw copying src/ufw-init-functions -> /build/ufw-0.36/debian/tmp/lib/ufw creating /build/ufw-0.36/debian/tmp/usr/share/ufw creating /build/ufw-0.36/debian/tmp/usr/share/ufw/messages make[1]: Entering directory '/build/ufw-0.36' make -C locales all make[2]: Entering directory '/build/ufw-0.36/locales' for pofile in `ls po/*.po`; do \ lang=$(basename $pofile .po); \ echo "msgfmt -c -o mo/$lang.mo po/$lang.po"; \ formatted=`msgfmt -c -o mo/$lang.mo po/$lang.po 2>&1 | grep fatal` ; \ if [ "$formatted" != "" ]; then \ exit 1; \ fi; \ done; \ msgfmt -c -o mo/ar.mo po/ar.po msgfmt -c -o mo/ast.mo po/ast.po msgfmt -c -o mo/bg.mo po/bg.po msgfmt -c -o mo/bs.mo po/bs.po msgfmt -c -o mo/ca.mo po/ca.po msgfmt -c -o mo/ce.mo po/ce.po msgfmt -c -o mo/cs.mo po/cs.po msgfmt -c -o mo/da.mo po/da.po msgfmt -c -o mo/de.mo po/de.po msgfmt -c -o mo/el.mo po/el.po msgfmt -c -o mo/en_AU.mo po/en_AU.po msgfmt -c -o mo/en_GB.mo po/en_GB.po msgfmt -c -o mo/es.mo po/es.po msgfmt -c -o mo/et.mo po/et.po msgfmt -c -o mo/fi.mo po/fi.po msgfmt -c -o mo/fr.mo po/fr.po msgfmt -c -o mo/he.mo po/he.po msgfmt -c -o mo/hu.mo po/hu.po msgfmt -c -o mo/id.mo po/id.po msgfmt -c -o mo/it.mo po/it.po msgfmt -c -o mo/ja.mo po/ja.po msgfmt -c -o mo/ko.mo po/ko.po msgfmt -c -o mo/lv.mo po/lv.po msgfmt -c -o mo/nb.mo po/nb.po msgfmt -c -o mo/nl.mo po/nl.po msgfmt -c -o mo/pl.mo po/pl.po msgfmt -c -o mo/pt.mo po/pt.po msgfmt -c -o mo/pt_BR.mo po/pt_BR.po msgfmt -c -o mo/ru.mo po/ru.po msgfmt -c -o mo/se.mo po/se.po msgfmt -c -o mo/sk.mo po/sk.po msgfmt -c -o mo/sl.mo po/sl.po msgfmt -c -o mo/sr.mo po/sr.po msgfmt -c -o mo/sv.mo po/sv.po msgfmt -c -o mo/tl.mo po/tl.po msgfmt -c -o mo/tr.mo po/tr.po msgfmt -c -o mo/uk.mo po/uk.po msgfmt -c -o mo/ur.mo po/ur.po msgfmt -c -o mo/zh_CN.mo po/zh_CN.po msgfmt -c -o mo/zh_TW.mo po/zh_TW.po make[2]: Leaving directory '/build/ufw-0.36/locales' make[1]: Leaving directory '/build/ufw-0.36' copying locales/mo/ast.mo -> /build/ufw-0.36/debian/tmp/usr/share/ufw/messages copying locales/mo/lv.mo -> /build/ufw-0.36/debian/tmp/usr/share/ufw/messages copying locales/mo/sl.mo -> /build/ufw-0.36/debian/tmp/usr/share/ufw/messages copying locales/mo/fi.mo -> /build/ufw-0.36/debian/tmp/usr/share/ufw/messages copying locales/mo/es.mo -> /build/ufw-0.36/debian/tmp/usr/share/ufw/messages copying locales/mo/it.mo -> /build/ufw-0.36/debian/tmp/usr/share/ufw/messages copying locales/mo/he.mo -> /build/ufw-0.36/debian/tmp/usr/share/ufw/messages copying locales/mo/ce.mo -> /build/ufw-0.36/debian/tmp/usr/share/ufw/messages copying locales/mo/bs.mo -> /build/ufw-0.36/debian/tmp/usr/share/ufw/messages copying locales/mo/uk.mo -> /build/ufw-0.36/debian/tmp/usr/share/ufw/messages copying locales/mo/sv.mo -> /build/ufw-0.36/debian/tmp/usr/share/ufw/messages copying locales/mo/el.mo -> /build/ufw-0.36/debian/tmp/usr/share/ufw/messages copying locales/mo/tr.mo -> /build/ufw-0.36/debian/tmp/usr/share/ufw/messages copying locales/mo/hu.mo -> /build/ufw-0.36/debian/tmp/usr/share/ufw/messages copying locales/mo/id.mo -> /build/ufw-0.36/debian/tmp/usr/share/ufw/messages copying locales/mo/de.mo -> /build/ufw-0.36/debian/tmp/usr/share/ufw/messages copying locales/mo/en_GB.mo -> /build/ufw-0.36/debian/tmp/usr/share/ufw/messages copying locales/mo/zh_TW.mo -> /build/ufw-0.36/debian/tmp/usr/share/ufw/messages copying locales/mo/bg.mo -> /build/ufw-0.36/debian/tmp/usr/share/ufw/messages copying locales/mo/et.mo -> /build/ufw-0.36/debian/tmp/usr/share/ufw/messages copying locales/mo/pt_BR.mo -> /build/ufw-0.36/debian/tmp/usr/share/ufw/messages copying locales/mo/fr.mo -> /build/ufw-0.36/debian/tmp/usr/share/ufw/messages copying locales/mo/cs.mo -> /build/ufw-0.36/debian/tmp/usr/share/ufw/messages copying locales/mo/se.mo -> /build/ufw-0.36/debian/tmp/usr/share/ufw/messages copying locales/mo/sr.mo -> /build/ufw-0.36/debian/tmp/usr/share/ufw/messages copying locales/mo/en_AU.mo -> /build/ufw-0.36/debian/tmp/usr/share/ufw/messages copying locales/mo/pt.mo -> /build/ufw-0.36/debian/tmp/usr/share/ufw/messages copying locales/mo/ar.mo -> /build/ufw-0.36/debian/tmp/usr/share/ufw/messages copying locales/mo/tl.mo -> /build/ufw-0.36/debian/tmp/usr/share/ufw/messages copying locales/mo/ja.mo -> /build/ufw-0.36/debian/tmp/usr/share/ufw/messages copying locales/mo/ca.mo -> /build/ufw-0.36/debian/tmp/usr/share/ufw/messages copying locales/mo/sk.mo -> /build/ufw-0.36/debian/tmp/usr/share/ufw/messages copying locales/mo/nl.mo -> /build/ufw-0.36/debian/tmp/usr/share/ufw/messages copying locales/mo/da.mo -> /build/ufw-0.36/debian/tmp/usr/share/ufw/messages copying locales/mo/ur.mo -> /build/ufw-0.36/debian/tmp/usr/share/ufw/messages copying locales/mo/nb.mo -> /build/ufw-0.36/debian/tmp/usr/share/ufw/messages copying locales/mo/ru.mo -> /build/ufw-0.36/debian/tmp/usr/share/ufw/messages copying locales/mo/zh_CN.mo -> /build/ufw-0.36/debian/tmp/usr/share/ufw/messages copying locales/mo/pl.mo -> /build/ufw-0.36/debian/tmp/usr/share/ufw/messages copying locales/mo/ko.mo -> /build/ufw-0.36/debian/tmp/usr/share/ufw/messages creating /build/ufw-0.36/debian/tmp/etc creating /build/ufw-0.36/debian/tmp/etc/default creating /build/ufw-0.36/debian/tmp/etc/ufw creating /build/ufw-0.36/debian/tmp/etc/ufw/applications.d copying profiles/ufw-mailserver -> /build/ufw-0.36/debian/tmp/etc/ufw/applications.d copying profiles/ufw-directoryserver -> /build/ufw-0.36/debian/tmp/etc/ufw/applications.d copying profiles/ufw-bittorent -> /build/ufw-0.36/debian/tmp/etc/ufw/applications.d copying profiles/ufw-fileserver -> /build/ufw-0.36/debian/tmp/etc/ufw/applications.d copying profiles/ufw-dnsserver -> /build/ufw-0.36/debian/tmp/etc/ufw/applications.d copying profiles/ufw-printserver -> /build/ufw-0.36/debian/tmp/etc/ufw/applications.d copying profiles/ufw-proxyserver -> /build/ufw-0.36/debian/tmp/etc/ufw/applications.d copying profiles/ufw-loginserver -> /build/ufw-0.36/debian/tmp/etc/ufw/applications.d copying profiles/ufw-webserver -> /build/ufw-0.36/debian/tmp/etc/ufw/applications.d copying profiles/ufw-chat -> /build/ufw-0.36/debian/tmp/etc/ufw/applications.d copying conf/ufw.defaults -> /build/ufw-0.36/debian/tmp/etc/default/ufw copying conf/ufw.conf -> /build/ufw-0.36/debian/tmp/etc/ufw copying conf/sysctl.conf -> /build/ufw-0.36/debian/tmp/etc/ufw copying conf/before.rules -> /build/ufw-0.36/debian/tmp/etc/ufw copying conf/after.rules -> /build/ufw-0.36/debian/tmp/etc/ufw copying conf/before6.rules -> /build/ufw-0.36/debian/tmp/etc/ufw copying conf/after6.rules -> /build/ufw-0.36/debian/tmp/etc/ufw copying conf/user.rules -> /build/ufw-0.36/debian/tmp/etc/ufw copying conf/user6.rules -> /build/ufw-0.36/debian/tmp/etc/ufw copying src/before.init -> /build/ufw-0.36/debian/tmp/etc/ufw copying src/after.init -> /build/ufw-0.36/debian/tmp/etc/ufw Updating /build/ufw-0.36/debian/tmp/etc/default/ufw Updating /build/ufw-0.36/debian/tmp/etc/ufw/ufw.conf Updating /build/ufw-0.36/debian/tmp/etc/ufw/before.rules Updating /build/ufw-0.36/debian/tmp/etc/ufw/after.rules Updating /build/ufw-0.36/debian/tmp/etc/ufw/before6.rules Updating /build/ufw-0.36/debian/tmp/etc/ufw/after6.rules Updating /build/ufw-0.36/debian/tmp/usr/sbin/ufw Updating /build/ufw-0.36/debian/tmp/usr/share/man/man8/ufw.8 Updating /build/ufw-0.36/debian/tmp/usr/share/man/man8/ufw-framework.8 Updating /build/ufw-0.36/debian/tmp/etc/ufw/sysctl.conf Updating /build/ufw-0.36/debian/tmp/lib/ufw/ufw-init Updating /build/ufw-0.36/debian/tmp/lib/ufw/ufw-init-functions Updating /build/ufw-0.36/debian/tmp/etc/ufw/before.init Updating /build/ufw-0.36/debian/tmp/etc/ufw/after.init creating /build/ufw-0.36/debian/tmp/usr/share/ufw/iptables copying /build/ufw-0.36/debian/tmp/etc/ufw/before.rules -> /build/ufw-0.36/debian/tmp/usr/share/ufw/iptables copying /build/ufw-0.36/debian/tmp/etc/ufw/after.rules -> /build/ufw-0.36/debian/tmp/usr/share/ufw/iptables copying /build/ufw-0.36/debian/tmp/etc/ufw/before6.rules -> /build/ufw-0.36/debian/tmp/usr/share/ufw/iptables copying /build/ufw-0.36/debian/tmp/etc/ufw/after6.rules -> /build/ufw-0.36/debian/tmp/usr/share/ufw/iptables copying /build/ufw-0.36/debian/tmp/etc/ufw/user.rules -> /build/ufw-0.36/debian/tmp/usr/share/ufw/iptables copying /build/ufw-0.36/debian/tmp/etc/ufw/user6.rules -> /build/ufw-0.36/debian/tmp/usr/share/ufw/iptables /usr/bin/python3 ./setup.py install --root=/build/ufw-0.36/debian/tmp --install-layout=deb Found '/sbin/iptables' Found '/sbin/iptables' version '1.8.2' running install Updating staging/common.py running build running build_py creating build/lib creating build/lib/ufw copying staging/__init__.py -> build/lib/ufw copying staging/backend.py -> build/lib/ufw copying staging/backend_iptables.py -> build/lib/ufw copying staging/common.py -> build/lib/ufw copying staging/frontend.py -> build/lib/ufw copying staging/util.py -> build/lib/ufw copying staging/applications.py -> build/lib/ufw copying staging/parser.py -> build/lib/ufw running install_lib creating /build/ufw-0.36/debian/tmp/usr/lib/python3 creating /build/ufw-0.36/debian/tmp/usr/lib/python3/dist-packages creating /build/ufw-0.36/debian/tmp/usr/lib/python3/dist-packages/ufw copying build/lib/ufw/backend.py -> /build/ufw-0.36/debian/tmp/usr/lib/python3/dist-packages/ufw copying build/lib/ufw/util.py -> /build/ufw-0.36/debian/tmp/usr/lib/python3/dist-packages/ufw copying build/lib/ufw/backend_iptables.py -> /build/ufw-0.36/debian/tmp/usr/lib/python3/dist-packages/ufw copying build/lib/ufw/parser.py -> /build/ufw-0.36/debian/tmp/usr/lib/python3/dist-packages/ufw copying build/lib/ufw/applications.py -> /build/ufw-0.36/debian/tmp/usr/lib/python3/dist-packages/ufw copying build/lib/ufw/__init__.py -> /build/ufw-0.36/debian/tmp/usr/lib/python3/dist-packages/ufw copying build/lib/ufw/common.py -> /build/ufw-0.36/debian/tmp/usr/lib/python3/dist-packages/ufw copying build/lib/ufw/frontend.py -> /build/ufw-0.36/debian/tmp/usr/lib/python3/dist-packages/ufw byte-compiling /build/ufw-0.36/debian/tmp/usr/lib/python3/dist-packages/ufw/backend.py to backend.cpython-37.pyc byte-compiling /build/ufw-0.36/debian/tmp/usr/lib/python3/dist-packages/ufw/util.py to util.cpython-37.pyc byte-compiling /build/ufw-0.36/debian/tmp/usr/lib/python3/dist-packages/ufw/backend_iptables.py to backend_iptables.cpython-37.pyc byte-compiling /build/ufw-0.36/debian/tmp/usr/lib/python3/dist-packages/ufw/parser.py to parser.cpython-37.pyc byte-compiling /build/ufw-0.36/debian/tmp/usr/lib/python3/dist-packages/ufw/applications.py to applications.cpython-37.pyc byte-compiling /build/ufw-0.36/debian/tmp/usr/lib/python3/dist-packages/ufw/__init__.py to __init__.cpython-37.pyc byte-compiling /build/ufw-0.36/debian/tmp/usr/lib/python3/dist-packages/ufw/common.py to common.cpython-37.pyc byte-compiling /build/ufw-0.36/debian/tmp/usr/lib/python3/dist-packages/ufw/frontend.py to frontend.cpython-37.pyc running install_egg_info Writing /build/ufw-0.36/debian/tmp/usr/lib/python3/dist-packages/ufw-0.36.egg-info Updating staging/ufw to use /usr/bin/python3 Updating /build/ufw-0.36/debian/tmp/etc/default/ufw Updating /build/ufw-0.36/debian/tmp/etc/ufw/ufw.conf Updating /build/ufw-0.36/debian/tmp/etc/ufw/before.rules Updating /build/ufw-0.36/debian/tmp/etc/ufw/after.rules Updating /build/ufw-0.36/debian/tmp/etc/ufw/before6.rules Updating /build/ufw-0.36/debian/tmp/etc/ufw/after6.rules Updating /build/ufw-0.36/debian/tmp/usr/sbin/ufw Updating /build/ufw-0.36/debian/tmp/usr/share/man/man8/ufw.8 Updating /build/ufw-0.36/debian/tmp/usr/share/man/man8/ufw-framework.8 Updating /build/ufw-0.36/debian/tmp/etc/ufw/sysctl.conf Updating /build/ufw-0.36/debian/tmp/lib/ufw/ufw-init Updating /build/ufw-0.36/debian/tmp/lib/ufw/ufw-init-functions Updating /build/ufw-0.36/debian/tmp/etc/ufw/before.init Updating /build/ufw-0.36/debian/tmp/etc/ufw/after.init # these shouldn't be conffiles mv /build/ufw-0.36/debian/tmp/etc/ufw/ufw.conf /build/ufw-0.36/debian/tmp/usr/share/ufw mv /build/ufw-0.36/debian/tmp/etc/ufw/*.init /build/ufw-0.36/debian/tmp/usr/share/ufw # these shouldn't be conffiles either, but we'll use the rules from # /usr/share/ufw/iptables so just delete these and we'll use dh_link # later rm -f /build/ufw-0.36/debian/tmp/etc/ufw/*.rules rm -f /build/ufw-0.36/debian/tmp/lib/ufw/*.rules dh_link # Rename and install the shell-completion file cp /build/ufw-0.36/shell-completion/bash /build/ufw-0.36/debian/ufw/usr/share/bash-completion/completions/ufw dh_testdir dh_testroot dh_installchangelogs dh_installchangelogs ChangeLog dh_installdocs dh_installdocs README dh_installexamples doc/skel-ui.example dh_install dh_systemd_enable dh_installinit --no-start --no-restart-on-upgrade dh_installinit: --no-restart-on-upgrade has been renamed to --no-stop-on-upgrade dh_installinit: This feature will be removed in compat 12. dh_systemd_start --no-start --no-restart-on-upgrade dh_installlogrotate dh_installman dh_installdebconf dh_lintian : # Replace all '#!' calls to python with /usr/bin/python3 : # and make them executable for i in `find debian -mindepth 3 -type f`; do \ sed '1s,#!.*python[^ ]*\(.*\),#! /usr/bin/python3\1,' \ $i > $i.temp; \ if cmp --quiet $i $i.temp; then \ rm -f $i.temp; \ else \ mv -f $i.temp $i; \ chmod 755 $i; \ echo "fixed interpreter: $i"; \ fi; \ done fixed interpreter: debian/ufw/usr/sbin/ufw fixed interpreter: debian/ufw/usr/share/doc/ufw/examples/skel-ui.example fixed interpreter: debian/tmp/usr/sbin/ufw # Don't install profiles on Ubuntu if dpkg-vendor --is ubuntu; then \ rm -f /build/ufw-0.36/debian/ufw/etc/ufw/applications.d/ufw-* ; \ fi dh_python2 -p python-ufw dh_python3 -p ufw dh_compress dh_fixperms dh_installdeb dh_gencontrol dpkg-gencontrol: warning: package python-ufw: substitution variable ${python:Provides} unused, but is defined dpkg-gencontrol: warning: package ufw: substitution variable ${python3:Versions} used, but is not defined dh_md5sums dh_builddeb dpkg-deb: building package 'python-ufw' in '../python-ufw_0.36-1_all.deb'. dpkg-deb: building package 'ufw' in '../ufw_0.36-1_all.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../ufw_0.36-1_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/43483 and its subdirectories I: Current time: Thu Jul 1 09:53:07 -12 2021 I: pbuilder-time-stamp: 1625176387