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

Test result link displays twice on matrix project page

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • matrix-project-plugin
    • None
    • Jenkins version 1.578

      When using the built-in junit test result publisher with matrix projects, the parent project page display two links to the latest test results (see ). Both links are correct and point to the same place.

          [JENKINS-24608] Test result link displays twice on matrix project page

          Michael Rose added a comment -

          I originally came across this issue when testing out the workaround for JENKINS-12205, but the same problem still occurs even when the xunit plugin is disabled.

          Michael Rose added a comment - I originally came across this issue when testing out the workaround for JENKINS-12205 , but the same problem still occurs even when the xunit plugin is disabled.

          Daniel Beck added a comment -

          This seems to be caused by: https://github.com/jenkinsci/matrix-project-plugin/blob/master/src/main/resources/hudson/matrix/MatrixProject/index.jelly

          The first is the aggregatedTestResultAction, the other is contributed by the hudson.tasks.test.TestResultProjectAction added to the project.

          I have little experience with matrix projects, and don't know what the intention behind this is.

          Reassigning to Matrix Project Plugin.

          Daniel Beck added a comment - This seems to be caused by: https://github.com/jenkinsci/matrix-project-plugin/blob/master/src/main/resources/hudson/matrix/MatrixProject/index.jelly The first is the aggregatedTestResultAction , the other is contributed by the hudson.tasks.test.TestResultProjectAction added to the project. I have little experience with matrix projects, and don't know what the intention behind this is. Reassigning to Matrix Project Plugin.

          Stephen Cavender added a comment - - edited

          Experiencing the same issue, has a workaround been found?
          My projects have two Test Results links (both pointing to the same, correct location) and two Test Result Trend graphs.

          Stephen Cavender added a comment - - edited Experiencing the same issue, has a workaround been found? My projects have two Test Results links (both pointing to the same, correct location) and two Test Result Trend graphs.

          Watertight Door added a comment - - edited

          I'm seeing this occur, too. FWIW, I'm using Jenkins 1.588, xUnit 1.92, and the Matrix Plugin 1.4
          Actually, I commented on this issue without correctly reading it first. My issue is NOT related to the matrix project plug-in – I am seeing this with a free-style project. Sorry ...

          Watertight Door added a comment - - edited I'm seeing this occur, too. FWIW, I'm using Jenkins 1.588, xUnit 1.92, and the Matrix Plugin 1.4 Actually, I commented on this issue without correctly reading it first. My issue is NOT related to the matrix project plug-in – I am seeing this with a free-style project. Sorry ...

          Gregory added a comment -

          I have the same issue with xUnit and I confirm that it is not related to matrix project - Jenkins ver. 1.591 - xUnit ver. 1.92

          Gregory added a comment - I have the same issue with xUnit and I confirm that it is not related to matrix project - Jenkins ver. 1.591 - xUnit ver. 1.92

          Eloy Lafuente added a comment -

          Same here, and without matrix projects at all:

          http://integration.moodle.org/view/master/job/20.%20Run%20phpunit%20UnitTests%20(master)/

          Both JUnit (pinned) and xUnit plugins installed. Only using the later in my post-build tasks.

          Eloy Lafuente added a comment - Same here, and without matrix projects at all: http://integration.moodle.org/view/master/job/20.%20Run%20phpunit%20UnitTests%20(master)/ Both JUnit (pinned) and xUnit plugins installed. Only using the later in my post-build tasks.

          Jon Starbird added a comment -

          Also seeing the same thing, will add that the Trend reports are also Duplicated.
          Using Publish NUnit. Jenkins 1580.1 and NUnit 0.16.

          Jon Starbird added a comment - Also seeing the same thing, will add that the Trend reports are also Duplicated. Using Publish NUnit. Jenkins 1580.1 and NUnit 0.16.

          Matthew Ayala added a comment -

          I am having the same issue with Jenkins 1.596 and NUnit 0.16, this is without Matrix projects.

          Matthew Ayala added a comment - I am having the same issue with Jenkins 1.596 and NUnit 0.16, this is without Matrix projects.

          Same issue here, Jenkins 1.599, nUnit 0.16 with a Matrix project.

          Matt Desrosiers added a comment - Same issue here, Jenkins 1.599, nUnit 0.16 with a Matrix project.

          Oleg N added a comment -

          I had the same issue, but it went away after I installed both the Disk Usage and Safe Restart plugins... not sure if one or the other or both fixed it though.

          Oleg N added a comment - I had the same issue, but it went away after I installed both the Disk Usage and Safe Restart plugins... not sure if one or the other or both fixed it though.

          Nick Weedon added a comment -

          I also had this issue and found that the solution for me was to move my XUnit task from the 'build' section of my project to the 'post build' section.

          Nick Weedon added a comment - I also had this issue and found that the solution for me was to move my XUnit task from the 'build' section of my project to the 'post build' section.

          I already had it in the Post build section only...

          Hema Raghavendra Sai Bonthala added a comment - I already had it in the Post build section only...

          Jesse Glick added a comment -

          JENKINS-26077 tracks the duplication from xunit. mrose claims this is reproducible even using just junit and matrix-project.

          Jesse Glick added a comment - JENKINS-26077 tracks the duplication from xunit . mrose claims this is reproducible even using just junit and matrix-project .

          Jesse Glick added a comment -

          After fixing JENKINS-26077 I cannot reproduce this. (Did not try before.)

          Jesse Glick added a comment - After fixing JENKINS-26077 I cannot reproduce this. (Did not try before.)

          Shawn Scrivner added a comment - - edited

          I can reproduce currently. I am running Jenkins 1.590, junit-plugin 1.6 and Matrix Project Plugin 1.3.

          I should mention this is occurring in Maven Project job types for me.

          Shawn Scrivner added a comment - - edited I can reproduce currently. I am running Jenkins 1.590, junit-plugin 1.6 and Matrix Project Plugin 1.3. I should mention this is occurring in Maven Project job types for me.

          Ashish Rathi added a comment -

          This issue has still not been resolved,
          I am using XUnit plugin and JUnit component.
          I can see multiple "Latest Test Result" links,along with Multiple graphs.
          Also the graphs have no data,where as the test cases can be seen by clicking on the "Latest Test Result" link.
          Alson the Test Result Trend has always the latest build number only and is always empty,

          Ashish Rathi added a comment - This issue has still not been resolved, I am using XUnit plugin and JUnit component. I can see multiple "Latest Test Result" links,along with Multiple graphs. Also the graphs have no data,where as the test cases can be seen by clicking on the "Latest Test Result" link. Alson the Test Result Trend has always the latest build number only and is always empty,

          Daniel Beck added a comment -

          This has been resolved as a DUPLICATE, meaning there's another issue that's identical. There's no point in keeping copies around.

          Read The Fine Manual: https://wiki.jenkins-ci.org/display/JENKINS/Issue+Tracking

          Daniel Beck added a comment - This has been resolved as a DUPLICATE, meaning there's another issue that's identical. There's no point in keeping copies around. Read The Fine Manual: https://wiki.jenkins-ci.org/display/JENKINS/Issue+Tracking

            kohsuke Kohsuke Kawaguchi
            mrose Michael Rose
            Votes:
            9 Vote for this issue
            Watchers:
            22 Start watching this issue

              Created:
              Updated:
              Resolved: