-
Bug
-
Resolution: Fixed
-
Major
-
None
-
xunit plugin 2.0.2
xunit files generated with nose fail to parse with the latest xunit plugin version 2.0.2.
I have rolled back to 1.104, and the problem is gone.
Jenkins log:
15:57:49 INFO: Processing JUnit 15:57:49 INFO: [JUnit] - 1 test report file(s) were found with the pattern '[path omitted]\TestReport.xml' relative to '[path omitted]' for the testing framework 'JUnit'. 15:57:50 WARNING: The file '[path omitted]\TestReport.xml' is an invalid file. 15:57:50 WARNING: At line 1 of file:[path omitted]\TestReport.xml:cvc-complex-type.3.2.2: Attribute 'skip' is not allowed to appear in element 'testsuite'. 15:57:50 ERROR: The result file '[path omitted]\TestReport.xml' for the metric 'JUnit' is not valid. The result file has been skipped.
Relevant xml:
<?xml version="1.0" encoding="UTF-8"?><testsuite name="nosetests" tests="32" errors="1" failures="0" skip="0">[rest of file goes here]
Looks like this old issue from 2013 might be relevant, as it describes the same problem:
https://issues.jenkins-ci.org/browse/JENKINS-18095
- is related to
-
JENKINS-52392 Support custom junit format that does not respect any precise schema
- Resolved