Source: python-django
Version: 3:4.2.27-2
Severity: serious
User: [email protected]
Usertags: flaky

Dear maintainer(s),

I looked at the results of the autopkgtest of your package because it was blocking migration of dpkg. I noticed that it regularly fails.

Because the unstable-to-testing migration software now blocks on
regressions in testing, flaky tests, i.e. tests that flip between
passing and failing without changes to the list of installed packages,
are causing people unrelated to your package to spend time on these
tests.

Don't hesitate to reach out if you need help and some more information
from our infrastructure.

Paul


https://ci.debian.net/packages/p/python-django/testing/i386/67933798/

670s FAIL: test_crafted_xml_performance (serializers.test_xml.XmlSerializerTestCase.test_crafted_xml_performance) [varying depth, varying length]
670s The time to process invalid inputs is not quadratic.
670s ----------------------------------------------------------------------
670s Traceback (most recent call last):
670s File "/usr/lib/python3.13/unittest/case.py", line 58, in testPartExecutor
670s     yield
670s   File "/usr/lib/python3.13/unittest/case.py", line 556, in subTest
670s     yield
670s File "/tmp/autopkgtest-lxc.1d5e7vra/downtmp/autopkgtest_tmp/tests/serializers/test_xml.py", line 137, in assertFactor
670s     self.assertLessEqual(sum(factors) / len(factors), factor)
670s     ^^^^^^^
670s File "/usr/lib/python3.13/unittest/case.py", line 1285, in assertLessEqual
670s     self.fail(self._formatMessage(msg, standardMsg))
670s     ^^^^^^^^^^^
670s   File "/usr/lib/python3.13/unittest/case.py", line 732, in fail
670s     raise self.failureException(msg)
670s     ^^^^^^^^^^^^^^^
670s AssertionError: 2.046626556487961 not less than or equal to 2


https://ci.debian.net/packages/p/python-django/testing/i386/67768234/

641s FAIL: test_crafted_xml_performance (serializers.test_xml.XmlSerializerTestCase.test_crafted_xml_performance) [varying depth, varying length]
641s The time to process invalid inputs is not quadratic.
641s ----------------------------------------------------------------------
641s Traceback (most recent call last):
641s File "/usr/lib/python3.13/unittest/case.py", line 58, in testPartExecutor
641s     yield
641s   File "/usr/lib/python3.13/unittest/case.py", line 556, in subTest
641s     yield
641s File "/tmp/autopkgtest-lxc.r7zb5maq/downtmp/autopkgtest_tmp/tests/serializers/test_xml.py", line 137, in assertFactor
641s     self.assertLessEqual(sum(factors) / len(factors), factor)
641s     ^^^^^^^
641s File "/usr/lib/python3.13/unittest/case.py", line 1285, in assertLessEqual
641s     self.fail(self._formatMessage(msg, standardMsg))
641s     ^^^^^^^^^^^
641s   File "/usr/lib/python3.13/unittest/case.py", line 732, in fail
641s     raise self.failureException(msg)
641s     ^^^^^^^^^^^^^^^
641s AssertionError: 2.3748599472916405 not less than or equal to 2


https://ci.debian.net/packages/p/python-django/testing/amd64/67223491/

102s FAIL: test_strip_tags (utils_tests.test_html.TestUtilsHtml.test_strip_tags) [<object object at 0x7fa9619eb4d0>] (value='<script>alert()</script>&h', output='alert()h')
102s ----------------------------------------------------------------------
102s Traceback (most recent call last):
102s File "/usr/lib/python3.13/unittest/case.py", line 58, in testPartExecutor
102s     yield
102s   File "/usr/lib/python3.13/unittest/case.py", line 556, in subTest
102s     yield
102s File "/tmp/autopkgtest-lxc.dqt79vvc/downtmp/autopkgtest_tmp/tests/utils_tests/test_html.py", line 149, in test_strip_tags
102s     self.check_output(strip_tags, value, output)
102s     ^^^^^^^
102s File "/tmp/autopkgtest-lxc.dqt79vvc/downtmp/autopkgtest_tmp/tests/utils_tests/test_html.py", line 33, in check_output
102s     self.assertEqual(function(value), output)
102s     ^^^^^^^^^^^^^^^
102s   File "/usr/lib/python3.13/unittest/case.py", line 907, in assertEqual
102s     assertion_func(first, second, msg=msg)
102s     ^^^^^^^^^^^^^^^
102s File "/usr/lib/python3.13/unittest/case.py", line 1273, in assertMultiLineEqual
102s     self.fail(self._formatMessage(msg, standardMsg))
102s     ^^^^^^^^^^^
102s   File "/usr/lib/python3.13/unittest/case.py", line 732, in fail
102s     raise self.failureException(msg)
102s     ^^^^^^^^^^^^^^^
102s AssertionError: 'alert()&h;' != 'alert()h'
102s - alert()&h;
102s ?        - -
102s + alert()h

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to