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

Job start time and remaining time gone from root build history widget for freestyle jobs

      Hi,

        After updating Jenkins from version 2.4793 to 2.492.1, we noticed that the message which pops up when one hovers the mouse on the running job status bar now only shows "Pending" message as compare to "Start x hr y min ago" ( see the attached pics). This message was very helpful to identify the jobs which are taking long time. Now after moving to version 2.492.1 , one has to click on the build to actually see for how long it is running.

      The previous popup was very helpful, can you please revert this change?

       

      Thanks,

      --Shahzad

        1. build-2.png
          18 kB
          Mark Waite
        2. build-3.png
          18 kB
          Mark Waite
        3. build-4.png
          18 kB
          Mark Waite
        4. build-5.png
          18 kB
          Mark Waite
        5. jenikins-2.479.3.jpeg
          673 kB
          Shahzad MUZAFFAR
        6. jenkins-2.492.1.jpeg
          473 kB
          Shahzad MUZAFFAR
        7. start-time-and-estimated-completion.png
          15 kB
          Mark Waite

          [JENKINS-75259] Job start time and remaining time gone from root build history widget for freestyle jobs

          Markus Winter added a comment - - edited

          I  can duplicate the problem but it only affects freestyle jobs. Pipeline jobs implement  executorCell.jelly and that behaves differently obviously

          Markus Winter added a comment - - edited I  can duplicate the problem but it only affects freestyle jobs. Pipeline jobs implement  executorCell.jelly and that behaves differently obviously

          Mark Waite added a comment -

          I can't duplicate it with a freestyle job on weekly.ci.jenkins.io. I ran https://weekly.ci.jenkins.io/job/folder/job/freestyle/ with a 37 second sleep in a shell step. All of the samples show when the job started. The last run shows the estimated time to completion. I assume that is because there is enough data at that point for Jenkins to estimate time to completion.

          The results looked like this:

          Second run with 37 second sleep

          Third run with 37 second sleep

          Fourth run with 37 second sleep

          Fifth run with 37 second sleep

          Mark Waite added a comment - I can't duplicate it with a freestyle job on weekly.ci.jenkins.io. I ran https://weekly.ci.jenkins.io/job/folder/job/freestyle/ with a 37 second sleep in a shell step. All of the samples show when the job started. The last run shows the estimated time to completion. I assume that is because there is enough data at that point for Jenkins to estimate time to completion. The results looked like this: Second run with 37 second sleep Third run with 37 second sleep Fourth run with 37 second sleep Fifth run with 37 second sleep

          Markus Winter added a comment -

          This affects the executors widget on the main dashboard not the job page itself

          Markus Winter added a comment - This affects the executors widget on the main dashboard not the job page itself

          Mark Waite added a comment -

          This affects the executors widget on the main dashboard not the job page itself

          Thanks! I should have detected that from the pictures that were included.

          Mark Waite added a comment - This affects the executors widget on the main dashboard not the job page itself Thanks! I should have detected that from the pictures that were included.

          Shahzad MUZAFFAR added a comment -

          thanks mawinter69  for looking in to it. I confirm that issue is with "executors widget" on the main dashboard and yes all our jobs are based on freestyle jobs. I also confirm that job time information on the job page itself works.

          Thanks, --Shahzad 

          Shahzad MUZAFFAR added a comment - thanks mawinter69   for looking in to it. I confirm that issue is with "executors widget" on the main dashboard and yes all our jobs are based on freestyle jobs. I also confirm that job time information on the job page itself works. Thanks, --Shahzad 

          Mark Waite added a comment - - edited

          smuzaffar it would be a nice help for the Jenkins project if you could download the incremental build of the pull request from Markus and run it in a small test to confirm that it resolves your issue.

          I've confirmed that it resolves the issue in my test.

          Mark Waite added a comment - - edited smuzaffar it would be a nice help for the Jenkins project if you could download the incremental build of the pull request from Markus and run it in a small test to confirm that it resolves your issue. I've confirmed that it resolves the issue in my test.

          Shahzad MUZAFFAR added a comment -

          Hi,

            I confirm that using the latest jenkins-war from https://github.com/jenkinsci/jenkins/pull/10259/checks?check_run_id=37059490246 has fixed both issues

          • Job start time and remaining estimate now works for freestyle project on the executors widget on the main dashboard
          • Clicking on the status bar via the executors widget on the main dashboard takes you to the console page of the build

          Thanks,

          --Shahzad

          Shahzad MUZAFFAR added a comment - Hi,   I confirm that using the latest jenkins-war from https://github.com/jenkinsci/jenkins/pull/10259/checks?check_run_id=37059490246 has fixed both issues Job start time and remaining estimate now works for freestyle project on the executors widget on the main dashboard Clicking on the status bar via the executors widget on the main dashboard takes you to the console page of the build Thanks, --Shahzad

          Shahzad MUZAFFAR added a comment -

          Another UI difference between 2.479.3 and 2.492.1 is that when I click on "Retry" ( link on the left panel of build) for a failed build then previously I there was a popup with message "Done" but now there is no popup and one does not know if "retry" was done or not. Let me know if I should open a separate issue/ticket for this?

          Shahzad MUZAFFAR added a comment - Another UI difference between 2.479.3 and 2.492.1 is that when I click on "Retry" ( link on the left panel of build) for a failed build then previously I there was a popup with message "Done" but now there is no popup and one does not know if "retry" was done or not. Let me know if I should open a separate issue/ticket for this?

          Markus Winter added a comment -

          Please open a new bug. This affects the rebuild and naginator plugins, but the root might be a change in core. For the build now button the behaviour was changed from that small popup to a more visible notification at the screen bottom. Maybe this has also an effect on those 2 plugins

          Markus Winter added a comment - Please open a new bug. This affects the rebuild and naginator plugins, but the root might be a change in core. For the build now button the behaviour was changed from that small popup to a more visible notification at the screen bottom. Maybe this has also an effect on those 2 plugins

          Markus Winter added a comment - - edited

          found the issue already opened a new bug JENKINS-75265

          Markus Winter added a comment - - edited found the issue already opened a new bug JENKINS-75265

            mawinter69 Markus Winter
            smuzaffar Shahzad MUZAFFAR
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: