Issue Type: Bug Bug
Affects Versions: current
Assignee: Gregory Boissinot
Attachments: xunitBoost.xml
Components: xunit
Created: 13/Jun/13 2:31 PM
Description:

We've recently introduced the boost unit test framework random parameter to our unit tests and since then jenkins/xUnit plugin is unable to validate the xml result file (see attached).

the log in jenkins shows this:
Jun 13, 2013 2:46:21 PM com.thalesgroup.hudson.plugins.xunit.service.XUnitService warningSystemLogger
WARNING: [xUnit] - The file '/var/lib/jenkins/jobs/test/workspace/foo/test.xml' is an invalid file.
Jun 13, 2013 2:46:21 PM com.thalesgroup.hudson.plugins.xunit.service.XUnitService warningSystemLogger
WARNING: [xUnit] - At line 1 of file:/var/lib/jenkins/jobs/test/workspace/foo/test.xml:cvc-complex-type.2.4.a: Invalid content was found starting with element 'Message'. One of '{TestSuite}' is expected.
Jun 13, 2013 2:46:21 PM com.thalesgroup.hudson.plugins.xunit.service.XUnitService errorSystemLogger
SEVERE: [xUnit] - The result file '/var/lib/jenkins/jobs/test/workspace/foo/test.xml' for the metric 'BoostTest' is not valid. The result file has been skipped.

The problem seems to come from the new tag 'Message' been added to the 'TestLog' result bloc:
<TestLog>
<BuildInfo platform="linux" compiler="GNU C++ version 4.4.6 20120305 (Red Hat 4.4.6-4)" stl="GNU libstdc++ version 20120305" boost="1.53.0"/>
<Message file="./boost/test/impl/framework.ipp" line="432"><![CDATA[Test cases order is shuffled using seed: 1371107205]]></Message>
...

Project: Jenkins
Priority: Major Major
Reporter: Fred Duff
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to