Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-72926

SSH disconnects unless I remove slave_setup.ini

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • 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

            Unassigned Unassigned
            mikeycarter Michael Carter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: