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

all slaves are terminated when javaw is stopped on one slave

    Details

    • Similar Issues:

      Description

      When I ran Java update on a slave, it requested that javaw is stopped.
      when approving that then: ALL the slaves were terminated.
      I am adding the error in the server log for one of the slaves.

      The slaves pages also display a "failed to abort" error (pic attached) and cannot be restarted using javaw, before the whole Jenkins server (the service, not the machine) is restarted.

      slaves are VM's that are hosted on VMWARE server
      I also noticed that when a VM is restarted, this terminates all others (by Jenkins server)

      version: 1.560

      ------------------------
      I care about getting this fixed, so I'm offering USD 50.00 via FreedomSponsors to the first person who fix it.

      Offer link: http://www.freedomsponsors.org/core/issue/489/all-slaves-are-terminated-when-javaw-is-stopped-on-one-slave

      You can also join me and throw in a few bucks there and we'll get it fixed faster

      If you fix this issue (see my acceptance criteria there) please use that site to request your payment.
      ----------------------------------------------------------------

      Server Log
      --------------
      WARNING: NioChannelHub keys=17 gen=201082: Computer.threadPoolForRemoting 2 for + HV1-VM-SLAVE-22 terminated
      java.io.IOException: Failed to abort
      at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport.abort(NioChannelHub.java:184)
      at org.jenkinsci.remoting.nio.NioChannelHub.abortAll(NioChannelHub.java:599)
      at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:481)
      at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
      at java.lang.Thread.run(Thread.java:662)
      Caused by: java.nio.channels.ClosedChannelException
      at sun.nio.ch.SocketChannelImpl.shutdownInput(SocketChannelImpl.java:663)
      at sun.nio.ch.SocketAdaptor.shutdownInput(SocketAdaptor.java:430)
      at org.jenkinsci.remoting.nio.Closeables$1.close(Closeables.java:20)
      at org.jenkinsci.remoting.nio.NioChannelHub$MonoNioTransport.closeR(NioChannelHub.java:289)
      at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport$1.call(NioChannelHub.java:226)
      at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport$1.call(NioChannelHub.java:224)
      at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:474)
      ... 7 more
      Apr 22, 2014 8:56:08 AM jenkins.slaves.JnlpSlaveAgentProtocol$Handler$1 onClosed

        Attachments

          Issue Links

            Activity

            zivshapirainnovid ziv SHAPIRA created issue -
            zivshapirainnovid ziv SHAPIRA made changes -
            Field Original Value New Value
            Description When I ran Java update on a slave, it requested that javaw is stopped.
            when approving that ALL the slaves were terminated.
            I am adding the error in the server log for one of the slaves.

            The slaves pages also display a "failed to abort" error (pic attached) and cannot be restarted using javaw, before the whole server is restarted.

            --------------
            WARNING: NioChannelHub keys=17 gen=201082: Computer.threadPoolForRemoting [#2] for + HV1-VM-SLAVE-22 terminated
            java.io.IOException: Failed to abort
                    at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport.abort(NioChannelHub.java:184)
                    at org.jenkinsci.remoting.nio.NioChannelHub.abortAll(NioChannelHub.java:599)
                    at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:481)
                    at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
                    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
                    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
                    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
                    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
                    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
                    at java.lang.Thread.run(Thread.java:662)
            Caused by: java.nio.channels.ClosedChannelException
                    at sun.nio.ch.SocketChannelImpl.shutdownInput(SocketChannelImpl.java:663)
                    at sun.nio.ch.SocketAdaptor.shutdownInput(SocketAdaptor.java:430)
                    at org.jenkinsci.remoting.nio.Closeables$1.close(Closeables.java:20)
                    at org.jenkinsci.remoting.nio.NioChannelHub$MonoNioTransport.closeR(NioChannelHub.java:289)
                    at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport$1.call(NioChannelHub.java:226)
                    at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport$1.call(NioChannelHub.java:224)
                    at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:474)
                    ... 7 more
            Apr 22, 2014 8:56:08 AM jenkins.slaves.JnlpSlaveAgentProtocol$Handler$1 onClosed
            When I ran Java update on a slave, it requested that javaw is stopped.
            when approving that ALL the slaves were terminated.
            I am adding the error in the server log for one of the slaves.

            The slaves pages also display a "failed to abort" error (pic attached) and cannot be restarted using javaw, before the whole server is restarted.

            version: 1.560
            --------------
            WARNING: NioChannelHub keys=17 gen=201082: Computer.threadPoolForRemoting [#2] for + HV1-VM-SLAVE-22 terminated
            java.io.IOException: Failed to abort
                    at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport.abort(NioChannelHub.java:184)
                    at org.jenkinsci.remoting.nio.NioChannelHub.abortAll(NioChannelHub.java:599)
                    at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:481)
                    at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
                    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
                    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
                    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
                    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
                    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
                    at java.lang.Thread.run(Thread.java:662)
            Caused by: java.nio.channels.ClosedChannelException
                    at sun.nio.ch.SocketChannelImpl.shutdownInput(SocketChannelImpl.java:663)
                    at sun.nio.ch.SocketAdaptor.shutdownInput(SocketAdaptor.java:430)
                    at org.jenkinsci.remoting.nio.Closeables$1.close(Closeables.java:20)
                    at org.jenkinsci.remoting.nio.NioChannelHub$MonoNioTransport.closeR(NioChannelHub.java:289)
                    at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport$1.call(NioChannelHub.java:226)
                    at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport$1.call(NioChannelHub.java:224)
                    at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:474)
                    ... 7 more
            Apr 22, 2014 8:56:08 AM jenkins.slaves.JnlpSlaveAgentProtocol$Handler$1 onClosed
            zivshapirainnovid ziv SHAPIRA made changes -
            Description When I ran Java update on a slave, it requested that javaw is stopped.
            when approving that ALL the slaves were terminated.
            I am adding the error in the server log for one of the slaves.

            The slaves pages also display a "failed to abort" error (pic attached) and cannot be restarted using javaw, before the whole server is restarted.

            version: 1.560
            --------------
            WARNING: NioChannelHub keys=17 gen=201082: Computer.threadPoolForRemoting [#2] for + HV1-VM-SLAVE-22 terminated
            java.io.IOException: Failed to abort
                    at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport.abort(NioChannelHub.java:184)
                    at org.jenkinsci.remoting.nio.NioChannelHub.abortAll(NioChannelHub.java:599)
                    at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:481)
                    at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
                    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
                    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
                    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
                    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
                    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
                    at java.lang.Thread.run(Thread.java:662)
            Caused by: java.nio.channels.ClosedChannelException
                    at sun.nio.ch.SocketChannelImpl.shutdownInput(SocketChannelImpl.java:663)
                    at sun.nio.ch.SocketAdaptor.shutdownInput(SocketAdaptor.java:430)
                    at org.jenkinsci.remoting.nio.Closeables$1.close(Closeables.java:20)
                    at org.jenkinsci.remoting.nio.NioChannelHub$MonoNioTransport.closeR(NioChannelHub.java:289)
                    at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport$1.call(NioChannelHub.java:226)
                    at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport$1.call(NioChannelHub.java:224)
                    at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:474)
                    ... 7 more
            Apr 22, 2014 8:56:08 AM jenkins.slaves.JnlpSlaveAgentProtocol$Handler$1 onClosed
            When I ran Java update on a slave, it requested that javaw is stopped.
            when approving that ALL the slaves were terminated.
            I am adding the error in the server log for one of the slaves.

            The slaves pages also display a "failed to abort" error (pic attached) and cannot be restarted using javaw, before the whole Jenkins server (the service, not the machine) is restarted.

            version: 1.560
            --------------
            WARNING: NioChannelHub keys=17 gen=201082: Computer.threadPoolForRemoting [#2] for + HV1-VM-SLAVE-22 terminated
            java.io.IOException: Failed to abort
                    at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport.abort(NioChannelHub.java:184)
                    at org.jenkinsci.remoting.nio.NioChannelHub.abortAll(NioChannelHub.java:599)
                    at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:481)
                    at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
                    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
                    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
                    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
                    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
                    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
                    at java.lang.Thread.run(Thread.java:662)
            Caused by: java.nio.channels.ClosedChannelException
                    at sun.nio.ch.SocketChannelImpl.shutdownInput(SocketChannelImpl.java:663)
                    at sun.nio.ch.SocketAdaptor.shutdownInput(SocketAdaptor.java:430)
                    at org.jenkinsci.remoting.nio.Closeables$1.close(Closeables.java:20)
                    at org.jenkinsci.remoting.nio.NioChannelHub$MonoNioTransport.closeR(NioChannelHub.java:289)
                    at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport$1.call(NioChannelHub.java:226)
                    at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport$1.call(NioChannelHub.java:224)
                    at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:474)
                    ... 7 more
            Apr 22, 2014 8:56:08 AM jenkins.slaves.JnlpSlaveAgentProtocol$Handler$1 onClosed
            zivshapirainnovid ziv SHAPIRA made changes -
            Description When I ran Java update on a slave, it requested that javaw is stopped.
            when approving that ALL the slaves were terminated.
            I am adding the error in the server log for one of the slaves.

            The slaves pages also display a "failed to abort" error (pic attached) and cannot be restarted using javaw, before the whole Jenkins server (the service, not the machine) is restarted.

            version: 1.560
            --------------
            WARNING: NioChannelHub keys=17 gen=201082: Computer.threadPoolForRemoting [#2] for + HV1-VM-SLAVE-22 terminated
            java.io.IOException: Failed to abort
                    at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport.abort(NioChannelHub.java:184)
                    at org.jenkinsci.remoting.nio.NioChannelHub.abortAll(NioChannelHub.java:599)
                    at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:481)
                    at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
                    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
                    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
                    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
                    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
                    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
                    at java.lang.Thread.run(Thread.java:662)
            Caused by: java.nio.channels.ClosedChannelException
                    at sun.nio.ch.SocketChannelImpl.shutdownInput(SocketChannelImpl.java:663)
                    at sun.nio.ch.SocketAdaptor.shutdownInput(SocketAdaptor.java:430)
                    at org.jenkinsci.remoting.nio.Closeables$1.close(Closeables.java:20)
                    at org.jenkinsci.remoting.nio.NioChannelHub$MonoNioTransport.closeR(NioChannelHub.java:289)
                    at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport$1.call(NioChannelHub.java:226)
                    at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport$1.call(NioChannelHub.java:224)
                    at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:474)
                    ... 7 more
            Apr 22, 2014 8:56:08 AM jenkins.slaves.JnlpSlaveAgentProtocol$Handler$1 onClosed
            When I ran Java update on a slave, it requested that javaw is stopped.
            when approving that ALL the slaves were terminated.
            I am adding the error in the server log for one of the slaves.

            The slaves pages also display a "failed to abort" error (pic attached) and cannot be restarted using javaw, before the whole Jenkins server (the service, not the machine) is restarted.

            slaves are VM's that are hosted on VMWARE server
            I also noticed that when a VM is restarted, this terminates all others (by Jenkins server)

            version: 1.560
            --------------
            WARNING: NioChannelHub keys=17 gen=201082: Computer.threadPoolForRemoting [#2] for + HV1-VM-SLAVE-22 terminated
            java.io.IOException: Failed to abort
                    at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport.abort(NioChannelHub.java:184)
                    at org.jenkinsci.remoting.nio.NioChannelHub.abortAll(NioChannelHub.java:599)
                    at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:481)
                    at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
                    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
                    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
                    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
                    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
                    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
                    at java.lang.Thread.run(Thread.java:662)
            Caused by: java.nio.channels.ClosedChannelException
                    at sun.nio.ch.SocketChannelImpl.shutdownInput(SocketChannelImpl.java:663)
                    at sun.nio.ch.SocketAdaptor.shutdownInput(SocketAdaptor.java:430)
                    at org.jenkinsci.remoting.nio.Closeables$1.close(Closeables.java:20)
                    at org.jenkinsci.remoting.nio.NioChannelHub$MonoNioTransport.closeR(NioChannelHub.java:289)
                    at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport$1.call(NioChannelHub.java:226)
                    at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport$1.call(NioChannelHub.java:224)
                    at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:474)
                    ... 7 more
            Apr 22, 2014 8:56:08 AM jenkins.slaves.JnlpSlaveAgentProtocol$Handler$1 onClosed
            zivshapirainnovid ziv SHAPIRA made changes -
            Description When I ran Java update on a slave, it requested that javaw is stopped.
            when approving that ALL the slaves were terminated.
            I am adding the error in the server log for one of the slaves.

            The slaves pages also display a "failed to abort" error (pic attached) and cannot be restarted using javaw, before the whole Jenkins server (the service, not the machine) is restarted.

            slaves are VM's that are hosted on VMWARE server
            I also noticed that when a VM is restarted, this terminates all others (by Jenkins server)

            version: 1.560
            --------------
            WARNING: NioChannelHub keys=17 gen=201082: Computer.threadPoolForRemoting [#2] for + HV1-VM-SLAVE-22 terminated
            java.io.IOException: Failed to abort
                    at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport.abort(NioChannelHub.java:184)
                    at org.jenkinsci.remoting.nio.NioChannelHub.abortAll(NioChannelHub.java:599)
                    at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:481)
                    at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
                    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
                    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
                    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
                    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
                    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
                    at java.lang.Thread.run(Thread.java:662)
            Caused by: java.nio.channels.ClosedChannelException
                    at sun.nio.ch.SocketChannelImpl.shutdownInput(SocketChannelImpl.java:663)
                    at sun.nio.ch.SocketAdaptor.shutdownInput(SocketAdaptor.java:430)
                    at org.jenkinsci.remoting.nio.Closeables$1.close(Closeables.java:20)
                    at org.jenkinsci.remoting.nio.NioChannelHub$MonoNioTransport.closeR(NioChannelHub.java:289)
                    at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport$1.call(NioChannelHub.java:226)
                    at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport$1.call(NioChannelHub.java:224)
                    at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:474)
                    ... 7 more
            Apr 22, 2014 8:56:08 AM jenkins.slaves.JnlpSlaveAgentProtocol$Handler$1 onClosed
            When I ran Java update on a slave, it requested that javaw is stopped.
            when approving that then: ALL the slaves were terminated.
            I am adding the error in the server log for one of the slaves.

            The slaves pages also display a "failed to abort" error (pic attached) and cannot be restarted using javaw, before the whole Jenkins server (the service, not the machine) is restarted.

            slaves are VM's that are hosted on VMWARE server
            I also noticed that when a VM is restarted, this terminates all others (by Jenkins server)

            version: 1.560
            --------------
            WARNING: NioChannelHub keys=17 gen=201082: Computer.threadPoolForRemoting [#2] for + HV1-VM-SLAVE-22 terminated
            java.io.IOException: Failed to abort
                    at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport.abort(NioChannelHub.java:184)
                    at org.jenkinsci.remoting.nio.NioChannelHub.abortAll(NioChannelHub.java:599)
                    at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:481)
                    at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
                    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
                    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
                    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
                    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
                    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
                    at java.lang.Thread.run(Thread.java:662)
            Caused by: java.nio.channels.ClosedChannelException
                    at sun.nio.ch.SocketChannelImpl.shutdownInput(SocketChannelImpl.java:663)
                    at sun.nio.ch.SocketAdaptor.shutdownInput(SocketAdaptor.java:430)
                    at org.jenkinsci.remoting.nio.Closeables$1.close(Closeables.java:20)
                    at org.jenkinsci.remoting.nio.NioChannelHub$MonoNioTransport.closeR(NioChannelHub.java:289)
                    at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport$1.call(NioChannelHub.java:226)
                    at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport$1.call(NioChannelHub.java:224)
                    at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:474)
                    ... 7 more
            Apr 22, 2014 8:56:08 AM jenkins.slaves.JnlpSlaveAgentProtocol$Handler$1 onClosed
            zivshapirainnovid ziv SHAPIRA made changes -
            Description When I ran Java update on a slave, it requested that javaw is stopped.
            when approving that then: ALL the slaves were terminated.
            I am adding the error in the server log for one of the slaves.

            The slaves pages also display a "failed to abort" error (pic attached) and cannot be restarted using javaw, before the whole Jenkins server (the service, not the machine) is restarted.

            slaves are VM's that are hosted on VMWARE server
            I also noticed that when a VM is restarted, this terminates all others (by Jenkins server)

            version: 1.560
            --------------
            WARNING: NioChannelHub keys=17 gen=201082: Computer.threadPoolForRemoting [#2] for + HV1-VM-SLAVE-22 terminated
            java.io.IOException: Failed to abort
                    at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport.abort(NioChannelHub.java:184)
                    at org.jenkinsci.remoting.nio.NioChannelHub.abortAll(NioChannelHub.java:599)
                    at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:481)
                    at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
                    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
                    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
                    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
                    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
                    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
                    at java.lang.Thread.run(Thread.java:662)
            Caused by: java.nio.channels.ClosedChannelException
                    at sun.nio.ch.SocketChannelImpl.shutdownInput(SocketChannelImpl.java:663)
                    at sun.nio.ch.SocketAdaptor.shutdownInput(SocketAdaptor.java:430)
                    at org.jenkinsci.remoting.nio.Closeables$1.close(Closeables.java:20)
                    at org.jenkinsci.remoting.nio.NioChannelHub$MonoNioTransport.closeR(NioChannelHub.java:289)
                    at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport$1.call(NioChannelHub.java:226)
                    at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport$1.call(NioChannelHub.java:224)
                    at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:474)
                    ... 7 more
            Apr 22, 2014 8:56:08 AM jenkins.slaves.JnlpSlaveAgentProtocol$Handler$1 onClosed
            When I ran Java update on a slave, it requested that javaw is stopped.
            when approving that then: ALL the slaves were terminated.
            I am adding the error in the server log for one of the slaves.

            The slaves pages also display a "failed to abort" error (pic attached) and cannot be restarted using javaw, before the whole Jenkins server (the service, not the machine) is restarted.

            slaves are VM's that are hosted on VMWARE server
            I also noticed that when a VM is restarted, this terminates all others (by Jenkins server)

            version: 1.560


            ------------------------
            I care about getting this fixed, so I'm offering USD 50.00 via FreedomSponsors to the first person who fix it.

            Offer link: http://www.freedomsponsors.org/core/issue/489/all-slaves-are-terminated-when-javaw-is-stopped-on-one-slave

            You can also join me and throw in a few bucks there and we'll get it fixed faster :)
                 
            If you fix this issue (see my acceptance criteria there) please use that site to request your payment.
            ----------------------------------------------------------------

            Server Log
            --------------
            WARNING: NioChannelHub keys=17 gen=201082: Computer.threadPoolForRemoting [#2] for + HV1-VM-SLAVE-22 terminated
            java.io.IOException: Failed to abort
                    at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport.abort(NioChannelHub.java:184)
                    at org.jenkinsci.remoting.nio.NioChannelHub.abortAll(NioChannelHub.java:599)
                    at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:481)
                    at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
                    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
                    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
                    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
                    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
                    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
                    at java.lang.Thread.run(Thread.java:662)
            Caused by: java.nio.channels.ClosedChannelException
                    at sun.nio.ch.SocketChannelImpl.shutdownInput(SocketChannelImpl.java:663)
                    at sun.nio.ch.SocketAdaptor.shutdownInput(SocketAdaptor.java:430)
                    at org.jenkinsci.remoting.nio.Closeables$1.close(Closeables.java:20)
                    at org.jenkinsci.remoting.nio.NioChannelHub$MonoNioTransport.closeR(NioChannelHub.java:289)
                    at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport$1.call(NioChannelHub.java:226)
                    at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport$1.call(NioChannelHub.java:224)
                    at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:474)
                    ... 7 more
            Apr 22, 2014 8:56:08 AM jenkins.slaves.JnlpSlaveAgentProtocol$Handler$1 onClosed
            kohsuke Kohsuke Kawaguchi made changes -
            Link This issue duplicates JENKINS-22932 [ JENKINS-22932 ]
            Hide
            kohsuke Kohsuke Kawaguchi added a comment -

            Fix integrated in 1.568.

            Show
            kohsuke Kohsuke Kawaguchi added a comment - Fix integrated in 1.568.
            kohsuke Kohsuke Kawaguchi made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Assignee Kohsuke Kawaguchi [ kohsuke ]
            Resolution Fixed [ 1 ]
            danielbeck Daniel Beck made changes -
            Link This issue is duplicated by JENKINS-23384 [ JENKINS-23384 ]
            jglick Jesse Glick made changes -
            Labels jenkins jnlp lts-candidate slave
            Hide
            jglick Jesse Glick added a comment -

            Not sure what the jenkins-tracker component is or why this was filed in it, but this just looks like a core bug to me.

            Show
            jglick Jesse Glick added a comment - Not sure what the jenkins-tracker component is or why this was filed in it, but this just looks like a core bug to me.
            jglick Jesse Glick made changes -
            Component/s core [ 15593 ]
            Component/s jenkins-tracker [ 17454 ]
            Hide
            olivergondza Oliver Gondža added a comment -

            Assuming this is resolved in remoting:2.43 for backporting purposes.

            Show
            olivergondza Oliver Gondža added a comment - Assuming this is resolved in remoting:2.43 for backporting purposes.
            olivergondza Oliver Gondža made changes -
            Labels jnlp lts-candidate slave 1.565.1-fixed jnlp slave
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 154826 ] JNJira + In-Review [ 195046 ]

              People

              • Assignee:
                kohsuke Kohsuke Kawaguchi
                Reporter:
                zivshapirainnovid ziv SHAPIRA
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: