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

Stack Overflow | jto | 1 week ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Ubuntu Slave Node (Jenkins) Error

    Stack Overflow | 1 week ago | jto
    hudson.util.IOException2: Slave JVM has terminated. Exit code=1
  2. 0

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

    www-infrastructure-issues | 10 months ago | Jason Kuster (JIRA)
    hudson.util.IOException2: Slave JVM has terminated. Exit code=127
  3. 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 | 1 year ago | Félix Belzunce Arcos
    hudson.util.IOException2: Slave JVM has terminated. Exit code=1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

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

    www-infrastructure-issues | 10 months ago | Jason Kuster (JIRA)
    hudson.util.IOException2: Slave JVM has terminated. Exit code=127
  6. 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 | 1 year ago | Félix Belzunce Arcos
    hudson.util.IOException2: Slave JVM has terminated. Exit code=1

    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:365)
      2. hudson.remoting.ChannelBuilder.build(ChannelBuilder.java:310)
      2 frames
    3. Hudson
      SlaveComputer.setChannel
      1. hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:389)
      1 frame
    4. hudson.plugins.sshslaves
      SSHLauncher$2.call
      1. hudson.plugins.sshslaves.SSHLauncher.startSlave(SSHLauncher.java:976)
      2. hudson.plugins.sshslaves.SSHLauncher.access$400(SSHLauncher.java:137)
      3. hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:725)
      4. hudson.plugins.sshslaves.SSHLauncher$2.call(SSHLauncher.java:706)
      4 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(Unknown Source)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      4. java.lang.Thread.run(Unknown Source)
      4 frames