[JIRA] (JENKINS-54202) Too much output from SH executor causes the agent to freeze
Title: Message Title Jeff Thompson closed an issue as Cannot Reproduce Closing as Cannot Reproduce without additional response. Jenkins / JENKINS-54202 Too much output from SH executor causes the agent to freeze Change By: Jeff Thompson Status: Open Closed Resolution: Cannot Reproduce Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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-54202) Too much output from SH executor causes the agent to freeze
Title: Message Title Jeff Thompson commented on JENKINS-54202 Re: Too much output from SH executor causes the agent to freeze Could you provide any further logging output? Particularly agent logs. My attempts at reproduction haven't succeeded yet. I haven't tried it with your configuration as I don't have Ubuntu systems immediately available. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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-54202) Too much output from SH executor causes the agent to freeze
Title: Message Title Simon Aquino created an issue Jenkins / JENKINS-54202 Too much output from SH executor causes the agent to freeze Issue Type: Bug Assignee: Jeff Thompson Components: remoting Created: 2018-10-23 11:09 Labels: remoting Priority: Major Reporter: Simon Aquino I have deployed two Jenkins nodes, one master and one agent, both running ubuntu 18.04 LTS. Both nodes are running: OpenJDK Runtime Environment (build 1.8.0_181-8u181-b13-0ubuntu0.18.04.1-b13) The Jenkins master is v2.138.2. I'm catting a file containing some terraform output (approximately 30KB) on the agent using the shell executor in a Jenkins pipeline (see below). As the job runs, only a section of the file content is displayed in my console log and then the job freezes. In some cases some more lines from the file are displayed after some time. In any case, an error message is thrown: Cannot contact jenkins-linux-agent: java.lang.InterruptedException Could not connect to jenkins-linux-agent to send interrupt signal to process The work around that I've found is to rate limit the number of bytes delivered to stdout using the linux utility pv. pipeline { options { buildDiscarder(logRotator(numToKeepStr: '10')) ansiColor('xterm') } agent { node { label 'jenkins-linux-agent' } } stages { stage('Build') { steps { script { sh 'cat /tmp/output | pv -l -L 100 -q' } } } } }