I'm having the same issue:
WARNING: IOHub#1: Worker[channel:java.nio.channels.SocketChannel[connected local=/172.17.0.6:50000 remote=0974272363aa38ddf.blah.example.net/10.195.74.13:34503]] / Computer.threadPoolForRemoting 237 for swarm-5d1940f807e4-1a0f2d4a terminated java.nio.channels.ClosedChannelException at org.jenkinsci.remoting.protocol.NetworkLayer.onRecvClosed(NetworkLayer.java:154) at org.jenkinsci.remoting.protocol.impl.NIONetworkLayer.ready(NIONetworkLayer.java:142) at org.jenkinsci.remoting.protocol.IOHub$OnReady.run(IOHub.java:721) at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Aug 08, 2018 8:13:50 AM jenkins.slaves.DefaultJnlpSlaveReceiver channelClosed WARNING: IOHub#1: Worker[channel:java.nio.channels.SocketChannel[connected local=/172.17.0.6:50000 remote=0974272363aa38ddf.blah.example.net/10.195.74.13:34501]] / Computer.threadPoolForRemoting 238 for swarm-f39e88a85dad-28c72ae9 terminated java.nio.channels.ClosedChannelException at org.jenkinsci.remoting.protocol.NetworkLayer.onRecvClosed(NetworkLayer.java:154) at org.jenkinsci.remoting.protocol.impl.NIONetworkLayer.ready(NIONetworkLayer.java:142) at org.jenkinsci.remoting.protocol.IOHub$OnReady.run(IOHub.java:721) at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Aug 08, 2018 8:13:50 AM jenkins.slaves.DefaultJnlpSlaveReceiver channelClosed WARNING: IOHub#1: Worker[channel:java.nio.channels.SocketChannel[connected local=/172.17.0.6:50000 remote=05fc2dab9bd28bc23.blah.example.net/10.195.73.6:58646]] / Computer.threadPoolForRemoting 237 for swarm-ab530d51c71c-41b03616 terminated java.nio.channels.ClosedChannelException at org.jenkinsci.remoting.protocol.NetworkLayer.onRecvClosed(NetworkLayer.java:154) at org.jenkinsci.remoting.protocol.impl.NIONetworkLayer.ready(NIONetworkLayer.java:142) at org.jenkinsci.remoting.protocol.IOHub$OnReady.run(IOHub.java:721) at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Aug 08, 2018 8:13:50 AM jenkins.slaves.DefaultJnlpSlaveReceiver channelClosed WARNING: IOHub#1: Worker[channel:java.nio.channels.SocketChannel[connected local=/172.17.0.6:50000 remote=05fc2dab9bd28bc23.blah.example.net/10.195.73.6:58648]] / Computer.threadPoolForRemoting 238 for swarm-0d9d00d3aadd-e5776da7 terminated java.nio.channels.ClosedChannelException at org.jenkinsci.remoting.protocol.NetworkLayer.onRecvClosed(NetworkLayer.java:154) at org.jenkinsci.remoting.protocol.impl.NIONetworkLayer.ready(NIONetworkLayer.java:142) at org.jenkinsci.remoting.protocol.IOHub$OnReady.run(IOHub.java:721) at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Aug 08, 2018 8:14:06 AM winstone.Logger logInternal INFO: JVM is terminating. Shutting down Winstone
I'm running Jenkins version: 2.73.2 With swarm plugin version 3.6 Jenkins agents with Swarm agents version: 3.13 Both Jenkins master and Jenkins agents (Swarm nodes) are running on ECS and Docker engine version: 17.12.1.ce-1 the ELB idle timeout for Jenkins master is: 1800 seconds Both Jenkins master and Jenkins agents are Linux based with one extra Windows agent |