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

Blue Ocean no longer has 'Show complete log' button

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • blueocean-plugin, (1)
      core
    • None
    • Jenkins 2.463 and Blue Ocean 1.27.16

      We recently updated a Jenkins instance and noticed that in Blue Ocean, the button to `Show complete log` was missing for logs that were too large to display.

      I managed to trace it to Jenkins 2.463 since 2.462 does show the button properly. I have a feeling it's related to the update letting Jetty handle the HTTP response compression.

      From what I can tell, the reason the button does not show up is because in blueocean-dashboard, when rendering the page, there is a variable `hasMore` that is used to determine if the logs were cut off and if the button needs to be displayed. This variable is `true` in 2.462 but `false` in 2.463.

      It seems that in 2.463 the response header no longer includes `X-Text-Size` and `X-Text-Delivered` which are used to set that variable.

       

      I was able to easily reproduce this issue with a standard Jenkins 2.463 or later, install the Blue Ocean plugin, and create a job using the following pipeline:

      pipeline {
          agent any
          
          stages {
              stage('Test') {
                  steps {
                      script {
                          int test = 1
                          String output = ""
                          while(test < 10000) {
                              output = "${output}\nA bunch of log text ${test += 1}"
                          }
                          echo output
                      }
                  }
              }
          }
      }
      

       

      Jenkins 2.462

      Jenkins 2.463

          [JENKINS-73874] Blue Ocean no longer has 'Show complete log' button

          Tom Kent added a comment -

          I can confirm this bug. I'd also like to recommend upping the priority on it, this is the easiest way for a user to see missing log messages when the UI doesn't display them all.

          Tom Kent added a comment - I can confirm this bug. I'd also like to recommend upping the priority on it, this is the easiest way for a user to see missing log messages when the UI doesn't display them all.

          Tom Kent added a comment -

          One additional point, if I recall correctly, the line numbering previously would not start a `1` for this. For example if it was a 2000 line log, and the settings had it so it only displayed the last 500 lines, the line numbers displayed would be 1500-2000 not the current mech of 1-500. 

          I could be getting this wrong as it is based on my memory, but it seemed really odd when I saw it.

          Tom Kent added a comment - One additional point, if I recall correctly, the line numbering previously would not start a `1` for this. For example if it was a 2000 line log, and the settings had it so it only displayed the last 500 lines, the line numbers displayed would be 1500-2000 not the current mech of 1-500.  I could be getting this wrong as it is based on my memory, but it seemed really odd when I saw it.

          Felipe Santos added a comment -

          The workaround is to use Pipeline Console. There's an equivalent button there.

          Felipe Santos added a comment - The workaround is to use Pipeline Console. There's an equivalent button there.

          J S added a comment -

          felipecassiors  Sir this is not an workaround I downloaded blueocean to use blueocean.

          J S added a comment - felipecassiors   Sir this is not an workaround I downloaded blueocean to use blueocean.

          Mark Waite added a comment -

          openjenkins Blue Ocean is not receiving feature updates. The pointer to an alternative is intended to help you transition from blue ocean to other plugins that are actively maintained and being enhanced.

          The Blue Ocean documentation page says:

          Blue Ocean will not receive further functionality updates. Blue Ocean will continue to provide easy-to-use Pipeline visualization, but it will not be enhanced further. It will only receive selective updates for significant security issues or functional defects.

          Mark Waite added a comment - openjenkins Blue Ocean is not receiving feature updates. The pointer to an alternative is intended to help you transition from blue ocean to other plugins that are actively maintained and being enhanced. The Blue Ocean documentation page says: Blue Ocean will not receive further functionality updates. Blue Ocean will continue to provide easy-to-use Pipeline visualization, but it will not be enhanced further. It will only receive selective updates for significant security issues or functional defects.

          J S added a comment -

          markewaite Such a huge plugin is not actively developed further. Why is this not taken over by cloubees ?

          J S added a comment - markewaite Such a huge plugin is not actively developed further. Why is this not taken over by cloubees ?

          Mark Waite added a comment -

          Why is this not taken over by CloudBees ?

          Blue Ocean was developed by CloudBees and is currently maintained by a CloudBees person. The "Why does Blue Ocean exist?" page lists many reasons why it was created , what shaped its creation, and then concludes with the following statement:

          Blue Ocean was created to meet such demands of its time. However, as time passed, more modern tools have cropped up to replace it. Now, the time has come for the rise of other plugins of similar functionality. Therefore, any new development or enhancement of Blue Ocean has ceased.

          Mark Waite added a comment - Why is this not taken over by CloudBees ? Blue Ocean was developed by CloudBees and is currently maintained by a CloudBees person. The "Why does Blue Ocean exist?" page lists many reasons why it was created , what shaped its creation, and then concludes with the following statement: Blue Ocean was created to meet such demands of its time. However, as time passed, more modern tools have cropped up to replace it. Now, the time has come for the rise of other plugins of similar functionality. Therefore, any new development or enhancement of Blue Ocean has ceased.

            Unassigned Unassigned
            mbrunton27 Matthew Brunton
            Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: