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

Java Web Start Slave Agent Terminating Connection on Mountain Lion

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Blocker Blocker
    • slave-setup-plugin
    • None

      I've got a Snow Leopard/Java 7 slave running successfully (along with several Windows slaves), but when I setup a new node on Mountain Lion (separate machine from the Snow Leopard one) the status of the slave agent window just says Terminated.

      I originally tried using the latest stable version of Java, but after that didn't work I also tried installing the latest preview, but I got the same results. (1.7.0_09 vs 1.7.0_10-ea)

      Here is the log from Java on the slave:

      Java Web Start 10.10.2.13
      Using JRE version 1.7.0_10-ea-b13 Java HotSpot(TM) 64-Bit Server VM
      User home directory = /Users/osxsafarislave
      ----------------------------------------------------
      c: clear console window
      f: finalize objects on finalization queue
      g: garbage collect
      h: display this help message
      m: print memory usage
      o: trigger logging
      p: reload proxy configuration
      q: hide console
      r: reload policy configuration
      s: dump system and deployment properties
      t: dump thread list
      v: dump thread stack
      0-5: set trace level to <n>
      ----------------------------------------------------
      Match: beginTraversal
      Match: digest selected JREDesc: JREDesc[version 1.5+, heap=-1--1, args=null, href=null, sel=false, null, null], JREInfo: JREInfo for index 0:
      platform is: 1.7
      product is: 1.7.0_10-ea
      location is: http://java.sun.com/products/autodl/j2se
      path is: /Library/Internet Plug-ins/JavaAppletPlugin.plugin/Contents/Home/bin/java
      args is: null
      native platform is: Mac OS X, x86_64 [ x86_64, 64bit ]
      JavaFX runtime is: JavaFX 2.2.4 found at /Library/Internet Plug-ins/JavaAppletPlugin.plugin/Contents/Home/
      enabled is: true
      registered is: true
      system is: true

      Match: ignoring maxHeap: -1
      Match: ignoring InitHeap: -1
      Match: digesting vmargs: null
      Match: digested vmargs: [JVMParameters: isSecure: true, args: ]
      Match: JVM args after accumulation: [JVMParameters: isSecure: true, args: ]
      Match: digest LaunchDesc: null
      Match: digest properties: [-Dhudson.showWindowsServiceInstallLink=true]
      Match: JVM args: [JVMParameters: isSecure: false, args: -Dhudson.showWindowsServiceInstallLink=true]
      Match: endTraversal ..
      Match: JVM args final: -Dhudson.showWindowsServiceInstallLink=true
      Match: Running JREInfo Version match: 1.7.0.10.ea == 1.7.0.10.ea
      Match: Running JVM args match the secure subset: have:<> satisfy want:<-Dhudson.showWindowsServiceInstallLink=true>
      Oct 29, 2012 11:34:54 AM hudson.remoting.SynchronousCommandTransport$ReaderThread run
      SEVERE: I/O error in channel channel
      java.io.IOException: Unexpected termination of the channel
      at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:50)
      Caused by: java.io.EOFException
      at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2571)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1315)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
      at hudson.remoting.Command.readFrom(Command.java:90)
      at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59)
      at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)

      Oct 29, 2012 11:35:04 AM hudson.remoting.SynchronousCommandTransport$ReaderThread run
      SEVERE: I/O error in channel channel
      java.io.IOException: Unexpected termination of the channel
      at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:50)
      Caused by: java.io.EOFException
      at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2571)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1315)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
      at hudson.remoting.Command.readFrom(Command.java:90)
      at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59)
      at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)

      Oct 29, 2012 11:35:14 AM hudson.remoting.SynchronousCommandTransport$ReaderThread run
      SEVERE: I/O error in channel channel
      java.io.IOException: Unexpected termination of the channel
      at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:50)
      Caused by: java.io.EOFException
      at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2571)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1315)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)
      at hudson.remoting.Command.readFrom(Command.java:90)
      at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59)
      at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)

          [JENKINS-15656] Java Web Start Slave Agent Terminating Connection on Mountain Lion

          Szilard P added a comment -

          I'm having the same issue after updating from 1.486 to 1.487 on Mac OS X Lion (10.7) with an pretty old 1.6.0_29 Java.

          Szilard P added a comment - I'm having the same issue after updating from 1.486 to 1.487 on Mac OS X Lion (10.7) with an pretty old 1.6.0_29 Java.

          Fredrik Eldh added a comment - - edited

          Same problem, Jenkins 1.488, OSX 10.6, Java 1.6.0_31.

          Edit: My problem was caused by an incorrect configuration, Remote FS root, which pointed to a path that did not exist. Solved by fixing the config.

          The error messages shown on both master and slave are still wrong.

          Fredrik Eldh added a comment - - edited Same problem, Jenkins 1.488, OSX 10.6, Java 1.6.0_31. Edit: My problem was caused by an incorrect configuration, Remote FS root, which pointed to a path that did not exist. Solved by fixing the config. The error messages shown on both master and slave are still wrong.

          Roland Schulz added a comment -

          Michael, does the problem disappear if you downgrade Jenkins to 1.486? That would show that the problem you reported and Szilard reported are indeed the same one.

          Roland Schulz added a comment - Michael, does the problem disappear if you downgrade Jenkins to 1.486? That would show that the problem you reported and Szilard reported are indeed the same one.

          Michael Sica added a comment -

          I discovered my problem was the same as Fredrik's. My remote FS root was incorrect. The error messaging around this misconfiguration could be better.

          Thanks.

          Michael Sica added a comment - I discovered my problem was the same as Fredrik's. My remote FS root was incorrect. The error messaging around this misconfiguration could be better. Thanks.

            kohsuke Kohsuke Kawaguchi
            michaelsica Michael Sica
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: