构建程序成功后,来自 xxx.xxx.xxx.xxx 的 Jenkins JNLP4-connect 连接失败

use*_*288 6 continuous-integration cd jenkins jenkins-plugins

在所有构建过程都完成且没有任何错误后,我失败了。

而且我不知道为什么会发生以下错误。

即使所有测试都成功完成,此错误已将作业的状态标记为失败。致命:从 socautovm1.xxx.local/192.168.114.144:65033 远程调用 JNLP4 连接失败另外:hudson.remoting.Channel$CallSiteStackTrace:从 socautovm1.xxx.local/192.168.11:65033 远程调用 JNLP4 连接连接65033

at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1741)
        at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
        at hudson.remoting.Channel.call(Channel.java:955)
        at hudson.Launcher$RemoteLauncher.kill(Launcher.java:1078)
        at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:510)
        at hudson.model.Run.execute(Run.java:1815)
        at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
        at hudson.model.ResourceController.execute(ResourceController.java:97)
        at hudson.model.Executor.run(Executor.java:429)
java.lang.NoClassDefFoundError: Could not initialize class hudson.slaves.SlaveComputer
    at hudson.util.ProcessTree.get(ProcessTree.java:399)
    at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:1090)
    at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:1081)
    at hudson.remoting.UserRequest.perform(UserRequest.java:212)
    at hudson.remoting.UserRequest.perform(UserRequest.java:54)
    at hudson.remoting.Request$2.run(Request.java:369)
    at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:93)
    at java.lang.Thread.run(Unknown Source)
Caused: java.io.IOException: Remote call on JNLP4-connect connection from socautovm1.xxx.local/192.168.114.144:65033 failed
    at hudson.remoting.Channel.call(Channel.java:961)
    at hudson.Launcher$RemoteLauncher.kill(Launcher.java:1078)
    at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:510)
    at hudson.model.Run.execute(Run.java:1815)
    at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
    at hudson.model.ResourceController.execute(ResourceController.java:97)
    at hudson.model.Executor.run(Executor.java:429)
Run Code Online (Sandbox Code Playgroud)

小智 1

好像代理挂了 检查作业在哪个节点运行并检查其状态。如果当前状态为离线,您可能需要重新启动节点,甚至释放一些空间才能使其重新上线。