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

Let Jenkins Control this Windows agent as a windows service does not work after updating to 2.32.2

      Updated Jenkins from 2.7.4 to 2.32.2 and now my agent machines wont connect using Launch method "Let Jenkins control this Windows slave as Windows service". They were working fine on the older version.
      I uninstalled and installed agent services on the machines but that didnt help.
      Looked into https://wiki.jenkins-ci.org/display/JENKINS/Windows+slaves+fail+to+start+via+DCOM and that didnt help either.
      Tried windows slaves version 1.2 and 1.1 still nothing changed.

      Here is the error message I get
      ERROR: Access is denied. See http://wiki.jenkins-ci.org/display/JENKINS/Windows+slaves+fail+to+start+via+DCOM for more information about how to resolve this.
      org.jinterop.dcom.common.JIException: Message not found for errorCode: 0x00000005
      at org.jinterop.dcom.core.JIComServer.init(JIComServer.java:542)
      at org.jinterop.dcom.core.JIComServer.initialise(JIComServer.java:458)
      at org.jinterop.dcom.core.JIComServer.<init>(JIComServer.java:427)
      at org.jvnet.hudson.wmi.WMI.connect(WMI.java:59)
      at hudson.os.windows.ManagedWindowsServiceLauncher.launch(ManagedWindowsServiceLauncher.java:206)
      at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:261)
      at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:745)
      Caused by: rpc.FaultException: Received fault. (unknown)
      at rpc.ConnectionOrientedEndpoint.call(ConnectionOrientedEndpoint.java:142)
      at rpc.Stub.call(Stub.java:112)
      at org.jinterop.dcom.core.JIComServer.init(JIComServer.java:538)
      ... 10 more

          [JENKINS-41892] Let Jenkins Control this Windows agent as a windows service does not work after updating to 2.32.2

          ahmed daniel created issue -
          Oleg Nenashev made changes -
          Assignee Original: Kohsuke Kawaguchi [ kohsuke ] New: Oleg Nenashev [ oleg_nenashev ]
          Oleg Nenashev made changes -
          Component/s New: core [ 15593 ]
          Component/s New: windows-slave-installer-module [ 21834 ]
          Oleg Nenashev made changes -
          Assignee Original: Oleg Nenashev [ oleg_nenashev ]
          Jesse Glick made changes -
          Labels Original: service slaves, windows, New: service slaves windows
          Alex Earl made changes -
          Summary Original: Let Jenkins Control this Windows Slave as a windows service does not work after updating to 2.32.2 New: Let Jenkins Control this Windows agent as a windows service does not work after updating to 2.32.2
          Alex Earl made changes -
          Description Original: Updated Jenkins from 2.7.4 to 2.32.2 and now my slave machines wont connect using Launch method "Let Jenkins control this Windows slave as Windows service". They were working fine on the older version.
          I uninstalled and installed slave services on the machines but that didnt help.
          Looked into https://wiki.jenkins-ci.org/display/JENKINS/Windows+slaves+fail+to+start+via+DCOM and that didnt help either.
          Tried windows slave version 1.2 and 1.1 still nothing changed.

          Here is the error message I get
          ERROR: Access is denied. See http://wiki.jenkins-ci.org/display/JENKINS/Windows+slaves+fail+to+start+via+DCOM for more information about how to resolve this.
          org.jinterop.dcom.common.JIException: Message not found for errorCode: 0x00000005
          at org.jinterop.dcom.core.JIComServer.init(JIComServer.java:542)
          at org.jinterop.dcom.core.JIComServer.initialise(JIComServer.java:458)
          at org.jinterop.dcom.core.JIComServer.<init>(JIComServer.java:427)
          at org.jvnet.hudson.wmi.WMI.connect(WMI.java:59)
          at hudson.os.windows.ManagedWindowsServiceLauncher.launch(ManagedWindowsServiceLauncher.java:206)
          at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:261)
          at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
          at java.util.concurrent.FutureTask.run(FutureTask.java:266)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
          at java.lang.Thread.run(Thread.java:745)
          Caused by: rpc.FaultException: Received fault. (unknown)
          at rpc.ConnectionOrientedEndpoint.call(ConnectionOrientedEndpoint.java:142)
          at rpc.Stub.call(Stub.java:112)
          at org.jinterop.dcom.core.JIComServer.init(JIComServer.java:538)
          ... 10 more
          New: Updated Jenkins from 2.7.4 to 2.32.2 and now my agent machines wont connect using Launch method "Let Jenkins control this Windows slave as Windows service". They were working fine on the older version.
          I uninstalled and installed agent services on the machines but that didnt help.
          Looked into [https://wiki.jenkins-ci.org/display/JENKINS/Windows+slaves+fail+to+start+via+DCOM] and that didnt help either.
          Tried windows slaves version 1.2 and 1.1 still nothing changed.

          Here is the error message I get
          ERROR: Access is denied. See [http://wiki.jenkins-ci.org/display/JENKINS/Windows+slaves+fail+to+start+via+DCOM] for more information about how to resolve this.
          org.jinterop.dcom.common.JIException: Message not found for errorCode: 0x00000005
          at org.jinterop.dcom.core.JIComServer.init(JIComServer.java:542)
          at org.jinterop.dcom.core.JIComServer.initialise(JIComServer.java:458)
          at org.jinterop.dcom.core.JIComServer.<init>(JIComServer.java:427)
          at org.jvnet.hudson.wmi.WMI.connect(WMI.java:59)
          at hudson.os.windows.ManagedWindowsServiceLauncher.launch(ManagedWindowsServiceLauncher.java:206)
          at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:261)
          at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
          at java.util.concurrent.FutureTask.run(FutureTask.java:266)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
          at java.lang.Thread.run(Thread.java:745)
          Caused by: rpc.FaultException: Received fault. (unknown)
          at rpc.ConnectionOrientedEndpoint.call(ConnectionOrientedEndpoint.java:142)
          at rpc.Stub.call(Stub.java:112)
          at org.jinterop.dcom.core.JIComServer.init(JIComServer.java:538)
          ... 10 more
          Mark Waite made changes -
          Resolution New: Won't Fix [ 2 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

            Unassigned Unassigned
            zalimgandhera ahmed daniel
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: