I have much the same log message, from a somewhat older Jenkins (base 1.588, ssh slaves 1.10), on slaves running SLES 11.3. Here, the slave is using the On Demand connection policy (because we are trying different things to help this failure syndrome). So, a build was scheduled for 01:00, the slave started up, all good so far- then the build actually started and then failed immediately. Here's the slave log:
[03/07/16 01:00:25] [SSH] Checking java version of java
[03/07/16 01:00:32] [SSH] java -version returned 1.7.0.
[03/07/16 01:00:32] [SSH] Starting sftp client.
[03/07/16 01:00:32] [SSH] Copying latest slave.jar...
[03/07/16 01:00:32] [SSH] Copied 439,117 bytes.
Expanded the channel window size to 4MB
[03/07/16 01:00:32] [SSH] Starting slave process: cd "/ptmp/jenkins/chapel-ci" && java -jar slave.jar
<===[JENKINS REMOTING CAPACITY]===>channel started
Slave.jar version: 2.47
This is a Unix slave
Slave successfully connected and online
Slave JVM has not reported exit code. Is it still running?
ERROR: Connection terminated
java.io.IOException: Unexpected termination of the channel
at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:50)
Caused by: java.io.EOFException
at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2435)
at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2904)
at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:883)
at java.io.ObjectInputStream.<init>(ObjectInputStream.java:349)
at hudson.remoting.ObjectInputStreamEx.<init>(ObjectInputStreamEx.java:40)
at hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:34)
at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)
[03/07/16 01:00:41] [SSH] Connection closed.
Here's the build console log
Started by timer
[EnvInject] - Loading node environment variables.
Building remotely on blahblah01 (xc cf) in workspace /ptmp/jenkins/blahblah/workspace/blahblah-xc
FATAL: java.io.IOException: Unexpected termination of the channel
hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel
at hudson.remoting.Request.abort(Request.java:295)
at hudson.remoting.Channel.terminate(Channel.java:814)
at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:69)
at ......remote call to blahblah01(Native Method)
at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1356)
at hudson.remoting.Request.call(Request.java:171)
at hudson.remoting.Channel.call(Channel.java:751)
at hudson.FilePath.act(FilePath.java:970)
at hudson.FilePath.act(FilePath.java:959)
at org.jenkinsci.plugins.gitclient.Git.getClient(Git.java:131)
at hudson.plugins.git.GitSCM.createClient(GitSCM.java:677)
at hudson.plugins.git.GitSCM.createClient(GitSCM.java:669)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1010)
at hudson.scm.SCM.checkout(SCM.java:484)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1258)
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:622)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:528)
at hudson.model.Run.execute(Run.java:1759)
at hudson.matrix.MatrixBuild.run(MatrixBuild.java:306)
at hudson.model.ResourceController.execute(ResourceController.java:89)
at hudson.model.Executor.run(Executor.java:240)
Caused by: java.io.IOException: Unexpected termination of the channel
at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:50)
Caused by: java.io.EOFException
at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2435)
at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2904)
at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:883)
at java.io.ObjectInputStream.<init>(ObjectInputStream.java:349)
at hudson.remoting.ObjectInputStreamEx.<init>(ObjectInputStreamEx.java:40)
at hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:34)
at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)
|