Source: ufw
Version: 0.36-7
Severity: serious
Tags: sid bullseye
User: debian-pyt...@lists.debian.org
Usertags: python3.9

Hi Maintainer

Ufw's autopkgtests fail with Python 3.9.  I've copied what I hope is
the relevant part of the log below.

It seems check-requirements [2] is choking on the version output:

$ python3.9 --version
Python 3.9.0+

Regards
Graham


[1] https://ci.debian.net/packages/u/ufw/testing/amd64/
[2] 
https://git.launchpad.net/ufw/tree/tests/check-requirements?h=debian/master#n50


======================================================================
FAIL: test_requirements (__main__.UfwTestAuto)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/tmp/autopkgtest-lxc.6kixcwmt/downtmp/build.7ks/src/debian/tests/test-ufw.py",
line 243, in test_requirements
    self.assertEqual(expected, rc, result + report)
AssertionError: 0 != 1 : Got exit code 1, expected 0
Has python: ERROR: could not find valid python
Has iptables: pass
Has ip6tables: pass


======================================================================
FAIL: test_requirements (__main__.UfwTestNft)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/tmp/autopkgtest-lxc.6kixcwmt/downtmp/build.7ks/src/debian/tests/test-ufw.py",
line 243, in test_requirements
    self.assertEqual(expected, rc, result + report)
AssertionError: 0 != 1 : Got exit code 1, expected 0
Has python: ERROR: could not find valid python
Has iptables: pass
Has ip6tables: pass


======================================================================
FAIL: test_requirements (__main__.UfwTestLegacy)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/tmp/autopkgtest-lxc.6kixcwmt/downtmp/build.7ks/src/debian/tests/test-ufw.py",
line 243, in test_requirements
    self.assertEqual(expected, rc, result + report)
AssertionError: 0 != 1 : Got exit code 1, expected 0
Has python: ERROR: could not find valid python
Has iptables: pass
Has ip6tables: pass


----------------------------------------------------------------------
Ran 12 tests in 74.363s

FAILED (failures=3)
Adjusting tests for x86_64 container
autopkgtest [12:34:00]: test command1: -----------------------]
autopkgtest [12:34:00]: test command1:  - - - - - - - - - - results -
- - - - - - - - -
command1             FAIL non-zero exit status 1

Reply via email to