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

 话说的爱 发布于 2022-12-18 19:54

我有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)

Douglas Ferg.. 5

谢谢洛瓦托!

更新所有插件和詹金斯后,一切正常。

1 个回答
  • 谢谢洛瓦托!

    更新所有插件和詹金斯后,一切正常。

    2022-12-18 19:57 回答
撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有