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

Incorrect age in the test results

    XMLWordPrintable

Details

    Description

      I have a matrix with many cases who generate some JUnit reports. These reports are read by the performance plugin.

      When I go in the Test Results page, there is an age column. The ages in this column are not correct and change sometimes with no reason.

      For example, the build 26616 contain a test who fail for the past 164 builds. But Jenkins don't always says that. Sometimes it says that the age is 26617.

      When I have the problem, I should follow the "Previous Build" links to come back to first failure of the test. And then when I click on "Next Build", the age is the good one.

      Attachments

        Activity

          danielbeck Daniel Beck added a comment - Appears to be fixed by https://github.com/jenkinsci/jenkins/pull/576
          oleg_nenashev Oleg Nenashev added a comment -

          I confirm the fix.
          I suppose it makes sense to update the Jenkins changelog

          oleg_nenashev Oleg Nenashev added a comment - I confirm the fix. I suppose it makes sense to update the Jenkins changelog
          oleg_nenashev Oleg Nenashev added a comment -

          Hmm...
          Let me recall the previous comment. The PR has not been merged yet, the issue just does not appear in my custom build.

          BTW, the PR seems to be valid.

          oleg_nenashev Oleg Nenashev added a comment - Hmm... Let me recall the previous comment. The PR has not been merged yet, the issue just does not appear in my custom build. BTW, the PR seems to be valid.

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          core/src/main/java/hudson/tasks/junit/CaseResult.java
          http://jenkins-ci.org/commit/jenkins/4af464a624ee88d479a77f401be9d4f10ffaa791
          Log:
          Merge pull request #576 from JoelJ/patch-2

          [FIXED JENKINS-18626] - Test result page keeps identifying tests as age 1

          Compare: https://github.com/jenkinsci/jenkins/compare/bab3176f82b5...4af464a624ee

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: core/src/main/java/hudson/tasks/junit/CaseResult.java http://jenkins-ci.org/commit/jenkins/4af464a624ee88d479a77f401be9d4f10ffaa791 Log: Merge pull request #576 from JoelJ/patch-2 [FIXED JENKINS-18626] - Test result page keeps identifying tests as age 1 Compare: https://github.com/jenkinsci/jenkins/compare/bab3176f82b5...4af464a624ee

          People

            manolo Manuel Carrasco
            l_roche Louis Roché
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: