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

Channels closed exception after upgrade Jenkins version 2.90

      Hi oleg_nenashev,

      We upgraded Jenkins v2.90 version. Still, we are facing channels closed exception.Can you please check and provide the solution to resolve this? Since this makes our CI environment unstable. 

      Environment:

      Jenkins server: Linux machine

      Slave: Windows slave. Windows 10 OS. 

      Error Details

      Connection was broken: java.nio.channels.ClosedChannelException

                    at org.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer.onReadClosed(ChannelApplicationLayer.java:208)

                    at org.jenkinsci.remoting.protocol.ApplicationLayer.onRecvClosed(ApplicationLayer.java:222)

                    at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecvClosed(ProtocolStack.java:832)

                    at org.jenkinsci.remoting.protocol.FilterLayer.onRecvClosed(FilterLayer.java:287)

                    at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.onRecvClosed(SSLEngineFilterLayer.java:181)

                    at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.switchToNoSecure(SSLEngineFilterLayer.java:283)

                    at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.processWrite(SSLEngineFilterLayer.java:503)

                    at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.processQueuedWrites(SSLEngineFilterLayer.java:248)

                    at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.doSend(SSLEngineFilterLayer.java:200)

                    at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.doCloseSend(SSLEngineFilterLayer.java:213)

                    at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.doCloseSend(ProtocolStack.java:800)

                    at org.jenkinsci.remoting.protocol.ApplicationLayer.doCloseWrite(ApplicationLayer.java:173)

                    at org.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer$ByteBufferCommandTransport.closeWrite(ChannelApplicationLayer.java:311)

                    at hudson.remoting.Channel.close(Channel.java:1405)

                    at hudson.remoting.Channel.close(Channel.java:1358)

                    at hudson.slaves.SlaveComputer.closeChannel(SlaveComputer.java:737)

                    at hudson.slaves.SlaveComputer.access$800(SlaveComputer.java:96)

                    at hudson.slaves.SlaveComputer$3.run(SlaveComputer.java:655)

                    at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)

                    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

                    at java.util.concurrent.FutureTask.run(FutureTask.java:266)

                    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

                    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

                    at java.lang.Thread.run(Thread.java:748)

          [JENKINS-48895] Channels closed exception after upgrade Jenkins version 2.90

          Vadivel Natarajan created issue -
          Vadivel Natarajan made changes -
          Component/s New: remote-terminal-access-plugin [ 17321 ]
          Component/s New: remoting [ 15489 ]
          Description Original: Hi [~oleg_nenashev],

           We upgraded Jenkins v2.90 version. Still we are facing channels closed exception.Can you  please check and update reason?

          *Environment:*

          Jenkins server: Linux machine

          Slave :Windows slave. Windows 10 OS. 

          *Error Details*

          Connection was broken: java.nio.channels.*ClosedChannelException*

                        at org.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer.onReadClosed(ChannelApplicationLayer.java:208)

                        at org.jenkinsci.remoting.protocol.ApplicationLayer.onRecvClosed(ApplicationLayer.java:222)

                        at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecvClosed(ProtocolStack.java:832)

                        at org.jenkinsci.remoting.protocol.FilterLayer.onRecvClosed(FilterLayer.java:287)

                        at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.onRecvClosed(SSLEngineFilterLayer.java:181)

                        at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.switchToNoSecure(SSLEngineFilterLayer.java:283)

                        at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.processWrite(SSLEngineFilterLayer.java:503)

                        at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.processQueuedWrites(SSLEngineFilterLayer.java:248)

                        at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.doSend(SSLEngineFilterLayer.java:200)

                        at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.doCloseSend(SSLEngineFilterLayer.java:213)

                        at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.doCloseSend(ProtocolStack.java:800)

                        at org.jenkinsci.remoting.protocol.ApplicationLayer.doCloseWrite(ApplicationLayer.java:173)

                        at org.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer$ByteBufferCommandTransport.closeWrite(ChannelApplicationLayer.java:311)

                        at hudson.remoting.Channel.close(Channel.java:1405)

                        at hudson.remoting.Channel.close(Channel.java:1358)

                        at hudson.slaves.SlaveComputer.closeChannel(SlaveComputer.java:737)

                        at hudson.slaves.SlaveComputer.access$800(SlaveComputer.java:96)

                        at hudson.slaves.SlaveComputer$3.run(SlaveComputer.java:655)

                        at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)

                        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

                        at java.util.concurrent.FutureTask.run(FutureTask.java:266)

                        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

                        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

                        at java.lang.Thread.run(Thread.java:748)
          New: Hi [~oleg_nenashev],

          We upgraded Jenkins v2.90 version. Still, we are facing channels closed exception.Can you please check and provide the solution to resolve this? Since this makes our CI environment unstable. 

          *Environment:*

          Jenkins server: Linux machine

          Slave: Windows slave. Windows 10 OS. 

          *Error Details*

          Connection was broken: java.nio.channels.*ClosedChannelException*

                        at org.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer.onReadClosed(ChannelApplicationLayer.java:208)

                        at org.jenkinsci.remoting.protocol.ApplicationLayer.onRecvClosed(ApplicationLayer.java:222)

                        at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.onRecvClosed(ProtocolStack.java:832)

                        at org.jenkinsci.remoting.protocol.FilterLayer.onRecvClosed(FilterLayer.java:287)

                        at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.onRecvClosed(SSLEngineFilterLayer.java:181)

                        at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.switchToNoSecure(SSLEngineFilterLayer.java:283)

                        at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.processWrite(SSLEngineFilterLayer.java:503)

                        at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.processQueuedWrites(SSLEngineFilterLayer.java:248)

                        at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.doSend(SSLEngineFilterLayer.java:200)

                        at org.jenkinsci.remoting.protocol.impl.SSLEngineFilterLayer.doCloseSend(SSLEngineFilterLayer.java:213)

                        at org.jenkinsci.remoting.protocol.ProtocolStack$Ptr.doCloseSend(ProtocolStack.java:800)

                        at org.jenkinsci.remoting.protocol.ApplicationLayer.doCloseWrite(ApplicationLayer.java:173)

                        at org.jenkinsci.remoting.protocol.impl.ChannelApplicationLayer$ByteBufferCommandTransport.closeWrite(ChannelApplicationLayer.java:311)

                        at hudson.remoting.Channel.close(Channel.java:1405)

                        at hudson.remoting.Channel.close(Channel.java:1358)

                        at hudson.slaves.SlaveComputer.closeChannel(SlaveComputer.java:737)

                        at hudson.slaves.SlaveComputer.access$800(SlaveComputer.java:96)

                        at hudson.slaves.SlaveComputer$3.run(SlaveComputer.java:655)

                        at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)

                        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

                        at java.util.concurrent.FutureTask.run(FutureTask.java:266)

                        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

                        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

                        at java.lang.Thread.run(Thread.java:748)
          Environment Original: Jenkins - Linux sever
          Slave- Windows slave- Windows 10 OS
          New: Jenkins - Linux sever
          Slave- Windows slave- Windows 10 OS
          JDK 8 Update 131
          Summary Original: Channels closed exception New: Channels closed exception after upgrade Jenkins version 2.90
          Oleg Nenashev made changes -
          Link New: This issue relates to JENKINS-48865 [ JENKINS-48865 ]
          Sam Beckwith III made changes -
          Attachment New: image-2018-06-04-10-18-35-266.png [ 42775 ]
          Sam Beckwith III made changes -
          Attachment Original: image-2018-06-04-10-18-35-266.png [ 42775 ]
          Jeff Thompson made changes -
          Resolution New: Cannot Reproduce [ 5 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

            tonho Elton Alves
            vadivel Vadivel Natarajan
            Votes:
            3 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: