Issue Type: Bug Bug
Assignee: Gregory Boissinot
Components: xunit-plugin
Created: 10/Nov/14 8:50 PM
Description:

When using xUnit to interpret Boost Test XML log files in a Freestyle Project, Jenkins serves up duplicated "Test Result Trend" charts on the project page.

Interesting behavior of note that made it seem like an xUnit issue to me:

  1. if I turn on the xUnit post-build reporting and perform a build, I get two identical "Test Result Trend" charts pointing to the same link.
  2. If then configure the project by deleting the xUnit post-build action and refresh the browser before rebuilding I only see one "Test Result Trend" chart, even if I navigate away from the project page and then back.
  3. If I then rebuild in the "no reporting" state, then as expected I get no charts.

The resulting junitResult.xml file in my builds looks like:

<result plugin="[email protected]">
<suites>
<suite>
<file>/var/lib/jenkins/jobs/host_common/workspace/generatedJUnitFiles/BoostTest/TEST-682740763.xml</file>
<name>MergedTestSuite</name>
<duration>0.0</duration>
<cases>
<case>
<duration>0.0</duration>
<className>testHostCommon./var/lib/jenkins/jobs/host_common/workspace/erTools/src/test/testPack</className>
<testName>testPack</testName>
<skipped>false</skipped>
<stdout> [Info] - check 1 == 1 passed == [File] - /var/lib/jenkins/jobs/host_common/workspace/erTools/src/test/testPack.cpp == [Line] - 8 </stdout>
<failedSince>0</failedSince>
</case>
</cases>
</suite>
</suites>
<duration>0.0</duration>
<keepLongStdio>true</keepLongStdio>
</result>

Environment: Ubuntu 12.04, I'm using Jenkins 1.588 and xUnit 1.92. Using xUnit to interface with output from Boost Test.
Project: Jenkins
Priority: Minor Minor
Reporter: Watertight Door
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/d/optout.

Reply via email to