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

Compression trick not supported by JEP-210

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Labels:
    • Environment:
      Jenkins 2.138.3
      Pipeline Multibranch with defaults 2.0
      Pipeline Multibranch Plugin 2.20
      Build Pipeline Plugin 1.58
    • Similar Issues:

      Description

      The logs in /job/master/167/console are shown when the build is in progress.
      After it has finished I see nothing. Only a black narrow bar.
      The BlueOcen shows me this stacktrace

      java.io.FileNotFoundException: /var/lib/jenkins/jobs/Invoice/branches/master/builds/166/log (No such file or directory)
      
      	at java.io.RandomAccessFile.open0(Native Method)
      
      	at java.io.RandomAccessFile.open(RandomAccessFile.java:316)
      
      	at java.io.RandomAccessFile.<init>(RandomAccessFile.java:243)
      
      	at org.jenkinsci.plugins.workflow.log.FileLogStorage.stepLog(FileLogStorage.java:259)
      
      	at org.jenkinsci.plugins.workflow.support.actions.LogStorageAction.getLogText(LogStorageAction.java:62)
      
      	at io.jenkins.blueocean.rest.impl.pipeline.PipelineStepImpl.getLog(PipelineStepImpl.java:139)
      
      	at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
      
      

        Attachments

          Issue Links

            Activity

            Hide
            rvries Rick de Vries added a comment - - edited

            Renaming the 'log.gz' to 'log' also makes it possible for jenkins to render the log.

            This way you dont have to unzip the log (which saves diskspace)

             

            Show
            rvries Rick de Vries added a comment - - edited Renaming the 'log.gz' to 'log' also makes it possible for jenkins to render the log. This way you dont have to unzip the log (which saves diskspace)  
            Hide
            rvries Rick de Vries added a comment -

            Any ETA on when this is going to be fixed?

            Show
            rvries Rick de Vries added a comment - Any ETA on when this is going to be fixed?
            Hide
            isarkisov Igor Sarkisov added a comment -

            What's the solution here, is it as simple as having compressed log stored as log vs log.gz?

            Show
            isarkisov Igor Sarkisov added a comment - What's the solution here, is it as simple as having compressed log stored as log vs log.gz?
            Hide
            jglick Jesse Glick added a comment -

            No, it is not.

            Show
            jglick Jesse Glick added a comment - No, it is not.
            Hide
            audiocc Ralf Gerasch added a comment -

            if resulting file log.gz is renamed to log jenkins is able to show the log content.

            Show
            audiocc Ralf Gerasch added a comment - if resulting file log.gz is renamed to log jenkins is able to show the log content.

              People

              • Assignee:
                Unassigned
                Reporter:
                tibor17 Tibor Digana
              • Votes:
                26 Vote for this issue
                Watchers:
                28 Start watching this issue

                Dates

                • Created:
                  Updated: