hudson.util.IOException2: Slave JVM has terminated. Exit code=1

Jenkins JIRA | Félix Belzunce Arcos | 11 months ago
  1. 0

    Add the suffix below into a ssh-slave. {code:java} 2> >(tee -a slave-stderr.log 1>&2) {code} Then, the following happens: {code:java} [01/18/16 08:32:37] [SSH] Copied 478,051 bytes. Expanded the channel window size to 4MB [01/18/16 08:32:37] [SSH] Starting slave process: cd "/home/vagrant" && java -jar slave.jar2> >(tee -a slave-stderr.log 1>&2) Unable to access jarfile slave.jar2 hudson.util.IOException2: Slave JVM has terminated. Exit code=1 at hudson.plugins.sshslaves.SSHLauncher.startSlave(SSHLauncher.java:953) at hudson.plugins.sshslaves.SSHLauncher.access$400(SSHLauncher.java:133) at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:711) at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:696) 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.EOFException: unexpected stream termination at hudson.remoting.ChannelBuilder.negotiate(ChannelBuilder.java:331) at hudson.remoting.ChannelBuilder.build(ChannelBuilder.java:280) at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:371) at hudson.plugins.sshslaves.SSHLauncher.startSlave(SSHLauncher.java:945) ... 7 more [01/18/16 08:32:37] Launch failed - cleaning up connection {code} The same happens with the prefix.

    Jenkins JIRA | 11 months ago | Félix Belzunce Arcos
    hudson.util.IOException2: Slave JVM has terminated. Exit code=1
  2. 0

    Add the suffix below into a ssh-slave. {code:java} 2> >(tee -a slave-stderr.log 1>&2) {code} Then, the following happens: {code:java} [01/18/16 08:32:37] [SSH] Copied 478,051 bytes. Expanded the channel window size to 4MB [01/18/16 08:32:37] [SSH] Starting slave process: cd "/home/vagrant" && java -jar slave.jar2> >(tee -a slave-stderr.log 1>&2) Unable to access jarfile slave.jar2 hudson.util.IOException2: Slave JVM has terminated. Exit code=1 at hudson.plugins.sshslaves.SSHLauncher.startSlave(SSHLauncher.java:953) at hudson.plugins.sshslaves.SSHLauncher.access$400(SSHLauncher.java:133) at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:711) at hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:696) 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.EOFException: unexpected stream termination at hudson.remoting.ChannelBuilder.negotiate(ChannelBuilder.java:331) at hudson.remoting.ChannelBuilder.build(ChannelBuilder.java:280) at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:371) at hudson.plugins.sshslaves.SSHLauncher.startSlave(SSHLauncher.java:945) ... 7 more [01/18/16 08:32:37] Launch failed - cleaning up connection {code} The same happens with the prefix.

    Jenkins JIRA | 11 months ago | Félix Belzunce Arcos
    hudson.util.IOException2: Slave JVM has terminated. Exit code=1
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    [jira] [Resolved] (INFRA-11796) Beam[1-3] Jenkins Executors Failing to Start

    www-infrastructure-issues | 7 months ago | Jason Kuster (JIRA)
    hudson.util.IOException2: Slave JVM has terminated. Exit code=127
  5. 0

    [jira] [Created] (INFRA-11796) Beam[1-3] Jenkins Executors Failing to Start

    www-infrastructure-issues | 7 months ago | Jason Kuster (JIRA)
    hudson.util.IOException2: Slave JVM has terminated. Exit code=127

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.EOFException

      unexpected stream termination

      at hudson.remoting.ChannelBuilder.negotiate()
    2. Hudson :: Remoting Layer
      ChannelBuilder.build
      1. hudson.remoting.ChannelBuilder.negotiate(ChannelBuilder.java:331)
      2. hudson.remoting.ChannelBuilder.build(ChannelBuilder.java:280)
      2 frames
    3. Hudson
      SlaveComputer.setChannel
      1. hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:371)
      1 frame
    4. hudson.plugins.sshslaves
      SSHLauncher$2.call
      1. hudson.plugins.sshslaves.SSHLauncher.startSlave(SSHLauncher.java:945)
      2. hudson.plugins.sshslaves.SSHLauncher.access$400(SSHLauncher.java:133)
      3. hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:711)
      4. hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:696)
      4 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:262)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      4. java.lang.Thread.run(Thread.java:745)
      4 frames