我们正在运行Jenkins主/从设置,大多数作业运行稳定。 不幸的是,有一项工作正在返回错误;
错误:为代理创建启动器时出现问题。代理人有 尚未完全初始化。
这是因为奴隶没有被占用并被主人终止(我的假设)。我们需要考虑什么才能解决这个问题?
JNLP agent connected from ip.eu-central-1.compute.internal
Remoting version: 3.19
This is a Unix agent
Agent successfully connected and online
ERROR: Connection terminated
java.nio.channels.ClosedChannelException
at org.jenkinsci.remoting.protocol.NetworkLayer.onRecvClosed(NetworkLayer.java:154)
at org.jenkinsci.remoting.protocol.impl.NIONetworkLayer.ready(NIONetworkLayer.java:142)
at org.jenkinsci.remoting.protocol.IOHub$OnReady.run(IOHub.java:789)
at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
JNLP agent connected from ip.eu-central-1.compute.internal
Remoting version: 3.19
This is a Unix agent