Details
-
Bug
-
Status: Reopened (View Workflow)
-
Critical
-
Resolution: Unresolved
-
None
-
Maser windows 2012R2 LTS version 1.580.1 windows slaves win7 , win81 win 2012 , win2012R2
Description
Matrix job execute MVN ( 3.0.5) step and the connection aborted
08:20:57 FATAL: java.io.IOException: Connection aborted: org.jenkinsci.remoting.nio.NioChannelHub$MonoNioTransport@2760a63e[name=studio-7-1]
08:20:57 hudson.remoting.RequestAbortedException: java.io.IOException: Connection aborted: org.jenkinsci.remoting.nio.NioChannelHub$MonoNioTransport@2760a63e[name=studio-
I tried switch the MVN step with an ANT , it reduced dramatically the problem , but the problem still exist.
attached a zip file contains 2 file the master log and the slave log - the problem happened at Mar 05, 2015 11:09:46
Attachments
- jenkins.4.err.log
- 763 kB
- jenkins-logs.zip
- 742 kB
- jenkins-slave.5.err.log
- 4.85 MB
Activity
This is pretty insane. Doesn't look like a bug though. I'd investigate whether your network has issues. Use of WiFi, routers that drop connections, broken cables, etc.
You could try opening a basic network connection (e.g. telnet) between slave and Jenkins master. If that goes down at the same time, it's unrelated to Jenkins.
Use of Wireshark may also help.
Hi Daniel
Thanks for your help , I already asked the IT team to monitor the network , they didn't find any error ...
I think that maybe one of the plugins cause this error , but must say that I don't have a clue.
I just removed one of the plugins that had a lot of exceptions to clean the log file , so it will be easy to read it.
the strange thing is that when the same tests run with a MVN step , it failed much more , and I don't have a clue for it.
Thanks , Mor
Any update on this issue? I've been facing it as well.... was wondering if there is some king of solution?
Any chance it's related to the ping mechanism? I'm going to try and disable it and see if it helps.
Any help would be greatly appreciated.
Thanks!
Dvir
This is seen in Jenkins ver 1.609.1
13:47:30 Slave went offline during the build 13:47:31 ERROR: Connection was broken: java.io.IOException: Connection aborted: org.jenkinsci.remoting.nio.NioChannelHub$MonoNioTransport@6ed75b03[name=jenkins-win-slave1] 13:47:31 at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport.abort(NioChannelHub.java:208) 13:47:31 at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:628) 13:47:31 at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28) 13:47:31 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 13:47:31 at java.util.concurrent.FutureTask.run(FutureTask.java:266) 13:47:31 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 13:47:31 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 13:47:31 at java.lang.Thread.run(Thread.java:745) 13:47:31 Caused by: java.io.IOException: Connection reset by peer 13:47:31 at sun.nio.ch.FileDispatcherImpl.read0(Native Method) 13:47:31 at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39) 13:47:31 at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) 13:47:31 at sun.nio.ch.IOUtil.read(IOUtil.java:197) 13:47:31 at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380) 13:47:31 at org.jenkinsci.remoting.nio.FifoBuffer$Pointer.receive(FifoBuffer.java:136) 13:47:31 at org.jenkinsci.remoting.nio.FifoBuffer.receive(FifoBuffer.java:306) 13:47:31 at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:561) 13:47:31 ... 6 more 13:47:31 13:47:31 Build step 'Invoke Ant' marked build as failure 13:47:31 ERROR: Publisher hudson.tasks.junit.JUnitResultArchiver aborted due to exception 13:47:31 hudson.AbortException: no workspace for 1010-unit-tests #364 13:47:31 at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:72) 13:47:31 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 13:47:31 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:761) 13:47:31 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:721) 13:47:31 at hudson.model.Build$BuildExecution.post2(Build.java:183) 13:47:31 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:670) 13:47:31 at hudson.model.Run.execute(Run.java:1766) 13:47:31 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) 13:47:31 at hudson.model.ResourceController.execute(ResourceController.java:98) 13:47:31 at hudson.model.Executor.run(Executor.java:374)
Jenkins master stacktrace:
Sep 02, 2015 1:47:29 PM org.jenkinsci.remoting.nio.NioChannelHub run WARNING: Communication problem java.io.IOException: Connection reset by peer at sun.nio.ch.FileDispatcherImpl.read0(Native Method) at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39) at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) at sun.nio.ch.IOUtil.read(IOUtil.java:197) at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380) at org.jenkinsci.remoting.nio.FifoBuffer$Pointer.receive(FifoBuffer.java:136) at org.jenkinsci.remoting.nio.FifoBuffer.receive(FifoBuffer.java:306) at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:561) at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Sep 02, 2015 1:47:31 PM jenkins.slaves.JnlpSlaveAgentProtocol$Handler$1 onClosed WARNING: NioChannelHub keys=2 gen=13177477: Computer.threadPoolForRemoting [#1] for + jenkins-win-slave1 terminated java.io.IOException: Connection aborted: org.jenkinsci.remoting.nio.NioChannelHub$MonoNioTransport@6ed75b03[name=jenkins-win-slave1] at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport.abort(NioChannelHub.java:208) at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:628) at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.io.IOException: Connection reset by peer at sun.nio.ch.FileDispatcherImpl.read0(Native Method) at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39) at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) at sun.nio.ch.IOUtil.read(IOUtil.java:197) at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380) at org.jenkinsci.remoting.nio.FifoBuffer$Pointer.receive(FifoBuffer.java:136) at org.jenkinsci.remoting.nio.FifoBuffer.receive(FifoBuffer.java:306) at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:561) ... 6 more
Jenkins Agent log:
NLP agent connected from /10.1.10.45 <===[JENKINS REMOTING CAPACITY]===>^@^@^@Slave.jar version: 2.50 This is a Windows slave Slave successfully connected and online ERROR: Connection terminated ^[[8mha:AAAAWB+LCAAAAAAAAP9b85aBtbiIQSmjNKU4P08vOT+vOD8nVc8DzHWtSE4tKMnMz/PLL0ldFVf2c+b/lb5MDAwVRQxSaBqcITRIIQMEMIIUFgAAckCEiWAAAAA=^[[0mjava.io.IOException: Connection aborted: org.jenkinsci.remoting.nio.NioChannelHub$MonoNioTransport@6ed75b03[name=jenkins-win-slave1] at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport.abort(NioChannelHub.java:208) at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:628) at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.io.IOException: Connection reset by peer at sun.nio.ch.FileDispatcherImpl.read0(Native Method) at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39) at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) at sun.nio.ch.IOUtil.read(IOUtil.java:197) at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380) at org.jenkinsci.remoting.nio.FifoBuffer$Pointer.receive(FifoBuffer.java:136) at org.jenkinsci.remoting.nio.FifoBuffer.receive(FifoBuffer.java:306) at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:561) ... 6 more
The same error is here also: https://issues.jenkins-ci.org/browse/JENKINS-28155
I am seeing the very same error on Windows slaves, no OS X or Linux slave shows this. The weird thing is that the next build runs fine on the node, right after the 'apparently' failure.
Failure on remote
10:46:52 java.io.IOException: java.io.IOException: Connection aborted: org.jenkinsci.remoting.nio.NioChannelHub$MonoNioTransport@4af9aab0[name=XXXXXXXXX]
10:46:52 at hudson.remoting.FastPipedInputStream.read(FastPipedInputStream.java:169)
10:46:52 at hudson.remoting.FastPipedInputStream.read(FastPipedInputStream.java:151)
10:46:52 at org.jenkinsci.plugins.unity3d.io.StreamCopyThread.run(StreamCopyThread.java:64)
10:46:52 Caused by: java.io.IOException: Connection aborted: org.jenkinsci.remoting.nio.NioChannelHub$MonoNioTransport@4af9aab0[name=uup-winasset02]
10:46:52 at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport.abort(NioChannelHub.java:208)
10:46:52 at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:628)
10:46:52 at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
10:46:52 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
10:46:52 at java.util.concurrent.FutureTask.run(FutureTask.java:262)
10:46:52 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
10:46:52 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
10:46:52 at java.lang.Thread.run(Thread.java:745)
10:46:52 Caused by: java.io.IOException: Connection timed out
10:46:52 at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
10:46:52 at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
10:46:52 at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
10:46:52 at sun.nio.ch.IOUtil.read(IOUtil.java:197)
10:46:52 at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:384)
10:46:52 at org.jenkinsci.remoting.nio.FifoBuffer$Pointer.receive(FifoBuffer.java:136)
10:46:52 at org.jenkinsci.remoting.nio.FifoBuffer.receive(FifoBuffer.java:306)
10:46:52 at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:561)
10:46:52 ... 6 more
10:46:52 Slave went offline during the build
10:46:52 ERROR: Connection was broken: java.io.IOException: Connection aborted: org.jenkinsci.remoting.nio.NioChannelHub$MonoNioTransport@4af9aab0[name=XXXXXXXX]
10:46:52 at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport.abort(NioChannelHub.java:208)
10:46:52 at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:628)
10:46:52 at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
10:46:52 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
10:46:52 at java.util.concurrent.FutureTask.run(FutureTask.java:262)
10:46:52 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
10:46:52 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
10:46:52 at java.lang.Thread.run(Thread.java:745)
10:46:52 Caused by: java.io.IOException: Connection timed out
10:46:52 at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
10:46:52 at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
10:46:52 at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
10:46:52 at sun.nio.ch.IOUtil.read(IOUtil.java:197)
10:46:52 at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:384)
10:46:52 at org.jenkinsci.remoting.nio.FifoBuffer$Pointer.receive(FifoBuffer.java:136)
10:46:52 at org.jenkinsci.remoting.nio.FifoBuffer.receive(FifoBuffer.java:306)
10:46:52 at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:561)
10:46:52 ... 6 more
any process?I have the same error.
environment: master is linux jenkins version 1.639 jdk version:1.7.0 slave is windows,jdk version:1.8.0
Slave went offline during the build
00:38:11 ERROR: Connection was broken: java.io.IOException: Connection aborted: org.jenkinsci.remoting.nio.NioChannelHub$MonoNioTransport@4dc74f50[name=10.140.164.129]
00:38:11 at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport.abort(NioChannelHub.java:208)
00:38:11 at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:628)
00:38:11 at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
00:38:11 at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
00:38:11 at java.util.concurrent.FutureTask.run(Unknown Source)
00:38:11 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
00:38:11 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
00:38:11 at java.lang.Thread.run(Unknown Source)
00:38:11 Caused by: java.io.IOException: Connection reset by peer
00:38:11 at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
00:38:11 at sun.nio.ch.SocketDispatcher.read(Unknown Source)
00:38:11 at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
00:38:11 at sun.nio.ch.IOUtil.read(Unknown Source)
00:38:11 at sun.nio.ch.SocketChannelImpl.read(Unknown Source)
00:38:11 at org.jenkinsci.remoting.nio.FifoBuffer$Pointer.receive(FifoBuffer.java:136)
00:38:11 at org.jenkinsci.remoting.nio.FifoBuffer.receive(FifoBuffer.java:306)
00:38:11 at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:561)
00:38:11 ... 6 more
and the master and slave connection is through JNLP,following is slave node log:
JNLP agent connected from /10.140.164.129
<===[JENKINS REMOTING CAPACITY]===>Slave.jar version: 2.53.2
This is a Windows slave
ERROR: Connection terminated
java.io.IOException: Connection aborted: org.jenkinsci.remoting.nio.NioChannelHub$MonoNioTransport@67f414e7[name=10.140.164.129]
at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport.abort(NioChannelHub.java:208)
at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:628)
at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: Connection reset by peer
at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(Unknown Source)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
at sun.nio.ch.IOUtil.read(Unknown Source)
at sun.nio.ch.SocketChannelImpl.read(Unknown Source)
at org.jenkinsci.remoting.nio.FifoBuffer$Pointer.receive(FifoBuffer.java:136)
at org.jenkinsci.remoting.nio.FifoBuffer.receive(FifoBuffer.java:306)
at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:561)
... 6 more
Slave successfully connected and online
Experiencing the same issue:
Jenkins 1.654
Apr 20, 2016 10:33:53 AM INFO hudson.TcpSlaveAgentListener$ConnectionHandler run
Accepted connection #15 from /10.192.0.32:49188
Apr 20, 2016 10:36:17 AM INFO org.jenkinsci.plugins.vSphereCloud InternalLog
[GRW7-64-A] Powering down hard
Apr 20, 2016 10:36:18 AM WARNING jenkins.slaves.JnlpSlaveAgentProtocol$Handler$1 onClosed
NioChannelHub keys=3 gen=482437: Computer.threadPoolForRemoting 6 for GRW7-64-A terminated
java.io.IOException: Connection aborted: org.jenkinsci.remoting.nio.NioChannelHub$MonoNioTransport@f5709[name=GRW7-64-A]
at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport.abort(NioChannelHub.java:208)
at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:629)
at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: An existing connection was forcibly closed by the remote host
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(Unknown Source)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
at sun.nio.ch.IOUtil.read(Unknown Source)
at sun.nio.ch.SocketChannelImpl.read(Unknown Source)
at org.jenkinsci.remoting.nio.FifoBuffer$Pointer.receive(FifoBuffer.java:137)
at org.jenkinsci.remoting.nio.FifoBuffer.receive(FifoBuffer.java:310)
at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:561)
... 7 more
Apr 20, 2016 10:36:37 AM WARNING org.jenkinsci.remoting.nio.NioChannelHub run
Communication problem
java.io.IOException: An established connection was aborted by the software in your host machine
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(Unknown Source)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
at sun.nio.ch.IOUtil.read(Unknown Source)
at sun.nio.ch.SocketChannelImpl.read(Unknown Source)
at org.jenkinsci.remoting.nio.FifoBuffer$Pointer.receive(FifoBuffer.java:137)
at org.jenkinsci.remoting.nio.FifoBuffer.receive(FifoBuffer.java:310)
at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:561)
at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Apr 20, 2016 10:36:37 AM INFO org.jenkinsci.plugins.vSphereCloud InternalLog
[GRW7-64-A] Running disconnect procedure...
Apr 20, 2016 10:36:37 AM INFO org.jenkinsci.plugins.vSphereCloud InternalLog
[GRW7-64-A] Shutting down Virtual Machine...
Apr 20, 2016 10:36:37 AM WARNING jenkins.slaves.JnlpSlaveAgentProtocol$Handler$1 onClosed
NioChannelHub keys=2 gen=486936: Computer.threadPoolForRemoting 6 for GRW7-64-A terminated
java.io.IOException: Connection aborted: org.jenkinsci.remoting.nio.NioChannelHub$MonoNioTransport@1fc9696[name=GRW7-64-A]
at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport.abort(NioChannelHub.java:208)
at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:629)
at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: An established connection was aborted by the software in your host machine
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(Unknown Source)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
at sun.nio.ch.IOUtil.read(Unknown Source)
at sun.nio.ch.SocketChannelImpl.read(Unknown Source)
at org.jenkinsci.remoting.nio.FifoBuffer$Pointer.receive(FifoBuffer.java:137)
at org.jenkinsci.remoting.nio.FifoBuffer.receive(FifoBuffer.java:310)
at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:561)
... 7 more
Apr 20, 2016 10:41:46 AM WARNING org.eclipse.jetty.util.log.JavaUtilLog warn
java.nio.channels.ClosedChannelException
at sun.nio.ch.SocketChannelImpl.ensureWriteOpen(Unknown Source)
at sun.nio.ch.SocketChannelImpl.write(Unknown Source)
at org.eclipse.jetty.io.nio.ChannelEndPoint.flush(ChannelEndPoint.java:293)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.flush(SelectChannelEndPoint.java:402)
at org.eclipse.jetty.io.nio.SslConnection.process(SslConnection.java:337)
at org.eclipse.jetty.io.nio.SslConnection.access$900(SslConnection.java:48)
at org.eclipse.jetty.io.nio.SslConnection$SslEndPoint.flush(SslConnection.java:738)
at org.eclipse.jetty.io.nio.SslConnection$SslEndPoint.shutdownOutput(SslConnection.java:641)
at org.eclipse.jetty.io.nio.SslConnection.onIdleExpired(SslConnection.java:260)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.onIdleExpired(SelectChannelEndPoint.java:349)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:326)
at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Apr 20, 2016 10:42:19 AM WARNING org.eclipse.jetty.util.log.JavaUtilLog warn
java.nio.channels.ClosedChannelException
at sun.nio.ch.SocketChannelImpl.ensureWriteOpen(Unknown Source)
at sun.nio.ch.SocketChannelImpl.write(Unknown Source)
at org.eclipse.jetty.io.nio.ChannelEndPoint.flush(ChannelEndPoint.java:293)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.flush(SelectChannelEndPoint.java:402)
at org.eclipse.jetty.io.nio.SslConnection.process(SslConnection.java:337)
at org.eclipse.jetty.io.nio.SslConnection.access$900(SslConnection.java:48)
at org.eclipse.jetty.io.nio.SslConnection$SslEndPoint.flush(SslConnection.java:738)
at org.eclipse.jetty.io.nio.SslConnection$SslEndPoint.shutdownOutput(SslConnection.java:641)
at org.eclipse.jetty.io.nio.SslConnection.onIdleExpired(SslConnection.java:260)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.onIdleExpired(SelectChannelEndPoint.java:349)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:326)
at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Apr 20, 2016 10:46:19 AM WARNING org.eclipse.jetty.util.log.JavaUtilLog warn
java.nio.channels.ClosedChannelException
at sun.nio.ch.SocketChannelImpl.ensureWriteOpen(Unknown Source)
at sun.nio.ch.SocketChannelImpl.write(Unknown Source)
at org.eclipse.jetty.io.nio.ChannelEndPoint.flush(ChannelEndPoint.java:293)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.flush(SelectChannelEndPoint.java:402)
at org.eclipse.jetty.io.nio.SslConnection.process(SslConnection.java:337)
at org.eclipse.jetty.io.nio.SslConnection.access$900(SslConnection.java:48)
at org.eclipse.jetty.io.nio.SslConnection$SslEndPoint.flush(SslConnection.java:738)
at org.eclipse.jetty.io.nio.SslConnection$SslEndPoint.shutdownOutput(SslConnection.java:641)
at org.eclipse.jetty.io.nio.SslConnection.onIdleExpired(SslConnection.java:260)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.onIdleExpired(SelectChannelEndPoint.java:349)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:326)
at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
I'm also facing the same issue. Please find my log comments below :-
Slave went offline during the build
ERROR: Connection was broken: java.io.IOException: Connection aborted: org.jenkinsci.remoting.nio.NioChannelHub$MonoNioTransport@2ac0ace9[name=windows.slave]
at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport.abort(NioChannelHub.java:208)
at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:628)
at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: Connection timed out
at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:197)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
at org.jenkinsci.remoting.nio.FifoBuffer$Pointer.receive(FifoBuffer.java:136)
at org.jenkinsci.remoting.nio.FifoBuffer.receive(FifoBuffer.java:306)
at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:561)
... 6 more
Build step 'Windows PowerShell' marked build as failure
Finished: FAILURE
Experiencing the same problem. Also as mentioned earlier, I have almost always seen the build succeed on the next attempt. The master in this case is on Linux and the slave is a Windows build server.
Slave went offline during the build
ERROR: Connection was broken: java.io.IOException: Connection aborted: org.jenkinsci.remoting.nio.NioChannelHub$MonoNioTransport@5e815cc0[name=server.company.com]
at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport.abort(NioChannelHub.java:208)
at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:628)
at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: Connection reset by peer
at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:197)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
at org.jenkinsci.remoting.nio.FifoBuffer$Pointer.receive(FifoBuffer.java:136)
at org.jenkinsci.remoting.nio.FifoBuffer.receive(FifoBuffer.java:306)
at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:561)
... 6 more
Same:
22:40:06 [EnvInject] - Loading node environment variables.
22:40:13 FATAL: java.io.IOException: Connection aborted: org.jenkinsci.remoting.nio.NioChannelHub$MonoNioTransport@175db93[name=USMAYLDET10VM3]
22:40:14 hudson.remoting.RequestAbortedException: java.io.IOException: Connection aborted: org.jenkinsci.remoting.nio.NioChannelHub$MonoNioTransport@175db93[name=USMAYLDET10VM3]
22:40:14 at hudson.remoting.Request.abort(Request.java:297)
22:40:14 at hudson.remoting.Channel.terminate(Channel.java:847)
22:40:14 at hudson.remoting.Channel$1.terminate(Channel.java:509)
22:40:14 at hudson.remoting.AbstractByteArrayCommandTransport$1.terminate(AbstractByteArrayCommandTransport.java:71)
22:40:14 at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport.abort(NioChannelHub.java:208)
22:40:14 at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:628)
22:40:14 at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
22:40:14 at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
22:40:14 at java.util.concurrent.FutureTask.run(Unknown Source)
22:40:14 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
22:40:14 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
22:40:14 at java.lang.Thread.run(Unknown Source)
22:40:14 at ......remote call to USMAYLDET10VM3(Native Method)
22:40:14 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416)
22:40:14 at hudson.remoting.Request.call(Request.java:172)
22:40:14 at hudson.remoting.Channel.call(Channel.java:780)
22:40:14 at hudson.FilePath.act(FilePath.java:1074)
22:40:14 at org.jenkinsci.plugins.envinject.service.EnvironmentVariablesNodeLoader.gatherEnvironmentVariablesNode(EnvironmentVariablesNodeLoader.java:44)
22:40:14 at org.jenkinsci.plugins.envinject.EnvInjectListener.loadEnvironmentVariablesNode(EnvInjectListener.java:81)
22:40:14 at org.jenkinsci.plugins.envinject.EnvInjectListener.setUpEnvironment(EnvInjectListener.java:39)
22:40:14 at hudson.model.AbstractBuild$AbstractBuildExecution.createLauncher(AbstractBuild.java:572)
22:40:14 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:492)
22:40:14 at hudson.model.Run.execute(Run.java:1738)
22:40:14 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
22:40:14 at hudson.model.ResourceController.execute(ResourceController.java:98)
22:40:14 at hudson.model.Executor.run(Executor.java:410)
22:40:14 Caused by: java.io.IOException: Connection aborted: org.jenkinsci.remoting.nio.NioChannelHub$MonoNioTransport@175db93[name=USMAYLDET10VM3]
22:40:14 at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport.abort(NioChannelHub.java:208)
22:40:14 at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:628)
22:40:14 at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
22:40:14 at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
22:40:14 at java.util.concurrent.FutureTask.run(Unknown Source)
22:40:14 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
22:40:14 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
22:40:14 at java.lang.Thread.run(Unknown Source)
22:40:14 Caused by: java.io.IOException: An existing connection was forcibly closed by the remote host
22:40:14 at sun.nio.ch.SocketDispatcher.read0(Native Method)
22:40:14 at sun.nio.ch.SocketDispatcher.read(Unknown Source)
22:40:14 at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
22:40:14 at sun.nio.ch.IOUtil.read(Unknown Source)
22:40:14 at sun.nio.ch.SocketChannelImpl.read(Unknown Source)
22:40:14 at org.jenkinsci.remoting.nio.FifoBuffer$Pointer.receive(FifoBuffer.java:136)
22:40:14 at org.jenkinsci.remoting.nio.FifoBuffer.receive(FifoBuffer.java:306)
22:40:14 at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:561)
22:40:14 ... 6 more
I'm encountering the same exception when I attempts to configure the Windows 10 VM when launching slave-agent.jnlp files and having added my Jenkins Master in the Site Exception. When I click "Launch" it appears to be connecting fine to the Master but I got the following exception:
Connection was broken
java.io.IOException: Connection aborted: org.jenkinsci.remoting.nio.NioChannelHub$MonoNioTransport@4e0c5e21[name=Jenkins Slave on Windows]
at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport.abort(NioChannelHub.java:208)
at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:628)
at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: Connection reset by peer
at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:197)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
at org.jenkinsci.remoting.nio.FifoBuffer$Pointer.receive(FifoBuffer.java:136)
at org.jenkinsci.remoting.nio.FifoBuffer.receive(FifoBuffer.java:306)
at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:561)
... 6 more
Seeing the same issue.
07:08:45 Slave went offline during the build
07:08:45 ERROR: Connection was broken: java.io.IOException: Connection aborted: org.jenkinsci.remoting.nio.NioChannelHub$MonoNioTransport@97ddd8[name=rxaglx2-win7]
07:08:45 at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport.abort(NioChannelHub.java:208)
07:08:45 at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:628)
07:08:45 at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
07:08:45 at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
07:08:45 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
07:08:45 at java.util.concurrent.FutureTask.run(Unknown Source)
07:08:45 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
07:08:45 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
07:08:45 at java.lang.Thread.run(Unknown Source)
07:08:45 Caused by: java.io.IOException: An established connection was aborted by the software in your host machine
07:08:45 at sun.nio.ch.SocketDispatcher.read0(Native Method)
07:08:45 at sun.nio.ch.SocketDispatcher.read(Unknown Source)
07:08:45 at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
07:08:45 at sun.nio.ch.IOUtil.read(Unknown Source)
07:08:45 at sun.nio.ch.SocketChannelImpl.read(Unknown Source)
07:08:45 at org.jenkinsci.remoting.nio.FifoBuffer$Pointer.receive(FifoBuffer.java:136)
07:08:45 at org.jenkinsci.remoting.nio.FifoBuffer.receive(FifoBuffer.java:306)
07:08:45 at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:561)
07:08:45 ... 7 more
07:08:45
07:08:45 Build step 'Invoke Ant' marked build as failure
07:08:45 FATAL: channel is already closed
07:08:45 hudson.remoting.ChannelClosedException: channel is already closed
07:08:45 at hudson.remoting.Channel.send(Channel.java:575)
07:08:45 at hudson.remoting.Request.call(Request.java:130)
07:08:45 at hudson.remoting.Channel.call(Channel.java:777)
07:08:45 at hudson.Launcher$RemoteLauncher.kill(Launcher.java:954)
07:08:45 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:543)
07:08:45 at hudson.model.Run.execute(Run.java:1741)
07:08:45 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
07:08:45 at hudson.model.ResourceController.execute(ResourceController.java:98)
07:08:45 at hudson.model.Executor.run(Executor.java:381)
07:08:45 Caused by: java.io.IOException: Connection aborted: org.jenkinsci.remoting.nio.NioChannelHub$MonoNioTransport@97ddd8[name=rxaglx2-win7]
07:08:45 at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport.abort(NioChannelHub.java:208)
07:08:45 at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:628)
07:08:45 at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
07:08:45 at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
07:08:45 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
07:08:45 at java.util.concurrent.FutureTask.run(Unknown Source)
07:08:45 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
07:08:45 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
07:08:45 at java.lang.Thread.run(Unknown Source)
07:08:45 Caused by: java.io.IOException: An established connection was aborted by the software in your host machine
07:08:45 at sun.nio.ch.SocketDispatcher.read0(Native Method)
07:08:45 at sun.nio.ch.SocketDispatcher.read(Unknown Source)
07:08:45 at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
07:08:45 at sun.nio.ch.IOUtil.read(Unknown Source)
07:08:45 at sun.nio.ch.SocketChannelImpl.read(Unknown Source)
07:08:45 at org.jenkinsci.remoting.nio.FifoBuffer$Pointer.receive(FifoBuffer.java:136)
07:08:45 at org.jenkinsci.remoting.nio.FifoBuffer.receive(FifoBuffer.java:306)
07:08:45 at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:561)
07:08:45 ... 7 more
I'm also hit the with same, Can someone suggest a workaround for now:
Slave went offline during the build
ERROR: Connection was broken: java.io.IOException: Connection aborted: org.jenkinsci.remoting.nio.NioChannelHub$MonoNioTransport@693ec9f0[name=automation-pc]
at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport.abort(NioChannelHub.java:208)
at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:628)
at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.io.IOException: No route to host
at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:197)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:379)
at org.jenkinsci.remoting.nio.FifoBuffer$Pointer.receive(FifoBuffer.java:136)
at org.jenkinsci.remoting.nio.FifoBuffer.receive(FifoBuffer.java:306)
at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:561)
... 6 more
I'm having problems since last friday 10-06-2016, I did an update to jenkins 2.7 just before
I have a long running job which needs to run for aprox 2 hours.
It went down 2x after 24 minutes. What is weird is that it fails on day 1, then on day 2 it went ok and it fails again on day 3. As expected it worked again last night (day 4).... So I'm curious if it will fail tonight. I will wait with updating Jenkins to 2.8 untill tomorrow to at least see what happens tonight.
UPDATE: Jenkins didn't fail last night. I will upgrade to 2.8 now and monitor it for a couple of days
20:12:51: Job has status Unknown, wait for 1 seconds
20:12:52: Job has status Running, wait for 180 seconds
20:15:52: Job has status Running, wait for 180 seconds
20:18:52: Job has status Running, wait for 180 seconds
20:21:52: Job has status Running, wait for 180 seconds
20:24:52: Job has status Running, wait for 180 seconds
20:27:52: Job has status Running, wait for 180 seconds
20:30:53: Job has status Running, wait for 180 seconds
20:33:53: Job has status Running, wait for 180 seconds
20:36:53: Job has status Running, wait for 180 seconds
Agent went offline during the build
ERROR: Connection was broken: java.io.IOException: Connection aborted: org.jenkinsci.remoting.nio.NioChannelHub$MonoNioTransport@1cf4ee[name=crs-int41]
at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport.abort(NioChannelHub.java:208)
at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:629)
at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: An existing connection was forcibly closed by the remote host
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(Unknown Source)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
at sun.nio.ch.IOUtil.read(Unknown Source)
at sun.nio.ch.SocketChannelImpl.read(Unknown Source)
at org.jenkinsci.remoting.nio.FifoBuffer$Pointer.receive(FifoBuffer.java:137)
at org.jenkinsci.remoting.nio.FifoBuffer.receive(FifoBuffer.java:310)
at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:561)
... 7 more
@Sharan Math, I upgraded to 2.9 and the build is now stable for a week (1 job every night).
It was likely SocketTimeoutException on the slave side in this case (fixed in 2.60 & released in 2.9).
In order to confirm it, it would be useful to have a log from the slave side.
TL;DR I'm having this issue on windows with slave 2.62.2 and server 2.34. Right now it's with every build
nerumo Could you please provide logs from both master and agent sides?
Hi
jenkins.4.err.log jenkins-slave.5.err.log
It was on the 30.Nov 10:30pm. A little bit more to the setup. I have a master in the cloud and 3 slaves behind NATs.
I never changed a default configuration of the slave or the master about how the connection should be established. Whats the best configuration for my scenario anyway?
Thanks
Unfortunately I have no capacity to work on Remoting in medium term, so I will unassign it and let others to take it. If somebody is interested to submit a pull request, I will be happy to help to get it reviewed and released.
Much more information is needed to investigate further. Start by including the full error message and stack trace if present, as well as any possibly relevant log messages.
https://wiki.jenkins-ci.org/display/JENKINS/How+to+report+an+issue