詹金斯奴隶工作在成功完成后失败了

时间:2014-09-30 23:20:10

标签: jenkins slave

我有2个jenkins服务器,因为我的2个版本有一些不兼容的系统要求。

我为其中一个服务器设置了一个新节点,并从另一个服务器迁移了这些作业,并将它们设置为在该节点上运行。

节点运行作业很好,甚至可以归档工件(它们是从作业链接的)但是作业抛出异常并被标记为失败。

**以下是作业的输出**

Completed build, now archiving  <-- I print this out at the end of my last build step

FATAL: Remote call on ops-1-jenkins-android-10-186.fam.io failed
java.io.IOException: Remote call on ops-1-jenkins-android-10-186.fam.io failed
    at hudson.remoting.Channel.call(Channel.java:748)
    at hudson.Launcher$RemoteLauncher.kill(Launcher.java:940)
    at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:556)
    at hudson.model.Run.execute(Run.java:1745)
    at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
    at hudson.model.ResourceController.execute(ResourceController.java:89)
    at hudson.model.Executor.run(Executor.java:240)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class hudson.slaves.SlaveComputer
    at hudson.util.ProcessTree.getKillers(ProcessTree.java:151)
    at hudson.util.ProcessTree$OSProcess.killByKiller(ProcessTree.java:212)
    at hudson.util.ProcessTree$UnixProcess.kill(ProcessTree.java:557)
    at hudson.util.ProcessTree$UnixProcess.killRecursively(ProcessTree.java:564)
    at hudson.util.ProcessTree$Unix.killAll(ProcessTree.java:488)
    at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:952)
    at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:943)
    at hudson.remoting.UserRequest.perform(UserRequest.java:118)
    at hudson.remoting.UserRequest.perform(UserRequest.java:48)
    at hudson.remoting.Request$2.run(Request.java:328)
    at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at hudson.remoting.Engine$1$1.run(Engine.java:63)
at java.lang.Thread.run(Thread.java:701)

2 个答案:

答案 0 :(得分:4)

谢谢Lovato

在我更新了所有插件和jenkins后,工作得很好。

答案 1 :(得分:1)

我们收到此错误:致命错误:java.io.IOException:pm_jenprodslave_1上的远程调用失败。我们发现从服务器没有响应,必须重新启动它。一旦它回来,构建再次工作。

相关问题