2014-01-20 156 views
1

成功部署後,由於每次都發生此錯誤,構建失敗。請幫幫我。成功構建部署後,Jenkins構建失敗

Ubuntu的SMP星期二1月8日22時04分49秒UTC 2013 x86_64的GNU/Linux的

FATAL: Remote call on slave1 failed 

java.io.IOException: Remote call on slave1 failed 
    at hudson.remoting.Channel.call(Channel.java:723) 
    at hudson.Launcher$RemoteLauncher.kill(Launcher.java:887) 
    at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:585) 
    at hudson.model.Run.execute(Run.java:1665) 
    at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 
    at hudson.model.ResourceController.execute(ResourceController.java:88) 
    at hudson.model.Executor.run(Executor.java:246) 
Caused by: java.lang.LinkageError 
    at hudson.util.ProcessTree$UnixReflection.<clinit>(ProcessTree.java:618) 
    at hudson.util.ProcessTree$UnixProcess.kill(ProcessTree.java:552) 
    at hudson.util.ProcessTree$UnixProcess.killRecursively(ProcessTree.java:572) 
    at hudson.util.ProcessTree$Unix.killAll(ProcessTree.java:496) 
    at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:899) 
    at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:890) 
    at hudson.remoting.UserRequest.perform(UserRequest.java:118) 
    at hudson.remoting.UserRequest.perform(UserRequest.java:48) 
    at hudson.remoting.Request$2.run(Request.java:326) 
    at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 
    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:744) 
Caused by: java.lang.NoSuchMethodException: java.lang.UNIXProcess.destroyProcess(int) 
    at java.lang.Class.getDeclaredMethod(Class.java:2109) 
    at hudson.util.ProcessTree$UnixReflection.<clinit>(ProcessTree.java:607) 
    ... 13 more 

回答

1

來看這個錯誤報告:https://issues.jenkins-ci.org/browse/JENKINS-21341

看來你正在運行的JDK版本1.8,我說的對?

如果是這樣,你可能想降級到1.7,直到Jenkins兼容。

+0

是的,你是正確的。我會嘗試降級,然後嘗試它。謝謝 –

+0

我可以問你最後如何解決這個問題?因爲我有完全相同的問題。 –

+1

將主人升級到Jenkins 1.610解決了問題,無需將客戶端降級到Java 1.7。你可以更高,1.610是一個仍然運行在Java 1.6上的版本,我們已經掌握了這個版本。 – Bernhard