This is not the SAME thing but similar, we have had numerous issues with the CLI disconnecting and have a JIRA item opened on this already:
https://issues.jenkins-ci.org/browse/JENKINS-12037 There are numerous comments in the thread of that one. On Fri, Mar 9, 2012 at 8:08 PM, Noah Hoffman <hoff...@adobe.com> wrote: > Hi All, > > > We're starting to see a few random slave-agent disconnects and I'm > wondering if anyone has any info. A search online doesn't reveal anything > useful nor do the Jenkins logs or System logs. We're running Jenkins build > 1.448 hosted on a Linux machine, the node is OSX 10.6.8. > > > Thanks in advance, > > Noah > > > > > FATAL: channel is already closedhudson.remoting.ChannelClosedException > <http://stacktrace.jenkins-ci.org/search?query=hudson.remoting.ChannelClosedException>: > channel is already closed > at hudson.remoting.Channel.send(Channel.java:499) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.Channel.send&entity=method> > at hudson.remoting.Request.call(Request.java:110) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.Request.call&entity=method> > at hudson.remoting.Channel.call(Channel.java:681) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.Channel.call&entity=method> > at hudson.EnvVars.getRemote(EnvVars.java:202) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.EnvVars.getRemote&entity=method> > at hudson.model.Computer.getEnvironment(Computer.java:828) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Computer.getEnvironment&entity=method> > at hudson.model.Run.getEnvironment(Run.java:1849) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.getEnvironment&entity=method> > at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:819) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild.getEnvironment&entity=method> > at > org.jenkinsci.plugins.tokenmacro.impl.EnvironmentVariableMacro.evaluate(EnvironmentVariableMacro.java:23) > > <http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.tokenmacro.impl.EnvironmentVariableMacro.evaluate&entity=method> > at > org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro.evaluate(DataBoundTokenMacro.java:177) > > <http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.tokenmacro.DataBoundTokenMacro.evaluate&entity=method> > at > org.jenkinsci.plugins.tokenmacro.TokenMacro.expand(TokenMacro.java:160) > <http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.tokenmacro.TokenMacro.expand&entity=method> > at > org.jenkinsci.plugins.buildnamesetter.BuildNameSetter.setDisplayName(BuildNameSetter.java:47) > > <http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.buildnamesetter.BuildNameSetter.setDisplayName&entity=method> > at > org.jenkinsci.plugins.buildnamesetter.BuildNameSetter.access$000(BuildNameSetter.java:23) > > <http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.buildnamesetter.BuildNameSetter.access$000&entity=method> > at > org.jenkinsci.plugins.buildnamesetter.BuildNameSetter$1.tearDown(BuildNameSetter.java:39) > > <http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.buildnamesetter.BuildNameSetter$1.tearDown&entity=method> > at hudson.model.Build$RunnerImpl.doRun(Build.java:150) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Build$RunnerImpl.doRun&entity=method> > at > hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:470) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractRunner.run&entity=method> > at hudson.model.Run.run(Run.java:1404) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.run&entity=method> > at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.FreeStyleBuild.run&entity=method> > at hudson.model.ResourceController.execute(ResourceController.java:88) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.ResourceController.execute&entity=method> > at hudson.model.Executor.run(Executor.java:238) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.run&entity=method> > Caused by: java.io.IOException > <http://stacktrace.jenkins-ci.org/search?query=java.io.IOException>: > Unexpected termination of the channel > at hudson.remoting.Channel$ReaderThread.run(Channel.java:1133) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.Channel$ReaderThread.run&entity=method> > Caused by: java.io.EOFException > <http://stacktrace.jenkins-ci.org/search?query=java.io.EOFException> at > java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2553) > > <http://stacktrace.jenkins-ci.org/search/?query=java.io.ObjectInputStream$BlockDataInputStream.peekByte&entity=method> > at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1296) > <http://stacktrace.jenkins-ci.org/search/?query=java.io.ObjectInputStream.readObject0&entity=method> > at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350) > <http://stacktrace.jenkins-ci.org/search/?query=java.io.ObjectInputStream.readObject&entity=method> > at hudson.remoting.Channel$ReaderThread.run(Channel.java:1127) > <http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.Channel$ReaderThread.run&entity=method> > > * Mark *