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

(JNLP) Mac slave went offline during build

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • remoting
    • Master - RHEL 6.4 (Santiago)(x64) - Jenkins 1.656
      Slave - Mac OS Sierra (10.12.5)(x64) - JNLP slave (launched via command-line) - Oracle Java 1.8.0_131

      I haven't been able to run a build job because after 30 min running, the connection fails with the following error:

      From the job console output
      :mi-cuentav3-mainapp:compileProdReleaseJavaWithJack
      Slave went offline during the build
      ERROR: Connection was broken: java.io.IOException: Connection aborted: org.jenkinsci.remoting.nio.NioChannelHub$MonoNioTransport@7f01f3b[name=DSWAC-APM-MiCuentaMobile-MACHOST]
      at org.jenkinsci.remoting.nio.NioChannelHub$NioTransport.abort(NioChannelHub.java:208)
      at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:629)
      at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:745)
      Caused by: java.io.IOException: Connection timed out
      at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
      at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
      at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
      at sun.nio.ch.IOUtil.read(IOUtil.java:197)
      at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:384)
      at org.jenkinsci.remoting.nio.FifoBuffer$Pointer.receive(FifoBuffer.java:137)
      at org.jenkinsci.remoting.nio.FifoBuffer.receive(FifoBuffer.java:310)
      at org.jenkinsci.remoting.nio.NioChannelHub.run(NioChannelHub.java:561)
      ... 6 more

      And from the node's console

       

      jul 25, 2017 5:08:03 PM hudson.remoting.SynchronousCommandTransport$ReaderThread run
      GRAVE: I/O error in channel channel
      java.net.SocketException: Connection reset
       at java.net.SocketInputStream.read(SocketInputStream.java:210)
       at java.net.SocketInputStream.read(SocketInputStream.java:141)
       at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
       at java.io.BufferedInputStream.read(BufferedInputStream.java:265)
       at hudson.remoting.FlightRecorderInputStream.read(FlightRecorderInputStream.java:82)
       at hudson.remoting.ChunkedInputStream.readHeader(ChunkedInputStream.java:72)
       at hudson.remoting.ChunkedInputStream.readUntilBreak(ChunkedInputStream.java:103)
       at hudson.remoting.ChunkedCommandTransport.readBlock(ChunkedCommandTransport.java:39)
       at hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:34)
       at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)
      jul 25, 2017 5:08:03 PM hudson.remoting.jnlp.Main$CuiListener status
      INFORMACI?N: Terminated
      jul 25, 2017 5:08:13 PM jenkins.slaves.restarter.JnlpSlaveRestarterInstaller$2$1 onReconnect
      INFORMACI?N: Restarting slave via jenkins.slaves.restarter.UnixSlaveRestarter@15a82269
      jul 25, 2017 5:08:14 PM hudson.remoting.jnlp.Main createEngine
      INFORMACI?N: Setting up slave: DSWAC-APM-MiCuentaMobile-MACHOST
      jul 25, 2017 5:08:14 PM hudson.remoting.jnlp.Main$CuiListener <init>
      INFORMACI?N: Jenkins agent is running in headless mode.
      jul 25, 2017 5:08:14 PM hudson.remoting.jnlp.Main$CuiListener status
      INFORMACI?N: Locating server among [https://jenkins.personal.corp/]
      jul 25, 2017 5:08:14 PM hudson.remoting.jnlp.Main$CuiListener status
      INFORMACI?N: Handshaking
      

       

            Unassigned Unassigned
            francozulian93 Franco Zulian
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: