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

'Age' column on 'Test Result' tab may show incorrect value when a test suite divided into multiple junit files

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • junit-plugin
    • None

      Somebody described the problem a year ago here:
      http://jenkins.361315.n4.nabble.com/Problem-with-Age-column-on-Test-Results-tab-td3172208.html

      I have a problem with 'Age' column on 'Test Results' tab. For couple of my tests, all the time this column has value equals '1', despite the fact that those tests start failing earlier than one build ago. When I switch to 'History' tab, in 'Test Result' column there is a 'Regression' value for all builds, and it should be 'Regression' value only for the first build and 'Failed' for next builds.

      For me this happens because I have many junit xmls that containing the same test suite name.
      In this case hudson.tasks.junit.CaseResult.getPreviousResult() gets the only last junit xml result and if it's not failed then the Age column won't be calculated properly.

          [JENKINS-12457] 'Age' column on 'Test Result' tab may show incorrect value when a test suite divided into multiple junit files

          Greg Temchenko created issue -
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          kutzi made changes -
          Assignee Original: Greg Temchenko [ soid ] New: kutzi [ kutzi ]
          Ruslan Strazhnyk made changes -
          Link New: This issue is related to JENKINS-13214 [ JENKINS-13214 ]
          Ruslan Strazhnyk made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Reopened [ 4 ] New: Resolved [ 5 ]
          kutzi made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Reopened [ 4 ] New: Resolved [ 5 ]
          Greg Temchenko made changes -
          Link New: This issue is related to JENKINS-13377 [ JENKINS-13377 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 142823 ] New: JNJira + In-Review [ 190292 ]

            kutzi kutzi
            soid Greg Temchenko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: