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

Build Time Trend Page fails to Display Build Time History

    Details

    • Similar Issues:
    • Released As:
      Jenkins 2.251

      Description

      The Build Time Trend doesn't show build times of Jobs any more:
      https://ci.jenkins.io/job/Core/job/jenkins/job/master/buildTimeTrend
      Used to work with Jenkins 2.222.1

        Attachments

          Issue Links

            Activity

            Hide
            wfollonier Wadeck Follonier added a comment -

            If you don't pass through https://github.com/jenkinsci/jenkins/blob/f0c5108184a75e589493afe6d54879b5c4b7ed54/core/src/main/java/jenkins/widgets/BuildTimeTrend.java#L48, you will not get any value for builtOnStr, and thus generating the error. I will propose a fix.

            Show
            wfollonier Wadeck Follonier added a comment - If you don't pass through https://github.com/jenkinsci/jenkins/blob/f0c5108184a75e589493afe6d54879b5c4b7ed54/core/src/main/java/jenkins/widgets/BuildTimeTrend.java#L48 , you will not get any value for builtOnStr, and thus generating the error. I will propose a fix.
            Hide
            wfollonier Wadeck Follonier added a comment -

            I confirmed it came from the security correction we applied. Our test coverage was not enough to catch this situation.

            Show
            wfollonier Wadeck Follonier added a comment - I confirmed it came from the security correction we applied. Our test coverage was not enough to catch this situation.
            Hide
            rverduijn Robin Verduijn added a comment -

            Any updates on this? We are having the above regression issue as well.

             

            https://github.com/jenkinsci/jenkins/commit/b321a74528f94ae7dee2afa1cc8c401c33ae5be5 looks promising but has not had any movement since August 3, as far as I can see.

            Show
            rverduijn Robin Verduijn added a comment - Any updates on this? We are having the above regression issue as well.   https://github.com/jenkinsci/jenkins/commit/b321a74528f94ae7dee2afa1cc8c401c33ae5be5  looks promising but has not had any movement since August 3, as far as I can see.
            Hide
            wfollonier Wadeck Follonier added a comment -

            Robin Verduijn The problem was confirmed on August 3, corrected with the linked PR and then merged/released as Jenkins 2.251 and 2.249.1. This ticket is now closed as fixed.

            If you are still encountering the problem with the more recent version, please either open a new ticket or re-open this one

            Show
            wfollonier Wadeck Follonier added a comment - Robin Verduijn The problem was confirmed on August 3, corrected with the linked PR and then merged/released as Jenkins 2.251 and 2.249.1. This ticket is now closed as fixed. If you are still encountering the problem with the more recent version, please either open a new ticket or re-open this one
            Hide
            rverduijn Robin Verduijn added a comment -

            We're currently testing out 2.249.1 and the updated plugins, and things look good. Thanks

            Show
            rverduijn Robin Verduijn added a comment - We're currently testing out 2.249.1 and the updated plugins, and things look good. Thanks

              People

              • Assignee:
                wfollonier Wadeck Follonier
                Reporter:
                cobexer Ing. Christoph Obexer
              • Votes:
                3 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: