Your message dated Mon, 27 Dec 2021 16:05:19 +0000
with message-id <e1n1sux-0000p6...@fasolo.debian.org>
and subject line Bug#1002440: fixed in python-testtools 2.5.0-3
has caused the Debian Bug report #1002440,
regarding python-testtools: FTBFS: testtools.matchers._impl.MismatchError
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.)
--
1002440: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1002440
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-testtools
Version: 2.5.0-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20211220 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> 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.10 3.9; do \
> PYTHONPATH=/<<PKGBUILDDIR>> PYTHON=python$pyvers python$pyvers -m
> testtools.run testtools.tests.test_suite ; \
> done
> + PYTHONPATH=/<<PKGBUILDDIR>> PYTHON=python3.10 python3.10 -m testtools.run
> testtools.tests.test_suite
> /usr/lib/python3.10/runpy.py:126: RuntimeWarning: 'testtools.run' found in
> sys.modules after import of package 'testtools', but prior to execution of
> 'testtools.run'; this may result in unpredictable behaviour
> warn(RuntimeWarning(msg))
> Tests running...
> ======================================================================
> FAIL: testtools.tests.test_testresult.TestNonAsciiResults.test_syntax_error
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/testtools/tests/test_testresult.py", line 2676, in
> test_syntax_error
> self.assertIn(self._as_output(
> File "/<<PKGBUILDDIR>>/testtools/testcase.py", line 399, in assertIn
> self.assertThat(haystack, Contains(needle), message)
> File "/<<PKGBUILDDIR>>/testtools/testcase.py", line 480, in assertThat
> raise mismatch_error
> testtools.matchers._impl.MismatchError: ' File "<string>", line 1\n f(a,
> b c)\n ^\nSyntaxError: ' not in 'Tests
> running...\n======================================================================\nERROR:
>
> test_syntax_error.Test.runTest\n----------------------------------------------------------------------\nTraceback
> (most recent call last):\n File
> "/tmp/TestNonAsciiResults07m6k1o1/test_syntax_error.py", line 6, in runTest\n
> exec (\'f(a, b c)\')\n File "<string>", line 1\n f(a, b c)\n
> ^^^\nSyntaxError: invalid syntax. Perhaps you forgot a comma?\n\nRan 1 test
> in 0.001s\nFAILED (failures=1)\n'
> ======================================================================
> FAIL:
> testtools.tests.test_testresult.TestNonAsciiResultsWithUnittest.test_syntax_error
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/testtools/tests/test_testresult.py", line 2676, in
> test_syntax_error
> self.assertIn(self._as_output(
> File "/<<PKGBUILDDIR>>/testtools/testcase.py", line 399, in assertIn
> self.assertThat(haystack, Contains(needle), message)
> File "/<<PKGBUILDDIR>>/testtools/testcase.py", line 480, in assertThat
> raise mismatch_error
> testtools.matchers._impl.MismatchError: ' File "<string>", line 1\n f(a,
> b c)\n ^\nSyntaxError: ' not in
> 'E\n======================================================================\nERROR:
> runTest
> (test_syntax_error.Test)\ntest_syntax_error.Test.runTest\n----------------------------------------------------------------------\ntesttools.testresult.real._StringException:
> Traceback (most recent call last):\n File
> "/tmp/TestNonAsciiResultsWithUnittestwnxlmk1_/test_syntax_error.py", line 6,
> in runTest\n exec (\'f(a, b c)\')\n File "<string>", line 1\n f(a, b
> c)\n ^^^\nSyntaxError: invalid syntax. Perhaps you forgot a
> comma?\n\n\n----------------------------------------------------------------------\nRan
> 1 test in 0.000s\n\nFAILED (errors=1)\n'
>
> Ran 2625 tests in 0.376s
> FAILED (failures=2)
> make[1]: *** [debian/rules:36: override_dh_auto_test] Error 1
The full build log is available from:
http://qa-logs.debian.net/2021/12/20/python-testtools_2.5.0-2_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
--- End Message ---
--- Begin Message ---
Source: python-testtools
Source-Version: 2.5.0-3
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 1002...@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: Thu, 23 Dec 2021 14:21:40 +0100
Source: python-testtools
Architecture: source
Version: 2.5.0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenStack <team+openst...@tracker.debian.org>
Changed-By: Thomas Goirand <z...@debian.org>
Closes: 1002440
Changes:
python-testtools (2.5.0-3) unstable; urgency=medium
.
* Add fix-testing-test_syntax_error.patch (Closes: #1002440).
Checksums-Sha1:
9cf99663c767af6999097ff9adfbfa6b608aa8ec 2391 python-testtools_2.5.0-3.dsc
bf38815e0663d5329c5d95d9ca944ad7946743d1 7656
python-testtools_2.5.0-3.debian.tar.xz
4f01f71ed78115753972e83a57cbf1fce906ee96 8372
python-testtools_2.5.0-3_amd64.buildinfo
Checksums-Sha256:
94e2c0d4c24b71648923e7196196f17fa7e1239c678661e1640c8b8f61395328 2391
python-testtools_2.5.0-3.dsc
11211317e7510ccfeeae336cd5aa35db8e777487fe22971f952ca339476ed4d8 7656
python-testtools_2.5.0-3.debian.tar.xz
2dc747b7b004e44df13a9d2af4d13e36769054f71dc04a24989ef149b72f4ae9 8372
python-testtools_2.5.0-3_amd64.buildinfo
Files:
d04d355746945b191a248377b9240afe 2391 python optional
python-testtools_2.5.0-3.dsc
c2b1ac0a1625d329c2006a47065dd33b 7656 python optional
python-testtools_2.5.0-3.debian.tar.xz
92ae9f86add3580bdc3e713387988d02 8372 python optional
python-testtools_2.5.0-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAmHJ3zcACgkQ1BatFaxr
Q/4U0Q/7BsLWw+gBzLl56SRL4jKPbriXZsSBPoblK3Z1IAFeOAg5yZf7ytE6SkMr
qqoXvhGZoAy0p6uln+r/nD50rU/FulHOU8J8TLYGAr+EiFrIefkHPRqzIz9EftWS
b2YYEHznS0gE+n+ze0QdBbURjdsY3d0nxrJKbokKgK8wYan+CxizuUzXdGK2HfvZ
K5twvOO18AFGp2jH/wgxax88fg/0xPxhXVzWj0Y/WzMvKU7AuHw/ilBRcEUc+DjG
6mtVKhjMSy/KU23s5Uyf14yqjteEJs8DOUTm1NfT8Fce+j8FkEXAhux+YGfcLyUv
pT0dSXc+/LNhEseaB0eaMC/BS9CFOFUeJCFsXNR1yzTJEjU5gEu5PXq1zPwuXO2v
7qCyRiRTUkmaOChtE8qEGdfUnTb+Mlwi3A54Ac9D/M1Nu2Sbz7eT9UVkb4FpXe5n
x067bZoizYaDD54/XJswYy4srx75JsQl86VDen/cRIycpxbjnHqBiottlC3vDkC/
EBAEa722AUAE/P/pdj3YnIeCBQkKAGzLeHe6+QzWFRVKnIEF6dEoOWV/H5qKErOj
/QFKR96xHOBInu368wQ+k8AMCZ0s28hYQosVb/h0IAyGzzMcFnJ/UnMcA8y0ZdDR
NaYII03hR9mxzjmfSYuqGkrvkU/iRMt5Sclva0D639p+VzuB95Y=
=aLDv
-----END PGP SIGNATURE-----
--- End Message ---