The XML output generated by Python nose is not considered valid by the latest Jenkins plugins. The error is:
INFO: Starting to record.
INFO: Processing JUnit
INFO: [JUnit] - 1 test report file(s) were found with the pattern '**/target/nosetests.xml' relative to '/home/enterprise/workspace/SlipStreamClient_build' for the testing framework 'JUnit'.
WARNING: The file '/home/enterprise/workspace/SlipStreamClient_build/client/target/nosetests.xml' is an invalid file.
WARNING: At line 1 of file:/home/enterprise/workspace/SlipStreamClient_build/client/target/nosetests.xml:cvc-complex-type.3.2.2: Attribute 'skip' is not allowed to appear in element 'testsuite'.
ERROR: The result file '/home/enterprise/workspace/SlipStreamClient_build/client/target/nosetests.xml' for the metric 'JUnit' is not valid. The result file has been skipped.
INFO: Failing BUILD because 'set build failed if errors' option is activated.
INFO: There are errors when processing test results.
INFO: Skipping tests recording.
INFO: Stop build.
Build step 'Publish xUnit test result report' changed build result to FAILURE
Finished: FAILURE
It looks like the best option is to upgrade our Python unit tests from nose to nose2. In the meantime, the unit test processing for SlipStreamClient has been turned off in Jenkins.
The XML output generated by Python nose is not considered valid by the latest Jenkins plugins. The error is:
This was reported and fixed for nose2, but doesn't appear to have been back ported to nose.
It looks like the best option is to upgrade our Python unit tests from nose to nose2. In the meantime, the unit test processing for SlipStreamClient has been turned off in Jenkins.