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

Build is failing because of Computer.threadPoolForRemoting error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Blocker Blocker
    • core, remoting
    • None
    • Jenkins Version - 2.107.1
      Jenkins Master - Linux Rhel Machine
      Slave - windows 2003 server R2
      Java version on master - "1.8.0_171"
      java version on slave - "1.8.0_181"

      We are compiling large source code as a part of our jenkins Job, We are observing that the build is failing because of the below issues

      1. In the compilation log we get "Cannot contact DP-PF-WIN-4: java.lang.InterruptedException" and the step gets failed.
      1.  On the master log, I see the below error.
        "IOHub#1: Worker[channel:java.nio.channels.SocketChannel[connected local=/16.184.138.192:35576 remote=iwf022043.hpeswlab.net/16.184.22.43:2095]] / Computer.threadPoolForRemoting 43 for DP-PF-WIN-4 terminated
        java.nio.channels.ClosedChannelException
        at org.jenkinsci.remoting.protocol.NetworkLayer.onRecvClosed(NetworkLayer.java:154)
        at org.jenkinsci.remoting.protocol.impl.NIONetworkLayer.ready(NIONetworkLayer.java:179)
        at org.jenkinsci.remoting.protocol.IOHub$OnReady.run(IOHub.java:789)
        at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)"

       

      I have tried all the options by restarting Jenkins master,slave and by changing the JVM opts.
      Still the error is occuring. it is very critical for us.

            jthompson Jeff Thompson
            shreedhara shreedhara H
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: