Debian Bug report logs -
#802124
pyjunitxml: FTBFS: test_erroring_test (junitxml.tests.test_junitxml.TestJUnitXmlResult) fails
Reported by: "Chris West (Faux)" <solo-debianbugs@goeswhere.com>
Date: Sat, 17 Oct 2015 16:33:13 UTC
Severity: serious
Tags: buster, patch, sid, stretch
Found in version pyjunitxml/0.6-1.1
Fixed in version pyjunitxml/0.6-1.2
Done: Helmut Grohne <h.grohne@intenta.de>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, solo-debianbugs@goeswhere.com, Robert Collins <robertc@robertcollins.net>:
Bug#802124; Package src:pyjunitxml.
(Sat, 17 Oct 2015 16:33:17 GMT) (full text, mbox, link).
Acknowledgement sent
to "Chris West (Faux)" <solo-debianbugs@goeswhere.com>:
New Bug report received and forwarded. Copy sent to solo-debianbugs@goeswhere.com, Robert Collins <robertc@robertcollins.net>.
(Sat, 17 Oct 2015 16:33:17 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Source: pyjunitxml
Version: 0.6-1.1
Severity: serious
Justification: fails to build from source
Tags: sid stretch
User: reproducible-builds@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-CC: reproducible-builds@lists.alioth.debian.org
Dear Maintainer,
The package fails to build:
Check the skip element content is escaped ... ok
======================================================================
FAIL: test_erroring_test (junitxml.tests.test_junitxml.TestJUnitXmlResult)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/pyjunitxml-0.6/.pybuild/pythonX.Y_3.5/build/junitxml/tests/test_junitxml.py", line 119, in test_erroring_test
""", self.get_output())
AssertionError: '<tes[109 chars]txml.Errors" name="test_me" time="0.000">\n<er[67 chars]e>\n' != '<tes[109 chars]txml.TestJUnitXmlResult.test_erroring_test.<[117 chars]e>\n'
<testsuite errors="1" failures="0" name="" tests="1" time="0.000">
- <testcase classname="junitxml.tests.test_junitxml.Errors" name="test_me" time="0.000">
+ <testcase classname="junitxml.tests.test_junitxml.TestJUnitXmlResult.test_erroring_test.<locals>.Errors" name="test_me" time="0.000">
? ++++++++++++++++++++++++++++++++++++++++++++++++++
<error type="ZeroDivisionError">error</error>
</testcase>
</testsuite>
======================================================================
FAIL: test_expected_failure_test (junitxml.tests.test_junitxml.TestJUnitXmlResult)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/pyjunitxml-0.6/.pybuild/pythonX.Y_3.5/build/junitxml/tests/test_junitxml.py", line 214, in test_expected_failure_test
self.assertEqual(expected, output)
AssertionError: '<tes[109 chars]txml.ExpectedFail" name="test_me" time="0.000"[14 chars]e>\n' != '<tes[109 chars]txml.TestJUnitXmlResult.test_expected_failure_[72 chars]e>\n'
<testsuite errors="0" failures="0" name="" tests="1" time="0.000">
- <testcase classname="junitxml.tests.test_junitxml.ExpectedFail" name="test_me" time="0.000"/>
+ <testcase classname="junitxml.tests.test_junitxml.TestJUnitXmlResult.test_expected_failure_test.<locals>.ExpectedFail" name="test_me" time="0.000"/>
? ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
</testsuite>
======================================================================
FAIL: test_failing_test (junitxml.tests.test_junitxml.TestJUnitXmlResult)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/pyjunitxml-0.6/.pybuild/pythonX.Y_3.5/build/junitxml/tests/test_junitxml.py", line 133, in test_failing_test
""", self.get_output())
AssertionError: '<tes[109 chars]txml.Fails" name="test_me" time="0.000">\n<fai[69 chars]e>\n' != '<tes[109 chars]txml.TestJUnitXmlResult.test_failing_test.<[118 chars]e>\n'
<testsuite errors="0" failures="1" name="" tests="1" time="0.000">
- <testcase classname="junitxml.tests.test_junitxml.Fails" name="test_me" time="0.000">
+ <testcase classname="junitxml.tests.test_junitxml.TestJUnitXmlResult.test_failing_test.<locals>.Fails" name="test_me" time="0.000">
? +++++++++++++++++++++++++++++++++++++++++++++++++
<failure type="AssertionError">failure</failure>
</testcase>
</testsuite>
======================================================================
FAIL: test_skip_test (junitxml.tests.test_junitxml.TestJUnitXmlResult)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/pyjunitxml-0.6/.pybuild/pythonX.Y_3.5/build/junitxml/tests/test_junitxml.py", line 162, in test_skip_test
self.assertEqual(expected, output)
AssertionError: '<tes[109 chars]txml.Skips" name="test_me" time="0.000">\n<ski[36 chars]e>\n' != '<tes[109 chars]txml.TestJUnitXmlResult.test_skip_test.<loc[82 chars]e>\n'
<testsuite errors="0" failures="0" name="" tests="1" time="0.000">
- <testcase classname="junitxml.tests.test_junitxml.Skips" name="test_me" time="0.000">
+ <testcase classname="junitxml.tests.test_junitxml.TestJUnitXmlResult.test_skip_test.<locals>.Skips" name="test_me" time="0.000">
? ++++++++++++++++++++++++++++++++++++++++++++++
<skip>yo</skip>
</testcase>
</testsuite>
======================================================================
FAIL: test_successful_test (junitxml.tests.test_junitxml.TestJUnitXmlResult)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/pyjunitxml-0.6/.pybuild/pythonX.Y_3.5/build/junitxml/tests/test_junitxml.py", line 145, in test_successful_test
""", self.get_output())
AssertionError: '<tes[109 chars]txml.Passes" name="test_me" time="0.000"/>\n</testsuite>\n' != '<tes[109 chars]txml.TestJUnitXmlResult.test_successful_test.&[60 chars]e>\n'
<testsuite errors="0" failures="0" name="" tests="1" time="0.000">
- <testcase classname="junitxml.tests.test_junitxml.Passes" name="test_me" time="0.000"/>
+ <testcase classname="junitxml.tests.test_junitxml.TestJUnitXmlResult.test_successful_test.<locals>.Passes" name="test_me" time="0.000"/>
? ++++++++++++++++++++++++++++++++++++++++++++++++++++
</testsuite>
======================================================================
FAIL: test_unexpected_success_test (junitxml.tests.test_junitxml.TestJUnitXmlResult)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/pyjunitxml-0.6/.pybuild/pythonX.Y_3.5/build/junitxml/tests/test_junitxml.py", line 187, in test_unexpected_success_test
self.assertEqual(expected, output)
AssertionError: '<tes[109 chars]txml.Succeeds" name="test_me" time="0.000">\n<[74 chars]e>\n' != '<tes[109 chars]txml.TestJUnitXmlResult.test_unexpected_succes[134 chars]e>\n'
<testsuite errors="0" failures="1" name="" tests="1" time="0.000">
- <testcase classname="junitxml.tests.test_junitxml.Succeeds" name="test_me" time="0.000">
+ <testcase classname="junitxml.tests.test_junitxml.TestJUnitXmlResult.test_unexpected_success_test.<locals>.Succeeds" name="test_me" time="0.000">
<failure type="unittest.case._UnexpectedSuccess"/>
</testcase>
</testsuite>
----------------------------------------------------------------------
Ran 19 tests in 0.012s
FAILED (failures=6)
Full build log:
https://reproducible.debian.net/rb-pkg/unstable/amd64/pyjunitxml.html
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Added tag(s) buster.
Request was from ivodd@debian.org
to control@bugs.debian.org.
(Sun, 18 Jun 2017 09:54:57 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Robert Collins <robertc@robertcollins.net>:
Bug#802124; Package src:pyjunitxml.
(Wed, 26 Jul 2017 09:33:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Helmut Grohne <h.grohne@intenta.de>:
Extra info received and forwarded to list. Copy sent to Robert Collins <robertc@robertcollins.net>.
(Wed, 26 Jul 2017 09:33:03 GMT) (full text, mbox, link).
Message #12 received at 802124@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Control: tags -1 + patch
The attached patch fixes the test suite for Python 3.5. The behaviour of
junitxml is correct.
Helmut
[pyjunitxml_0.6-1.2.debdiff (text/plain, attachment)]
Added tag(s) patch.
Request was from Helmut Grohne <h.grohne@intenta.de>
to 802124-submit@bugs.debian.org.
(Wed, 26 Jul 2017 09:33:03 GMT) (full text, mbox, link).
Reply sent
to Helmut Grohne <h.grohne@intenta.de>:
You have taken responsibility.
(Mon, 31 Jul 2017 09:51:04 GMT) (full text, mbox, link).
Notification sent
to "Chris West (Faux)" <solo-debianbugs@goeswhere.com>:
Bug acknowledged by developer.
(Mon, 31 Jul 2017 09:51:04 GMT) (full text, mbox, link).
Message #19 received at 802124-close@bugs.debian.org (full text, mbox, reply):
Source: pyjunitxml
Source-Version: 0.6-1.2
We believe that the bug you reported is fixed in the latest version of
pyjunitxml, 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 802124@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Helmut Grohne <h.grohne@intenta.de> (supplier of updated pyjunitxml 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 ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 26 Jul 2017 11:18:56 +0200
Source: pyjunitxml
Binary: python-junitxml python3-junitxml
Architecture: source
Version: 0.6-1.2
Distribution: sid
Urgency: medium
Maintainer: Robert Collins <robertc@robertcollins.net>
Changed-By: Helmut Grohne <h.grohne@intenta.de>
Description:
python-junitxml - PyUnit extension for reporting in JUnit compatible XML
python3-junitxml - PyUnit extension for reporting in JUnit compatible XML
Closes: 802124
Changes:
pyjunitxml (0.6-1.2) UNRELEASED; urgency=medium
.
* Non-maintainer upload.
* Fix FTBFS (test suite failure with Python 3.5, Closes: #802124).
Checksums-Sha1:
d68f1050b8c94b448e3f8519baf883912e1bf5be 1863 pyjunitxml_0.6-1.2.dsc
9cb58eaa83d833f70f18c87e7306f03709d09b83 3004 pyjunitxml_0.6-1.2.debian.tar.xz
42da91e602699835f8b6635f15e12d47b97bdc08 6756 pyjunitxml_0.6-1.2_amd64.buildinfo
Checksums-Sha256:
c763bdfcdf2eaa4d340c80dc3d2bdbcbae0399f6b3f72a00401a2603885e1e2f 1863 pyjunitxml_0.6-1.2.dsc
2bbafa4317abbd53052d9c99c6d577cb6a68fca4ba853a82a3e7ac3273521e47 3004 pyjunitxml_0.6-1.2.debian.tar.xz
18d90a277bec5798c01f600de0dc9f830154e5adbea73cb7b649190bace4c117 6756 pyjunitxml_0.6-1.2_amd64.buildinfo
Files:
14b895f55c675e0ca57e0744a4f5b04c 1863 python optional pyjunitxml_0.6-1.2.dsc
08c3b0622095a82fdea1b57db9de48f9 3004 python optional pyjunitxml_0.6-1.2.debian.tar.xz
70a6a0499a9220e087b77f25a0576807 6756 python optional pyjunitxml_0.6-1.2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEETMLS2QqNFlTb+HOqLRqqzyREREIFAll+9uwACgkQLRqqzyRE
REJDgQ/+L5htpMngWs3uZynhmydnoX/Giph76Vs79u42mAB3/8hkzAok9W/mzJM6
E0ItD4uLluCf4zR9sq0ysafOfJmCxsMEsvLK+CuDFgrc7EYgXIdM5znxE+vvOCpl
JF9oit4gumlN8ju7fF5OjpE7BJb04SycOgp8FNQlILQsbhfiChjumPXHBJzMdqzo
czv+h5ejtmt3nFqidPnaQbS3xq9YoiZ1FY7kEGnrCPV/nx3njPjWW+QvOUpwpbwT
tvSctTZWjyP3+nwDVM9+luCWi45g4PykjqSlRfOlmovk2xnZpOPsaySuNcDwqIva
cUMyvTY24z4RMy98ahrxTcM4am0DHN4/XElmtxsgMyGETTds5MTRNkXiNsgzYwsZ
KfxboOp2FH8HX0aVKHK4nS63HkLiyBvrxo25ADZFkBsmNsDi8nQCip8t5AslfCPG
QnJsnMFPSi7duHwY82qoYsxFkD79LVlrVELjtmhJZkaEZTt70Fu5MIB7B+74AWLZ
+Ui7pHUVQ3OzD8AMm+vdR6vG086YxLdsY9zoyIODu0Q8tM0OeljUs+vs4b+BJnPb
pc7lE6NuB8XWASxlR+9GtlepodaBq7TbPm2bLouL1x6kvfYHN26fF3dKo3oK2iU5
WsEPOusvMrO/9iBi7BsiiLhJfhBEgxpDRunVT6Wy2Rw7pnWCnmw=
=JWPv
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sun, 03 Sep 2017 07:30:40 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sat Jan 6 19:06:00 2018;
Machine Name:
beach
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.