Hello, we have a problem when running a specific job on every agent. In some cases, it is very random, we get:
09:21:18 agent seems to be removed or offline (java.lang.InterruptedException); will wait for 5 min 0 sec for it to come back online
09:21:19 agent is back online
09:21:39 agent seems to be removed or offline (java.lang.InterruptedException); will wait for 5 min 0 sec for it to come back online
09:21:39 agent is back online
And this log continues until the agent is restarted. When it happens no other jobs can be executed on the agent even if it has free executors. The agent runs on Jenkins version 2.516.2 and it is connected to the controller via the swarm plugin.