Hi all, chiming in.
The issue is due to a validation error. From what I understood, the plug-in uses DTKit framework and a set of XSD's (and maybe other validation schemas) to validate the input files.
In the case of the nosetests.xml file, I used the plug-in version from GitHub, branch master. Debugging the plug-in looks like it uses junit-7.xsd [1] from DTKit.
If you are curious, copy the contents of nosetests.xml attached to this issue, and the junit-7.xsd contents, and paste them at http://www.utilities-online.info/xsdvalidation
The following error message is displayed:
Not valid.
Error - Line 1, 110: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 110; cvc-complex-type.3.2.2: Attribute 'skip' is not allowed to appear in element 'testsuite'.
I'll take a look at the DTKit to see if it's possible to send a pull request to its repository.
Cheers
/Bruno
[1] https://svn.jenkins-ci.org/trunk/hudson/dtkit/dtkit-format/dtkit-junit-model/src/main/resources/com/thalesgroup/dtkit/junit/model/xsd/junit-7.xsd
I seem to have the same issue, I generate XML like so;
"nosetests --with-xunit"
Runnig post-build action "Publish JUnit test result report" over the file works fine, but using "Publish xUnit test result report" with JUnit patters I get the following error
[xUnit] [INFO] - Starting to record.
[xUnit] [INFO] - Processing JUnit
[xUnit] [INFO] - [JUnit] - 1 test report file(s) were found with the pattern '**/nosetests.xml' relative to '/var/lib/jenkins/jenkins-data/jobs/Skuscraper/workspace' for the testing framework 'JUnit'.
[xUnit] [ERROR] - The result file '/var/lib/jenkins/jenkins-data/jobs/Skuscraper/workspace/skuscraper/nosetests.xml' for the metric 'JUnit' is not valid. The result file has been skipped.
[xUnit] [INFO] - Fail BUILD because 'set build failed if errors' option is activated.
[xUnit] [INFO] - There are errors when processing test results.
[xUnit] [INFO] - Skipping tests recording.
[xUnit] [INFO] - Stop build.
I have attached my nosetests.xml.