-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Minor
-
Component/s: slave-setup-plugin
-
None
Mostly just recording this in case anyone else has similar issues.
Symptom:
Closing SSH Session to: xxx FATAL: Failed to launch Agent Closing SSH Connection to FATAL: SSH Agent launch failed on: user@xxx:22 ERROR: Unexpected error in launching an agent. This is probably a bug in Jenkins Also: Â hudson.remoting.Channel$CallSiteStackTrace: Remote call to system-tasks-xxx-30fd0b5e-4d02-4502-8668-79ed7c5c5ad8 Â Â Â Â at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1787) Â Â Â Â at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356) Â Â Â Â at hudson.remoting.Channel.call(Channel.java:1003) Â Â Â Â at hudson.FilePath.act(FilePath.java:1230) Â Â Â Â at hudson.FilePath.act(FilePath.java:1219) Â Â Â Â at hudson.FilePath.readToString(FilePath.java:2493) Â Â Â Â at org.jenkinsci.plugins.slave_setup.Components.createConfigStream(Components.java:356) Â Â Â Â at org.jenkinsci.plugins.slave_setup.Components.Initialize(Components.java:68) Â Â Â Â at org.jenkinsci.plugins.slave_setup.Components.<init>(Components.java:55) Â Â Â Â at org.jenkinsci.plugins.slave_setup.ComputerListenerImpl.preOnline(ComputerListenerImpl.java:42) Â Â Â Â at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:720) Â Â Â Â at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:441) Â Â Â Â at com.oracle.cloud.baremetal.jenkins.ssh.SshComputerLauncher.launchAgent(SshComputerLauncher.java:308) Â Â Â Â at com.oracle.cloud.baremetal.jenkins.ssh.SshComputerLauncher.launch(SshComputerLauncher.java:118) Â Â Â Â at hudson.slaves.SlaveComputer.lambda$_connect$0(SlaveComputer.java:297) Â Â Â Â at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46) Â Â Â Â at jenkins.security.ImpersonatingExecutorService$2.call(ImpersonatingExecutorService.java:80) Â
Workaround:
remove slave_setup.ini
Versions:
Jenkins: 2.440.1
slave-setup: 1.16