hudson.util.IOException2: [ssh-agent] Unable to start agent

Jenkins JIRA | Allan BURDAJEWICZ | 8 months ago
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    h3. Issue Running Jenkins on PowerPC (ppc64le), when trying to use SSH-Agent we are getting below error: {code} [ssh-agent] Caused by: java.lang.UnsatisfiedLinkError: could not locate stub library in jar file. Tried [jni/unknown-Linux/, /jni/unknown-Linux/] [ssh-agent] at com.kenai.jffi.internal.StubLoader.getStubLibraryStream( [ssh-agent] at com.kenai.jffi.internal.StubLoader.loadFromJar( [ssh-agent] at com.kenai.jffi.internal.StubLoader.load( [ssh-agent] at com.kenai.jffi.internal.StubLoader.<clinit>( [ssh-agent] at java.lang.Class.forName0(Native Method) [ssh-agent] at java.lang.Class.forName( [ssh-agent] at com.kenai.jffi.Init.load( [ssh-agent] at com.kenai.jffi.Foreign$InstanceHolder.getInstanceHolder( [ssh-agent] at com.kenai.jffi.Foreign$InstanceHolder.<clinit>( [ssh-agent] ... 38 more FATAL: [ssh-agent] Unable to start agent hudson.util.IOException2: [ssh-agent] Unable to start agent at com.cloudbees.jenkins.plugins.sshagent.SSHAgentBuildWrapper.createSSHAgentEnvironment( at com.cloudbees.jenkins.plugins.sshagent.SSHAgentBuildWrapper.preCheckout( at jenkins.scm.SCMCheckoutStrategy.preCheckout( at hudson.model.AbstractBuild$ at hudson.model.Run.execute( at at hudson.model.ResourceController.execute( at Caused by: java.lang.RuntimeException: [ssh-agent] Could not find a suitable ssh-agent provider. at com.cloudbees.jenkins.plugins.sshagent.SSHAgentBuildWrapper$SSHAgentEnvironment.<init>( at com.cloudbees.jenkins.plugins.sshagent.SSHAgentBuildWrapper.createSSHAgentEnvironment( {code} h3. Resolution It looks like version 2.0.3+ of _jnr-iff_ is where _ppc64le_ adds compatibility: * So compatibility could be provided by upgrading the following dependencies: * *

    Jenkins JIRA | 8 months ago | Allan BURDAJEWICZ
    hudson.util.IOException2: [ssh-agent] Unable to start agent
  2. 0

    [JIRA] [ssh-agent-plugin] (JENKINS-28279) Could not find a suitable ssh-agent provider.

    Google Groups | 2 years ago | (JIRA)
    hudson.util.IOException2: [ssh-agent] Unable to start agent
  3. 0

    [JIRA] [ssh-agent-plugin] (JENKINS-35336) SSH agent not starting because file not created

    Google Groups | 11 months ago | (JIRA)
    hudson.util.IOException2: <span class="error">[ssh-agent]</span> Unable to start agent<br />
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.RuntimeException

      [ssh-agent] Could not find a suitable ssh-agent provider.

      at com.cloudbees.jenkins.plugins.sshagent.SSHAgentBuildWrapper$SSHAgentEnvironment.<init>()
    2. com.cloudbees.jenkins
      1. com.cloudbees.jenkins.plugins.sshagent.SSHAgentBuildWrapper$SSHAgentEnvironment.<init>(
      2. com.cloudbees.jenkins.plugins.sshagent.SSHAgentBuildWrapper.createSSHAgentEnvironment(
      2 frames