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

Compressed build logs not rendering with update to workflow-job plugin >= 2.26

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • Jenkins 2.138.3
      Compress log plugin 1.2
      Pipeline: job plugin 2.29

      We started using the compress build log plugin right before the revamp to how the pipeline logs were stored in JEP-210 I believe. Before we upgraded the Pipeline: job plugin we had the main log being compressed, and able to be rendered on the console UI. Once we upgraded from 2.25 to 2.29 the console is no longer rendered on the UI. Not sure if this issue is with the compress plugin or the pipeline job plugin.

          [JENKINS-54680] Compressed build logs not rendering with update to workflow-job plugin >= 2.26

          +1

          Benjamin Buchfink added a comment - +1

          Dominik Khan added a comment -

          +1

          Dominik Khan added a comment - +1

          Experienced issue, we compress all build logs by default.  Lost ability to view all logs. 

          Downgraded Job Plugin to 2.25, and logs were again rendered in the console. 

          Pretty significant regression for us.

           

           

          Brant Niggemyer added a comment - Experienced issue, we compress all build logs by default.  Lost ability to view all logs.  Downgraded Job Plugin to 2.25, and logs were again rendered in the console.  Pretty significant regression for us.    

          +1

          Momentarily turned off log compression but we want log compression turned on again soon since we have large logs.

          Frits van der Holst added a comment - +1 Momentarily turned off log compression but we want log compression turned on again soon since we have large logs.

          James White added a comment -

          I'm also seeing this issue with:

          • Jenkins v2.153
          • Compress Build Log Plugin v1.2
          • Pipeline Plugin v2.6

          We've tried downgrading to v2.5 of the Pipeline Plugin but this did not resolve the issue.

          Instead of downgrading to v2.25 or disabling compression on all jobs we've gone with adding a temporary scheduled job to avoid modifying the configuration of many jobs. If it helps anyone we're running this script in a scheduled job every N minutes:

          #!/bin/bash
          set -x #echo on
          
          find /var/lib/jenkins/jobs -type f -name log.gz | xargs -I{} gunzip "{}"
          

          James White added a comment - I'm also seeing this issue with: Jenkins v2.153 Compress Build Log Plugin v1.2 Pipeline Plugin v2.6 We've tried downgrading to v2.5 of the Pipeline Plugin but this did not resolve the issue. Instead of downgrading to v2.25 or disabling compression on all jobs we've gone with adding a temporary scheduled job to avoid modifying the configuration of many jobs. If it helps anyone we're running this script in a scheduled job every N minutes: #!/bin/bash set -x #echo on find / var /lib/jenkins/jobs -type f -name log.gz | xargs -I{} gunzip "{}"

          yann collette added a comment -

          I meet this bug too.

          pipeline-stage-view looks for a "log" file in the jenkins directory, but only a "log.gz" file is present ...

          The only workaround possible is too deactivate compressed log ... But this is not acceptable because some of the log produced are really huge ....

          yann collette added a comment - I meet this bug too. pipeline-stage-view looks for a "log" file in the jenkins directory, but only a "log.gz" file is present ... The only workaround possible is too deactivate compressed log ... But this is not acceptable because some of the log produced are really huge ....

            Unassigned Unassigned
            broussar Adam Brousseau
            Votes:
            7 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: