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

Slave on Mac OS X with unsigned JNLP

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Critical Critical
    • core
    • None
    • Jenkins 2.7.1
      Mac OS X 10.11.6
      Java 1.8.0_102

      Every time I try to run a job on a Mac OS X slave, the build gets stuck on

      "[EnvInject] - Loading node environment variables."
      

      and the Java console is

      Insecure property: (hudson.showWindowsServiceInstallLink, true) specified in unsigned jnlp file will not be set.
      Jul 27, 2016 12:58:17 PM hudson.remoting.jnlp.Main createEngine
      INFO: Setting up slave: JNode
      

      If I run the slave using

      java -jar slave.jar -jnlpUrl http://serverUrl/computer/JNode/slave-agent.jnlp -secret xyz
      

      it works and the output is

      Jul 27, 2016 4:03:04 PM hudson.remoting.jnlp.Main createEngine
      INFO: Setting up slave: JNode
      Jul 27, 2016 4:03:04 PM hudson.remoting.jnlp.Main$CuiListener <init>
      INFO: Jenkins agent is running in headless mode.
      Jul 27, 2016 4:03:04 PM hudson.remoting.jnlp.Main$CuiListener status
      INFO: Locating server among [http://codebuilder.unimatica.lan:8080/]
      Jul 27, 2016 4:03:04 PM hudson.remoting.jnlp.Main$CuiListener status
      INFO: Handshaking
      Jul 27, 2016 4:03:04 PM hudson.remoting.jnlp.Main$CuiListener status
      INFO: Connecting to codebuilder.unimatica.lan:46319
      Jul 27, 2016 4:03:04 PM hudson.remoting.jnlp.Main$CuiListener status
      INFO: Trying protocol: JNLP3-connect
      Jul 27, 2016 4:03:04 PM hudson.remoting.jnlp.Main$CuiListener status
      INFO: Server didn't accept the handshake: Unknown protocol:Protocol:JNLP3-connect
      Jul 27, 2016 4:03:04 PM hudson.remoting.jnlp.Main$CuiListener status
      INFO: Connecting to codebuilder.unimatica.lan:46319
      Jul 27, 2016 4:03:04 PM hudson.remoting.jnlp.Main$CuiListener status
      INFO: Trying protocol: JNLP2-connect
      Jul 27, 2016 4:03:04 PM hudson.remoting.jnlp.Main$CuiListener status
      INFO: Connected
      

      Could you reproduce it? Could it be related to one of the latest Java update?

            Unassigned Unassigned
            jhack Giacomo Boccardo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: