Logs can grow without bound when using timestamper plugin

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      When a single pipeline step generates a lot of logging all at once, the log on disk will repeat itself without end, eventually running the host out of disk space.

      This persists between Jenkins restarts and can only be stopped by stopping Jenkins, deleting the $JENKINS_HOME/jobs/[job]/build/[build id] directory, and starting Jenkins again.

      STR:
      1. Create a new pipeline job with the following pipeline script definition:
      stage ('Boom') {
      node {
      timestamps

      { sh "seq 1 100000" }

      }
      }

      2. Run the job.

      Expected result:
      Job terminates eventually.

      Actual result:
      Job does not terminate, and fills the log continuously.

            Assignee:
            Steven G Brown
            Reporter:
            Edwin Flores
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: