• Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Blocker Blocker
    • windows-slaves-plugin
    • None

      Here's the trace from the failing slave:
      Connecting to 192.168.0.5
      Failed to connect to port 135 of 192.168.0.5. Is Windows firewall blocking this port? Or did you disable DCOM service?
      ERROR: Message not found for errorCode: 0x8001FFFF
      org.jinterop.dcom.common.JIException: Message not found for errorCode: 0x8001FFFF
      at org.jinterop.dcom.core.JIComServer.call(JIComServer.java:876)
      at org.jinterop.dcom.core.JIComServer.call(JIComServer.java:825)
      at org.jinterop.dcom.core.JIComServer.addRef_ReleaseRef(JIComServer.java:909)
      at org.jinterop.dcom.core.JISession.releaseRef(JISession.java:730)
      at org.jinterop.dcom.core.JIComServer.createInstance(JIComServer.java:746)
      at org.jvnet.hudson.wmi.WMI.connect(WMI.java:61)
      at hudson.os.windows.ManagedWindowsServiceLauncher.launch(ManagedWindowsServiceLauncher.java:152)
      at hudson.slaves.DelegatingComputerLauncher.launch(DelegatingComputerLauncher.java:56)
      at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:199)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314)
      at java.util.concurrent.FutureTask.run(FutureTask.java:149)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
      at java.lang.Thread.run(Thread.java:736)
      Caused by: java.net.SocketException: Network is unreachable
      at sun.nio.ch.Net.connect(Native Method)
      at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:519)
      at java.nio.channels.SocketChannel.open(SocketChannel.java:157)
      at org.jinterop.dcom.transport.JIComTransport.attach(JIComTransport.java:98)
      at rpc.Stub.attach(Stub.java:104)
      at org.jinterop.dcom.core.JIComServer.call(JIComServer.java:860)
      ... 13 more

      I've already been through the suggestions at https://wiki.jenkins-ci.org/display/JENKINS/Windows+slaves+fail+to+start+via+DCOM, but no luck.

      Using nmap on my jenkins machine, running as user jenkins, I can see that the ports are open on the slave. I can even telnet/netcat to it.
      PORT STATE SERVICE
      135/tcp open msrpc
      139/tcp open netbios-ssn
      445/tcp open microsoft-ds
      3389/tcp open ms-term-serv

      Sounds like it might be a bug in j-Interop, but can't confirm:
      http://sourceforge.net/projects/j-interop/forums/forum/840678/topic/3732777

          [JENKINS-11002] Windows DCOM slave fails to connect

          Kevin Bulebush created issue -
          sogabe made changes -
          Link New: This issue duplicates JENKINS-11000 [ JENKINS-11000 ]
          sogabe made changes -
          Link New: This issue is duplicated by JENKINS-11001 [ JENKINS-11001 ]
          sogabe made changes -
          Link New: This issue is duplicated by JENKINS-10999 [ JENKINS-10999 ]
          sogabe made changes -
          Link New: This issue is duplicated by JENKINS-10998 [ JENKINS-10998 ]
          Garen Parham made changes -
          Link New: This issue is related to JENKINS-4929 [ JENKINS-4929 ]
          Jeebitesh Kalantri made changes -
          Priority Original: Major [ 3 ] New: Blocker [ 1 ]
          Jeebitesh Kalantri made changes -
          Assignee New: Kohsuke Kawaguchi (test) [ kktest ]
          Daniel Beck made changes -
          Resolution New: Incomplete [ 4 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Jeebitesh Kalantri made changes -
          Resolution Original: Incomplete [ 4 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          Daniel Beck made changes -
          Component/s New: windows-slaves [ 18327 ]
          Component/s Original: core [ 15593 ]
          Affects Version/s Original: current [ 10162 ]
          Assignee Original: Kohsuke Kawaguchi (test) [ kktest ]

            Unassigned Unassigned
            kmbulebu Kevin Bulebush
            Votes:
            13 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated:
              Resolved: