We are running into a strange issue where the linux slaves would disconnect intermittently (happening at least once a day) with the below error:
{code} Slave JVM has terminated. Exit code=0 ERROR: [09/11/17 08:00:37] [SSH] Error deleting file. ha:////4BJzQ5KK22T5KWhPnJrxKFXkoZSAiG2JwcOgVPNHFspbAAAAVx+LCAAAAAAAAP9b85aBtbiIQSmjNKU4P08vOT+vOD8nVc8DzHWtSE4tKMnMz /PLL0mV3NWzufebKBsTA0NFEYMUmgZnCA1SyAABjCCFBQC2xNaiYAAAAA==com.trilead.ssh2.SFTPException: No such file (SSH_FX_NO_SUCH_FILE: A reference was made to a file which does not exist.) at com.trilead.ssh2.SFTPv3Client.expectStatusOKMessage(SFTPv3Client.java:555) at com.trilead.ssh2.SFTPv3Client.rm(SFTPv3Client.java:973) at hudson.plugins.sshslaves.SSHLauncher$3.run(SSHLauncher.java:1255) at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) [09/11/17 08:00:37] [SSH] Connection closed. {code}
Jenkins version = 2.60.3 SSH Slave Plugin = 1.11 JDK = 1.8 Master OS = CentOS 6 Slave OS = CentOS 7