Source: ufw
Version: 0.34-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Dear Maintainer,

ufw fails to build from source in unstable/amd64. Even with net-tools
installed (for `netstat`) it fails in a similar way if that helps.

  [..]

  ======================================================================
  FAIL: test_parse_netstat_output (tests.unit.test_util.UtilTestCase)
  Test parse_netstat_output()
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/tmp/buildd/ufw-0.34/tests/unit/test_util.py", line 940, in
    test_parse_netstat_output
      self.assertTrue(len(s) > 0)
  AssertionError: False is not true
  
  ----------------------------------------------------------------------
  Ran 43 tests in 0.920s
  
  FAILED (failures=1)
  
  ------------------
  Unit tests summary
  ------------------
  Total=8 (Passed=6, Failed=2)
  
  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

  [..]

The full build log is attached or can be viewed here:

    https://reproducible.debian.net/logs/unstable/amd64/ufw_0.34-1.build1.log.gz


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
I: using fakeroot in build.
I: pbuilder: network access will be disabled during build
I: Current time: Wed Aug 26 00:28:16 GMT+12 2015
I: pbuilder-time-stamp: 1440592096
I: Building the build Environment
I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz]
I: creating local configuration
I: copying local configuration
I: mounting /proc filesystem
I: mounting /run/shm filesystem
I: mounting /dev/pts filesystem
I: Mounting /dev/shm
I: Mounting /sys
I: policy-rc.d already exists
I: Installing the build-deps
 -> 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 ... 20246 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 dh-systemd; however:
  Package dh-systemd 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.

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...
The following NEW packages will be installed:
  dh-python{a} dh-systemd{a} iptables{a} libexpat1{a} libmpdec2{a} 
  libnfnetlink0{a} libpython-stdlib{a} libpython2.7-minimal{a} 
  libpython2.7-stdlib{a} libpython3-stdlib{a} libpython3.4-minimal{a} 
  libpython3.4-stdlib{a} libssl1.0.0{a} libxtables10{a} mime-support{a} 
  netbase{a} python{a} python-minimal{a} python2.7{a} python2.7-minimal{a} 
  python3{a} python3-minimal{a} python3.4{a} python3.4-minimal{a} 
0 packages upgraded, 24 newly installed, 0 to remove and 0 not upgraded.
Need to get 10.3 MB of archives. After unpacking 47.5 MB will be used.
Writing extended state information...
Get: 1 http://ftp.de.debian.org/debian/ unstable/main libpython2.7-minimal 
amd64 2.7.10-3 [382 kB]
Get: 2 http://ftp.de.debian.org/debian/ unstable/main python2.7-minimal amd64 
2.7.10-3 [1418 kB]
Get: 3 http://ftp.de.debian.org/debian/ unstable/main python-minimal amd64 
2.7.9-1 [40.3 kB]
Get: 4 http://ftp.de.debian.org/debian/ unstable/main mime-support all 3.59 
[36.4 kB]
Get: 5 http://ftp.de.debian.org/debian/ unstable/main libexpat1 amd64 2.1.0-7 
[80.0 kB]
Get: 6 http://ftp.de.debian.org/debian/ unstable/main libssl1.0.0 amd64 
1.0.2d-1 [1274 kB]
Get: 7 http://ftp.de.debian.org/debian/ unstable/main libpython2.7-stdlib amd64 
2.7.10-3 [1854 kB]
Get: 8 http://ftp.de.debian.org/debian/ unstable/main python2.7 amd64 2.7.10-3 
[258 kB]
Get: 9 http://ftp.de.debian.org/debian/ unstable/main libpython-stdlib amd64 
2.7.9-1 [19.5 kB]
Get: 10 http://ftp.de.debian.org/debian/ unstable/main python amd64 2.7.9-1 
[151 kB]
Get: 11 http://ftp.de.debian.org/debian/ unstable/main libmpdec2 amd64 2.4.1-1 
[85.7 kB]
Get: 12 http://ftp.de.debian.org/debian/ unstable/main libnfnetlink0 amd64 
1.0.1-3 [13.5 kB]
Get: 13 http://ftp.de.debian.org/debian/ unstable/main libpython3.4-minimal 
amd64 3.4.3-8 [495 kB]
Get: 14 http://ftp.de.debian.org/debian/ unstable/main libpython3.4-stdlib 
amd64 3.4.3-8 [2057 kB]
Get: 15 http://ftp.de.debian.org/debian/ unstable/main python3.4-minimal amd64 
3.4.3-8 [1401 kB]
Get: 16 http://ftp.de.debian.org/debian/ unstable/main python3-minimal amd64 
3.4.3-4 [34.7 kB]
Get: 17 http://ftp.de.debian.org/debian/ unstable/main python3.4 amd64 3.4.3-8 
[219 kB]
Get: 18 http://ftp.de.debian.org/debian/ unstable/main libpython3-stdlib amd64 
3.4.3-4 [18.1 kB]
Get: 19 http://ftp.de.debian.org/debian/ unstable/main dh-python all 2.20150728 
[71.3 kB]
Get: 20 http://ftp.de.debian.org/debian/ unstable/main python3 amd64 3.4.3-4 
[21.1 kB]
Get: 21 http://ftp.de.debian.org/debian/ unstable/main libxtables10 amd64 
1.4.21-2+b1 [67.6 kB]
Get: 22 http://ftp.de.debian.org/debian/ unstable/main iptables amd64 
1.4.21-2+b1 [277 kB]
Get: 23 http://ftp.de.debian.org/debian/ unstable/main netbase all 5.3 [19.0 kB]
Get: 24 http://ftp.de.debian.org/debian/ unstable/main dh-systemd all 1.23 
[18.7 kB]
Fetched 10.3 MB in 0s (18.4 MB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libpython2.7-minimal: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 ... 20246 files and directories currently installed.)
Preparing to unpack .../libpython2.7-minimal_2.7.10-3_amd64.deb ...
Unpacking libpython2.7-minimal:amd64 (2.7.10-3) ...
Selecting previously unselected package python2.7-minimal.
Preparing to unpack .../python2.7-minimal_2.7.10-3_amd64.deb ...
Unpacking python2.7-minimal (2.7.10-3) ...
Selecting previously unselected package python-minimal.
Preparing to unpack .../python-minimal_2.7.9-1_amd64.deb ...
Unpacking python-minimal (2.7.9-1) ...
Selecting previously unselected package mime-support.
Preparing to unpack .../mime-support_3.59_all.deb ...
Unpacking mime-support (3.59) ...
Selecting previously unselected package libexpat1:amd64.
Preparing to unpack .../libexpat1_2.1.0-7_amd64.deb ...
Unpacking libexpat1:amd64 (2.1.0-7) ...
Selecting previously unselected package libssl1.0.0:amd64.
Preparing to unpack .../libssl1.0.0_1.0.2d-1_amd64.deb ...
Unpacking libssl1.0.0:amd64 (1.0.2d-1) ...
Selecting previously unselected package libpython2.7-stdlib:amd64.
Preparing to unpack .../libpython2.7-stdlib_2.7.10-3_amd64.deb ...
Unpacking libpython2.7-stdlib:amd64 (2.7.10-3) ...
Selecting previously unselected package python2.7.
Preparing to unpack .../python2.7_2.7.10-3_amd64.deb ...
Unpacking python2.7 (2.7.10-3) ...
Selecting previously unselected package libpython-stdlib:amd64.
Preparing to unpack .../libpython-stdlib_2.7.9-1_amd64.deb ...
Unpacking libpython-stdlib:amd64 (2.7.9-1) ...
Processing triggers for man-db (2.7.2-1) ...
Setting up libpython2.7-minimal:amd64 (2.7.10-3) ...
Setting up python2.7-minimal (2.7.10-3) ...
Setting up python-minimal (2.7.9-1) ...
Selecting previously unselected package python.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 21048 files and directories currently installed.)
Preparing to unpack .../python_2.7.9-1_amd64.deb ...
Unpacking python (2.7.9-1) ...
Selecting previously unselected package libmpdec2:amd64.
Preparing to unpack .../libmpdec2_2.4.1-1_amd64.deb ...
Unpacking libmpdec2:amd64 (2.4.1-1) ...
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.4-minimal:amd64.
Preparing to unpack .../libpython3.4-minimal_3.4.3-8_amd64.deb ...
Unpacking libpython3.4-minimal:amd64 (3.4.3-8) ...
Selecting previously unselected package libpython3.4-stdlib:amd64.
Preparing to unpack .../libpython3.4-stdlib_3.4.3-8_amd64.deb ...
Unpacking libpython3.4-stdlib:amd64 (3.4.3-8) ...
Selecting previously unselected package python3.4-minimal.
Preparing to unpack .../python3.4-minimal_3.4.3-8_amd64.deb ...
Unpacking python3.4-minimal (3.4.3-8) ...
Selecting previously unselected package python3-minimal.
Preparing to unpack .../python3-minimal_3.4.3-4_amd64.deb ...
Unpacking python3-minimal (3.4.3-4) ...
Selecting previously unselected package python3.4.
Preparing to unpack .../python3.4_3.4.3-8_amd64.deb ...
Unpacking python3.4 (3.4.3-8) ...
Selecting previously unselected package libpython3-stdlib:amd64.
Preparing to unpack .../libpython3-stdlib_3.4.3-4_amd64.deb ...
Unpacking libpython3-stdlib:amd64 (3.4.3-4) ...
Selecting previously unselected package dh-python.
Preparing to unpack .../dh-python_2.20150728_all.deb ...
Unpacking dh-python (2.20150728) ...
Processing triggers for man-db (2.7.2-1) ...
Setting up libssl1.0.0:amd64 (1.0.2d-1) ...
Setting up libpython3.4-minimal:amd64 (3.4.3-8) ...
Setting up libexpat1:amd64 (2.1.0-7) ...
Setting up python3.4-minimal (3.4.3-8) ...
Setting up python3-minimal (3.4.3-4) ...
Processing triggers for libc-bin (2.19-19) ...
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 ... 22011 files and directories currently installed.)
Preparing to unpack .../python3_3.4.3-4_amd64.deb ...
Unpacking python3 (3.4.3-4) ...
Selecting previously unselected package libxtables10.
Preparing to unpack .../libxtables10_1.4.21-2+b1_amd64.deb ...
Unpacking libxtables10 (1.4.21-2+b1) ...
Selecting previously unselected package iptables.
Preparing to unpack .../iptables_1.4.21-2+b1_amd64.deb ...
Unpacking iptables (1.4.21-2+b1) ...
Selecting previously unselected package netbase.
Preparing to unpack .../archives/netbase_5.3_all.deb ...
Unpacking netbase (5.3) ...
Selecting previously unselected package dh-systemd.
Preparing to unpack .../dh-systemd_1.23_all.deb ...
Unpacking dh-systemd (1.23) ...
Processing triggers for man-db (2.7.2-1) ...
Setting up mime-support (3.59) ...
Setting up libpython2.7-stdlib:amd64 (2.7.10-3) ...
Setting up python2.7 (2.7.10-3) ...
Setting up libpython-stdlib:amd64 (2.7.9-1) ...
Setting up python (2.7.9-1) ...
Setting up libmpdec2:amd64 (2.4.1-1) ...
Setting up libnfnetlink0:amd64 (1.0.1-3) ...
Setting up libpython3.4-stdlib:amd64 (3.4.3-8) ...
Setting up python3.4 (3.4.3-8) ...
Setting up libpython3-stdlib:amd64 (3.4.3-4) ...
Setting up libxtables10 (1.4.21-2+b1) ...
Setting up iptables (1.4.21-2+b1) ...
Setting up netbase (5.3) ...
Setting up dh-systemd (1.23) ...
Setting up python3 (3.4.3-4) ...
Setting up dh-python (2.20150728) ...
Processing triggers for libc-bin (2.19-19) ...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Writing extended state information...
Building tag database...
 -> Finished parsing the build-deps
Reading package lists...
Building dependency tree...
Reading state information...
fakeroot is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I: Copying source file
I: copying [ufw_0.34-1.dsc]
I: copying [./ufw_0.34.orig.tar.gz]
I: copying [./ufw_0.34-1.debian.tar.xz]
I: Extracting source
gpgv: keyblock resource `/tmp/buildd/.gnupg/trustedkeys.gpg': file open error
gpgv: Signature made Tue Aug 25 05:25:14 2015 GMT+12 using RSA key ID DC6DC026
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./ufw_0.34-1.dsc
dpkg-source: info: extracting ufw in ufw-0.34
dpkg-source: info: unpacking ufw_0.34.orig.tar.gz
dpkg-source: info: unpacking ufw_0.34-1.debian.tar.xz
dpkg-source: info: applying 0001-optimize-boot.patch
I: Building the package
I: Running cd tmp/buildd/*/ && env 
PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" dpkg-buildpackage -us -uc  -b 
-rfakeroot
dpkg-buildpackage: source package ufw
dpkg-buildpackage: source version 0.34-1
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Jamie Strandboge <ja...@ubuntu.com>
 dpkg-source --before-build ufw-0.34
dpkg-buildpackage: 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.34'
rm -rf ./build
rm -rf ./staging
rm -rf ./tests/testarea ./tests/unit/tmp
rm -rf ./tmp
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.34'
find . -name '*.py[co]' | xargs rm -f
dh_clean
debconf-updatepo
 debian/rules build
dh_testdir
touch build-stamp
 fakeroot debian/rules binary
dh_testdir
dh_testroot
dh_clean -k
dh_clean: dh_clean -k is deprecated; use dh_prep instead
dh_installdirs
# make sure the version is in sync with our changelog
sed -i "s/^ufw_version = .*/ufw_version = '0.34'/" ./setup.py
./run_tests.sh -i /usr/bin/python2
Interpreter: /usr/bin/python2

= Unit Tests =
DEBUG: sys.path=['/tmp/buildd/ufw-0.34', '/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() ... ok
test_get_ports (tests.unit.test_applications.ApplicationsTestCase)
Test get_ports() ... ok
test_get_profiles (tests.unit.test_applications.ApplicationsTestCase)
Test get_profiles() ... ok
test_get_title (tests.unit.test_applications.ApplicationsTestCase)
Test get_title() ... ok
test_valid_profile_name (tests.unit.test_applications.ApplicationsTestCase)
Test valid_profile_name() ... ok
test_verify_profile (tests.unit.test_applications.ApplicationsTestCase)
Test verify_profile() ... ok
test_verify_profile_bad (tests.unit.test_applications.ApplicationsTestCase)
Test verify_profile() - bad ...  {'description': 'missing title', 'ports': '53'}
 {'ports': '22/tcp', 'title': 'missing description'}
 {'description': 'desc', 'title': 'missing ports'}
 {'ports': '80', 'description': 'empty title', 'title': ''}
 {'ports': '80', 'description': '', 'title': 'empty description'}
 {'ports': '', 'description': 'desc', 'title': 'empty ports'}
 {'ports': '80,443', 'description': 'desc', 'title': 'bad missing proto - list'}
 {'ports': '80:443', 'description': 'desc', 'title': 'bad missing proto - 
range'}
 {'ports': '80:70000/tcp', 'description': 'desc', 'title': 'bad range too big'}
 {'ports': '80/ah', 'description': 'desc', 'title': 'bad protocol - ah'}
 {'ports': '80/esp', 'description': 'desc', 'title': 'bad protocol - esp'}
 {'ports': '80/gre', 'description': 'desc', 'title': 'bad protocol - gre'}
 {'ports': '80/igmp', 'description': 'desc', 'title': 'bad protocol - igmp'}
 {'ports': '80/ipv6', 'description': 'desc', 'title': 'bad protocol - ipv6'}
ok

----------------------------------------------------------------------
Ran 7 tests in 0.261s

OK
test_backend
test_installation_defaults (tests.unit.test_backend.BackendTestCase)
Test installation defaults ... WARN: Checks disabled
ok

----------------------------------------------------------------------
Ran 1 test in 0.058s

OK
test_backend_iptables
test__get_defaults (tests.unit.test_backend_iptables.BackendIptablesTestCase)
Test _get_defaults() ... WARN: Checks disabled
ok
test__need_reload (tests.unit.test_backend_iptables.BackendIptablesTestCase)
Test _need_reload() ... WARN: Checks disabled
ok
test__reload_user_rules 
(tests.unit.test_backend_iptables.BackendIptablesTestCase)
Test _reload_user_rules() ... WARN: Checks disabled
> | iptables-restore
> | ip6tables-restore
ok
test_find_application_name 
(tests.unit.test_backend_iptables.BackendIptablesTestCase)
Test find_application_name() ... WARN: Checks disabled
ok
test_find_other_position 
(tests.unit.test_backend_iptables.BackendIptablesTestCase)
Test find_other_position() ... WARN: Checks disabled
ok
test_get_app_rules_from_template 
(tests.unit.test_backend_iptables.BackendIptablesTestCase)
Test get_app_rules_from_template() ... WARN: Checks disabled
ok
test_get_default_application_policy 
(tests.unit.test_backend_iptables.BackendIptablesTestCase)
Test get_default_application_policy() ... WARN: Checks disabled
ok
test_get_loglevel (tests.unit.test_backend_iptables.BackendIptablesTestCase)
Test get_loglevel() ... WARN: Checks disabled
ok
test_get_matching (tests.unit.test_backend_iptables.BackendIptablesTestCase)
Test get_matching() ... WARN: Checks disabled
ok
test_get_rule_by_number 
(tests.unit.test_backend_iptables.BackendIptablesTestCase)
Test get_rule_by_number() ... WARN: Checks disabled
ok
test_get_rules_count (tests.unit.test_backend_iptables.BackendIptablesTestCase)
Test get_rules_count() ... WARN: Checks disabled
ok
test_get_running_raw (tests.unit.test_backend_iptables.BackendIptablesTestCase)
Test get_running_raw() ... WARN: Checks disabled
ok
test_get_status (tests.unit.test_backend_iptables.BackendIptablesTestCase)
Test get_status() ... WARN: Checks disabled
ok
test_reset (tests.unit.test_backend_iptables.BackendIptablesTestCase)
Test reset() ... WARN: Checks disabled
Backing up 'user.rules' to 
'/tmp/buildd/ufw-0.34/tests/unit/tmp/ufw/lib/ufw/user.rules.20150826_002906'
Backing up 'after6.rules' to 
'/tmp/buildd/ufw-0.34/tests/unit/tmp/ufw/etc/ufw/after6.rules.20150826_002906'
Backing up 'user6.rules' to 
'/tmp/buildd/ufw-0.34/tests/unit/tmp/ufw/lib/ufw/user6.rules.20150826_002906'
Backing up 'before6.rules' to 
'/tmp/buildd/ufw-0.34/tests/unit/tmp/ufw/etc/ufw/before6.rules.20150826_002906'
Backing up 'after.rules' to 
'/tmp/buildd/ufw-0.34/tests/unit/tmp/ufw/etc/ufw/after.rules.20150826_002906'
Backing up 'before.rules' to 
'/tmp/buildd/ufw-0.34/tests/unit/tmp/ufw/etc/ufw/before.rules.20150826_002906'

Backing up 'user.rules' to 
'/tmp/buildd/ufw-0.34/tests/unit/tmp/ufw/lib/ufw/user.rules.20150826_002907'
Backing up 'after6.rules' to 
'/tmp/buildd/ufw-0.34/tests/unit/tmp/ufw/etc/ufw/after6.rules.20150826_002907'
Backing up 'user6.rules' to 
'/tmp/buildd/ufw-0.34/tests/unit/tmp/ufw/lib/ufw/user6.rules.20150826_002907'
Backing up 'before6.rules' to 
'/tmp/buildd/ufw-0.34/tests/unit/tmp/ufw/etc/ufw/before6.rules.20150826_002907'
Backing up 'after.rules' to 
'/tmp/buildd/ufw-0.34/tests/unit/tmp/ufw/etc/ufw/after.rules.20150826_002907'
Backing up 'before.rules' to 
'/tmp/buildd/ufw-0.34/tests/unit/tmp/ufw/etc/ufw/before.rules.20150826_002907'

ok
test_set_bad_default (tests.unit.test_backend_iptables.BackendIptablesTestCase)
Test bad set_default_policy() ... WARN: Checks disabled
ok
test_set_bad_default_application_policy 
(tests.unit.test_backend_iptables.BackendIptablesTestCase)
Test bad set_default_application_policy() ... WARN: Checks disabled
ok
test_set_default (tests.unit.test_backend_iptables.BackendIptablesTestCase)
Test set_default() ... WARN: Checks disabled
ok
test_set_default_application_policy 
(tests.unit.test_backend_iptables.BackendIptablesTestCase)
Test set_default_application_policy() ... WARN: Checks disabled
ok
test_set_default_policy 
(tests.unit.test_backend_iptables.BackendIptablesTestCase)
Test set_default_policy() ... WARN: Checks disabled
ok
test_set_loglevel (tests.unit.test_backend_iptables.BackendIptablesTestCase)
Test set_loglevel() ... WARN: Checks disabled
ok
test_set_rule (tests.unit.test_backend_iptables.BackendIptablesTestCase)
Test set_rule() ... WARN: Checks disabled
ok
test_start_firewall (tests.unit.test_backend_iptables.BackendIptablesTestCase)
Test start_firewall() ... WARN: Checks disabled
> running ufw-init
ok
test_stop_firewall (tests.unit.test_backend_iptables.BackendIptablesTestCase)
Test stop_firewall() ... WARN: Checks disabled
> running ufw-init
ok
test_update_app_rule (tests.unit.test_backend_iptables.BackendIptablesTestCase)
Test upate_app_rule() ... WARN: Checks disabled
ok
test_update_logging (tests.unit.test_backend_iptables.BackendIptablesTestCase)
Test update_logging() ... WARN: Checks disabled
ok
test_use_ipv6 (tests.unit.test_backend_iptables.BackendIptablesTestCase)
Test use_ipv6() ... WARN: Checks disabled
ok

----------------------------------------------------------------------
Ran 26 tests in 134.420s

OK
test_common
test__fix_anywhere (tests.unit.test_common.CommonTestCase)
Test _fix_anywhere() ... ok
test__get_attrib (tests.unit.test_common.CommonTestCase)
Test _get_attrib() ... ok
test__init_ (tests.unit.test_common.CommonTestCase)
Test UFWRule.__init__() ... ok
test__is_anywhere (tests.unit.test_common.CommonTestCase)
Test _is_anywhere() ... ok
test_dup_rule (tests.unit.test_common.CommonTestCase)
Test dup_rule() ... ok
test_format_rule (tests.unit.test_common.CommonTestCase)
Test format_rule() ... ok
test_fuzzy_dst_match (tests.unit.test_common.CommonTestCase)
Test fuzzy_dst_match() ... ok
test_get_app_tuple (tests.unit.test_common.CommonTestCase)
Test get_app_tuple() ... ok
test_match (tests.unit.test_common.CommonTestCase)
Test match() ... ok
test_normalize (tests.unit.test_common.CommonTestCase)
Test normalize() ... ok
test_set_action (tests.unit.test_common.CommonTestCase)
Test set_action() ... ok
test_set_direction (tests.unit.test_common.CommonTestCase)
Test set_direction() ... ok
test_set_direction_bad (tests.unit.test_common.CommonTestCase)
Test set_direction() - bad ... ok
test_set_dst (tests.unit.test_common.CommonTestCase)
Test set_dst() ... ok
test_set_dst_bad (tests.unit.test_common.CommonTestCase)
Test set_dst() - bad ... ok
test_set_interface (tests.unit.test_common.CommonTestCase)
Test set_interface() ... ok
test_set_interface_bad (tests.unit.test_common.CommonTestCase)
Test set_interface() - bad ... ok
test_set_logtype (tests.unit.test_common.CommonTestCase)
Test set_logtype() ... ok
test_set_logtype_bad (tests.unit.test_common.CommonTestCase)
Test set_logtype() - bad ... ok
test_set_port (tests.unit.test_common.CommonTestCase)
Test set_port() ... ok
test_set_port_bad (tests.unit.test_common.CommonTestCase)
Test set_port() - bad ... ok
test_set_position (tests.unit.test_common.CommonTestCase)
Test set_position() ... ok
test_set_position_bad (tests.unit.test_common.CommonTestCase)
Test set_position() - bad ... ok
test_set_protocol (tests.unit.test_common.CommonTestCase)
Test set_protocol() ... ok
test_set_protocol_bad (tests.unit.test_common.CommonTestCase)
Test set_protocol() - bad ... ok
test_set_src (tests.unit.test_common.CommonTestCase)
Test set_src() ... ok
test_set_src_bad (tests.unit.test_common.CommonTestCase)
Test set_src() - bad ... ok
test_set_v6 (tests.unit.test_common.CommonTestCase)
Test set_v6() ... ok
test_ufwerror (tests.unit.test_common.CommonTestCase)
Test UFWError ... ok
test_ufwerror_str (tests.unit.test_common.CommonTestCase)
Test UFWError.str() ... ok

----------------------------------------------------------------------
Ran 30 tests in 0.177s

OK
test_frontend
test___init__ (tests.unit.test_frontend.FrontendTestCase)
Test __init__() ... WARN: Checks disabled
ok
test_application_add (tests.unit.test_frontend.FrontendTestCase)
Test application_add() ... WARN: Checks disabled
ok
test_continue_under_ssh (tests.unit.test_frontend.FrontendTestCase)
Test continue_under_ssh() ... WARN: Checks disabled
ok
test_do_action (tests.unit.test_frontend.FrontendTestCase)
Test do_action() ... WARN: Checks disabled
WARN: Checks disabled
FAIL
test_do_action_remove_bad_appname (tests.unit.test_frontend.FrontendTestCase)
Test do_action() remove bad appname ... WARN: Checks disabled
ok
test_do_application_action (tests.unit.test_frontend.FrontendTestCase)
Test do_application_action() ... WARN: Checks disabled
ok
test_get_command_help (tests.unit.test_frontend.FrontendTestCase)
Test get_command_help() ... WARN: Checks disabled
ok
test_get_show_added (tests.unit.test_frontend.FrontendTestCase)
Test get_show_added() ... WARN: Checks disabled
ok
test_get_show_listening (tests.unit.test_frontend.FrontendTestCase)
Test get_show_listening() ... WARN: Checks disabled
(TODO: fake-netstat) Could not find 'tcp' in:

(TODO: fake-netstat) Could not find 'udp' in:

ok
test_get_show_raw (tests.unit.test_frontend.FrontendTestCase)
Test get_show_raw() ... WARN: Checks disabled
ok
test_parse_command (tests.unit.test_frontend.FrontendTestCase)
Test parse_command() ... WARN: Checks disabled
ok
test_parse_command_bad (tests.unit.test_frontend.FrontendTestCase)
Test parse_command_bad ... WARN: Checks disabled
ERROR: Invalid syntax
ERROR: Invalid syntax
ERROR: Invalid syntax
ok

======================================================================
FAIL: test_do_action (tests.unit.test_frontend.FrontendTestCase)
Test do_action()
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/buildd/ufw-0.34/tests/unit/test_frontend.py", line 231, in 
test_do_action
    self.assertTrue(res != "", "Output is empty for '%s'" % c)
AssertionError: Output is empty for 'show listening'

----------------------------------------------------------------------
Ran 12 tests in 0.798s

FAILED (failures=1)
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 ... 30960 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_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 ... 396 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() ... 31361 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 22 tests in 21.668s

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_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() ... FAIL
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

======================================================================
FAIL: test_parse_netstat_output (tests.unit.test_util.UtilTestCase)
Test parse_netstat_output()
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/buildd/ufw-0.34/tests/unit/test_util.py", line 940, in 
test_parse_netstat_output
    self.assertTrue(len(s) > 0)
AssertionError: False is not true

----------------------------------------------------------------------
Ran 43 tests in 0.920s

FAILED (failures=1)

------------------
Unit tests summary
------------------
Total=8 (Passed=6, Failed=2)

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: unmounting /sys filesystem
I: unmounting /dev/shm filesystem
I: unmounting dev/pts filesystem
I: unmounting run/shm filesystem
I: unmounting proc filesystem
I: cleaning the build env 
I: removing directory /var/cache/pbuilder/build//25696 and its subdirectories
_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to