Cannot launch Windows 7 64-bit slave ?

1,489 views
Skip to first unread message

Ed Sutton

unread,
Dec 6, 2011, 9:27:41 AM12/6/11
to jenkinsci-users@googlegroups.com Users
I am having challenges configuring a Windows 7 Professional 64-bit slave node (no domain server). My master is a 32-bit CentOS machine. My experience configuring Linux SSH and Windows XP DCOM slaves was amazing magic. Windows 7, not so much. Any advice or feedback on Windows 7 64-bit success stories is much appreciated.

Here is what I have tried:

* Read wiki:
* https://wiki.jenkins-ci.org/display/JENKINS/Distributed+builds
* https://wiki.jenkins-ci.org/display/JENKINS/Windows+slaves+fail+to+start+via+DCOM
* I installed java 1.6.0_29
* I can connect to slave's Windows 7 registry remotely.
* I opened Windows 7 slave's ports then finally disable firewall to eliminate as a problem.
* I changed owner of the registry key {76A64158-CB41-11D1-8B02-00600806D9B6} to the local admin user account I am using to launch slave
* I tried downloading then launching slave.jar from the slave. It keeps timing out and retrying.
* Ran powershell as a local admin on slave, and executed Enable-PSRemoting.
* java is in the slave's path

Launch slave agent errors:

Connecting to buildmachine04
ERROR: Message not found for errorCode: 0x800706BA
org.jinterop.dcom.common.JIException<http://stacktrace.jenkins-ci.org/search?query=org.jinterop.dcom.common.JIException>: Message not found for errorCode: 0x800706BA
at org.jinterop.dcom.core.JIComServer.init(JIComServer.java:550)<http://stacktrace.jenkins-ci.org/search/?query=org.jinterop.dcom.core.JIComServer.init&entity=method>
at org.jinterop.dcom.core.JIComServer.initialise(JIComServer.java:458)<http://stacktrace.jenkins-ci.org/search/?query=org.jinterop.dcom.core.JIComServer.initialise&entity=method>
at org.jinterop.dcom.core.JIComServer.<init>(JIComServer.java:427)<http://stacktrace.jenkins-ci.org/search/?query=org.jinterop.dcom.core.JIComServer.%3Cinit%3E&entity=method>
at org.jvnet.hudson.wmi.WMI.connect(WMI.java:59)<http://stacktrace.jenkins-ci.org/search/?query=org.jvnet.hudson.wmi.WMI.connect&entity=method>
at hudson.os.windows.ManagedWindowsServiceLauncher.launch(ManagedWindowsServiceLauncher.java:152)<http://stacktrace.jenkins-ci.org/search/?query=hudson.os.windows.ManagedWindowsServiceLauncher.launch&entity=method>
at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:199)<http://stacktrace.jenkins-ci.org/search/?query=hudson.slaves.SlaveComputer$1.call&entity=method>
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)<http://stacktrace.jenkins-ci.org/search/?query=java.util.concurrent.FutureTask$Sync.innerRun&entity=method>
at java.util.concurrent.FutureTask.run(FutureTask.java:138)<http://stacktrace.jenkins-ci.org/search/?query=java.util.concurrent.FutureTask.run&entity=method>
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)<http://stacktrace.jenkins-ci.org/search/?query=java.util.concurrent.ThreadPoolExecutor$Worker.runTask&entity=method>
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)<http://stacktrace.jenkins-ci.org/search/?query=java.util.concurrent.ThreadPoolExecutor$Worker.run&entity=method>
at java.lang.Thread.run(Thread.java:662)<http://stacktrace.jenkins-ci.org/search/?query=java.lang.Thread.run&entity=method>
Caused by: org.jinterop.dcom.common.JIRuntimeException<http://stacktrace.jenkins-ci.org/search?query=org.jinterop.dcom.common.JIRuntimeException>: Message not found for errorCode: 0x800706BA
at org.jinterop.dcom.core.JIRemActivation.read(JIRemActivation.java:191)<http://stacktrace.jenkins-ci.org/search/?query=org.jinterop.dcom.core.JIRemActivation.read&entity=method>
at ndr.NdrObject.decode(NdrObject.java:19)<http://stacktrace.jenkins-ci.org/search/?query=ndr.NdrObject.decode&entity=method>
at rpc.ConnectionOrientedEndpoint.call(ConnectionOrientedEndpoint.java:138)<http://stacktrace.jenkins-ci.org/search/?query=rpc.ConnectionOrientedEndpoint.call&entity=method>
at rpc.Stub.call(Stub.java:112)<http://stacktrace.jenkins-ci.org/search/?query=rpc.Stub.call&entity=method>
at org.jinterop.dcom.core.JIComServer.init(JIComServer.java:538)<http://stacktrace.jenkins-ci.org/search/?query=org.jinterop.dcom.core.JIComServer.init&entity=method>
... 10 more

Win7 x64 Slave Node Configuration:

* Name: buildmachine04
* Description: Windows 7 Professional 64-bit Build Slave
* # executioners: 2
* Remote FS root: C:\jenkins
* Labels: win7-x64
* Usage: Utilize slave as much as possible
* Launch method: Let Jenkins control this WIndows slave as a Windows Service
** Administrator user name: buildslave
** Passsword: ******
** Host:
* Availiability: Keep this slave online as much as possible
* Node Properties
** Environment Variables: not checked
** Tool Locations: not checked


Thanks for any advice or tips.

-Ed

Ed Sutton

unread,
Dec 7, 2011, 9:54:28 AM12/7/11
to jenkins...@googlegroups.com
> >ERROR: Message not found for errorCode: 0x800706BA

[Solved]

Using Visual Studio Tool Error Lookup, the COM error 0x800706BA indicates "The RPC server is unavailable." and may be reported because the slave machine does not exist or Windows Firewall is blocking. I was unaware that the Windows Firewall has multiple enable / disable settings. I had disabled the Windows Firewall for Domain Profile but not for Private Profile and not for Public Profile. I will go back and try enabling the firewall and insuring all ports mentioned on the Wiki are open.

Anyway, all is good. Thank you all for the amazing software development tool.

-Ed


-Ed

Reply all
Reply to author
Forward
0 new messages