-
Bug
-
Resolution: Unresolved
-
Minor
-
Jenkins 2.387.2
windows 10 agent
agent jar file 3107.v665000b_51092
Follow the ticket https://issues.jenkins.io/browse/JENKINS-69955 which marked as fixed in Jenkins version 2.387.2, we are still getting errors that related to the websocket
It seems that the agent was able to reconnect, but the job console still shows error after 4-5 hours since it started
08:51:33 > npm run pretest&&npx playwright test&&npm run posttest 10:33:29 [48/48] [e2e_automation] .... 13:20:40 FATAL: command execution failed 13:20:40 java.nio.channels.ClosedChannelException 13:20:40 at jenkins.agents.WebSocketAgents$Session.closed(WebSocketAgents.java:157) 13:20:40 at jenkins.websocket.WebSockets$1.onWebSocketClose(WebSockets.java:88) 13:20:40 at jenkins.websocket.WebSockets$1.onWebSocketError(WebSockets.java:94) 13:20:40 at jenkins.websocket.Jetty10Provider$2.onWebSocketError(Jetty10Provider.java:174) 13:20:40 at org.eclipse.jetty.websocket.common.JettyWebSocketFrameHandler.onError(JettyWebSocketFrameHandler.java:260) 13:20:40 at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.lambda$closeConnection$2(WebSocketCoreSession.java:284) 13:20:40 at org.eclipse.jetty.server.handler.ContextHandler.handle(ContextHandler.java:1468) 13:20:40 at org.eclipse.jetty.server.handler.ContextHandler.handle(ContextHandler.java:1487) 13:20:40 at org.eclipse.jetty.websocket.core.server.internal.AbstractHandshaker$1.handle(AbstractHandshaker.java:212) 13:20:40 at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.closeConnection(WebSocketCoreSession.java:284) 13:20:40 at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.onEof(WebSocketCoreSession.java:254) 13:20:40 at org.eclipse.jetty.websocket.core.internal.WebSocketConnection.fillAndParse(WebSocketConnection.java:482) 13:20:40 at org.eclipse.jetty.websocket.core.internal.WebSocketConnection.onFillable(WebSocketConnection.java:340) 13:20:40 at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:314) 13:20:40 at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100) 13:20:40 at org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53) 13:20:40 at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.runTask(AdaptiveExecutionStrategy.java:416) 13:20:40 at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask(AdaptiveExecutionStrategy.java:385) 13:20:40 at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.tryProduce(AdaptiveExecutionStrategy.java:272) 13:20:40 at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.lambda$new$0(AdaptiveExecutionStrategy.java:140) 13:20:40 at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:411) 13:20:40 at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:934) 13:20:40 at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1078) 13:20:40 at java.base/java.lang.Thread.run(Thread.java:829) 13:20:40 Caused: java.io.IOException: Backing channel '########' is disconnected. 13:20:40 at hudson.remoting.RemoteInvocationHandler.channelOrFail(RemoteInvocationHandler.java:215) 13:20:40 at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:285) 13:20:40 at com.sun.proxy.$Proxy165.isAlive(Unknown Source) 13:20:40 at hudson.Launcher$RemoteLauncher$ProcImpl.isAlive(Launcher.java:1215) 13:20:40 at hudson.Launcher$RemoteLauncher$ProcImpl.join(Launcher.java:1207) 13:20:40 at hudson.tasks.CommandInterpreter.join(CommandInterpreter.java:195) 13:20:40 at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:145) 13:20:40 at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:92) 13:20:40 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 13:20:40 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:818) 13:20:40 at hudson.model.Build$BuildExecution.build(Build.java:199) 13:20:40 at hudson.model.Build$BuildExecution.doRun(Build.java:164) 13:20:40 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:526) 13:20:40 at hudson.model.Run.execute(Run.java:1900) 13:20:40 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44) 13:20:40 at hudson.model.ResourceController.execute(ResourceController.java:101) 13:20:40 at hudson.model.Executor.run(Executor.java:442) 13:20:40 FATAL: Unable to delete script file C:\Users\<myuser>\AppData\Local\Temp\jenkins16846524061984755632.bat 13:20:40 java.nio.channels.ClosedChannelException 13:20:40 at jenkins.agents.WebSocketAgents$Session.closed(WebSocketAgents.java:157) 13:20:40 at jenkins.websocket.WebSockets$1.onWebSocketClose(WebSockets.java:88) 13:20:40 at jenkins.websocket.Jetty10Provider$2.onWebSocketClose(Jetty10Provider.java:164) 13:20:40 at org.eclipse.jetty.websocket.common.JettyWebSocketFrameHandler.notifyOnClose(JettyWebSocketFrameHandler.java:308) 13:20:40 at org.eclipse.jetty.websocket.common.JettyWebSocketFrameHandler.onClosed(JettyWebSocketFrameHandler.java:292) 13:20:40 at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.lambda$closeConnection$0(WebSocketCoreSession.java:272) 13:20:40 at org.eclipse.jetty.server.handler.ContextHandler.handle(ContextHandler.java:1450) 13:20:40 at org.eclipse.jetty.server.handler.ContextHandler.handle(ContextHandler.java:1487) 13:20:40 at org.eclipse.jetty.websocket.core.server.internal.AbstractHandshaker$1.handle(AbstractHandshaker.java:212) 13:20:40 at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.lambda$closeConnection$1(WebSocketCoreSession.java:272) 13:20:40 at org.eclipse.jetty.util.Callback$4.completed(Callback.java:184) 13:20:40 at org.eclipse.jetty.util.Callback$Completing.succeeded(Callback.java:344) 13:20:40 at org.eclipse.jetty.websocket.common.JettyWebSocketFrameHandler.onError(JettyWebSocketFrameHandler.java:268) 13:20:40 at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.lambda$closeConnection$2(WebSocketCoreSession.java:284) 13:20:40 at org.eclipse.jetty.server.handler.ContextHandler.handle(ContextHandler.java:1468) 13:20:40 at org.eclipse.jetty.server.handler.ContextHandler.handle(ContextHandler.java:1487) 13:20:40 at org.eclipse.jetty.websocket.core.server.internal.AbstractHandshaker$1.handle(AbstractHandshaker.java:212) 13:20:40 at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.closeConnection(WebSocketCoreSession.java:284) 13:20:40 at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.onEof(WebSocketCoreSession.java:254) 13:20:40 at org.eclipse.jetty.websocket.core.internal.WebSocketConnection.fillAndParse(WebSocketConnection.java:482) 13:20:40 at org.eclipse.jetty.websocket.core.internal.WebSocketConnection.onFillable(WebSocketConnection.java:340) 13:20:40 at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:314) 13:20:40 at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100) 13:20:40 at org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53) 13:20:40 at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.runTask(AdaptiveExecutionStrategy.java:416) 13:20:40 at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask(AdaptiveExecutionStrategy.java:385) 13:20:40 at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.tryProduce(AdaptiveExecutionStrategy.java:272) 13:20:40 at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.lambda$new$0(AdaptiveExecutionStrategy.java:140) 13:20:40 at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:411) 13:20:40 at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:934) 13:20:40 at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1078) 13:20:40 at java.base/java.lang.Thread.run(Thread.java:829) 13:20:40 Caused: hudson.remoting.ChannelClosedException: Channel "hudson.remoting.Channel@6d388a58:#########": Remote call on ###### failed. The channel is closing down or has closed down 13:20:40 at hudson.remoting.Channel.call(Channel.java:993) 13:20:40 at hudson.FilePath.act(FilePath.java:1192) 13:20:40 at hudson.FilePath.act(FilePath.java:1181) 13:20:40 at hudson.FilePath.delete(FilePath.java:1728) 13:20:40 at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:163) 13:20:40 at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:92) 13:20:40 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 13:20:40 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:818) 13:20:40 at hudson.model.Build$BuildExecution.build(Build.java:199) 13:20:40 at hudson.model.Build$BuildExecution.doRun(Build.java:164) 13:20:40 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:526) 13:20:40 at hudson.model.Run.execute(Run.java:1900) 13:20:40 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44) 13:20:40 at hudson.model.ResourceController.execute(ResourceController.java:101) 13:20:40 at hudson.model.Executor.run(Executor.java:442) 13:20:40 Build step 'Execute Windows batch command' marked build as failure 13:20:40 ERROR: Step ‘Allure Report’ failed: no workspace for ####### Best STG-Tenant #10 13:20:41 Finished: FAILURE
Please let me know if you need additional information.