-
Bug
-
Resolution: Duplicate
-
Major
-
None
Since (forceful) upgradation from JAVA 8 to JAVA 11 ; Master-Slave node connection is getting broken. Getting following error every now & then.
System Info:
Jenkins 2.361.2
JVM Version: 11.0.15
Remoting version: 3044.vb_940a_a_e4f72e
Master & Agent/Slave node Architecture: Windows 10 (amd64)
Error log:
01:07:58 FATAL: command execution failed*01:07:58* java.nio.channels.ClosedChannelException*01:07:58* at jenkins.agents.WebSocketAgents$Session.closed(WebSocketAgents.java:153)01:07:58 at jenkins.websocket.WebSockets$1.onWebSocketClose(WebSockets.java:80)01:07:58 at jenkins.websocket.Jetty10Provider$2.onWebSocketClose(Jetty10Provider.java:147)01:07:58 at org.eclipse.jetty.websocket.common.JettyWebSocketFrameHandler.notifyOnClose(JettyWebSocketFrameHandler.java:308)01:07:58 at org.eclipse.jetty.websocket.common.JettyWebSocketFrameHandler.onClosed(JettyWebSocketFrameHandler.java:292)01:07:58 at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.lambda$closeConnection$0(WebSocketCoreSession.java:272)01:07:58 at org.eclipse.jetty.server.handler.ContextHandler.handle(ContextHandler.java:1445)01:07:58 at org.eclipse.jetty.server.handler.ContextHandler.handle(ContextHandler.java:1482)01:07:58 at org.eclipse.jetty.websocket.core.server.internal.AbstractHandshaker$1.handle(AbstractHandshaker.java:212)01:07:58 at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.lambda$closeConnection$1(WebSocketCoreSession.java:272)01:07:58 at org.eclipse.jetty.util.Callback$4.completed(Callback.java:184)01:07:58 at org.eclipse.jetty.util.Callback$Completing.succeeded(Callback.java:344)01:07:58 at org.eclipse.jetty.websocket.common.JettyWebSocketFrameHandler.onError(JettyWebSocketFrameHandler.java:268)01:07:58 at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.lambda$closeConnection$2(WebSocketCoreSession.java:284)01:07:58 at org.eclipse.jetty.server.handler.ContextHandler.handle(ContextHandler.java:1463)01:07:58 at org.eclipse.jetty.server.handler.ContextHandler.handle(ContextHandler.java:1482)01:07:58 at org.eclipse.jetty.websocket.core.server.internal.AbstractHandshaker$1.handle(AbstractHandshaker.java:212)01:07:58 at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.closeConnection(WebSocketCoreSession.java:284)01:07:58 at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.lambda$sendFrame$7(WebSocketCoreSession.java:519)01:07:58 at org.eclipse.jetty.util.Callback$3.succeeded(Callback.java:155)01:07:58 at org.eclipse.jetty.websocket.core.internal.TransformingFlusher.notifyCallbackSuccess(TransformingFlusher.java:197)01:07:58 at org.eclipse.jetty.websocket.core.internal.TransformingFlusher$Flusher.process(TransformingFlusher.java:154)01:07:58 at org.eclipse.jetty.util.IteratingCallback.processing(IteratingCallback.java:232)01:07:58 at org.eclipse.jetty.util.IteratingCallback.iterate(IteratingCallback.java:214)01:07:58 at org.eclipse.jetty.websocket.core.internal.TransformingFlusher.sendFrame(TransformingFlusher.java:77)01:07:58 at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.sendFrame(WebSocketCoreSession.java:522)01:07:58 at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.close(WebSocketCoreSession.java:239)01:07:58 at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.processHandlerError(WebSocketCoreSession.java:371)01:07:58 at org.eclipse.jetty.websocket.core.internal.WebSocketConnection.onIdleExpired(WebSocketConnection.java:233)01:07:58 at org.eclipse.jetty.io.AbstractEndPoint.onIdleExpired(AbstractEndPoint.java:407)01:07:58 at org.eclipse.jetty.io.IdleTimeout.checkIdleTimeout(IdleTimeout.java:166)01:07:58 at org.eclipse.jetty.io.IdleTimeout.idleCheck(IdleTimeout.java:108)01:07:58 at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)01:07:58 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)01:07:58 at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)01:07:58 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)01:07:58 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)01:07:58 at java.base/java.lang.Thread.run(Thread.java:834)01:07:58 Caused: java.io.IOException: Backing channel 'Box_5' is disconnected.01:07:58 at hudson.remoting.RemoteInvocationHandler.channelOrFail(RemoteInvocationHandler.java:215)01:07:58 at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:285)01:07:58 at com.sun.proxy.$Proxy121.isAlive(Unknown Source)01:07:58 at hudson.Launcher$RemoteLauncher$ProcImpl.isAlive(Launcher.java:1215)01:07:58 at hudson.Launcher$RemoteLauncher$ProcImpl.join(Launcher.java:1207)01:07:58 at hudson.tasks.CommandInterpreter.join(CommandInterpreter.java:195)01:07:58 at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:145)01:07:58 at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:92)01:07:58 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)01:07:58 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:816)01:07:58 at hudson.model.Build$BuildExecution.build(Build.java:199)01:07:58 at hudson.model.Build$BuildExecution.doRun(Build.java:164)01:07:58 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:524)01:07:58 at hudson.model.Run.execute(Run.java:1899)01:07:58 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44)01:07:58 at hudson.model.ResourceController.execute(ResourceController.java:107)01:07:58 at hudson.model.Executor.run(Executor.java:449)01:07:58 FATAL: Unable to delete script file C:\WINDOWS\TEMP\jenkins5125712654898146863.bat*01:07:58* java.nio.channels.ClosedChannelException*01:07:58* at jenkins.agents.WebSocketAgents$Session.closed(WebSocketAgents.java:153)01:07:58 at jenkins.websocket.WebSockets$1.onWebSocketClose(WebSockets.java:80)01:07:58 at jenkins.websocket.Jetty10Provider$2.onWebSocketClose(Jetty10Provider.java:147)01:07:58 at org.eclipse.jetty.websocket.common.JettyWebSocketFrameHandler.notifyOnClose(JettyWebSocketFrameHandler.java:308)01:07:58 at org.eclipse.jetty.websocket.common.JettyWebSocketFrameHandler.onClosed(JettyWebSocketFrameHandler.java:292)01:07:58 at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.lambda$closeConnection$0(WebSocketCoreSession.java:272)01:07:58 at org.eclipse.jetty.server.handler.ContextHandler.handle(ContextHandler.java:1445)01:07:58 at org.eclipse.jetty.server.handler.ContextHandler.handle(ContextHandler.java:1482)01:07:58 at org.eclipse.jetty.websocket.core.server.internal.AbstractHandshaker$1.handle(AbstractHandshaker.java:212)01:07:58 at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.lambda$closeConnection$1(WebSocketCoreSession.java:272)01:07:58 at org.eclipse.jetty.util.Callback$4.completed(Callback.java:184)01:07:58 at org.eclipse.jetty.util.Callback$Completing.succeeded(Callback.java:344)01:07:58 at org.eclipse.jetty.websocket.common.JettyWebSocketFrameHandler.onError(JettyWebSocketFrameHandler.java:268)01:07:58 at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.lambda$closeConnection$2(WebSocketCoreSession.java:284)01:07:58 at org.eclipse.jetty.server.handler.ContextHandler.handle(ContextHandler.java:1463)01:07:58 at org.eclipse.jetty.server.handler.ContextHandler.handle(ContextHandler.java:1482)01:07:58 at org.eclipse.jetty.websocket.core.server.internal.AbstractHandshaker$1.handle(AbstractHandshaker.java:212)01:07:58 at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.closeConnection(WebSocketCoreSession.java:284)01:07:58 at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.lambda$sendFrame$7(WebSocketCoreSession.java:519)01:07:58 at org.eclipse.jetty.util.Callback$3.succeeded(Callback.java:155)01:07:58 at org.eclipse.jetty.websocket.core.internal.TransformingFlusher.notifyCallbackSuccess(TransformingFlusher.java:197)01:07:58 at org.eclipse.jetty.websocket.core.internal.TransformingFlusher$Flusher.process(TransformingFlusher.java:154)01:07:58 at org.eclipse.jetty.util.IteratingCallback.processing(IteratingCallback.java:232)01:07:58 at org.eclipse.jetty.util.IteratingCallback.iterate(IteratingCallback.java:214)01:07:58 at org.eclipse.jetty.websocket.core.internal.TransformingFlusher.sendFrame(TransformingFlusher.java:77)01:07:58 at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.sendFrame(WebSocketCoreSession.java:522)01:07:58 at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.close(WebSocketCoreSession.java:239)01:07:58 at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.processHandlerError(WebSocketCoreSession.java:371)01:07:58 at org.eclipse.jetty.websocket.core.internal.WebSocketConnection.onIdleExpired(WebSocketConnection.java:233)01:07:58 at org.eclipse.jetty.io.AbstractEndPoint.onIdleExpired(AbstractEndPoint.java:407)01:07:58 at org.eclipse.jetty.io.IdleTimeout.checkIdleTimeout(IdleTimeout.java:166)01:07:58 at org.eclipse.jetty.io.IdleTimeout.idleCheck(IdleTimeout.java:108)01:07:58 at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)01:07:58 at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)01:07:58 at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)01:07:58 at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)01:07:58 at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)01:07:58 at java.base/java.lang.Thread.run(Thread.java:834)01:07:58 Caused: hudson.remoting.ChannelClosedException: Channel "hudson.remoting.Channel@122562ee:Box_5": Remote call on Box_5 failed. The channel is closing down or has closed down*01:07:58* at hudson.remoting.Channel.call(Channel.java:993)01:07:58 at hudson.FilePath.act(FilePath.java:1186)01:07:58 at hudson.FilePath.act(FilePath.java:1175)01:07:58 at hudson.FilePath.delete(FilePath.java:1722)01:07:58 at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:163)01:07:58 at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:92)01:07:58 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)01:07:58 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:816)01:07:58 at hudson.model.Build$BuildExecution.build(Build.java:199)01:07:58 at hudson.model.Build$BuildExecution.doRun(Build.java:164)01:07:58 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:524)01:07:58 at hudson.model.Run.execute(Run.java:1899)01:07:58 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44)01:07:58 at hudson.model.ResourceController.execute(ResourceController.java:107)01:07:58 at hudson.model.Executor.run(Executor.java:449)
- duplicates
-
JENKINS-69509 Unstable websocket connection (java.nio.channels.ClosedChannelException)
- Closed