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

Compression trick not supported by JEP-210

    XMLWordPrintable

    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
            jglick Jesse Glick added a comment -

            I think there was some environment variable to limit the the log size. Where can I find it?

            I am not aware of any such variable, and cannot guess what it would do.

            is the plugin logfilesizechecker safe to use?

            That is using Run.getLogText so it ought to work. (I have not tried.)

            How can i override MAX_LINES_READ in Jenkinsfile?

            I do not know what that variable is or what you think it should be doing. Probably unrelated to this issue—should be asked on the users’ list etc.

            Show
            jglick Jesse Glick added a comment - I think there was some environment variable to limit the the log size. Where can I find it? I am not aware of any such variable, and cannot guess what it would do. is the plugin logfilesizechecker safe to use? That is using Run.getLogText so it ought to work. (I have not tried.) How can i override MAX_LINES_READ in Jenkinsfile? I do not know what that variable is or what you think it should be doing. Probably unrelated to this issue—should be asked on the users’ list etc.
            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.

              People

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

                Dates

                • Created:
                  Updated: