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

Pipeline console live viewing is bouncing (regression in 2.359)

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor 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

      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)

          [JENKINS-69587] Pipeline console live viewing is bouncing (regression in 2.359)

          James Nord created issue -
          James Nord made changes -
          Description Original: 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.

           
          h3. Steps to reproduce
           # create a pipeline like the following:

          {noformat}
          sleep time: 1, unit: 'SECONDS'
          for (int i = 0; i < 1000; i++) {
              echo "hello - $i\nhello - $i\nhello - $i\n"
              sleep time: 1500, unit: 'MILLISECONDS'
          } {noformat}
           

           # Start the job and open the console log

          h3. 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
          h3. Actual Results

          The logs bounce.
          h3. 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
          New: 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.

           
          h3. Steps to reproduce
           # create a pipeline like the following:

          {noformat}
          sleep time: 1, unit: 'SECONDS'
          for (int i = 0; i < 1000; i++) {
              echo "hello - $i"
              sleep time: 1500, unit: 'MILLISECONDS'
          } {noformat}
           
           # Start the job and open the console log

          h3. 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
          h3. Actual Results

          The logs bounce.
          h3. 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)

          Basil Crow added a comment -

          The addition of scroll-behavior: smooth; to war/src/main/less/styles.less in jenkinsci/jenkins#6485 causes this bug.

          Basil Crow added a comment - The addition of scroll-behavior: smooth; to war/src/main/less/styles.less in jenkinsci/jenkins#6485 causes this bug.
          Basil Crow made changes -
          Link New: This issue is caused by JENKINS-68282 [ JENKINS-68282 ]
          Basil Crow made changes -
          Component/s Original: pipeline [ 21692 ]
          Labels Original: ux ux-untriaged New: ux
          Summary Original: pipeline console live viewing is bouncing New: Pipeline console live viewing is bouncing (regression in 2.359)
          Basil Crow made changes -
          Labels Original: ux New: regression ux
          James Nord made changes -
          Description Original: 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.

           
          h3. Steps to reproduce
           # create a pipeline like the following:

          {noformat}
          sleep time: 1, unit: 'SECONDS'
          for (int i = 0; i < 1000; i++) {
              echo "hello - $i"
              sleep time: 1500, unit: 'MILLISECONDS'
          } {noformat}
           
           # Start the job and open the console log

          h3. 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
          h3. Actual Results

          The logs bounce.
          h3. 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)
          New: 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.

           
          h3. Steps to reproduce
           # create a pipeline like the following:

          {noformat}
          sleep time: 1, unit: 'SECONDS'
          for (int i = 0; i < 1000; i++) {
              echo "hello - $i"
              sleep time: 1500, unit: 'MILLISECONDS'
          } {noformat}
           
           # Start the job and open the console log

          h3. 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
          h3. Actual Results

          The logs bounce.
          h3. 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)

          Daniel Beck added a comment -

          This is particularly annoying when using Chrome's browser search to look for a string in a long build log. Chrome scrolls "smoothly", i.e. I get to watch the build log uselessly scroll by for a second first.

          Daniel Beck added a comment - This is particularly annoying when using Chrome's browser search to look for a string in a long build log. Chrome scrolls "smoothly", i.e. I get to watch the build log uselessly scroll by for a second first.
          Jan Faracik made changes -
          Assignee New: Jan Faracik [ janfaracik ]
          Jan Faracik made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

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

              Created:
              Updated:
              Resolved: