[JIRA] (JENKINS-40762) Logs can grow without bound when using timestamper plugin
Title: Message Title Steven G Brown resolved as Fixed Fix included in Timestamper 1.8.8. Jenkins / JENKINS-40762 Logs can grow without bound when using timestamper plugin Change By: Steven G Brown Status: Open Resolved Resolution: Fixed Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-40762) Logs can grow without bound when using timestamper plugin
Title: Message Title SCM/JIRA link daemon commented on JENKINS-40762 Re: Logs can grow without bound when using timestamper plugin Code changed in jenkins User: Edwin Flores Path: src/main/java/hudson/plugins/timestamper/TimestampNotesOutputStream.java http://jenkins-ci.org/commit/timestamper-plugin/d0c6e9700b9c76735d5740d205dcda9f6c14dd2b Log: JENKINS-40762 Cache encoded timestamp note in TimestampNotesOutputStream Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-40762) Logs can grow without bound when using timestamper plugin
Title: Message Title SCM/JIRA link daemon commented on JENKINS-40762 Re: Logs can grow without bound when using timestamper plugin Code changed in jenkins User: StevenGBrown Path: src/main/java/hudson/plugins/timestamper/TimestampNotesOutputStream.java http://jenkins-ci.org/commit/timestamper-plugin/1744efd94ad87cf61060af6da2aa1f01c79a7e3c Log: Merge pull request #20 from edf825/master JENKINS-40762 Cache encoded timestamp note in TimestampNotesOutputStream Compare: https://github.com/jenkinsci/timestamper-plugin/compare/041b6f5f9b8d...1744efd94ad8 Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-40762) Logs can grow without bound when using timestamper plugin
Title: Message Title Edwin Flores commented on JENKINS-40762 Re: Logs can grow without bound when using timestamper plugin This bug is caused by: A timeout in the Pipeline Nodes and Processes plugin[1] which, if writing logs is taking more than 10 seconds, will interrupt the thread and attempt to write the log again from the start; and Poor performance in TimestampNotesOutputStream. TimestampNote.encode() takes more than 100us on my machine and totally dominates run time. The pull request at [2] improves throughput significantly by caching the encoded TimestampNote. [1] https://github.com/jenkinsci/workflow-durable-task-step-plugin/blob/1c0f5ff191c37fcf339d637834d3cc900171f71e/src/main/java/org/jenkinsci/plugins/workflow/steps/durable_task/DurableTaskStep.java#L306 [2] https://github.com/jenkinsci/timestamper-plugin/pull/20 Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-40762) Logs can grow without bound when using timestamper plugin
Title: Message Title Edwin Flores updated an issue Jenkins / JENKINS-40762 Logs can grow without bound when using timestamper plugin Change By: Edwin Flores 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 10"}}} }}2. Run the job.Expected result:Job terminates eventually.Actual result:Job does not terminate, and fills the log continuously. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop
[JIRA] (JENKINS-40762) Logs can grow without bound when using timestamper plugin
Title: Message Title Edwin Flores updated an issue Jenkins / JENKINS-40762 Logs can grow without bound when using timestamper plugin Change By: Edwin Flores 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 10"}}} }} 2. Run the job.Expected result:Job terminates eventually.Actual result:Job does not terminate, and fills the log continuously. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop
[JIRA] (JENKINS-40762) Logs can grow without bound when using timestamper plugin
Title: Message Title Edwin Flores created an issue Jenkins / JENKINS-40762 Logs can grow without bound when using timestamper plugin Issue Type: Bug Assignee: Steven G Brown Components: timestamper-plugin Created: 2017/Jan/03 9:32 AM Environment: Jenkins 2.19.1 Timestamper 1.8.7 (but observed in older versions as well) Priority: Minor Reporter: Edwin Flores 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 10" } } }}} 2. Run the job. Expected result: Job terminates eventually. Actual result: Job does not terminate, and fills the log continuously. Add Comment