Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-26077

Multiple Test Reports Graphs and Links in Job Page

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • junit-plugin, xunit-plugin
    • Jenkins version 1.594
      JUnit Plugin Version - 1.3
      xUnit Plugin Version - 1.92
      All the above are latest at the time of posting this issue.

      I've upgraded Jenkins from 1.575 to 1.594. After updating, then I open the job page, I see 2 graphs and links for the test reports. Though test reports are correct and available, there are 2 instance of it pointing to the same URLs.

      I use xUnit plugin to publish my JUnit reports as I needed a way to change the build status based on the test PASS/FAIL count that I wanted which I was not able to do in JUnit plugin.

      Also, all the builds are not shown in the graphs. In the reference image attached, I've been using both Cobertura and xUnit for all the builds, but test graph starts only from build #322 while it should've started from build #291 as in the Cobertura graph.

      I've attached the screen shot of the job page and config page for reference.

      And the config.xml has the following content under the publishers tag

      <publishers>
      <xunit plugin="xunit@1.90"></>
      <hudson.plugins.cobertura.CoberturaPublisher plugin="cobertura@1.9.5"></>
      <hudson.tasks.ArtifactArchiver></>
      </publishers>

      Removed tag contents for brevity.

          [JENKINS-26077] Multiple Test Reports Graphs and Links in Job Page

          Vivekanand SV created issue -
          Vivekanand SV made changes -
          Description Original: I've upgraded Jenkins from 1.575 to 1.594. After updating, then I open the job page, I see 2 graphs and links for the test reports. Though test reports are correct and available, there are 2 instance of it pointing to the same URLs.

          I use xUnit plugin to publish my JUnit reports as I needed a way to change the build status based on the test PASS/FAIL count that I wanted which I was not able to do in JUnit plugin.

          I've attached the screen shot of the job page for reference.
          New: I've upgraded Jenkins from 1.575 to 1.594. After updating, then I open the job page, I see 2 graphs and links for the test reports. Though test reports are correct and available, there are 2 instance of it pointing to the same URLs.

          I use xUnit plugin to publish my JUnit reports as I needed a way to change the build status based on the test PASS/FAIL count that I wanted which I was not able to do in JUnit plugin.

          Also, all the builds are not shown in the graphs. In the reference image attached, I've been using both Cobertura and xUnit for all the builds, but test graph starts only from build #322 while it should've started from build #291 as in the Cobertura graph.

          I've attached the screen shot of the job page for reference.
          Vivekanand SV made changes -
          Attachment New: Screen Shot 2014-12-18 at 10.30.54 am.png [ 28316 ]
          Description Original: I've upgraded Jenkins from 1.575 to 1.594. After updating, then I open the job page, I see 2 graphs and links for the test reports. Though test reports are correct and available, there are 2 instance of it pointing to the same URLs.

          I use xUnit plugin to publish my JUnit reports as I needed a way to change the build status based on the test PASS/FAIL count that I wanted which I was not able to do in JUnit plugin.

          Also, all the builds are not shown in the graphs. In the reference image attached, I've been using both Cobertura and xUnit for all the builds, but test graph starts only from build #322 while it should've started from build #291 as in the Cobertura graph.

          I've attached the screen shot of the job page for reference.
          New: I've upgraded Jenkins from 1.575 to 1.594. After updating, then I open the job page, I see 2 graphs and links for the test reports. Though test reports are correct and available, there are 2 instance of it pointing to the same URLs.

          I use xUnit plugin to publish my JUnit reports as I needed a way to change the build status based on the test PASS/FAIL count that I wanted which I was not able to do in JUnit plugin.

          Also, all the builds are not shown in the graphs. In the reference image attached, I've been using both Cobertura and xUnit for all the builds, but test graph starts only from build #322 while it should've started from build #291 as in the Cobertura graph.

          I've attached the screen shot of the job page and config page for reference.

          And the config.xml has the following content under the publishers tag

          <publishers>
              <xunit plugin="xunit@1.90"></>
              <hudson.plugins.cobertura.CoberturaPublisher plugin="cobertura@1.9.5"></>
              <hudson.tasks.ArtifactArchiver></>
          </publishers>

          Removed tag contents for brevity.

          Jay Beeckman added a comment - - edited

          I'm seeing the same problem, we are using MSTEST, and the xUnit plugin.

          Jenkins 1.596
          xUnit 1.93.

          Jay Beeckman added a comment - - edited I'm seeing the same problem, we are using MSTEST, and the xUnit plugin. Jenkins 1.596 xUnit 1.93.

          Jay Beeckman added a comment -

          Screenshot of duplicate information.

          Jay Beeckman added a comment - Screenshot of duplicate information.
          Jay Beeckman made changes -
          Attachment New: DuplicateTestResults.jpg [ 28395 ]

          pascal_martin added a comment - - edited

          I'm have the same issue. with nUnit test loadded with Xunit

          I temporary fix with downdrade to Junit version 1.0 and no more duplicate chart

          Jenkins ver. 1.580.2
          JUnit Plugin 1.3
          NUnit plugin 0.16
          xUnit plugin 1.93

          pascal_martin added a comment - - edited I'm have the same issue. with nUnit test loadded with Xunit I temporary fix with downdrade to Junit version 1.0 and no more duplicate chart Jenkins ver. 1.580.2 JUnit Plugin 1.3 NUnit plugin 0.16 xUnit plugin 1.93
          Vivekanand SV made changes -
          Link New: This issue is related to JENKINS-25527 [ JENKINS-25527 ]
          Vivekanand SV made changes -
          Link New: This issue is related to JENKINS-24608 [ JENKINS-24608 ]
          Jason Davis made changes -
          Link New: This issue is duplicated by JENKINS-25649 [ JENKINS-25649 ]

            nfalco Nikolas Falco
            svvivek Vivekanand SV
            Votes:
            18 Vote for this issue
            Watchers:
            26 Start watching this issue

              Created:
              Updated:
              Resolved: