| Eugene Chepurniy this issue is not related at all to the trace you attach, please open a new issue with those details if the problem still persists. The problem seems a timeout between the Jenkins instance and the Agent, these could be the root causes:
- Network issue between Jenkins instance and Agent, if both are in different networks check with your IT Team that there are no issues
- The Jenkins instance has a heavy load then the agent lost connections with it.
- The Agent has a heavy load then the Jenkins instance lost connections with it.
- The Agent process die (slave.jar) check the latest build logs on that Agent, and Agent logs, if you do not have Agent logs check https://github.com/jenkinsci/remoting/blob/master/docs/workDir.md to enable them
- An OOM error on the agent, check that there are no hs_err_pid files on the workdir of the Agent, if you Agents has low memory try to pass -Xmx256m and -Xms256m parameters to the Agent JVM options to fix the memory, 128MB/256MB used to be enough to and Agent with 10 executors.
- Check the Agent syslog and kernel log for network issue or another kind of performance issues.
In any case without the logs on the Agent side, it is complicated to know what happens. |