Note from my debug builds:
TDEBUG: check OSError
GNC: Enter get_netfilter_capabilities
GNC: we are root
GNC: chain ufw-caps-testSqLa5Y
GNC: exe /sbin/iptables
That means it is the first action of the test, just running
/sbin/iptables -N ufw-caps-testSqLa5Y
Nothing else of the python stack was running before as part of the test.
debian/rules just has:
30 install: build
31 »···dh_testdir
32 »···dh_testroot
33 »···dh_prep
34 »···dh_installdirs
35
36 ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
37 »···./run_tests.sh -i $(PYTHON2)
38 »···./run_tests.sh -i $(PYTHON)
39 »···# the testsuite creates the build/ directory with test values that we
40 »···# don't want to use
41 »···make clean
42 endif
We should actually be able to just run
$ sudo apt build-dep ufw
$ ./debian/rules install
In general this is mostly python, so build almost only consists of
selftests.
But no matter what I do the test either
a) works
b) breaks on the root check like
File "/home/ubuntu/ufw/tests/unit/test_util.py", line 918, in
test_get_netfilter_capabilities
ufw.util.get_netfilter_capabilities)
File "/home/ubuntu/ufw/tests/unit/support.py", line 164, in
check_for_exception
t.fail('%s not thrown' % str(expectedException))
AssertionError: <type 'exceptions.OSError'> not thrown
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1840633
Title:
autopkgtests get stuck in Eoan with iptables 1.8.3
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ufw/+bug/1840633/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs