Hi

Further inspection showed that the slave had never properly connected to 
Jenkins since a reboot of the slave yesterday.  This was clear in the node's 
log, but no problem was indicated for the slave on the dashboard.  I was busy 
and so didn't investigate deeper.

Anyway, a manual disconnect/reconnect fixed the problem.
 
Best regards

David

> -----Original Message-----
> From: [email protected] [mailto:jenkinsci-
> [email protected]] On Behalf Of David Aldrich
> Sent: 15 October 2013 09:46
> To: [email protected]
> Subject: Help need to debug "channel is already closed" failure
> 
> Hi
> 
> I have a matrix job that is failing because the slave used by the job 
> disconnects.
> The console output for the job is shown below. I am running Jenkins ver. 
> 1.509.3
> (LTS) with SSH Slaves Plugin 1.3 and Credentials plugin 1.8.3.  The machines 
> run
> Centos Linux.
> 
> This problem appeared yesterday and is now repeatable.  After the failure the
> slave is shown as connected so I guess that Jenkins managed to reconnect.  The
> job and the slave were running fine last week.
> 
> Please can anyone suggest what I can do to identify the cause of the problem?
> 
> Best regards
> 
> David
> 
> ================================================================
> ===============
> 
> Console Output
> 09:37:42 Started by upstream project "<snip>" build number 9
> 09:37:42 originally caused by:
> 09:37:42  Started by user <snip>
> 09:37:42 Building remotely on znsim05FATAL: channel is already closed
> 09:37:42 hudson.remoting.ChannelClosedException: channel is already closed
> 09:37:42      at hudson.remoting.Channel.send(Channel.java:494)
> 09:37:42      at hudson.remoting.Request.call(Request.java:129)
> 09:37:42      at hudson.remoting.Channel.call(Channel.java:672)
> 09:37:42      at hudson.EnvVars.getRemote(EnvVars.java:212)
> 09:37:42      at
> hudson.model.Computer.getEnvironment(Computer.java:880)
> 09:37:42      at
> jenkins.model.CoreEnvironmentContributor.buildEnvironmentFor(CoreEnviron
> mentContributor.java:28)
> 09:37:42      at hudson.model.Run.getEnvironment(Run.java:2062)
> 09:37:42      at
> hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:931)
> 09:37:42      at
> hudson.matrix.MatrixRun$MatrixRunExecution.decideWorkspace(MatrixRun.ja
> va:175)
> 09:37:42      at
> hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:567
> )
> 09:37:42      at hudson.model.Run.execute(Run.java:1592)
> 09:37:42      at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
> 09:37:42      at
> hudson.model.ResourceController.execute(ResourceController.java:88)
> 09:37:42      at hudson.model.Executor.run(Executor.java:237)
> 09:37:42 Caused by: java.io.IOException: Unexpected termination of the
> channel
> 09:37:42      at
> hudson.remoting.SynchronousCommandTransport$ReaderThread.run(Synchron
> ousCommandTransport.java:50)
> 09:37:42 Caused by: java.io.EOFException
> 09:37:42      at
> java.io.ObjectInputStream$BlockDataInputStream.peekByte(Unknown Source)
> 09:37:42      at java.io.ObjectInputStream.readObject0(Unknown Source)
> 09:37:42      at java.io.ObjectInputStream.readObject(Unknown Source)
> 09:37:42      at hudson.remoting.Command.readFrom(Command.java:92)
> 09:37:42      at
> hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.ja
> va:59)
> 09:37:42      at
> hudson.remoting.SynchronousCommandTransport$ReaderThread.run(Synchron
> ousCommandTransport.java:48)
> 
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
> 
> 
>  Click
> https://www.mailcontrol.com/sr/dWnfxqE0d+DGX2PQPOmvUuHxyFIItuEMLR21
> W!sZ9Dtk4Wp5+Iy+6XgiAkhMQd3PPRL+RTcDbJNkxH4nYzTQYQ==  to report this
> email as spam.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to