Your message dated Thu, 16 Nov 2017 16:38:40 +0000
with message-id <e1efnby-000hzl...@fasolo.debian.org>
and subject line Bug#874354: fixed in pyjunitxml 0.6-1.3
has caused the Debian Bug report #874354,
regarding python-junitxml: wrongly represents skips as <skip> rather than 
<skipped>
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.)


-- 
874354: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=874354
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python-junitxml
Version: 0.6-1.2
Tags: upstream patch

pyjunitxml represents test skips as <skip> rather than <skipped>. Thus
consumers such as Jenkins' junit-plugin recognize skipped tests as
successful ones when generated with pyjunitxml. The current format
specification seems to be http://llg.cubic.org/docs/junit/ and it agrees
with junit-plugin. Thus the bug is in pyjunitxml. I am attaching a patch
to address the issue.

Helmut
From: Helmut Grohne <h.gro...@intenta.de>
Subject: fix formatting of skips

http://llg.cubic.org/docs/junit/

A typical symptom is that consumers (such as Jenkins junit-plugin) treats skips
as successes.

Index: pyjunitxml-0.6/junitxml/__init__.py
===================================================================
--- pyjunitxml-0.6.orig/junitxml/__init__.py
+++ pyjunitxml-0.6/junitxml/__init__.py
@@ -198,7 +198,7 @@ class JUnitXmlResult(unittest.TestResult
             pass
         self._test_case_string(test)
         self._results.append('>\n')
-        self._results.append('<skip>%s</skip>\n</testcase>\n'% _escape_attr(reason))
+        self._results.append('<skipped>%s</skipped>\n</testcase>\n'% _escape_attr(reason))
 
     def addUnexpectedSuccess(self, test):
         try:

--- End Message ---
--- Begin Message ---
Source: pyjunitxml
Source-Version: 0.6-1.3

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 874...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Helmut Grohne <h.gro...@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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 17 Oct 2017 11:21:44 +0200
Source: pyjunitxml
Binary: python-junitxml python3-junitxml
Architecture: source
Version: 0.6-1.3
Distribution: sid
Urgency: medium
Maintainer: Robert Collins <robe...@robertcollins.net>
Changed-By: Helmut Grohne <h.gro...@intenta.de>
Description:
 python-junitxml - PyUnit extension for reporting in JUnit compatible XML
 python3-junitxml - PyUnit extension for reporting in JUnit compatible XML
Closes: 551313 787532 874354
Changes:
 pyjunitxml (0.6-1.3) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Fix emission of skipped tests. (Closes: #874354)
   * Add a Homepage field. (Closes: #787532)
   * Rewrite long description. (Closes: #551313)
   * Update d/copyright links to use https (policy 4.0.0).
   * Declare compliance with policy version 4.1.1.
Checksums-Sha1:
 cd5f203b82ad7e069d62a184d5ef302386f65e63 1906 pyjunitxml_0.6-1.3.dsc
 6c91c471451da1186ca50e4b8cdc2318e072bf72 3656 pyjunitxml_0.6-1.3.debian.tar.xz
 f7a938a926dac97998d05adf6834d6661ca5f309 6674 
pyjunitxml_0.6-1.3_amd64.buildinfo
Checksums-Sha256:
 fd3f97434ab9af04d6e466593dd7620e8424d393d9b9e31071add6e5fd9cf374 1906 
pyjunitxml_0.6-1.3.dsc
 770c2f83cdd31f5b8db6674011b1b661c116da9c34924d0749f917ada285aa39 3656 
pyjunitxml_0.6-1.3.debian.tar.xz
 411b1f1620003f04cb54d81c23281c0b64fb6456671a51d117c33a5b4ab5b75b 6674 
pyjunitxml_0.6-1.3_amd64.buildinfo
Files:
 97ca0c59ca1541234e1dd33a188768d1 1906 python optional pyjunitxml_0.6-1.3.dsc
 266f651cea37d260ee2c26b5be26d99f 3656 python optional 
pyjunitxml_0.6-1.3.debian.tar.xz
 35715cb3f54887e5161832a1c4b69ea9 6674 python optional 
pyjunitxml_0.6-1.3_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEETMLS2QqNFlTb+HOqLRqqzyREREIFAln56q4ACgkQLRqqzyRE
REI1Gw/9G6auuHSLjfN3VWQPmk3YVZcN2OqOZ5W3ahrZt+HKZq3koZIwSmQfCPuO
NRRCfQO7zfLYu/egrNW0VLguGedTy54K8aZDoF7jUr0vgo4fiYm3uXv0HJGTlbkO
d3O/Gqsv+EDeC3Sz6zu9VC8Gbqf2Q0aK3qyXfBTpfhtI7mcCbzQl4KB2GtH5zQQs
9uTFOBzQ1a84fyi4O4tR9JvCwVDbfftER+/Lv4A4Co6oGeAhDY2HDNeHri5QmbWh
l9Vl4VROlT+aXi0KIefBgYd9x24XPhqMIxtZj/AAwiKs0q//cRvhDraTk07ci0Bw
Hzp69lQiLOX66DhFsM4ZHcMgTrGK4hjYe5l4aqfisqa38N6IY7kwVkql3A38kAAb
aOZgTmnEpJXwl1MPXppjLdHralCiNqoE2fj7l8RJOK4paakfiyqcH9oa7wos3Gyr
UEcTmgyOjSCXMwInntryS+CI+JDc0zjD1AhpfAC/ZDdMQPxQhinSij/6p2WJ7lJj
NUJYkRf0pzaZYhRxOunWa4+iy5RB/lthSZrfuxCok9oxiVAC/xUsuoaP/027b4Zn
68OnxVCKLvXl18+YvWpt5GTzn9CrcTX6Kp/YRnvRKSOsyqjgYJVgHKoluhxhYs+f
GCQglu21knDXRkdfreNYoAzy2536H8HjIKRhi0MtgBuQSAlEuCI=
=tqVl
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to