Your message dated Wed, 25 Sep 2024 08:35:47 +0000
with message-id <e1stnux-003wky...@fasolo.debian.org>
and subject line Bug#1082697: fixed in python-testtools 2.7.2-2
has caused the Debian Bug report #1082697,
regarding python-testtools: FTBFS: FAIL:
testtools.tests.twistedsupport.test_runtest.TestAsynchronousDeferredRunTest.test_log_to_twisted
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1082697: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082697
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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.
--- End Message ---
--- Begin Message ---
Source: python-testtools
Source-Version: 2.7.2-2
Done: Thomas Goirand <z...@debian.org>
We believe that the bug you reported is fixed in the latest version of
python-testtools, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1082...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Thomas Goirand <z...@debian.org> (supplier of updated python-testtools package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Wed, 25 Sep 2024 09:59:04 +0200
Source: python-testtools
Architecture: source
Version: 2.7.2-2
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenStack <team+openst...@tracker.debian.org>
Changed-By: Thomas Goirand <z...@debian.org>
Closes: 1082697
Changes:
python-testtools (2.7.2-2) unstable; urgency=medium
.
* Disable failing twisted tests (Closes: #1082697):
- TestAsynchronousDeferredRunTest.test_log_in_details
- TestAsynchronousDeferredRunTest.test_log_to_twisted
Checksums-Sha1:
83b0d0bcb51acd99d231aab0f2d8a8aa7607a144 2475 python-testtools_2.7.2-2.dsc
c300ca5b7e450a1dd0c9fe3492110d91d391c640 7652
python-testtools_2.7.2-2.debian.tar.xz
29216536b73589f6e61643ec7efcdc3cd96e7b55 9640
python-testtools_2.7.2-2_amd64.buildinfo
Checksums-Sha256:
63372e739995accbcf8a8b9e8eb3b5313d8b3d9f4af25f3b7f3e070250e6e9c3 2475
python-testtools_2.7.2-2.dsc
cf2897a083dc650556a34a2cda234b013a5228744527b0fff30eae25b5d9de1d 7652
python-testtools_2.7.2-2.debian.tar.xz
3cc9d36d3b5d2a27a13a1bcc61afcd13610e14b3d70e82e74dab559e98a67547 9640
python-testtools_2.7.2-2_amd64.buildinfo
Files:
ae47fad1dbb612b21cc2d47415836027 2475 python optional
python-testtools_2.7.2-2.dsc
fc45bf05dbc9eb4f31bfee13f5ebb28b 7652 python optional
python-testtools_2.7.2-2.debian.tar.xz
0c790395bd8ff32e9ab5cb6fab6f42bc 9640 python optional
python-testtools_2.7.2-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAmbzxScACgkQ1BatFaxr
Q/4s5g//W0zRGZB2sSVdrRRgctrP2bVuwKM9EqmZ+cXaxPRnCIrDQK7EpMQSeuUF
XC2fcF0F2tF7l7i8Mw8z2oHFIThAt9FUdEIbTTQgCaKlxxuamQKc6HgNlIeo2suW
iF/OFfeQf6EIGhZEHVVeGIGLq+e6jBoW4WUDCtb4WYIUzWYlIiLBpUNi2oPQzJHY
sUkKmjfJWr6NGrEZyGiBuMn5S+eBbAhfyHYVtHt+s8ODfABCx+AVv50V03tJvj31
aWZgepZ4yMexcFil7bSjjse05Dl94AY9EKgsOCqBsGbUxIsXNJiHJNLdtzS25VsQ
cM/u+ZM7+JCp1uZVibfZPHBB0b4qLPkX193W5tfcGFaMBYtNiMjn3qgFJY9l4Cke
1pd6xLDsl9XlkkJA9IWJoSuOhEJoNdNceT8jut27OOZ4tUJJLpYxmy6qN6/NZN3/
uXGu+c/oKr71cJZ+u+U/hx/kyxpWuOq/cC3cW6UEnK+zMhaJe88Tl5Ba4L1+VnwQ
J1mv/jbXZ+5ieUM9DNLcXXIwNOse20jeAvdYoCKycdq0g68YgAEEUj/qtbfG355d
JuejfhA5WBBLOBUMDp3mjUM9m8jk5JtpZMX6RtFGzX8dDXjQjJNWzgtz59tEC7u1
nWDUSnK1Vg02bfQWW9yHo3jkx2VgXyn2Sko42EVm1gxgvAMQ6gI=
=6QCq
-----END PGP SIGNATURE-----
pgpzpxIdqz5RY.pgp
Description: PGP signature
--- End Message ---