Package: src:python-django Version: 3:3.2.25-0+deb12u2 Severity: serious Control: fixed -1 3:5.2.14-2 Tags: ftbfs bookworm trixie
Dear maintainer: During a rebuild of all packages in trixie, this package failed to build. [ Note: The bug is marked as fixed with the version in forky/sid, but packages in bookworm and trixie must still build in bookworm and trixie ]. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/trixie/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:python-django, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] ====================================================================== FAIL: test_strip_tags (utils_tests.test_html.TestUtilsHtml.t [too-long-redacted] &&&&&&&&&&&&&&&&&&&&&&&&&&&&D') ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.13/unittest/case.py", line 58, in testPartExecutor yield File "/usr/lib/python3.13/unittest/case.py", line 556, in subTest yield File "/<<PKGBUILDDIR>>/tests/utils_tests/test_html.py", line 171, in test_strip_tags self.check_output(strip_tags, value, output) ^^^^^^^ File "/<<PKGBUILDDIR>>/tests/utils_tests/test_html.py", line 34, in check_output self.assertEqual(function(value), output) ^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/unittest/case.py", line 907, in assertEqual assertion_func(first, second, msg=msg) ^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/unittest/case.py", line 1273, in assertMultiLineEqual self.fail(self._formatMessage(msg, standardMsg)) ^^^^^^^^^^^ File "/usr/lib/python3.13/unittest/case.py", line 732, in fail raise self.failureException(msg) ^^^^^^^^^^^^^^^ AssertionError: '>' != '><!&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&[15958 chars]&&&D' Diff is 16012 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_strip_tags (utils_tests.test_html.TestUtilsHtml.t [too-long-redacted] <a<a<a<a<a<a<a<a<a<a<a<a<a<aa') ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.13/unittest/case.py", line 58, in testPartExecutor yield File "/usr/lib/python3.13/unittest/case.py", line 556, in subTest yield File "/<<PKGBUILDDIR>>/tests/utils_tests/test_html.py", line 171, in test_strip_tags self.check_output(strip_tags, value, output) ^^^^^^^ File "/<<PKGBUILDDIR>>/tests/utils_tests/test_html.py", line 34, in check_output self.assertEqual(function(value), output) ^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/unittest/case.py", line 907, in assertEqual assertion_func(first, second, msg=msg) ^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/unittest/case.py", line 1273, in assertMultiLineEqual self.fail(self._formatMessage(msg, standardMsg)) ^^^^^^^^^^^ File "/usr/lib/python3.13/unittest/case.py", line 732, in fail raise self.failureException(msg) ^^^^^^^^^^^^^^^ AssertionError: '>' != '><a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<a<[956 chars]a<aa' Diff is 1010 characters long. Set self.maxDiff to None to see it. ---------------------------------------------------------------------- Ran 16382 tests in 217.244s FAILED (failures=2, skipped=1288, expected failures=5) Destroying test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')... Destroying test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')... Destroying test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')... Destroying test database for alias 'other' ('file:memorydb_other?mode=memory&cache=shared')... Destroying test database for alias 'other' ('file:memorydb_other?mode=memory&cache=shared')... Destroying test database for alias 'other' ('file:memorydb_other?mode=memory&cache=shared')... make[1]: *** [debian/rules:23: override_dh_auto_test] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:9: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

