[JIRA] (JENKINS-41022) windows slave can't run, Unexpected error in launching an agent

12 views
Skip to first unread message

l.huang@1tianxia.net (JIRA)

unread,
Jan 12, 2017, 4:11:01 AM1/12/17
to jenkinsc...@googlegroups.com
adam huang created an issue
 
Jenkins / Bug JENKINS-41022
windows slave can't run, Unexpected error in launching an agent
Issue Type: Bug Bug
Assignee: Kohsuke Kawaguchi
Components: windows-slaves-plugin
Created: 2017/Jan/12 9:10 AM
Environment: jre6, windows 7(slave), ubuntu 16.04 x64 (master)
Priority: Blocker Blocker
Reporter: adam huang

server is : Jenkins ver. 2.40 ubuntu 16.04 x64
slave is :Jenkins ver. 2.40 windows 7 x64

Windows 7 Jenkins and Jenkins Slave can be run.

[2017-01-12 17:02:57] [windows-slaves] Connecting to 192.168.2.117
Checking if Java exists
java -version returned 1.6.0.
[2017-01-12 17:03:00] [windows-slaves] Copying jenkins-slave.xml
[2017-01-12 17:03:00] [windows-slaves] Copying slave.jar
[2017-01-12 17:03:00] [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.$Proxy69.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(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: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.kohsuke.jinterop.JInteropInvocationHandler.invoke(JInteropInvocationHandler.java:140)
... 8 more
Caused by: org.jinterop.dcom.common.JIException: Service Already Running
at org.jvnet.hudson.wmi.Win32Service$Implementation.start(Win32Service.java:149)
... 13 more

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

l.huang@1tianxia.net (JIRA)

unread,
Jan 16, 2017, 9:01:02 PM1/16/17
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages