Package: ufw Version: 0.35-2 Severity: wishlist Dear Maintainer,
this is only a wishlist bug because it does not happen with normal building. I have just tried to backport a current ufw locally for Jessie. Part of our normal process to do this is gbp-import-dsc --download <dsc>, then make a jessie-backports branch with the changelog and run git-buildpackage ..., which by default creates a new orig.tar.gz This fails horribly with ufw because git, unlike bzr, cannot represent empty directories. The code is covered with code like (setup.py) if len(os.listdir('locales/mo')) == 0: subprocess.call(["make", "mo"]) which of course just fails if the empty locales/mo directory has been dropped by git. Part of the fix is to drop the original orig.tar.gz somewhere where git-buildpackage can find it. But I consider this quite fragile. I'm attaching two build-logs, one for the failing testsuite and one with the testsuite disabled (showing an error with missing translations due to the line above). Best Regards, Bernhard
dpkg-checkbuilddeps: Unmet build dependencies: dh-systemd W: Unmet build-dependency in source dpkg-buildpackage: source package ufw dpkg-buildpackage: source version 0.35-2 dpkg-buildpackage: source distribution unstable dpkg-buildpackage: source changed by Jamie Strandboge <ja...@ubuntu.com> dpkg-source --before-build ufw-0.35 dpkg-checkbuilddeps: Unmet build dependencies: dh-systemd dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting dpkg-buildpackage: warning: (Use -d flag to override.) dpkg-buildpackage: warning: this is currently a non-fatal warning with -S, but will probably become fatal in the future fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp make clean make[1]: Entering directory '/home/bschmidt/tmp/build-area/ufw-0.35' rm -rf ./build rm -rf ./staging rm -rf ./tests/testarea ./tests/unit/tmp rm -rf ./tmp rm -rf ./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 '/home/bschmidt/tmp/build-area/ufw-0.35' find . -name '*.py[co]' | xargs rm -f dh_clean debconf-updatepo dpkg-source -b ufw-0.35 dpkg-source: info: using source format `3.0 (quilt)' dpkg-source: info: building ufw using existing ./ufw_0.35.orig.tar.gz dpkg-source: info: building ufw in ufw_0.35-2.debian.tar.xz dpkg-source: info: building ufw in ufw_0.35-2.dsc dpkg-genchanges -S -sa >../ufw_0.35-2_source.changes dpkg-genchanges: including full source code in upload dpkg-source --after-build ufw-0.35 dpkg-source: info: unapplying 0001-optimize-boot.patch dpkg-buildpackage: full upload (original source is included) Sorry, try again. -> Copying COW directory forking: rm -rf /var/cache/pbuilder/build//cow.53374 forking: cp -al /var/cache/pbuilder/base-sid-amd64.cow /var/cache/pbuilder/build//cow.53374 I: removed stale ilistfile /var/cache/pbuilder/build//cow.53374/.ilist forking: chroot /var/cache/pbuilder/build//cow.53374 cowdancer-ilistcreate /.ilist find . -xdev -path ./home -prune -o \( \( -type l -o -type f \) -a -links +1 -print0 \) | xargs -0 stat --format '%d %i ' -> Invoking pbuilder forking: pbuilder build --debbuildopts --debbuildopts '-sa' --buildplace /var/cache/pbuilder/build//cow.53374 --buildresult /home/bschmidt/tmp/build-area --debbuildopts '-sa' --no-targz --internal-chrootexec chroot /var/cache/pbuilder/build//cow.53374 cow-shell /home/bschmidt/tmp/build-area/ufw_0.35-2.dsc W: /home/bschmidt/.pbuilderrc does not exist I: Running in no-targz mode I: using fakeroot in build. I: pbuilder: network access will be disabled during build I: Current time: Tue Aug 2 14:17:26 CEST 2016 I: pbuilder-time-stamp: 1470140246 I: copying local configuration I: mounting /proc filesystem I: mounting /run/shm filesystem I: mounting /dev/pts filesystem I: policy-rc.d already exists I: Obtaining the cached apt archive contents I: Installing the build-deps I: user script /var/cache/pbuilder/build/cow.53374/tmp/hooks/D80no-man-db-rebuild starting I: Preseed man-db/auto-update to false I: user script /var/cache/pbuilder/build/cow.53374/tmp/hooks/D80no-man-db-rebuild finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: amd64 Maintainer: Debian Pbuilder Team <pbuilder-ma...@lists.alioth.debian.org> 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 (>= 7.3.15ubuntu2), dh-systemd, po-debconf, python (>= 2.6.6-3~), python3 (>= 3.2), 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 ... 13321 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 (>= 7.3.15ubuntu2); however: Package debhelper is not installed. pbuilder-satisfydepends-dummy depends on dh-systemd; however: Package dh-systemd 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 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} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} iptables{a} libarchive-zip-perl{a} libbsd0{a} libcroco3{a} libexpat1{a} libffi6{a} libfile-stripnondeterminism-perl{a} libglib2.0-0{a} libicu55{a} libmagic-mgc{a} libmagic1{a} libmpdec2{a} libnfnetlink0{a} libpipeline1{a} libprocps6{a} libpython-stdlib{a} libpython2.7-minimal{a} libpython2.7-stdlib{a} libpython3-stdlib{a} libpython3.5-minimal{a} libpython3.5-stdlib{a} libsigsegv2{a} libssl1.0.2{a} libtool{a} libunistring0{a} libxml2{a} libxtables11{a} m4{a} man-db{a} mime-support{a} netbase{a} po-debconf{a} procps{a} python{a} python-minimal{a} python2.7{a} python2.7-minimal{a} python3{a} python3-minimal{a} python3.5{a} python3.5-minimal{a} The following packages are RECOMMENDED but will NOT be installed: curl ifupdown ifupdown2 libglib2.0-data libltdl-dev libmail-sendmail-perl lynx-cur netscript-2.4 psmisc shared-mime-info wget xdg-user-dirs xml-core 0 packages upgraded, 55 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/30.8 MB of archives. After unpacking 114 MB will be used. Writing extended state information... debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package groff-base. (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 ... 13321 files and directories currently installed.) Preparing to unpack .../groff-base_1.22.3-8_amd64.deb ... Unpacking groff-base (1.22.3-8) ... Selecting previously unselected package libbsd0:amd64. Preparing to unpack .../libbsd0_0.8.3-1_amd64.deb ... Unpacking libbsd0:amd64 (0.8.3-1) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../bsdmainutils_9.0.10_amd64.deb ... Unpacking bsdmainutils (9.0.10) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../libpipeline1_1.4.1-2_amd64.deb ... Unpacking libpipeline1:amd64 (1.4.1-2) ... Selecting previously unselected package man-db. Preparing to unpack .../man-db_2.7.5-1_amd64.deb ... Unpacking man-db (2.7.5-1) ... Selecting previously unselected package libpython2.7-minimal:amd64. Preparing to unpack .../libpython2.7-minimal_2.7.12-1_amd64.deb ... Unpacking libpython2.7-minimal:amd64 (2.7.12-1) ... Selecting previously unselected package python2.7-minimal. Preparing to unpack .../python2.7-minimal_2.7.12-1_amd64.deb ... Unpacking python2.7-minimal (2.7.12-1) ... Selecting previously unselected package python-minimal. Preparing to unpack .../python-minimal_2.7.11-2_amd64.deb ... Unpacking python-minimal (2.7.11-2) ... Selecting previously unselected package mime-support. Preparing to unpack .../mime-support_3.60_all.deb ... Unpacking mime-support (3.60) ... Selecting previously unselected package libexpat1:amd64. Preparing to unpack .../libexpat1_2.2.0-1_amd64.deb ... Unpacking libexpat1:amd64 (2.2.0-1) ... Selecting previously unselected package libffi6:amd64. Preparing to unpack .../libffi6_3.2.1-4_amd64.deb ... Unpacking libffi6:amd64 (3.2.1-4) ... Selecting previously unselected package libssl1.0.2:amd64. Preparing to unpack .../libssl1.0.2_1.0.2h-1_amd64.deb ... Unpacking libssl1.0.2:amd64 (1.0.2h-1) ... Selecting previously unselected package libpython2.7-stdlib:amd64. Preparing to unpack .../libpython2.7-stdlib_2.7.12-1_amd64.deb ... Unpacking libpython2.7-stdlib:amd64 (2.7.12-1) ... Selecting previously unselected package python2.7. Preparing to unpack .../python2.7_2.7.12-1_amd64.deb ... Unpacking python2.7 (2.7.12-1) ... Selecting previously unselected package libpython-stdlib:amd64. Preparing to unpack .../libpython-stdlib_2.7.11-2_amd64.deb ... Unpacking libpython-stdlib:amd64 (2.7.11-2) ... Processing triggers for libc-bin (2.23-4) ... Setting up libpython2.7-minimal:amd64 (2.7.12-1) ... Setting up python2.7-minimal (2.7.12-1) ... Setting up python-minimal (2.7.11-2) ... 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 ... 14681 files and directories currently installed.) Preparing to unpack .../python_2.7.11-2_amd64.deb ... Unpacking python (2.7.11-2) ... Selecting previously unselected package libnfnetlink0:amd64. Preparing to unpack .../libnfnetlink0_1.0.1-3_amd64.deb ... Unpacking libnfnetlink0:amd64 (1.0.1-3) ... Selecting previously unselected package libpython3.5-minimal:amd64. Preparing to unpack .../libpython3.5-minimal_3.5.2-2_amd64.deb ... Unpacking libpython3.5-minimal:amd64 (3.5.2-2) ... Selecting previously unselected package python3.5-minimal. Preparing to unpack .../python3.5-minimal_3.5.2-2_amd64.deb ... Unpacking python3.5-minimal (3.5.2-2) ... Selecting previously unselected package python3-minimal. Preparing to unpack .../python3-minimal_3.5.1-4_amd64.deb ... Unpacking python3-minimal (3.5.1-4) ... Selecting previously unselected package libmpdec2:amd64. Preparing to unpack .../libmpdec2_2.4.2-1_amd64.deb ... Unpacking libmpdec2:amd64 (2.4.2-1) ... Selecting previously unselected package libpython3.5-stdlib:amd64. Preparing to unpack .../libpython3.5-stdlib_3.5.2-2_amd64.deb ... Unpacking libpython3.5-stdlib:amd64 (3.5.2-2) ... Selecting previously unselected package python3.5. Preparing to unpack .../python3.5_3.5.2-2_amd64.deb ... Unpacking python3.5 (3.5.2-2) ... Selecting previously unselected package libpython3-stdlib:amd64. Preparing to unpack .../libpython3-stdlib_3.5.1-4_amd64.deb ... Unpacking libpython3-stdlib:amd64 (3.5.1-4) ... Selecting previously unselected package dh-python. Preparing to unpack .../dh-python_2.20160721_all.deb ... Unpacking dh-python (2.20160721) ... Processing triggers for libc-bin (2.23-4) ... Setting up libssl1.0.2:amd64 (1.0.2h-1) ... Setting up libpython3.5-minimal:amd64 (3.5.2-2) ... Setting up libexpat1:amd64 (2.2.0-1) ... Setting up python3.5-minimal (3.5.2-2) ... Setting up python3-minimal (3.5.1-4) ... Processing triggers for libc-bin (2.23-4) ... 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 ... 15661 files and directories currently installed.) Preparing to unpack .../python3_3.5.1-4_amd64.deb ... Unpacking python3 (3.5.1-4) ... Selecting previously unselected package libxtables11. Preparing to unpack .../libxtables11_1.6.0-2_amd64.deb ... Unpacking libxtables11 (1.6.0-2) ... Selecting previously unselected package iptables. Preparing to unpack .../iptables_1.6.0-2_amd64.deb ... Unpacking iptables (1.6.0-2) ... Selecting previously unselected package libprocps6:amd64. Preparing to unpack .../libprocps6_2%3a3.3.12-2_amd64.deb ... Unpacking libprocps6:amd64 (2:3.3.12-2) ... Selecting previously unselected package netbase. Preparing to unpack .../archives/netbase_5.3_all.deb ... Unpacking netbase (5.3) ... Selecting previously unselected package procps. Preparing to unpack .../procps_2%3a3.3.12-2_amd64.deb ... Unpacking procps (2:3.3.12-2) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../libmagic-mgc_1%3a5.28-4_amd64.deb ... Unpacking libmagic-mgc (1:5.28-4) ... Selecting previously unselected package libmagic1:amd64. Preparing to unpack .../libmagic1_1%3a5.28-4_amd64.deb ... Unpacking libmagic1:amd64 (1:5.28-4) ... Selecting previously unselected package file. Preparing to unpack .../file_1%3a5.28-4_amd64.deb ... Unpacking file (1:5.28-4) ... Selecting previously unselected package gettext-base. Preparing to unpack .../gettext-base_0.19.8.1-1_amd64.deb ... Unpacking gettext-base (0.19.8.1-1) ... Selecting previously unselected package libicu55:amd64. Preparing to unpack .../libicu55_55.1-7_amd64.deb ... Unpacking libicu55:amd64 (55.1-7) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../libxml2_2.9.4+dfsg1-1_amd64.deb ... Unpacking libxml2:amd64 (2.9.4+dfsg1-1) ... Selecting previously unselected package libsigsegv2:amd64. Preparing to unpack .../libsigsegv2_2.10-5_amd64.deb ... Unpacking libsigsegv2:amd64 (2.10-5) ... Selecting previously unselected package m4. Preparing to unpack .../archives/m4_1.4.17-5_amd64.deb ... Unpacking m4 (1.4.17-5) ... Selecting previously unselected package autoconf. Preparing to unpack .../autoconf_2.69-10_all.deb ... Unpacking autoconf (2.69-10) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../autotools-dev_20160430.1_all.deb ... Unpacking autotools-dev (20160430.1) ... Selecting previously unselected package automake. Preparing to unpack .../automake_1%3a1.15-4_all.deb ... Unpacking automake (1:1.15-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../autopoint_0.19.8.1-1_all.deb ... Unpacking autopoint (0.19.8.1-1) ... Selecting previously unselected package libglib2.0-0:amd64. Preparing to unpack .../libglib2.0-0_2.48.1-2_amd64.deb ... Unpacking libglib2.0-0:amd64 (2.48.1-2) ... Selecting previously unselected package libcroco3:amd64. Preparing to unpack .../libcroco3_0.6.11-1_amd64.deb ... Unpacking libcroco3:amd64 (0.6.11-1) ... Selecting previously unselected package libunistring0:amd64. Preparing to unpack .../libunistring0_0.9.6+really0.9.3-0.1_amd64.deb ... Unpacking libunistring0:amd64 (0.9.6+really0.9.3-0.1) ... Selecting previously unselected package gettext. Preparing to unpack .../gettext_0.19.8.1-1_amd64.deb ... Unpacking gettext (0.19.8.1-1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../intltool-debian_0.35.0+20060710.4_all.deb ... Unpacking intltool-debian (0.35.0+20060710.4) ... Selecting previously unselected package po-debconf. Preparing to unpack .../po-debconf_1.0.19_all.deb ... Unpacking po-debconf (1.0.19) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../libarchive-zip-perl_1.57-1_all.deb ... Unpacking libarchive-zip-perl (1.57-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../libfile-stripnondeterminism-perl_0.022-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (0.022-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../dh-strip-nondeterminism_0.022-1_all.deb ... Unpacking dh-strip-nondeterminism (0.022-1) ... Selecting previously unselected package libtool. Preparing to unpack .../libtool_2.4.6-1_all.deb ... Unpacking libtool (2.4.6-1) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../dh-autoreconf_12_all.deb ... Unpacking dh-autoreconf (12) ... Selecting previously unselected package debhelper. Preparing to unpack .../debhelper_9.20160709_all.deb ... Unpacking debhelper (9.20160709) ... Processing triggers for libc-bin (2.23-4) ... Setting up libicu55:amd64 (55.1-7) ... Setting up libarchive-zip-perl (1.57-1) ... Setting up mime-support (3.60) ... Setting up libsigsegv2:amd64 (2.10-5) ... Setting up groff-base (1.22.3-8) ... Setting up libxtables11 (1.6.0-2) ... Setting up gettext-base (0.19.8.1-1) ... Setting up libpipeline1:amd64 (1.4.1-2) ... Setting up m4 (1.4.17-5) ... Setting up libbsd0:amd64 (0.8.3-1) ... Setting up libprocps6:amd64 (2:3.3.12-2) ... Setting up libxml2:amd64 (2.9.4+dfsg1-1) ... Setting up libmagic-mgc (1:5.28-4) ... Setting up libmagic1:amd64 (1:5.28-4) ... Setting up procps (2:3.3.12-2) ... update-alternatives: using /usr/bin/w.procps to provide /usr/bin/w (w) in auto mode Setting up autotools-dev (20160430.1) ... Setting up libunistring0:amd64 (0.9.6+really0.9.3-0.1) ... Setting up libnfnetlink0:amd64 (1.0.1-3) ... Setting up libffi6:amd64 (3.2.1-4) ... Setting up bsdmainutils (9.0.10) ... 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 libpython2.7-stdlib:amd64 (2.7.12-1) ... Setting up autopoint (0.19.8.1-1) ... Setting up libmpdec2:amd64 (2.4.2-1) ... Setting up netbase (5.3) ... Setting up libfile-stripnondeterminism-perl (0.022-1) ... Setting up libglib2.0-0:amd64 (2.48.1-2) ... No schema files found: doing nothing. Setting up libpython3.5-stdlib:amd64 (3.5.2-2) ... Setting up python2.7 (2.7.12-1) ... Setting up autoconf (2.69-10) ... Setting up file (1:5.28-4) ... Setting up libcroco3:amd64 (0.6.11-1) ... Setting up libpython-stdlib:amd64 (2.7.11-2) ... Setting up iptables (1.6.0-2) ... Setting up automake (1:1.15-4) ... update-alternatives: using /usr/bin/automake-1.15 to provide /usr/bin/automake (automake) in auto mode Setting up man-db (2.7.5-1) ... Not building database; man-db/auto-update is not 'true'. Setting up python (2.7.11-2) ... Setting up libtool (2.4.6-1) ... Setting up python3.5 (3.5.2-2) ... Setting up libpython3-stdlib:amd64 (3.5.1-4) ... Setting up gettext (0.19.8.1-1) ... Setting up intltool-debian (0.35.0+20060710.4) ... Setting up po-debconf (1.0.19) ... Setting up dh-python (2.20160721) ... Setting up dh-autoreconf (12) ... Setting up python3 (3.5.1-4) ... Setting up debhelper (9.20160709) ... Setting up dh-strip-nondeterminism (0.022-1) ... Processing triggers for libc-bin (2.23-4) ... 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... The following additional packages will be installed: libfakeroot The following NEW packages will be installed: fakeroot libfakeroot debconf: delaying package configuration, since apt-utils is not installed 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/130 kB of archives. After this operation, 370 kB of additional disk space will be used. Selecting previously unselected package libfakeroot:amd64. (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 ... 17212 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.21-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.21-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.21-1_amd64.deb ... Unpacking fakeroot (1.21-1) ... Processing triggers for libc-bin (2.23-4) ... Processing triggers for man-db (2.7.5-1) ... Not building database; man-db/auto-update is not 'true'. Setting up libfakeroot:amd64 (1.21-1) ... Setting up fakeroot (1.21-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.23-4) ... I: Copying back the cached apt archive contents I: Copying source file I: copying [/home/bschmidt/tmp/build-area/ufw_0.35-2.dsc] I: copying [/home/bschmidt/tmp/build-area/ufw_0.35.orig.tar.gz] I: copying [/home/bschmidt/tmp/build-area/ufw_0.35-2.debian.tar.xz] I: Extracting source dpkg-source: warning: extracting unsigned source package (ufw_0.35-2.dsc) dpkg-source: info: extracting ufw in ufw-0.35 dpkg-source: info: unpacking ufw_0.35.orig.tar.gz dpkg-source: info: unpacking ufw_0.35-2.debian.tar.xz dpkg-source: info: applying 0001-optimize-boot.patch I: Building the package W: no hooks of type A found -- ignoring I: Running cd tmp/buildd/*/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin" dpkg-buildpackage -us -uc '-sa' '-sa' -rfakeroot dpkg-buildpackage: info: source package ufw dpkg-buildpackage: info: source version 0.35-2 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Jamie Strandboge <ja...@ubuntu.com> dpkg-source --before-build ufw-0.35 dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp make clean make[1]: Entering directory '/tmp/buildd/ufw-0.35' rm -rf ./build rm -rf ./staging rm -rf ./tests/testarea ./tests/unit/tmp rm -rf ./tmp rm -rf ./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 '/tmp/buildd/ufw-0.35' find . -name '*.py[co]' | xargs rm -f dh_clean debconf-updatepo dpkg-source -b ufw-0.35 dpkg-source: info: using source format '3.0 (quilt)' dpkg-source: info: building ufw using existing ./ufw_0.35.orig.tar.gz dpkg-source: info: building ufw in ufw_0.35-2.debian.tar.xz dpkg-source: info: building ufw in ufw_0.35-2.dsc debian/rules build dh_testdir touch build-stamp fakeroot debian/rules binary 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.35'/" ./setup.py ./run_tests.sh -i /usr/bin/python2 Interpreter: /usr/bin/python2 = Unit Tests = DEBUG: sys.path=['/tmp/buildd/ufw-0.35', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-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() ... ERROR test_get_ports (tests.unit.test_applications.ApplicationsTestCase) Test get_ports() ... ERROR test_get_profiles (tests.unit.test_applications.ApplicationsTestCase) Test get_profiles() ... ERROR test_get_title (tests.unit.test_applications.ApplicationsTestCase) Test get_title() ... ERROR test_valid_profile_name (tests.unit.test_applications.ApplicationsTestCase) Test valid_profile_name() ... ERROR test_verify_profile (tests.unit.test_applications.ApplicationsTestCase) Test verify_profile() ... ERROR test_verify_profile_bad (tests.unit.test_applications.ApplicationsTestCase) Test verify_profile() - bad ... ERROR ====================================================================== ERROR: test_get_description (tests.unit.test_applications.ApplicationsTestCase) Test get_description() ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/ufw-0.35/tests/unit/test_applications.py", line 25, in setUp self.profiles = ufw.applications.get_profiles(apps) File "/tmp/buildd/ufw-0.35/ufw/applications.py", line 37, in get_profiles raise UFWError(err_msg) UFWError: u'Profiles directory does not exist' ====================================================================== ERROR: test_get_ports (tests.unit.test_applications.ApplicationsTestCase) Test get_ports() ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/ufw-0.35/tests/unit/test_applications.py", line 25, in setUp self.profiles = ufw.applications.get_profiles(apps) File "/tmp/buildd/ufw-0.35/ufw/applications.py", line 37, in get_profiles raise UFWError(err_msg) UFWError: u'Profiles directory does not exist' ====================================================================== ERROR: test_get_profiles (tests.unit.test_applications.ApplicationsTestCase) Test get_profiles() ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/ufw-0.35/tests/unit/test_applications.py", line 25, in setUp self.profiles = ufw.applications.get_profiles(apps) File "/tmp/buildd/ufw-0.35/ufw/applications.py", line 37, in get_profiles raise UFWError(err_msg) UFWError: u'Profiles directory does not exist' ====================================================================== ERROR: test_get_title (tests.unit.test_applications.ApplicationsTestCase) Test get_title() ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/ufw-0.35/tests/unit/test_applications.py", line 25, in setUp self.profiles = ufw.applications.get_profiles(apps) File "/tmp/buildd/ufw-0.35/ufw/applications.py", line 37, in get_profiles raise UFWError(err_msg) UFWError: u'Profiles directory does not exist' ====================================================================== ERROR: test_valid_profile_name (tests.unit.test_applications.ApplicationsTestCase) Test valid_profile_name() ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/ufw-0.35/tests/unit/test_applications.py", line 25, in setUp self.profiles = ufw.applications.get_profiles(apps) File "/tmp/buildd/ufw-0.35/ufw/applications.py", line 37, in get_profiles raise UFWError(err_msg) UFWError: u'Profiles directory does not exist' ====================================================================== ERROR: test_verify_profile (tests.unit.test_applications.ApplicationsTestCase) Test verify_profile() ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/ufw-0.35/tests/unit/test_applications.py", line 25, in setUp self.profiles = ufw.applications.get_profiles(apps) File "/tmp/buildd/ufw-0.35/ufw/applications.py", line 37, in get_profiles raise UFWError(err_msg) UFWError: u'Profiles directory does not exist' ====================================================================== ERROR: test_verify_profile_bad (tests.unit.test_applications.ApplicationsTestCase) Test verify_profile() - bad ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/ufw-0.35/tests/unit/test_applications.py", line 25, in setUp self.profiles = ufw.applications.get_profiles(apps) File "/tmp/buildd/ufw-0.35/ufw/applications.py", line 37, in get_profiles raise UFWError(err_msg) UFWError: u'Profiles directory does not exist' ---------------------------------------------------------------------- Ran 7 tests in 0.002s FAILED (errors=7) test_backend test_installation_defaults (tests.unit.test_backend.BackendTestCase) Test installation defaults ... WARN: Checks disabled ERROR ====================================================================== ERROR: test_installation_defaults (tests.unit.test_backend.BackendTestCase) Test installation defaults ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/ufw-0.35/tests/unit/test_backend.py", line 30, in setUp self.backend = ufw.backend_iptables.UFWBackendIptables(dryrun=True) File "/tmp/buildd/ufw-0.35/ufw/backend_iptables.py", line 51, in __init__ rootdir=rootdir, datadir=datadir) File "/tmp/buildd/ufw-0.35/ufw/backend.py", line 54, in __init__ self._get_defaults() File "/tmp/buildd/ufw-0.35/ufw/backend.py", line 286, in _get_defaults raise UFWError(err_msg) UFWError: u"Couldn't open '/tmp/buildd/ufw-0.35/tests/unit/tmp/ufw/etc/default/ufw' for reading" ---------------------------------------------------------------------- Ran 1 test in 0.002s FAILED (errors=1) test_backend_iptables test__get_defaults (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test _get_defaults() ... ERROR test__need_reload (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test _need_reload() ... ERROR test__reload_user_rules (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test _reload_user_rules() ... ERROR test_find_application_name (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test find_application_name() ... ERROR test_find_other_position (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test find_other_position() ... ERROR test_get_app_rules_from_template (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test get_app_rules_from_template() ... ERROR test_get_default_application_policy (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test get_default_application_policy() ... ERROR test_get_loglevel (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test get_loglevel() ... ERROR test_get_matching (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test get_matching() ... ERROR test_get_rule_by_number (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test get_rule_by_number() ... ERROR test_get_rules_count (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test get_rules_count() ... ERROR test_get_running_raw (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test get_running_raw() ... ERROR test_get_status (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test get_status() ... ERROR test_reset (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test reset() ... ERROR test_set_bad_default (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test bad set_default_policy() ... ERROR test_set_bad_default_application_policy (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test bad set_default_application_policy() ... ERROR test_set_default (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test set_default() ... ERROR test_set_default_application_policy (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test set_default_application_policy() ... ERROR test_set_default_policy (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test set_default_policy() ... ERROR test_set_loglevel (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test set_loglevel() ... ERROR test_set_rule (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test set_rule() ... ERROR test_start_firewall (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test start_firewall() ... ERROR test_stop_firewall (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test stop_firewall() ... ERROR test_update_app_rule (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test upate_app_rule() ... ERROR test_update_logging (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test update_logging() ... ERROR test_use_ipv6 (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test use_ipv6() ... ERROR ====================================================================== ERROR: test__get_defaults (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test _get_defaults() ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/ufw-0.35/tests/unit/test_backend_iptables.py", line 38, in setUp shutil.copytree(d, d + ".bak") File "/usr/lib/python2.7/shutil.py", line 171, in copytree names = os.listdir(src) OSError: [Errno 2] No such file or directory: '/tmp/buildd/ufw-0.35/tests/unit/tmp/ufw/etc' ====================================================================== ERROR: test__need_reload (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test _need_reload() ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/ufw-0.35/tests/unit/test_backend_iptables.py", line 38, in setUp shutil.copytree(d, d + ".bak") File "/usr/lib/python2.7/shutil.py", line 171, in copytree names = os.listdir(src) OSError: [Errno 2] No such file or directory: '/tmp/buildd/ufw-0.35/tests/unit/tmp/ufw/etc' ====================================================================== ERROR: test__reload_user_rules (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test _reload_user_rules() ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/ufw-0.35/tests/unit/test_backend_iptables.py", line 38, in setUp shutil.copytree(d, d + ".bak") File "/usr/lib/python2.7/shutil.py", line 171, in copytree names = os.listdir(src) OSError: [Errno 2] No such file or directory: '/tmp/buildd/ufw-0.35/tests/unit/tmp/ufw/etc' ====================================================================== ERROR: test_find_application_name (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test find_application_name() ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/ufw-0.35/tests/unit/test_backend_iptables.py", line 38, in setUp shutil.copytree(d, d + ".bak") File "/usr/lib/python2.7/shutil.py", line 171, in copytree names = os.listdir(src) OSError: [Errno 2] No such file or directory: '/tmp/buildd/ufw-0.35/tests/unit/tmp/ufw/etc' ====================================================================== ERROR: test_find_other_position (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test find_other_position() ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/ufw-0.35/tests/unit/test_backend_iptables.py", line 38, in setUp shutil.copytree(d, d + ".bak") File "/usr/lib/python2.7/shutil.py", line 171, in copytree names = os.listdir(src) OSError: [Errno 2] No such file or directory: '/tmp/buildd/ufw-0.35/tests/unit/tmp/ufw/etc' ====================================================================== ERROR: test_get_app_rules_from_template (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test get_app_rules_from_template() ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/ufw-0.35/tests/unit/test_backend_iptables.py", line 38, in setUp shutil.copytree(d, d + ".bak") File "/usr/lib/python2.7/shutil.py", line 171, in copytree names = os.listdir(src) OSError: [Errno 2] No such file or directory: '/tmp/buildd/ufw-0.35/tests/unit/tmp/ufw/etc' ====================================================================== ERROR: test_get_default_application_policy (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test get_default_application_policy() ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/ufw-0.35/tests/unit/test_backend_iptables.py", line 38, in setUp shutil.copytree(d, d + ".bak") File "/usr/lib/python2.7/shutil.py", line 171, in copytree names = os.listdir(src) OSError: [Errno 2] No such file or directory: '/tmp/buildd/ufw-0.35/tests/unit/tmp/ufw/etc' ====================================================================== ERROR: test_get_loglevel (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test get_loglevel() ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/ufw-0.35/tests/unit/test_backend_iptables.py", line 38, in setUp shutil.copytree(d, d + ".bak") File "/usr/lib/python2.7/shutil.py", line 171, in copytree names = os.listdir(src) OSError: [Errno 2] No such file or directory: '/tmp/buildd/ufw-0.35/tests/unit/tmp/ufw/etc' ====================================================================== ERROR: test_get_matching (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test get_matching() ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/ufw-0.35/tests/unit/test_backend_iptables.py", line 38, in setUp shutil.copytree(d, d + ".bak") File "/usr/lib/python2.7/shutil.py", line 171, in copytree names = os.listdir(src) OSError: [Errno 2] No such file or directory: '/tmp/buildd/ufw-0.35/tests/unit/tmp/ufw/etc' ====================================================================== ERROR: test_get_rule_by_number (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test get_rule_by_number() ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/ufw-0.35/tests/unit/test_backend_iptables.py", line 38, in setUp shutil.copytree(d, d + ".bak") File "/usr/lib/python2.7/shutil.py", line 171, in copytree names = os.listdir(src) OSError: [Errno 2] No such file or directory: '/tmp/buildd/ufw-0.35/tests/unit/tmp/ufw/etc' ====================================================================== ERROR: test_get_rules_count (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test get_rules_count() ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/ufw-0.35/tests/unit/test_backend_iptables.py", line 38, in setUp shutil.copytree(d, d + ".bak") File "/usr/lib/python2.7/shutil.py", line 171, in copytree names = os.listdir(src) OSError: [Errno 2] No such file or directory: '/tmp/buildd/ufw-0.35/tests/unit/tmp/ufw/etc' ====================================================================== ERROR: test_get_running_raw (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test get_running_raw() ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/ufw-0.35/tests/unit/test_backend_iptables.py", line 38, in setUp shutil.copytree(d, d + ".bak") File "/usr/lib/python2.7/shutil.py", line 171, in copytree names = os.listdir(src) OSError: [Errno 2] No such file or directory: '/tmp/buildd/ufw-0.35/tests/unit/tmp/ufw/etc' ====================================================================== ERROR: test_get_status (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test get_status() ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/ufw-0.35/tests/unit/test_backend_iptables.py", line 38, in setUp shutil.copytree(d, d + ".bak") File "/usr/lib/python2.7/shutil.py", line 171, in copytree names = os.listdir(src) OSError: [Errno 2] No such file or directory: '/tmp/buildd/ufw-0.35/tests/unit/tmp/ufw/etc' ====================================================================== ERROR: test_reset (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test reset() ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/ufw-0.35/tests/unit/test_backend_iptables.py", line 38, in setUp shutil.copytree(d, d + ".bak") File "/usr/lib/python2.7/shutil.py", line 171, in copytree names = os.listdir(src) OSError: [Errno 2] No such file or directory: '/tmp/buildd/ufw-0.35/tests/unit/tmp/ufw/etc' ====================================================================== ERROR: test_set_bad_default (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test bad set_default_policy() ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/ufw-0.35/tests/unit/test_backend_iptables.py", line 38, in setUp shutil.copytree(d, d + ".bak") File "/usr/lib/python2.7/shutil.py", line 171, in copytree names = os.listdir(src) OSError: [Errno 2] No such file or directory: '/tmp/buildd/ufw-0.35/tests/unit/tmp/ufw/etc' ====================================================================== ERROR: test_set_bad_default_application_policy (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test bad set_default_application_policy() ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/ufw-0.35/tests/unit/test_backend_iptables.py", line 38, in setUp shutil.copytree(d, d + ".bak") File "/usr/lib/python2.7/shutil.py", line 171, in copytree names = os.listdir(src) OSError: [Errno 2] No such file or directory: '/tmp/buildd/ufw-0.35/tests/unit/tmp/ufw/etc' ====================================================================== ERROR: test_set_default (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test set_default() ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/ufw-0.35/tests/unit/test_backend_iptables.py", line 38, in setUp shutil.copytree(d, d + ".bak") File "/usr/lib/python2.7/shutil.py", line 171, in copytree names = os.listdir(src) OSError: [Errno 2] No such file or directory: '/tmp/buildd/ufw-0.35/tests/unit/tmp/ufw/etc' ====================================================================== ERROR: test_set_default_application_policy (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test set_default_application_policy() ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/ufw-0.35/tests/unit/test_backend_iptables.py", line 38, in setUp shutil.copytree(d, d + ".bak") File "/usr/lib/python2.7/shutil.py", line 171, in copytree names = os.listdir(src) OSError: [Errno 2] No such file or directory: '/tmp/buildd/ufw-0.35/tests/unit/tmp/ufw/etc' ====================================================================== ERROR: test_set_default_policy (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test set_default_policy() ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/ufw-0.35/tests/unit/test_backend_iptables.py", line 38, in setUp shutil.copytree(d, d + ".bak") File "/usr/lib/python2.7/shutil.py", line 171, in copytree names = os.listdir(src) OSError: [Errno 2] No such file or directory: '/tmp/buildd/ufw-0.35/tests/unit/tmp/ufw/etc' ====================================================================== ERROR: test_set_loglevel (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test set_loglevel() ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/ufw-0.35/tests/unit/test_backend_iptables.py", line 38, in setUp shutil.copytree(d, d + ".bak") File "/usr/lib/python2.7/shutil.py", line 171, in copytree names = os.listdir(src) OSError: [Errno 2] No such file or directory: '/tmp/buildd/ufw-0.35/tests/unit/tmp/ufw/etc' ====================================================================== ERROR: test_set_rule (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test set_rule() ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/ufw-0.35/tests/unit/test_backend_iptables.py", line 38, in setUp shutil.copytree(d, d + ".bak") File "/usr/lib/python2.7/shutil.py", line 171, in copytree names = os.listdir(src) OSError: [Errno 2] No such file or directory: '/tmp/buildd/ufw-0.35/tests/unit/tmp/ufw/etc' ====================================================================== ERROR: test_start_firewall (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test start_firewall() ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/ufw-0.35/tests/unit/test_backend_iptables.py", line 38, in setUp shutil.copytree(d, d + ".bak") File "/usr/lib/python2.7/shutil.py", line 171, in copytree names = os.listdir(src) OSError: [Errno 2] No such file or directory: '/tmp/buildd/ufw-0.35/tests/unit/tmp/ufw/etc' ====================================================================== ERROR: test_stop_firewall (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test stop_firewall() ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/ufw-0.35/tests/unit/test_backend_iptables.py", line 38, in setUp shutil.copytree(d, d + ".bak") File "/usr/lib/python2.7/shutil.py", line 171, in copytree names = os.listdir(src) OSError: [Errno 2] No such file or directory: '/tmp/buildd/ufw-0.35/tests/unit/tmp/ufw/etc' ====================================================================== ERROR: test_update_app_rule (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test upate_app_rule() ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/ufw-0.35/tests/unit/test_backend_iptables.py", line 38, in setUp shutil.copytree(d, d + ".bak") File "/usr/lib/python2.7/shutil.py", line 171, in copytree names = os.listdir(src) OSError: [Errno 2] No such file or directory: '/tmp/buildd/ufw-0.35/tests/unit/tmp/ufw/etc' ====================================================================== ERROR: test_update_logging (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test update_logging() ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/ufw-0.35/tests/unit/test_backend_iptables.py", line 38, in setUp shutil.copytree(d, d + ".bak") File "/usr/lib/python2.7/shutil.py", line 171, in copytree names = os.listdir(src) OSError: [Errno 2] No such file or directory: '/tmp/buildd/ufw-0.35/tests/unit/tmp/ufw/etc' ====================================================================== ERROR: test_use_ipv6 (tests.unit.test_backend_iptables.BackendIptablesTestCase) Test use_ipv6() ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/ufw-0.35/tests/unit/test_backend_iptables.py", line 38, in setUp shutil.copytree(d, d + ".bak") File "/usr/lib/python2.7/shutil.py", line 171, in copytree names = os.listdir(src) OSError: [Errno 2] No such file or directory: '/tmp/buildd/ufw-0.35/tests/unit/tmp/ufw/etc' ---------------------------------------------------------------------- Ran 26 tests in 0.010s FAILED (errors=26) 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.065s OK test_frontend test___init__ (tests.unit.test_frontend.FrontendTestCase) Test __init__() ... WARN: Checks disabled ERROR test_application_add (tests.unit.test_frontend.FrontendTestCase) Test application_add() ... WARN: Checks disabled ERROR test_continue_under_ssh (tests.unit.test_frontend.FrontendTestCase) Test continue_under_ssh() ... WARN: Checks disabled ERROR test_do_action (tests.unit.test_frontend.FrontendTestCase) Test do_action() ... WARN: Checks disabled ERROR test_do_action_remove_bad_appname (tests.unit.test_frontend.FrontendTestCase) Test do_action() remove bad appname ... WARN: Checks disabled ERROR test_do_application_action (tests.unit.test_frontend.FrontendTestCase) Test do_application_action() ... WARN: Checks disabled ERROR test_get_command_help (tests.unit.test_frontend.FrontendTestCase) Test get_command_help() ... WARN: Checks disabled ERROR test_get_show_added (tests.unit.test_frontend.FrontendTestCase) Test get_show_added() ... WARN: Checks disabled ERROR test_get_show_listening (tests.unit.test_frontend.FrontendTestCase) Test get_show_listening() ... WARN: Checks disabled ERROR test_get_show_raw (tests.unit.test_frontend.FrontendTestCase) Test get_show_raw() ... WARN: Checks disabled ERROR test_parse_command (tests.unit.test_frontend.FrontendTestCase) Test parse_command() ... WARN: Checks disabled ERROR test_parse_command_bad (tests.unit.test_frontend.FrontendTestCase) Test parse_command_bad ... WARN: Checks disabled ERROR ====================================================================== ERROR: test___init__ (tests.unit.test_frontend.FrontendTestCase) Test __init__() ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/ufw-0.35/tests/unit/test_frontend.py", line 45, in setUp self.ui = ufw.frontend.UFWFrontend(dryrun=True) File "/tmp/buildd/ufw-0.35/ufw/frontend.py", line 165, in __init__ datadir=datadir) File "/tmp/buildd/ufw-0.35/ufw/backend_iptables.py", line 51, in __init__ rootdir=rootdir, datadir=datadir) File "/tmp/buildd/ufw-0.35/ufw/backend.py", line 54, in __init__ self._get_defaults() File "/tmp/buildd/ufw-0.35/ufw/backend.py", line 286, in _get_defaults raise UFWError(err_msg) UFWError: u"Couldn't open '/tmp/buildd/ufw-0.35/tests/unit/tmp/ufw/etc/default/ufw' for reading" ====================================================================== ERROR: test_application_add (tests.unit.test_frontend.FrontendTestCase) Test application_add() ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/ufw-0.35/tests/unit/test_frontend.py", line 45, in setUp self.ui = ufw.frontend.UFWFrontend(dryrun=True) File "/tmp/buildd/ufw-0.35/ufw/frontend.py", line 165, in __init__ datadir=datadir) File "/tmp/buildd/ufw-0.35/ufw/backend_iptables.py", line 51, in __init__ rootdir=rootdir, datadir=datadir) File "/tmp/buildd/ufw-0.35/ufw/backend.py", line 54, in __init__ self._get_defaults() File "/tmp/buildd/ufw-0.35/ufw/backend.py", line 286, in _get_defaults raise UFWError(err_msg) UFWError: u"Couldn't open '/tmp/buildd/ufw-0.35/tests/unit/tmp/ufw/etc/default/ufw' for reading" ====================================================================== ERROR: test_continue_under_ssh (tests.unit.test_frontend.FrontendTestCase) Test continue_under_ssh() ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/ufw-0.35/tests/unit/test_frontend.py", line 45, in setUp self.ui = ufw.frontend.UFWFrontend(dryrun=True) File "/tmp/buildd/ufw-0.35/ufw/frontend.py", line 165, in __init__ datadir=datadir) File "/tmp/buildd/ufw-0.35/ufw/backend_iptables.py", line 51, in __init__ rootdir=rootdir, datadir=datadir) File "/tmp/buildd/ufw-0.35/ufw/backend.py", line 54, in __init__ self._get_defaults() File "/tmp/buildd/ufw-0.35/ufw/backend.py", line 286, in _get_defaults raise UFWError(err_msg) UFWError: u"Couldn't open '/tmp/buildd/ufw-0.35/tests/unit/tmp/ufw/etc/default/ufw' for reading" ====================================================================== ERROR: test_do_action (tests.unit.test_frontend.FrontendTestCase) Test do_action() ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/ufw-0.35/tests/unit/test_frontend.py", line 45, in setUp self.ui = ufw.frontend.UFWFrontend(dryrun=True) File "/tmp/buildd/ufw-0.35/ufw/frontend.py", line 165, in __init__ datadir=datadir) File "/tmp/buildd/ufw-0.35/ufw/backend_iptables.py", line 51, in __init__ rootdir=rootdir, datadir=datadir) File "/tmp/buildd/ufw-0.35/ufw/backend.py", line 54, in __init__ self._get_defaults() File "/tmp/buildd/ufw-0.35/ufw/backend.py", line 286, in _get_defaults raise UFWError(err_msg) UFWError: u"Couldn't open '/tmp/buildd/ufw-0.35/tests/unit/tmp/ufw/etc/default/ufw' for reading" ====================================================================== ERROR: test_do_action_remove_bad_appname (tests.unit.test_frontend.FrontendTestCase) Test do_action() remove bad appname ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/ufw-0.35/tests/unit/test_frontend.py", line 45, in setUp self.ui = ufw.frontend.UFWFrontend(dryrun=True) File "/tmp/buildd/ufw-0.35/ufw/frontend.py", line 165, in __init__ datadir=datadir) File "/tmp/buildd/ufw-0.35/ufw/backend_iptables.py", line 51, in __init__ rootdir=rootdir, datadir=datadir) File "/tmp/buildd/ufw-0.35/ufw/backend.py", line 54, in __init__ self._get_defaults() File "/tmp/buildd/ufw-0.35/ufw/backend.py", line 286, in _get_defaults raise UFWError(err_msg) UFWError: u"Couldn't open '/tmp/buildd/ufw-0.35/tests/unit/tmp/ufw/etc/default/ufw' for reading" ====================================================================== ERROR: test_do_application_action (tests.unit.test_frontend.FrontendTestCase) Test do_application_action() ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/ufw-0.35/tests/unit/test_frontend.py", line 45, in setUp self.ui = ufw.frontend.UFWFrontend(dryrun=True) File "/tmp/buildd/ufw-0.35/ufw/frontend.py", line 165, in __init__ datadir=datadir) File "/tmp/buildd/ufw-0.35/ufw/backend_iptables.py", line 51, in __init__ rootdir=rootdir, datadir=datadir) File "/tmp/buildd/ufw-0.35/ufw/backend.py", line 54, in __init__ self._get_defaults() File "/tmp/buildd/ufw-0.35/ufw/backend.py", line 286, in _get_defaults raise UFWError(err_msg) UFWError: u"Couldn't open '/tmp/buildd/ufw-0.35/tests/unit/tmp/ufw/etc/default/ufw' for reading" ====================================================================== ERROR: test_get_command_help (tests.unit.test_frontend.FrontendTestCase) Test get_command_help() ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/ufw-0.35/tests/unit/test_frontend.py", line 45, in setUp self.ui = ufw.frontend.UFWFrontend(dryrun=True) File "/tmp/buildd/ufw-0.35/ufw/frontend.py", line 165, in __init__ datadir=datadir) File "/tmp/buildd/ufw-0.35/ufw/backend_iptables.py", line 51, in __init__ rootdir=rootdir, datadir=datadir) File "/tmp/buildd/ufw-0.35/ufw/backend.py", line 54, in __init__ self._get_defaults() File "/tmp/buildd/ufw-0.35/ufw/backend.py", line 286, in _get_defaults raise UFWError(err_msg) UFWError: u"Couldn't open '/tmp/buildd/ufw-0.35/tests/unit/tmp/ufw/etc/default/ufw' for reading" ====================================================================== ERROR: test_get_show_added (tests.unit.test_frontend.FrontendTestCase) Test get_show_added() ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/ufw-0.35/tests/unit/test_frontend.py", line 45, in setUp self.ui = ufw.frontend.UFWFrontend(dryrun=True) File "/tmp/buildd/ufw-0.35/ufw/frontend.py", line 165, in __init__ datadir=datadir) File "/tmp/buildd/ufw-0.35/ufw/backend_iptables.py", line 51, in __init__ rootdir=rootdir, datadir=datadir) File "/tmp/buildd/ufw-0.35/ufw/backend.py", line 54, in __init__ self._get_defaults() File "/tmp/buildd/ufw-0.35/ufw/backend.py", line 286, in _get_defaults raise UFWError(err_msg) UFWError: u"Couldn't open '/tmp/buildd/ufw-0.35/tests/unit/tmp/ufw/etc/default/ufw' for reading" ====================================================================== ERROR: test_get_show_listening (tests.unit.test_frontend.FrontendTestCase) Test get_show_listening() ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/ufw-0.35/tests/unit/test_frontend.py", line 45, in setUp self.ui = ufw.frontend.UFWFrontend(dryrun=True) File "/tmp/buildd/ufw-0.35/ufw/frontend.py", line 165, in __init__ datadir=datadir) File "/tmp/buildd/ufw-0.35/ufw/backend_iptables.py", line 51, in __init__ rootdir=rootdir, datadir=datadir) File "/tmp/buildd/ufw-0.35/ufw/backend.py", line 54, in __init__ self._get_defaults() File "/tmp/buildd/ufw-0.35/ufw/backend.py", line 286, in _get_defaults raise UFWError(err_msg) UFWError: u"Couldn't open '/tmp/buildd/ufw-0.35/tests/unit/tmp/ufw/etc/default/ufw' for reading" ====================================================================== ERROR: test_get_show_raw (tests.unit.test_frontend.FrontendTestCase) Test get_show_raw() ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/ufw-0.35/tests/unit/test_frontend.py", line 45, in setUp self.ui = ufw.frontend.UFWFrontend(dryrun=True) File "/tmp/buildd/ufw-0.35/ufw/frontend.py", line 165, in __init__ datadir=datadir) File "/tmp/buildd/ufw-0.35/ufw/backend_iptables.py", line 51, in __init__ rootdir=rootdir, datadir=datadir) File "/tmp/buildd/ufw-0.35/ufw/backend.py", line 54, in __init__ self._get_defaults() File "/tmp/buildd/ufw-0.35/ufw/backend.py", line 286, in _get_defaults raise UFWError(err_msg) UFWError: u"Couldn't open '/tmp/buildd/ufw-0.35/tests/unit/tmp/ufw/etc/default/ufw' for reading" ====================================================================== ERROR: test_parse_command (tests.unit.test_frontend.FrontendTestCase) Test parse_command() ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/ufw-0.35/tests/unit/test_frontend.py", line 45, in setUp self.ui = ufw.frontend.UFWFrontend(dryrun=True) File "/tmp/buildd/ufw-0.35/ufw/frontend.py", line 165, in __init__ datadir=datadir) File "/tmp/buildd/ufw-0.35/ufw/backend_iptables.py", line 51, in __init__ rootdir=rootdir, datadir=datadir) File "/tmp/buildd/ufw-0.35/ufw/backend.py", line 54, in __init__ self._get_defaults() File "/tmp/buildd/ufw-0.35/ufw/backend.py", line 286, in _get_defaults raise UFWError(err_msg) UFWError: u"Couldn't open '/tmp/buildd/ufw-0.35/tests/unit/tmp/ufw/etc/default/ufw' for reading" ====================================================================== ERROR: test_parse_command_bad (tests.unit.test_frontend.FrontendTestCase) Test parse_command_bad ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/buildd/ufw-0.35/tests/unit/test_frontend.py", line 45, in setUp self.ui = ufw.frontend.UFWFrontend(dryrun=True) File "/tmp/buildd/ufw-0.35/ufw/frontend.py", line 165, in __init__ datadir=datadir) File "/tmp/buildd/ufw-0.35/ufw/backend_iptables.py", line 51, in __init__ rootdir=rootdir, datadir=datadir) File "/tmp/buildd/ufw-0.35/ufw/backend.py", line 54, in __init__ self._get_defaults() File "/tmp/buildd/ufw-0.35/ufw/backend.py", line 286, in _get_defaults raise UFWError(err_msg) UFWError: u"Couldn't open '/tmp/buildd/ufw-0.35/tests/unit/tmp/ufw/etc/default/ufw' for reading" ---------------------------------------------------------------------- Ran 12 tests in 0.005s FAILED (errors=12) 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_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 23 tests in 35.883s 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_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 45 tests in 0.389s OK ------------------ Unit tests summary ------------------ Total=8 (Passed=4, Failed=4) Found unit test failures. Aborting and skipping functional tests debian/rules:32: recipe for target 'install' failed make: *** [install] Error 1 dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2 E: Failed autobuilding of package I: user script /var/cache/pbuilder/build/cow.53374/tmp/hooks/C10shell starting Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: libgpm2 vim-common vim-runtime Suggested packages: gpm ctags vim-doc vim-scripts The following NEW packages will be installed: less libgpm2 vim vim-common vim-runtime 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. Need to get 6675 kB of archives. After this operation, 30.6 MB of additional disk space will be used. Get:1 http://debian.mirror.lrz.de/debian sid/main amd64 vim-common amd64 2:7.4.1829-1 [229 kB] Get:2 http://debian.mirror.lrz.de/debian sid/main amd64 less amd64 481-2.1 [126 kB] Get:3 http://debian.mirror.lrz.de/debian sid/main amd64 libgpm2 amd64 1.20.4-6.2 [33.9 kB] Get:4 http://debian.mirror.lrz.de/debian sid/main amd64 vim-runtime all 2:7.4.1829-1 [5283 kB] Get:5 http://debian.mirror.lrz.de/debian sid/main amd64 vim amd64 2:7.4.1829-1 [1003 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 6675 kB in 0s (80.5 MB/s) Selecting previously unselected package vim-common. (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 ... 17260 files and directories currently installed.) Preparing to unpack .../vim-common_2%3a7.4.1829-1_amd64.deb ... Unpacking vim-common (2:7.4.1829-1) ... Selecting previously unselected package less. Preparing to unpack .../less_481-2.1_amd64.deb ... Unpacking less (481-2.1) ... Selecting previously unselected package libgpm2:amd64. Preparing to unpack .../libgpm2_1.20.4-6.2_amd64.deb ... Unpacking libgpm2:amd64 (1.20.4-6.2) ... Selecting previously unselected package vim-runtime. Preparing to unpack .../vim-runtime_2%3a7.4.1829-1_all.deb ... Adding 'diversion of /usr/share/vim/vim74/doc/help.txt to /usr/share/vim/vim74/doc/help.txt.vim-tiny by vim-runtime' Adding 'diversion of /usr/share/vim/vim74/doc/tags to /usr/share/vim/vim74/doc/tags.vim-tiny by vim-runtime' Unpacking vim-runtime (2:7.4.1829-1) ... Selecting previously unselected package vim. Preparing to unpack .../vim_2%3a7.4.1829-1_amd64.deb ... Unpacking vim (2:7.4.1829-1) ... Processing triggers for mime-support (3.60) ... Processing triggers for man-db (2.7.5-1) ... Not building database; man-db/auto-update is not 'true'. Processing triggers for libc-bin (2.23-4) ... Setting up less (481-2.1) ... Setting up libgpm2:amd64 (1.20.4-6.2) ... Setting up vim-common (2:7.4.1829-1) ... Setting up vim-runtime (2:7.4.1829-1) ... Setting up vim (2:7.4.1829-1) ... update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode Processing triggers for libc-bin (2.23-4) ... I: user script /var/cache/pbuilder/build/cow.53374/tmp/hooks/C10shell finished I: unmounting dev/pts filesystem I: unmounting run/shm filesystem I: unmounting proc filesystem -> Cleaning COW directory forking: rm -rf /var/cache/pbuilder/build//cow.53374
dpkg-checkbuilddeps: Unmet build dependencies: dh-systemd W: Unmet build-dependency in source dpkg-buildpackage: source package ufw dpkg-buildpackage: source version 0.35-2 dpkg-buildpackage: source distribution unstable dpkg-buildpackage: source changed by Jamie Strandboge <ja...@ubuntu.com> dpkg-source --before-build ufw-0.35 dpkg-checkbuilddeps: Unmet build dependencies: dh-systemd dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting dpkg-buildpackage: warning: (Use -d flag to override.) dpkg-buildpackage: warning: this is currently a non-fatal warning with -S, but will probably become fatal in the future fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp make clean make[1]: Entering directory '/home/bschmidt/tmp/build-area/ufw-0.35' rm -rf ./build rm -rf ./staging rm -rf ./tests/testarea ./tests/unit/tmp rm -rf ./tmp rm -rf ./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 '/home/bschmidt/tmp/build-area/ufw-0.35' find . -name '*.py[co]' | xargs rm -f dh_clean debconf-updatepo dpkg-source -b ufw-0.35 dpkg-source: info: using source format `3.0 (quilt)' dpkg-source: info: building ufw using existing ./ufw_0.35.orig.tar.gz dpkg-source: info: building ufw in ufw_0.35-2.debian.tar.xz dpkg-source: info: building ufw in ufw_0.35-2.dsc dpkg-genchanges -S -sa >../ufw_0.35-2_source.changes dpkg-genchanges: including full source code in upload dpkg-source --after-build ufw-0.35 dpkg-source: info: unapplying 0001-optimize-boot.patch dpkg-buildpackage: full upload (original source is included) -> Copying COW directory forking: rm -rf /var/cache/pbuilder/build//cow.61666 forking: cp -al /var/cache/pbuilder/base-sid-amd64.cow /var/cache/pbuilder/build//cow.61666 I: removed stale ilistfile /var/cache/pbuilder/build//cow.61666/.ilist forking: chroot /var/cache/pbuilder/build//cow.61666 cowdancer-ilistcreate /.ilist find . -xdev -path ./home -prune -o \( \( -type l -o -type f \) -a -links +1 -print0 \) | xargs -0 stat --format '%d %i ' -> Invoking pbuilder forking: pbuilder build --debbuildopts --debbuildopts '-sa' --buildplace /var/cache/pbuilder/build//cow.61666 --buildresult /home/bschmidt/tmp/build-area --debbuildopts '-sa' --no-targz --internal-chrootexec chroot /var/cache/pbuilder/build//cow.61666 cow-shell /home/bschmidt/tmp/build-area/ufw_0.35-2.dsc W: /home/bschmidt/.pbuilderrc does not exist I: Running in no-targz mode I: using fakeroot in build. I: pbuilder: network access will be disabled during build I: Current time: Tue Aug 2 14:19:12 CEST 2016 I: pbuilder-time-stamp: 1470140352 I: copying local configuration I: mounting /proc filesystem I: mounting /run/shm filesystem I: mounting /dev/pts filesystem I: policy-rc.d already exists I: Obtaining the cached apt archive contents I: Installing the build-deps I: user script /var/cache/pbuilder/build/cow.61666/tmp/hooks/D80no-man-db-rebuild starting I: Preseed man-db/auto-update to false I: user script /var/cache/pbuilder/build/cow.61666/tmp/hooks/D80no-man-db-rebuild finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: amd64 Maintainer: Debian Pbuilder Team <pbuilder-ma...@lists.alioth.debian.org> 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 (>= 7.3.15ubuntu2), dh-systemd, po-debconf, python (>= 2.6.6-3~), python3 (>= 3.2), 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 ... 13321 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 (>= 7.3.15ubuntu2); however: Package debhelper is not installed. pbuilder-satisfydepends-dummy depends on dh-systemd; however: Package dh-systemd 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 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} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} iptables{a} libarchive-zip-perl{a} libbsd0{a} libcroco3{a} libexpat1{a} libffi6{a} libfile-stripnondeterminism-perl{a} libglib2.0-0{a} libicu55{a} libmagic-mgc{a} libmagic1{a} libmpdec2{a} libnfnetlink0{a} libpipeline1{a} libprocps6{a} libpython-stdlib{a} libpython2.7-minimal{a} libpython2.7-stdlib{a} libpython3-stdlib{a} libpython3.5-minimal{a} libpython3.5-stdlib{a} libsigsegv2{a} libssl1.0.2{a} libtool{a} libunistring0{a} libxml2{a} libxtables11{a} m4{a} man-db{a} mime-support{a} netbase{a} po-debconf{a} procps{a} python{a} python-minimal{a} python2.7{a} python2.7-minimal{a} python3{a} python3-minimal{a} python3.5{a} python3.5-minimal{a} The following packages are RECOMMENDED but will NOT be installed: curl ifupdown ifupdown2 libglib2.0-data libltdl-dev libmail-sendmail-perl lynx-cur netscript-2.4 psmisc shared-mime-info wget xdg-user-dirs xml-core 0 packages upgraded, 55 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/30.8 MB of archives. After unpacking 114 MB will be used. Writing extended state information... debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package groff-base. (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 ... 13321 files and directories currently installed.) Preparing to unpack .../groff-base_1.22.3-8_amd64.deb ... Unpacking groff-base (1.22.3-8) ... Selecting previously unselected package libbsd0:amd64. Preparing to unpack .../libbsd0_0.8.3-1_amd64.deb ... Unpacking libbsd0:amd64 (0.8.3-1) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../bsdmainutils_9.0.10_amd64.deb ... Unpacking bsdmainutils (9.0.10) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../libpipeline1_1.4.1-2_amd64.deb ... Unpacking libpipeline1:amd64 (1.4.1-2) ... Selecting previously unselected package man-db. Preparing to unpack .../man-db_2.7.5-1_amd64.deb ... Unpacking man-db (2.7.5-1) ... Selecting previously unselected package libpython2.7-minimal:amd64. Preparing to unpack .../libpython2.7-minimal_2.7.12-1_amd64.deb ... Unpacking libpython2.7-minimal:amd64 (2.7.12-1) ... Selecting previously unselected package python2.7-minimal. Preparing to unpack .../python2.7-minimal_2.7.12-1_amd64.deb ... Unpacking python2.7-minimal (2.7.12-1) ... Selecting previously unselected package python-minimal. Preparing to unpack .../python-minimal_2.7.11-2_amd64.deb ... Unpacking python-minimal (2.7.11-2) ... Selecting previously unselected package mime-support. Preparing to unpack .../mime-support_3.60_all.deb ... Unpacking mime-support (3.60) ... Selecting previously unselected package libexpat1:amd64. Preparing to unpack .../libexpat1_2.2.0-1_amd64.deb ... Unpacking libexpat1:amd64 (2.2.0-1) ... Selecting previously unselected package libffi6:amd64. Preparing to unpack .../libffi6_3.2.1-4_amd64.deb ... Unpacking libffi6:amd64 (3.2.1-4) ... Selecting previously unselected package libssl1.0.2:amd64. Preparing to unpack .../libssl1.0.2_1.0.2h-1_amd64.deb ... Unpacking libssl1.0.2:amd64 (1.0.2h-1) ... Selecting previously unselected package libpython2.7-stdlib:amd64. Preparing to unpack .../libpython2.7-stdlib_2.7.12-1_amd64.deb ... Unpacking libpython2.7-stdlib:amd64 (2.7.12-1) ... Selecting previously unselected package python2.7. Preparing to unpack .../python2.7_2.7.12-1_amd64.deb ... Unpacking python2.7 (2.7.12-1) ... Selecting previously unselected package libpython-stdlib:amd64. Preparing to unpack .../libpython-stdlib_2.7.11-2_amd64.deb ... Unpacking libpython-stdlib:amd64 (2.7.11-2) ... Processing triggers for libc-bin (2.23-4) ... Setting up libpython2.7-minimal:amd64 (2.7.12-1) ... Setting up python2.7-minimal (2.7.12-1) ... Setting up python-minimal (2.7.11-2) ... 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 ... 14681 files and directories currently installed.) Preparing to unpack .../python_2.7.11-2_amd64.deb ... Unpacking python (2.7.11-2) ... Selecting previously unselected package libnfnetlink0:amd64. Preparing to unpack .../libnfnetlink0_1.0.1-3_amd64.deb ... Unpacking libnfnetlink0:amd64 (1.0.1-3) ... Selecting previously unselected package libpython3.5-minimal:amd64. Preparing to unpack .../libpython3.5-minimal_3.5.2-2_amd64.deb ... Unpacking libpython3.5-minimal:amd64 (3.5.2-2) ... Selecting previously unselected package python3.5-minimal. Preparing to unpack .../python3.5-minimal_3.5.2-2_amd64.deb ... Unpacking python3.5-minimal (3.5.2-2) ... Selecting previously unselected package python3-minimal. Preparing to unpack .../python3-minimal_3.5.1-4_amd64.deb ... Unpacking python3-minimal (3.5.1-4) ... Selecting previously unselected package libmpdec2:amd64. Preparing to unpack .../libmpdec2_2.4.2-1_amd64.deb ... Unpacking libmpdec2:amd64 (2.4.2-1) ... Selecting previously unselected package libpython3.5-stdlib:amd64. Preparing to unpack .../libpython3.5-stdlib_3.5.2-2_amd64.deb ... Unpacking libpython3.5-stdlib:amd64 (3.5.2-2) ... Selecting previously unselected package python3.5. Preparing to unpack .../python3.5_3.5.2-2_amd64.deb ... Unpacking python3.5 (3.5.2-2) ... Selecting previously unselected package libpython3-stdlib:amd64. Preparing to unpack .../libpython3-stdlib_3.5.1-4_amd64.deb ... Unpacking libpython3-stdlib:amd64 (3.5.1-4) ... Selecting previously unselected package dh-python. Preparing to unpack .../dh-python_2.20160721_all.deb ... Unpacking dh-python (2.20160721) ... Processing triggers for libc-bin (2.23-4) ... Setting up libssl1.0.2:amd64 (1.0.2h-1) ... Setting up libpython3.5-minimal:amd64 (3.5.2-2) ... Setting up libexpat1:amd64 (2.2.0-1) ... Setting up python3.5-minimal (3.5.2-2) ... Setting up python3-minimal (3.5.1-4) ... Processing triggers for libc-bin (2.23-4) ... 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 ... 15661 files and directories currently installed.) Preparing to unpack .../python3_3.5.1-4_amd64.deb ... Unpacking python3 (3.5.1-4) ... Selecting previously unselected package libxtables11. Preparing to unpack .../libxtables11_1.6.0-2_amd64.deb ... Unpacking libxtables11 (1.6.0-2) ... Selecting previously unselected package iptables. Preparing to unpack .../iptables_1.6.0-2_amd64.deb ... Unpacking iptables (1.6.0-2) ... Selecting previously unselected package libprocps6:amd64. Preparing to unpack .../libprocps6_2%3a3.3.12-2_amd64.deb ... Unpacking libprocps6:amd64 (2:3.3.12-2) ... Selecting previously unselected package netbase. Preparing to unpack .../archives/netbase_5.3_all.deb ... Unpacking netbase (5.3) ... Selecting previously unselected package procps. Preparing to unpack .../procps_2%3a3.3.12-2_amd64.deb ... Unpacking procps (2:3.3.12-2) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../libmagic-mgc_1%3a5.28-4_amd64.deb ... Unpacking libmagic-mgc (1:5.28-4) ... Selecting previously unselected package libmagic1:amd64. Preparing to unpack .../libmagic1_1%3a5.28-4_amd64.deb ... Unpacking libmagic1:amd64 (1:5.28-4) ... Selecting previously unselected package file. Preparing to unpack .../file_1%3a5.28-4_amd64.deb ... Unpacking file (1:5.28-4) ... Selecting previously unselected package gettext-base. Preparing to unpack .../gettext-base_0.19.8.1-1_amd64.deb ... Unpacking gettext-base (0.19.8.1-1) ... Selecting previously unselected package libicu55:amd64. Preparing to unpack .../libicu55_55.1-7_amd64.deb ... Unpacking libicu55:amd64 (55.1-7) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../libxml2_2.9.4+dfsg1-1_amd64.deb ... Unpacking libxml2:amd64 (2.9.4+dfsg1-1) ... Selecting previously unselected package libsigsegv2:amd64. Preparing to unpack .../libsigsegv2_2.10-5_amd64.deb ... Unpacking libsigsegv2:amd64 (2.10-5) ... Selecting previously unselected package m4. Preparing to unpack .../archives/m4_1.4.17-5_amd64.deb ... Unpacking m4 (1.4.17-5) ... Selecting previously unselected package autoconf. Preparing to unpack .../autoconf_2.69-10_all.deb ... Unpacking autoconf (2.69-10) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../autotools-dev_20160430.1_all.deb ... Unpacking autotools-dev (20160430.1) ... Selecting previously unselected package automake. Preparing to unpack .../automake_1%3a1.15-4_all.deb ... Unpacking automake (1:1.15-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../autopoint_0.19.8.1-1_all.deb ... Unpacking autopoint (0.19.8.1-1) ... Selecting previously unselected package libglib2.0-0:amd64. Preparing to unpack .../libglib2.0-0_2.48.1-2_amd64.deb ... Unpacking libglib2.0-0:amd64 (2.48.1-2) ... Selecting previously unselected package libcroco3:amd64. Preparing to unpack .../libcroco3_0.6.11-1_amd64.deb ... Unpacking libcroco3:amd64 (0.6.11-1) ... Selecting previously unselected package libunistring0:amd64. Preparing to unpack .../libunistring0_0.9.6+really0.9.3-0.1_amd64.deb ... Unpacking libunistring0:amd64 (0.9.6+really0.9.3-0.1) ... Selecting previously unselected package gettext. Preparing to unpack .../gettext_0.19.8.1-1_amd64.deb ... Unpacking gettext (0.19.8.1-1) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../intltool-debian_0.35.0+20060710.4_all.deb ... Unpacking intltool-debian (0.35.0+20060710.4) ... Selecting previously unselected package po-debconf. Preparing to unpack .../po-debconf_1.0.19_all.deb ... Unpacking po-debconf (1.0.19) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../libarchive-zip-perl_1.57-1_all.deb ... Unpacking libarchive-zip-perl (1.57-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../libfile-stripnondeterminism-perl_0.022-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (0.022-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../dh-strip-nondeterminism_0.022-1_all.deb ... Unpacking dh-strip-nondeterminism (0.022-1) ... Selecting previously unselected package libtool. Preparing to unpack .../libtool_2.4.6-1_all.deb ... Unpacking libtool (2.4.6-1) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../dh-autoreconf_12_all.deb ... Unpacking dh-autoreconf (12) ... Selecting previously unselected package debhelper. Preparing to unpack .../debhelper_9.20160709_all.deb ... Unpacking debhelper (9.20160709) ... Processing triggers for libc-bin (2.23-4) ... Setting up libicu55:amd64 (55.1-7) ... Setting up libarchive-zip-perl (1.57-1) ... Setting up mime-support (3.60) ... Setting up libsigsegv2:amd64 (2.10-5) ... Setting up groff-base (1.22.3-8) ... Setting up libxtables11 (1.6.0-2) ... Setting up gettext-base (0.19.8.1-1) ... Setting up libpipeline1:amd64 (1.4.1-2) ... Setting up m4 (1.4.17-5) ... Setting up libbsd0:amd64 (0.8.3-1) ... Setting up libprocps6:amd64 (2:3.3.12-2) ... Setting up libxml2:amd64 (2.9.4+dfsg1-1) ... Setting up libmagic-mgc (1:5.28-4) ... Setting up libmagic1:amd64 (1:5.28-4) ... Setting up procps (2:3.3.12-2) ... update-alternatives: using /usr/bin/w.procps to provide /usr/bin/w (w) in auto mode Setting up autotools-dev (20160430.1) ... Setting up libunistring0:amd64 (0.9.6+really0.9.3-0.1) ... Setting up libnfnetlink0:amd64 (1.0.1-3) ... Setting up libffi6:amd64 (3.2.1-4) ... Setting up bsdmainutils (9.0.10) ... 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 libpython2.7-stdlib:amd64 (2.7.12-1) ... Setting up autopoint (0.19.8.1-1) ... Setting up libmpdec2:amd64 (2.4.2-1) ... Setting up netbase (5.3) ... Setting up libfile-stripnondeterminism-perl (0.022-1) ... Setting up libglib2.0-0:amd64 (2.48.1-2) ... No schema files found: doing nothing. Setting up libpython3.5-stdlib:amd64 (3.5.2-2) ... Setting up python2.7 (2.7.12-1) ... Setting up autoconf (2.69-10) ... Setting up file (1:5.28-4) ... Setting up libcroco3:amd64 (0.6.11-1) ... Setting up libpython-stdlib:amd64 (2.7.11-2) ... Setting up iptables (1.6.0-2) ... Setting up automake (1:1.15-4) ... update-alternatives: using /usr/bin/automake-1.15 to provide /usr/bin/automake (automake) in auto mode Setting up man-db (2.7.5-1) ... Not building database; man-db/auto-update is not 'true'. Setting up python (2.7.11-2) ... Setting up libtool (2.4.6-1) ... Setting up python3.5 (3.5.2-2) ... Setting up libpython3-stdlib:amd64 (3.5.1-4) ... Setting up gettext (0.19.8.1-1) ... Setting up intltool-debian (0.35.0+20060710.4) ... Setting up po-debconf (1.0.19) ... Setting up dh-python (2.20160721) ... Setting up dh-autoreconf (12) ... Setting up python3 (3.5.1-4) ... Setting up debhelper (9.20160709) ... Setting up dh-strip-nondeterminism (0.022-1) ... Processing triggers for libc-bin (2.23-4) ... 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... The following additional packages will be installed: libfakeroot The following NEW packages will be installed: fakeroot libfakeroot debconf: delaying package configuration, since apt-utils is not installed 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/130 kB of archives. After this operation, 370 kB of additional disk space will be used. Selecting previously unselected package libfakeroot:amd64. (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 ... 17212 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.21-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.21-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.21-1_amd64.deb ... Unpacking fakeroot (1.21-1) ... Processing triggers for libc-bin (2.23-4) ... Processing triggers for man-db (2.7.5-1) ... Not building database; man-db/auto-update is not 'true'. Setting up libfakeroot:amd64 (1.21-1) ... Setting up fakeroot (1.21-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.23-4) ... I: Copying back the cached apt archive contents I: Copying source file I: copying [/home/bschmidt/tmp/build-area/ufw_0.35-2.dsc] I: copying [/home/bschmidt/tmp/build-area/ufw_0.35.orig.tar.gz] I: copying [/home/bschmidt/tmp/build-area/ufw_0.35-2.debian.tar.xz] I: Extracting source dpkg-source: warning: extracting unsigned source package (ufw_0.35-2.dsc) dpkg-source: info: extracting ufw in ufw-0.35 dpkg-source: info: unpacking ufw_0.35.orig.tar.gz dpkg-source: info: unpacking ufw_0.35-2.debian.tar.xz dpkg-source: info: applying 0001-optimize-boot.patch I: Building the package W: no hooks of type A found -- ignoring I: Running cd tmp/buildd/*/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin" dpkg-buildpackage -us -uc '-sa' '-sa' -rfakeroot dpkg-buildpackage: info: source package ufw dpkg-buildpackage: info: source version 0.35-2 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Jamie Strandboge <ja...@ubuntu.com> dpkg-source --before-build ufw-0.35 dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp make clean make[1]: Entering directory '/tmp/buildd/ufw-0.35' rm -rf ./build rm -rf ./staging rm -rf ./tests/testarea ./tests/unit/tmp rm -rf ./tmp rm -rf ./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 '/tmp/buildd/ufw-0.35' find . -name '*.py[co]' | xargs rm -f dh_clean debconf-updatepo dpkg-source -b ufw-0.35 dpkg-source: info: using source format '3.0 (quilt)' dpkg-source: info: building ufw using existing ./ufw_0.35.orig.tar.gz dpkg-source: info: building ufw in ufw_0.35-2.debian.tar.xz dpkg-source: info: building ufw in ufw_0.35-2.dsc debian/rules build dh_testdir touch build-stamp fakeroot debian/rules binary 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.35'/" ./setup.py /usr/bin/python2 ./setup.py install --root=/tmp/buildd/ufw-0.35/debian/tmp --install-layout=deb Found '/sbin/iptables' Found '/sbin/iptables' version '1.6.0' 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 /tmp/buildd/ufw-0.35/debian/tmp creating /tmp/buildd/ufw-0.35/debian/tmp/usr creating /tmp/buildd/ufw-0.35/debian/tmp/usr/lib creating /tmp/buildd/ufw-0.35/debian/tmp/usr/lib/python2.7 creating /tmp/buildd/ufw-0.35/debian/tmp/usr/lib/python2.7/dist-packages creating /tmp/buildd/ufw-0.35/debian/tmp/usr/lib/python2.7/dist-packages/ufw copying build/lib.linux-x86_64-2.7/ufw/__init__.py -> /tmp/buildd/ufw-0.35/debian/tmp/usr/lib/python2.7/dist-packages/ufw copying build/lib.linux-x86_64-2.7/ufw/backend.py -> /tmp/buildd/ufw-0.35/debian/tmp/usr/lib/python2.7/dist-packages/ufw copying build/lib.linux-x86_64-2.7/ufw/backend_iptables.py -> /tmp/buildd/ufw-0.35/debian/tmp/usr/lib/python2.7/dist-packages/ufw copying build/lib.linux-x86_64-2.7/ufw/common.py -> /tmp/buildd/ufw-0.35/debian/tmp/usr/lib/python2.7/dist-packages/ufw copying build/lib.linux-x86_64-2.7/ufw/frontend.py -> /tmp/buildd/ufw-0.35/debian/tmp/usr/lib/python2.7/dist-packages/ufw copying build/lib.linux-x86_64-2.7/ufw/util.py -> /tmp/buildd/ufw-0.35/debian/tmp/usr/lib/python2.7/dist-packages/ufw copying build/lib.linux-x86_64-2.7/ufw/applications.py -> /tmp/buildd/ufw-0.35/debian/tmp/usr/lib/python2.7/dist-packages/ufw copying build/lib.linux-x86_64-2.7/ufw/parser.py -> /tmp/buildd/ufw-0.35/debian/tmp/usr/lib/python2.7/dist-packages/ufw byte-compiling /tmp/buildd/ufw-0.35/debian/tmp/usr/lib/python2.7/dist-packages/ufw/__init__.py to __init__.pyc byte-compiling /tmp/buildd/ufw-0.35/debian/tmp/usr/lib/python2.7/dist-packages/ufw/backend.py to backend.pyc byte-compiling /tmp/buildd/ufw-0.35/debian/tmp/usr/lib/python2.7/dist-packages/ufw/backend_iptables.py to backend_iptables.pyc byte-compiling /tmp/buildd/ufw-0.35/debian/tmp/usr/lib/python2.7/dist-packages/ufw/common.py to common.pyc byte-compiling /tmp/buildd/ufw-0.35/debian/tmp/usr/lib/python2.7/dist-packages/ufw/frontend.py to frontend.pyc byte-compiling /tmp/buildd/ufw-0.35/debian/tmp/usr/lib/python2.7/dist-packages/ufw/util.py to util.pyc byte-compiling /tmp/buildd/ufw-0.35/debian/tmp/usr/lib/python2.7/dist-packages/ufw/applications.py to applications.pyc byte-compiling /tmp/buildd/ufw-0.35/debian/tmp/usr/lib/python2.7/dist-packages/ufw/parser.py to parser.pyc running install_egg_info Writing /tmp/buildd/ufw-0.35/debian/tmp/usr/lib/python2.7/dist-packages/ufw-0.35.egg-info creating /tmp/buildd/ufw-0.35/debian/tmp/usr/sbin creating /tmp/buildd/ufw-0.35/debian/tmp/usr/share creating /tmp/buildd/ufw-0.35/debian/tmp/usr/share/man creating /tmp/buildd/ufw-0.35/debian/tmp/usr/share/man/man8 Updating staging/ufw to use /usr/bin/python2 copying staging/ufw -> /tmp/buildd/ufw-0.35/debian/tmp/usr/sbin copying doc/ufw.8 -> /tmp/buildd/ufw-0.35/debian/tmp/usr/share/man/man8 copying doc/ufw-framework.8 -> /tmp/buildd/ufw-0.35/debian/tmp/usr/share/man/man8 creating /tmp/buildd/ufw-0.35/debian/tmp/lib creating /tmp/buildd/ufw-0.35/debian/tmp/lib/ufw copying src/ufw-init -> /tmp/buildd/ufw-0.35/debian/tmp/lib/ufw copying src/ufw-init-functions -> /tmp/buildd/ufw-0.35/debian/tmp/lib/ufw creating /tmp/buildd/ufw-0.35/debian/tmp/usr/share/ufw creating /tmp/buildd/ufw-0.35/debian/tmp/usr/share/ufw/messages error: [Errno 2] No such file or directory: 'locales/mo' debian/rules:32: recipe for target 'install' failed make: *** [install] Error 1 dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2 E: Failed autobuilding of package I: user script /var/cache/pbuilder/build/cow.61666/tmp/hooks/C10shell starting Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: libgpm2 vim-common vim-runtime Suggested packages: gpm ctags vim-doc vim-scripts The following NEW packages will be installed: less libgpm2 vim vim-common vim-runtime 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. Need to get 6675 kB of archives. After this operation, 30.6 MB of additional disk space will be used. Get:1 http://debian.mirror.lrz.de/debian sid/main amd64 vim-common amd64 2:7.4.1829-1 [229 kB] Get:2 http://debian.mirror.lrz.de/debian sid/main amd64 less amd64 481-2.1 [126 kB] Get:3 http://debian.mirror.lrz.de/debian sid/main amd64 libgpm2 amd64 1.20.4-6.2 [33.9 kB] Get:4 http://debian.mirror.lrz.de/debian sid/main amd64 vim-runtime all 2:7.4.1829-1 [5283 kB] Get:5 http://debian.mirror.lrz.de/debian sid/main amd64 vim amd64 2:7.4.1829-1 [1003 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 6675 kB in 0s (70.6 MB/s) Selecting previously unselected package vim-common. (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 ... 17260 files and directories currently installed.) Preparing to unpack .../vim-common_2%3a7.4.1829-1_amd64.deb ... Unpacking vim-common (2:7.4.1829-1) ... Selecting previously unselected package less. Preparing to unpack .../less_481-2.1_amd64.deb ... Unpacking less (481-2.1) ... Selecting previously unselected package libgpm2:amd64. Preparing to unpack .../libgpm2_1.20.4-6.2_amd64.deb ... Unpacking libgpm2:amd64 (1.20.4-6.2) ... Selecting previously unselected package vim-runtime. Preparing to unpack .../vim-runtime_2%3a7.4.1829-1_all.deb ... Adding 'diversion of /usr/share/vim/vim74/doc/help.txt to /usr/share/vim/vim74/doc/help.txt.vim-tiny by vim-runtime' Adding 'diversion of /usr/share/vim/vim74/doc/tags to /usr/share/vim/vim74/doc/tags.vim-tiny by vim-runtime' Unpacking vim-runtime (2:7.4.1829-1) ... Selecting previously unselected package vim. Preparing to unpack .../vim_2%3a7.4.1829-1_amd64.deb ... Unpacking vim (2:7.4.1829-1) ... Processing triggers for mime-support (3.60) ... Processing triggers for man-db (2.7.5-1) ... Not building database; man-db/auto-update is not 'true'. Processing triggers for libc-bin (2.23-4) ... Setting up less (481-2.1) ... Setting up libgpm2:amd64 (1.20.4-6.2) ... Setting up vim-common (2:7.4.1829-1) ... Setting up vim-runtime (2:7.4.1829-1) ... Setting up vim (2:7.4.1829-1) ... update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode Processing triggers for libc-bin (2.23-4) ... I: user script /var/cache/pbuilder/build/cow.61666/tmp/hooks/C10shell finished I: unmounting dev/pts filesystem I: unmounting run/shm filesystem I: unmounting proc filesystem -> Cleaning COW directory forking: rm -rf /var/cache/pbuilder/build//cow.61666