Package: src:python-testtools Version: 2.7.2-1 Severity: serious Tags: ftbfs
Dear maintainer: During a rebuild of all packages in unstable, your package failed to build: -------------------------------------------------------------------------------- [...] debian/rules build make: pyversions: No such file or directory py3versions: no X-Python3-Version in control file, using supported versions dh build --buildsystem=pybuild --with python3,sphinxdoc dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild dh_auto_build -O--buildsystem=pybuild I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build" module I: pybuild base:311: python3.12 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_testtools * Building wheel... Successfully built testtools-2.7.2-py3-none-any.whl I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with "installer" module debian/rules override_dh_auto_test make[1]: Entering directory '/<<PKGBUILDDIR>>' make[1]: pyversions: No such file or directory py3versions: no X-Python3-Version in control file, using supported versions set -ex ; for pyvers in 3.12; do \ PYTHONPATH=/<<PKGBUILDDIR>> PYTHON=python$pyvers python$pyvers -m testtools.run testtools.tests.test_suite ; \ done + PYTHONPATH=/<<PKGBUILDDIR>> PYTHON=python3.12 python3.12 -m testtools.run testtools.tests.test_suite Tests running... ====================================================================== FAIL: testtools.tests.twistedsupport.test_runtest.TestAsynchronousDeferredRunTest.test_log_in_details ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/testtools/tests/twistedsupport/test_runtest.py", line 743, in test_log_in_details self.assertThat( File "/<<PKGBUILDDIR>>/testtools/testcase.py", line 509, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: Differences: [ Differences: [ Differences: { 'twisted-log': '''\ 2024-09-24 13:15:44+0000 [-] foo 2024-09-24 13:15:44+0000 [-] Main loop terminated. ''' does not end with '''\ foo '''.: after <function <lambda>> on <Content type=text/plain; charset="utf8", value=b'2024-09-24 13:15:44+0000 [-] foo\n2024-09-24 13:15:44+0000 [-] Main loop terminated.\n'>, } ] ] ====================================================================== FAIL: testtools.tests.twistedsupport.test_runtest.TestAsynchronousDeferredRunTest.test_log_to_twisted ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/testtools/tests/twistedsupport/test_runtest.py", line 792, in test_log_to_twisted self.assertThat( File "/<<PKGBUILDDIR>>/testtools/testcase.py", line 509, in assertThat raise mismatch_error testtools.matchers._impl.MismatchError: Differences: [ len([{'system': '-', 'message': ('foo',), 'time': 1727183744.625481, 'isError': 0, 'log_time': 1727183744.625481, 'log_text': 'foo', 'log_format': '{log_text}', 'log_level': <LogLevel=info>, 'log_namespace': 'log_legacy', 'log_system': '-', 'format': '%(log_legacy)s', 'log_legacy': <twisted.logger._stdlib.StringifiableFromEvent object at 0x7fdd6958f3b0>}, {'log_logger': <Logger 'twisted.internet.base'>, 'log_level': <LogLevel=info>, 'log_namespace': 'twisted.internet.base', 'log_source': None, 'log_format': 'Main loop terminated.', 'log_time': 1727183744.6255574, 'message': (), 'time': 1727183744.6255574, 'system': '-', 'format': '%(log_legacy)s', 'log_legacy': <twisted.logger._stdlib.StringifiableFromEvent object at 0x7fdd6958ec60>, 'isError': 0}]) != 1: Length mismatch ] Ran 2627 tests in 0.614s FAILED (failures=2) make[1]: *** [debian/rules:30: override_dh_auto_test] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:13: build] Error 2 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 -------------------------------------------------------------------------------- The above is just how the build ends and not necessarily the most relevant part. If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202409/ 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 could not 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 affects, so that this is still visible in the BTS web page for this package. Thanks.