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

Pipeline console live viewing is bouncing (regression in 2.359)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • core
    • Jenkins 2.361.1 (ci.jenkins.io)
      unknown pipeline version
      chrome windows x64

      Jenkins 2.361.1 (local env)
      pipeline xxx
    • 2.378

    Description

      When viewing the pipeline jobs for a job that is in progress the logs bounce.

      This makes it hard to follow the logs, but is also a bit nauseating.

       

      Steps to reproduce

      1. create a pipeline like the following:
      sleep time: 1, unit: 'SECONDS'
      for (int i = 0; i < 1000; i++) {
          echo "hello - $i"
          sleep time: 1500, unit: 'MILLISECONDS'
      } 

       

      1. Start the job and open the console log

      Expected Results

      The logs scroll without bouncing allowing your eyes to either stay at the bottom of the log. or to follow an existing line upwards

      Actual Results

      The logs bounce.

      Notes

      This may have been fixed in a later version on a weekly but has not been backported (has not yet been investigated)

      Appears to be caused by the new spinner being removed and then re-added.  (the spinner should not be removed until the logs are complete)

      I am pretty sure this is a regression since the previous LTS

      Using different amount of logs can make this appear much worse (e.g. a shell script that outputs a line every so often - which is pretty usual)

      Attachments

        Issue Links

          Activity

            People

              janfaracik Jan Faracik
              teilo James Nord
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: