We are compiling large source code as a part of our jenkins Job, We are observing that the build is failing because of the below issues
- In the compilation log we get "Cannot contact DP-PF-WIN-4: java.lang.InterruptedException" and the step gets failed.
- On the master log, I see the below error.
"IOHub#1: Worker[channel:java.nio.channels.SocketChannel[connected local=/16.184.138.192:35576 remote=iwf022043.hpeswlab.net/16.184.22.43:2095]] / Computer.threadPoolForRemoting 43 for DP-PF-WIN-4 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:179)
at org.jenkinsci.remoting.protocol.IOHub$OnReady.run(IOHub.java:789)
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)"
I have tried all the options by restarting Jenkins master,slave and by changing the JVM opts.
Still the error is occuring. it is very critical for us.