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

Unable to setup slave via manage nodes

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I am getting below error -

      [2016-10-20 17:06:26] [windows-slaves] Connecting to 172.16.1.159
      Checking if Java exists
      C:\Program Files\Java\jdk1.7.0_80\bin\java.exe -version returned 1.7.0.
      [2016-10-20 17:06:30] [windows-slaves] Copying jenkins-slave.xml
      [2016-10-20 17:06:30] [windows-slaves] Copying slave.jar
      [2016-10-20 17:06:31] [windows-slaves] Starting the service
      ERROR: Unexpected error in launching an agent. This is probably a bug in Jenkins
      java.lang.reflect.UndeclaredThrowableException
      at com.sun.proxy.$Proxy45.start(Unknown Source)
      at hudson.os.windows.ManagedWindowsServiceLauncher.launch(ManagedWindowsServiceLauncher.java:340)
      at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:261)
      at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
      at java.util.concurrent.FutureTask.run(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      Caused by: java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.kohsuke.jinterop.JInteropInvocationHandler.invoke(JInteropInvocationHandler.java:140)
      ... 8 more
      Caused by: org.jinterop.dcom.common.JIException: Service Disabled
      at org.jvnet.hudson.wmi.Win32Service$Implementation.start(Win32Service.java:149)
      ... 13 more

        Attachments

          Activity

          Hide
          peppe Giuseppe Landolfi added a comment -

          Hi Swapnil R,

          in the log you provided there seems to be no relation to the slave setup plugin.... I would therefore route this issue to jenkins-core.
          If you have more information that prove me wrong, please, just add it to the item.

          Peppe

          Show
          peppe Giuseppe Landolfi added a comment - Hi Swapnil R , in the log you provided there seems to be no relation to the slave setup plugin .... I would therefore route this issue to jenkins-core. If you have more information that prove me wrong, please, just add it to the item. Peppe

            People

            • Assignee:
              peppe Giuseppe Landolfi
              Reporter:
              swapnilr Swapnil R
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: