Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-74880

Jenkins report has "java.nio.channels.ClosedChannelException"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core
    • None

      We are running some jobs on Jenkins version 2.246.3. In the report we have the following exception:

      [2024-11-19T08:49:55.671Z] java.nio.channels.ClosedChannelException
      [2024-11-19T08:49:55.671Z] 	at jenkins.agents.WebSocketAgents$Session.closed(WebSocketAgents.java:157)
      [2024-11-19T08:49:55.671Z] Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to <VIRTUAL MACHINE>
      [2024-11-19T08:49:55.671Z] 		at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1787)
      [2024-11-19T08:49:55.671Z] 		at hudson.remoting.Request.call(Request.java:199)
      [2024-11-19T08:49:55.671Z] 		at hudson.remoting.Channel.call(Channel.java:1002)
      [2024-11-19T08:49:55.671Z] 		at hudson.FilePath.act(FilePath.java:1230)
      [2024-11-19T08:49:55.671Z] 		at hudson.FilePath.act(FilePath.java:1219)
      [2024-11-19T08:49:55.671Z] 		at hudson.FilePath.deleteRecursive(FilePath.java:1472)
      [2024-11-19T08:49:55.671Z] 		at org.jenkinsci.plugins.workflow.steps.DeleteDirStep$Execution.run(DeleteDirStep.java:79)
      [2024-11-19T08:49:55.671Z] 		at org.jenkinsci.plugins.workflow.steps.DeleteDirStep$Execution.run(DeleteDirStep.java:71)
      [2024-11-19T08:49:55.671Z] 		at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
      [2024-11-19T08:49:55.671Z] 		at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
      [2024-11-19T08:49:55.671Z] 		at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      [2024-11-19T08:49:55.671Z] 		at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
      [2024-11-19T08:49:55.671Z] 		at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      [2024-11-19T08:49:55.671Z] Also:   org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: 1f5133cd-221f-4090-a731-b93fe2e041b8
      [2024-11-19T08:49:55.671Z] Also:   java.nio.channels.ClosedChannelException
      [2024-11-19T08:49:55.671Z] 		at jenkins.agents.WebSocketAgents$Session.closed(WebSocketAgents.java:157)
      [2024-11-19T08:49:55.671Z] 	Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to vm-ndim-079
      [2024-11-19T08:49:55.671Z] 			at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1787)
      [2024-11-19T08:49:55.671Z] 			at hudson.remoting.Request.call(Request.java:199)
      [2024-11-19T08:49:55.671Z] 			at hudson.remoting.Channel.call(Channel.java:1002)
      [2024-11-19T08:49:55.671Z] 			at hudson.FilePath.act(FilePath.java:1230)
      [2024-11-19T08:49:55.671Z] 			at hudson.FilePath.act(FilePath.java:1219)
      [2024-11-19T08:49:55.671Z] 			at hudson.FilePath.deleteRecursive(FilePath.java:1472)
      [2024-11-19T08:49:55.671Z] 			at org.jenkinsci.plugins.workflow.steps.DeleteDirStep$Execution.run(DeleteDirStep.java:79)
      [2024-11-19T08:49:55.671Z] 			at org.jenkinsci.plugins.workflow.steps.DeleteDirStep$Execution.run(DeleteDirStep.java:71)
      [2024-11-19T08:49:55.671Z] 			at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
      [2024-11-19T08:49:55.671Z] 			at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
      [2024-11-19T08:49:55.671Z] 			at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      [2024-11-19T08:49:55.671Z] 			at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
      [2024-11-19T08:49:55.671Z] 			at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      [2024-11-19T08:49:55.671Z] 	Also:   org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: 31b6ce1c-ffdf-4b3d-9e90-47a8a83d6141
      [2024-11-19T08:49:55.671Z] 	Caused: hudson.remoting.RequestAbortedException
      [2024-11-19T08:49:55.671Z] Also:   java.nio.channels.ClosedChannelException
      [2024-11-19T08:49:55.671Z] 		at jenkins.agents.WebSocketAgents$Session.closed(WebSocketAgents.java:157)
      [2024-11-19T08:49:55.671Z] 	Also:   hudson.remoting.Channel$CallSiteStackTrace: Remote call to vm-ndim-086
      [2024-11-19T08:49:55.671Z] 			at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1787)
      [2024-11-19T08:49:55.671Z] 			at hudson.remoting.Request.call(Request.java:199)
      [2024-11-19T08:49:55.671Z] 			at hudson.remoting.Channel.call(Channel.java:1002)
      [2024-11-19T08:49:55.671Z] 			at hudson.FilePath.act(FilePath.java:1230)
      [2024-11-19T08:49:55.671Z] 			at hudson.FilePath.act(FilePath.java:1219)
      [2024-11-19T08:49:55.671Z] 			at hudson.FilePath.deleteRecursive(FilePath.java:1472)
      [2024-11-19T08:49:55.671Z] 			at org.jenkinsci.plugins.workflow.steps.DeleteDirStep$Execution.run(DeleteDirStep.java:79)
      [2024-11-19T08:49:55.671Z] 			at org.jenkinsci.plugins.workflow.steps.DeleteDirStep$Execution.run(DeleteDirStep.java:71)
      [2024-11-19T08:49:55.671Z] 			at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
      [2024-11-19T08:49:55.671Z] 			at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
      [2024-11-19T08:49:55.671Z] 			at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      [2024-11-19T08:49:55.671Z] 			at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
      [2024-11-19T08:49:55.671Z] 			at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      [2024-11-19T08:49:55.671Z] 	Also:   org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: b4bc005d-7aa0-48f8-a305-9f09af86f705
      [2024-11-19T08:49:55.671Z] 	Caused: hudson.remoting.RequestAbortedException
      [2024-11-19T08:49:55.671Z] Caused: hudson.remoting.RequestAbortedException
      [2024-11-19T08:49:55.671Z] 	at hudson.remoting.Request.abort(Request.java:346)
      [2024-11-19T08:49:55.671Z] 	at hudson.remoting.Channel.terminate(Channel.java:1083)
      [2024-11-19T08:49:55.671Z] 	at hudson.remoting.Channel$1.terminate(Channel.java:623)
      [2024-11-19T08:49:55.671Z] 	at hudson.remoting.AbstractByteBufferCommandTransport.terminate(AbstractByteBufferCommandTransport.java:356)
      [2024-11-19T08:49:55.671Z] 	at jenkins.agents.WebSocketAgents$Session.closed(WebSocketAgents.java:158)
      [2024-11-19T08:49:55.671Z] 	at jenkins.websocket.WebSockets$1.onWebSocketClose(WebSockets.java:88)
      [2024-11-19T08:49:55.671Z] 	at jenkins.websocket.WebSockets$1.onWebSocketError(WebSockets.java:94)
      [2024-11-19T08:49:55.671Z] 	at jenkins.websocket.Jetty10Provider$2.onWebSocketError(Jetty10Provider.java:174)
      [2024-11-19T08:49:55.671Z] 	at org.eclipse.jetty.websocket.common.JettyWebSocketFrameHandler.onError(JettyWebSocketFrameHandler.java:261)
      [2024-11-19T08:49:55.671Z] 	at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.lambda$closeConnection$2(WebSocketCoreSession.java:284)
      [2024-11-19T08:49:55.671Z] 	at org.eclipse.jetty.server.handler.ContextHandler.handle(ContextHandler.java:1469)
      [2024-11-19T08:49:55.671Z] 	at org.eclipse.jetty.server.handler.ContextHandler.handle(ContextHandler.java:1488)
      [2024-11-19T08:49:55.671Z] 	at org.eclipse.jetty.websocket.core.server.internal.AbstractHandshaker$1.handle(AbstractHandshaker.java:212)
      [2024-11-19T08:49:55.671Z] 	at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.closeConnection(WebSocketCoreSession.java:284)
      [2024-11-19T08:49:55.671Z] 	at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.onEof(WebSocketCoreSession.java:254)
      [2024-11-19T08:49:55.671Z] 	at org.eclipse.jetty.websocket.core.internal.WebSocketConnection.fillAndParse(WebSocketConnection.java:491)
      [2024-11-19T08:49:55.671Z] 	at org.eclipse.jetty.websocket.core.internal.WebSocketConnection.onFillable(WebSocketConnection.java:349)
      [2024-11-19T08:49:55.671Z] 	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:314)
      [2024-11-19T08:49:55.671Z] 	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100)
      [2024-11-19T08:49:55.671Z] 	at org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53)
      [2024-11-19T08:49:55.671Z] 	at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.runTask(AdaptiveExecutionStrategy.java:421)
      [2024-11-19T08:49:55.671Z] 	at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask(AdaptiveExecutionStrategy.java:390)
      [2024-11-19T08:49:55.671Z] 	at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.tryProduce(AdaptiveExecutionStrategy.java:277)
      [2024-11-19T08:49:55.671Z] 	at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.run(AdaptiveExecutionStrategy.java:199)
      [2024-11-19T08:49:55.671Z] 	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:411)
      [2024-11-19T08:49:55.671Z] 	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:969)
      [2024-11-19T08:49:55.671Z] 	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.doRunJob(QueuedThreadPool.java:1194)
      [2024-11-19T08:49:55.671Z] 	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1149)
      [2024-11-19T08:49:55.671Z] 	at java.base/java.lang.Thread.run(Thread.java:829)
      
      

            Unassigned Unassigned
            mikhail_krasilnikov Mikhail
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: