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

CLONE - InvalidClassException for SSHAuthenticator$1 when doing a git clone on an Linux Z series, Linux P series, and Linux P LE series slaves

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • ssh-credentials-plugin
    • None

    Description

      Attempting to clone a git repo at the start of a build on an Linux Z, P, and PLE slaves.
      This exception was triggered:

      ERROR: Error cloning remote repo 'origin'
      hudson.plugins.git.GitException: org.eclipse.jgit.api.errors.TransportException: git@<<host>>:<<org/user>>/<<repo>>.git: Failed to connect
       	at org.jenkinsci.plugins.gitclient.JGitAPIImpl$5.execute(JGitAPIImpl.java:1342)
       	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:152)
       	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:145)
       	at hudson.remoting.UserRequest.perform(UserRequest.java:153)
       	at hudson.remoting.UserRequest.perform(UserRequest.java:50)
       	at hudson.remoting.Request$2.run(Request.java:332)
       	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
       	at java.util.concurrent.FutureTask.run(FutureTask.java:273)
       	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1156)
       	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:626)
       	at java.lang.Thread.run(Thread.java:804)
       	at ......remote call to cxp01006(Native Method)
       	at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1433)
       	at hudson.remoting.UserResponse.retrieve(UserRequest.java:253)
       	at hudson.remoting.Channel.call(Channel.java:797)
       	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:145)
       	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
       	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       	at java.lang.reflect.Method.invoke(Method.java:606)
       	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:131)
       	at com.sun.proxy.$Proxy79.execute(Unknown Source)
       	at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1042)
       	at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1082)
       	at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:109)
       	at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:83)
       	at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:73)
       	at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:52)
       	at hudson.security.ACL.impersonate(ACL.java:221)
       	at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:49)
       	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
       	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
       	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
       	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
       	at java.lang.Thread.run(Thread.java:745)
       Caused by: org.eclipse.jgit.api.errors.TransportException: git@<<host>>:<<org/user>>/<<repo>>.git: Failed to connect
       	at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:135)
       	at org.jenkinsci.plugins.gitclient.JGitAPIImpl$5.execute(JGitAPIImpl.java:1334)
       	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:152)
       	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:145)
       	at hudson.remoting.UserRequest.perform(UserRequest.java:153)
       	at hudson.remoting.UserRequest.perform(UserRequest.java:50)
       	at hudson.remoting.Request$2.run(Request.java:332)
       	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
       	at java.util.concurrent.FutureTask.run(FutureTask.java:273)
       	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1156)
       	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:626)
       	at java.lang.Thread.run(Thread.java:804)
       Caused by: org.eclipse.jgit.errors.TransportException: git@<<host>>:<<org/user>>/<<repo>>.git: Failed to connect
       	at org.jenkinsci.plugins.gitclient.trilead.TrileadSessionFactory.getSession(TrileadSessionFactory.java:52)
       	at org.eclipse.jgit.transport.SshTransport.getSession(SshTransport.java:137)
       	at org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(TransportGitSsh.java:264)
       	at org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:162)
       	at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:136)
       	at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122)
       	at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1201)
       	at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:128)
       	... 11 more
       Caused by: java.io.InvalidClassException: com.cloudbees.jenkins.plugins.sshcredentials.SSHAuthenticator$1; local class incompatible: stream classdesc serialVersionUID = -433939568866278210, local class serialVersionUID = -3620413587770635304
       	at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:612)
       	at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1622)
       	at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1517)
       	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771)
       	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)
       	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
       	at hudson.remoting.UserRequest.deserialize(UserRequest.java:217)
       	at hudson.remoting.UserRequest.perform(UserRequest.java:131)
       	at hudson.remoting.UserRequest.perform(UserRequest.java:50)
       	at hudson.remoting.Request$2.run(Request.java:332)
       	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
       	at org.jenkinsci.remoting.CallableDecorator.call(CallableDecorator.java:18)
       	at hudson.remoting.CallableDecoratorList$1.call(CallableDecoratorList.java:21)
       	at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
       	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
       	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
       	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
       	at java.lang.Thread.run(Thread.java:745)
       	at ......remote call to channel(Native Method)
       	at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1433)
       	at hudson.remoting.UserResponse.retrieve(UserRequest.java:253)
       	at hudson.remoting.Channel.call(Channel.java:797)
       	at com.cloudbees.jenkins.plugins.sshcredentials.SSHAuthenticator.newInstance(SSHAuthenticator.java:201)
       	at org.jenkinsci.plugins.gitclient.trilead.TrileadSessionFactory.getSession(TrileadSessionFactory.java:38)
       	... 18 more
      

      Original Defect's exception stack

      FATAL: Failed to fetch from ssh://<gitid>@<githost>/<gitrepo>.git
      hudson.plugins.git.GitException: Failed to fetch from ssh://<gitid>@<githost>/<gitrepo>.git
         at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:623)
         at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:855)
         at hudson.plugins.git.GitSCM.checkout(GitSCM.java:880)
         at hudson.model.AbstractProject.checkout(AbstractProject.java:1411)
         at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652)
         at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
         at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:561)
         at hudson.model.Run.execute(Run.java:1665)
         at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
         at hudson.model.ResourceController.execute(ResourceController.java:88)
         at hudson.model.Executor.run(Executor.java:246)
      Caused by: hudson.plugins.git.GitException: org.eclipse.jgit.api.errors.TransportException: ssh://<gitid>@<githost>/<gitrepo>.git: Failed to connect
         at org.jenkinsci.plugins.gitclient.JGitAPIImpl$2.execute(JGitAPIImpl.java:460)
         at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
         at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
         at hudson.remoting.UserRequest.perform(UserRequest.java:118)
         at hudson.remoting.UserRequest.perform(UserRequest.java:48)
         at hudson.remoting.Request$2.run(Request.java:328)
         at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:345)
         at java.util.concurrent.FutureTask.run(FutureTask.java:177)
         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614)
         at java.lang.Thread.run(Thread.java:769)
      Caused by: org.eclipse.jgit.api.errors.TransportException: ssh://<gitid>@<githost>/<gitrepo>.git: Failed to connect
         at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:139)
         at org.jenkinsci.plugins.gitclient.JGitAPIImpl$2.execute(JGitAPIImpl.java:458)
         ... 11 more
      Caused by: org.eclipse.jgit.errors.TransportException: ssh://<gitid>@<githost>/<gitrepo>.git: Failed to connect
         at org.jenkinsci.plugins.gitclient.trilead.TrileadSessionFactory.getSession(TrileadSessionFactory.java:53)
         at org.eclipse.jgit.transport.SshTransport.getSession(SshTransport.java:121)
         at org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(TransportGitSsh.java:248)
         at org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:147)
         at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:136)
         at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122)
         at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1111)
         at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:130)
         ... 12 more
      Caused by: java.io.InvalidClassException: com.cloudbees.jenkins.plugins.sshcredentials.SSHAuthenticator$1; local class incompatible: stream classdesc serialVersionUID = 4226456448964168241, local class serialVersionUID = 8217644684038495097
          at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:604)
          at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1620)
          at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1515)
          at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1769)
          at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348)
          at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
          at hudson.remoting.UserRequest.deserialize(UserRequest.java:182)
          at hudson.remoting.UserRequest.perform(UserRequest.java:98)
          at hudson.remoting.UserRequest.perform(UserRequest.java:48)
          at hudson.remoting.Request$2.run(Request.java:328)
          at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
          at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
          at java.util.concurrent.FutureTask.run(FutureTask.java:166)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
          at java.lang.Thread.run(Thread.java:722)
      

      Attachments

        Issue Links

          Activity

            ksmith1874 Kevin Smith created issue -
            ksmith1874 Kevin Smith made changes -
            Field Original Value New Value
            Environment AIX 6.1 (6100-05-06-1119)
            ----
            java version "1.7.0"
            Java(TM) SE Runtime Environment (build pap6470-20110827_01)
            IBM J9 VM (build 2.6, JRE 1.7.0 AIX ppc64-64 20110810_88604 (JIT enabled, AOT enabled)
            J9VM - R26_Java726_GA_20110810_1208_B88592
            JIT - r11_20110810_20466
            GC - R26_Java726_GA_20110810_1208_B88592
            J9CL - 20110810_88604)
            JCL - 20110809_01 based on Oracle 7b147
            ----
            Jenkins ver. 1.532.3
            SSH Credentials Plugin 1.6.1
            Jenkins GIT client plugin 1.9.1
            *********************
            Linux 2.6.18-128.el5 #1 SMP Wed Dec 17 11:45:02 EST 2008 s390x s390x s390x GNU/Linux
            ---- IBM java
            java version "1.7.0"
            Java(TM) SE Runtime Environment (build pxz6470_27-20131115_04)
            IBM J9 VM (build 2.7, JRE 1.7.0 Linux s390x-64 Compressed References 20131114_175264 (JIT enabled, AOT enabled)
            J9VM - R27_Java727_GA_20131114_0833_B175264
            JIT - tr.r13.java_20131113_50523
            GC - R27_Java727_GA_20131114_0833_B175264_CMPRSS
            J9CL - 20131114_175264)
            JCL - 20131113_01 based on Oracle 7u45-b18


            ********************
            Linux 3.10.0-229.ael7b.ppc64le #1 SMP Fri Jan 30 12:03:50 EST 2015 ppc64le ppc64le ppc64le GNU/Linux
            ---- IBM java
            java version "1.7.0"
            Java(TM) SE Runtime Environment (build pxl6470_27sr3fp1-20150605_01(SR3 FP1))
            IBM J9 VM (build 2.7, JRE 1.7.0 Linux ppc64le-64 Compressed References 20150407_243189 (JIT enabled, AOT enabled)
            J9VM - R27_Java727_SR3_20150407_1831_B243189
            JIT - tr.r13.java_20150406_89182
            GC - R27_Java727_SR3_20150407_1831_B243189_CMPRSS
            J9CL - 20150407_243189)
            JCL - 20150601_01 based on Oracle 7u79-b14


            ********************
            Linux 2.6.32-279.el6.ppc64 #1 SMP Wed Jun 13 18:19:27 EDT 2012 ppc64 ppc64 ppc64 GNU/Linux
            ---- IBM java
            java version "1.7.0"
            Java(TM) SE Runtime Environment (build pxp6470_27-20131115_04)
            IBM J9 VM (build 2.7, JRE 1.7.0 Linux ppc64-64 Compressed References 20131114_175264 (JIT enabled, AOT enabled)
            J9VM - R27_Java727_GA_20131114_0833_B175264
            JIT - tr.r13.java_20131113_50523
            GC - R27_Java727_GA_20131114_0833_B175264_CMPRSS
            J9CL - 20131114_175264)
            JCL - 20131113_01 based on Oracle 7u45-b18



            ----
            Jenkins ver. 2.19
            SSH Credentials Plugin 1.12
            Jenkins GIT client plugin 2.1.0
            ksmith1874 Kevin Smith made changes -
            Description Attempting to clone a git repo at the start of a build on an AIX slave.
            This exception was triggered:

            {noformat}
            FATAL: Failed to fetch from ssh://&lt;gitid&gt;@&lt;githost&gt;/&lt;gitrepo&gt;.git
            hudson.plugins.git.GitException: Failed to fetch from ssh://&lt;gitid&gt;@&lt;githost&gt;/&lt;gitrepo&gt;.git
               at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:623)
               at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:855)
               at hudson.plugins.git.GitSCM.checkout(GitSCM.java:880)
               at hudson.model.AbstractProject.checkout(AbstractProject.java:1411)
               at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652)
               at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
               at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:561)
               at hudson.model.Run.execute(Run.java:1665)
               at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
               at hudson.model.ResourceController.execute(ResourceController.java:88)
               at hudson.model.Executor.run(Executor.java:246)
            Caused by: hudson.plugins.git.GitException: org.eclipse.jgit.api.errors.TransportException: ssh://&lt;gitid&gt;@&lt;githost&gt;/&lt;gitrepo&gt;.git: Failed to connect
               at org.jenkinsci.plugins.gitclient.JGitAPIImpl$2.execute(JGitAPIImpl.java:460)
               at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
               at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
               at hudson.remoting.UserRequest.perform(UserRequest.java:118)
               at hudson.remoting.UserRequest.perform(UserRequest.java:48)
               at hudson.remoting.Request$2.run(Request.java:328)
               at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
               at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:345)
               at java.util.concurrent.FutureTask.run(FutureTask.java:177)
               at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
               at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614)
               at java.lang.Thread.run(Thread.java:769)
            Caused by: org.eclipse.jgit.api.errors.TransportException: ssh://&lt;gitid&gt;@&lt;githost&gt;/&lt;gitrepo&gt;.git: Failed to connect
               at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:139)
               at org.jenkinsci.plugins.gitclient.JGitAPIImpl$2.execute(JGitAPIImpl.java:458)
               ... 11 more
            Caused by: org.eclipse.jgit.errors.TransportException: ssh://&lt;gitid&gt;@&lt;githost&gt;/&lt;gitrepo&gt;.git: Failed to connect
               at org.jenkinsci.plugins.gitclient.trilead.TrileadSessionFactory.getSession(TrileadSessionFactory.java:53)
               at org.eclipse.jgit.transport.SshTransport.getSession(SshTransport.java:121)
               at org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(TransportGitSsh.java:248)
               at org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:147)
               at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:136)
               at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122)
               at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1111)
               at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:130)
               ... 12 more
            Caused by: java.io.InvalidClassException: com.cloudbees.jenkins.plugins.sshcredentials.SSHAuthenticator$1; local class incompatible: stream classdesc serialVersionUID = 4226456448964168241, local class serialVersionUID = 8217644684038495097
                at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:604)
                at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1620)
                at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1515)
                at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1769)
                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348)
                at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
                at hudson.remoting.UserRequest.deserialize(UserRequest.java:182)
                at hudson.remoting.UserRequest.perform(UserRequest.java:98)
                at hudson.remoting.UserRequest.perform(UserRequest.java:48)
                at hudson.remoting.Request$2.run(Request.java:328)
                at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
                at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
                at java.util.concurrent.FutureTask.run(FutureTask.java:166)
                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
                at java.lang.Thread.run(Thread.java:722)
            {noformat}
            Attempting to clone a git repo at the start of a build on an Linux Z, P, and PLE slaves.
            This exception was triggered:


            {noformat}
            ERROR: Error cloning remote repo 'origin'
            hudson.plugins.git.GitException: org.eclipse.jgit.api.errors.TransportException: git@<<host>>:<<org/user>>/<<repo>>.git: Failed to connect
              at org.jenkinsci.plugins.gitclient.JGitAPIImpl$5.execute(JGitAPIImpl.java:1342)
              at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:152)
              at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:145)
              at hudson.remoting.UserRequest.perform(UserRequest.java:153)
              at hudson.remoting.UserRequest.perform(UserRequest.java:50)
              at hudson.remoting.Request$2.run(Request.java:332)
              at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
              at java.util.concurrent.FutureTask.run(FutureTask.java:273)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1156)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:626)
              at java.lang.Thread.run(Thread.java:804)
              at ......remote call to cxp01006(Native Method)
              at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1433)
              at hudson.remoting.UserResponse.retrieve(UserRequest.java:253)
              at hudson.remoting.Channel.call(Channel.java:797)
              at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:145)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:606)
              at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:131)
              at com.sun.proxy.$Proxy79.execute(Unknown Source)
              at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1042)
              at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1082)
              at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:109)
              at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:83)
              at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:73)
              at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:52)
              at hudson.security.ACL.impersonate(ACL.java:221)
              at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:49)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
              at java.util.concurrent.FutureTask.run(FutureTask.java:262)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at java.lang.Thread.run(Thread.java:745)
             Caused by: org.eclipse.jgit.api.errors.TransportException: git@<<host>>:<<org/user>>/<<repo>>.git: Failed to connect
              at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:135)
              at org.jenkinsci.plugins.gitclient.JGitAPIImpl$5.execute(JGitAPIImpl.java:1334)
              at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:152)
              at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:145)
              at hudson.remoting.UserRequest.perform(UserRequest.java:153)
              at hudson.remoting.UserRequest.perform(UserRequest.java:50)
              at hudson.remoting.Request$2.run(Request.java:332)
              at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
              at java.util.concurrent.FutureTask.run(FutureTask.java:273)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1156)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:626)
              at java.lang.Thread.run(Thread.java:804)
             Caused by: org.eclipse.jgit.errors.TransportException: git@<<host>>:<<org/user>>/<<repo>>.git: Failed to connect
              at org.jenkinsci.plugins.gitclient.trilead.TrileadSessionFactory.getSession(TrileadSessionFactory.java:52)
              at org.eclipse.jgit.transport.SshTransport.getSession(SshTransport.java:137)
              at org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(TransportGitSsh.java:264)
              at org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:162)
              at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:136)
              at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122)
              at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1201)
              at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:128)
              ... 11 more
             Caused by: java.io.InvalidClassException: com.cloudbees.jenkins.plugins.sshcredentials.SSHAuthenticator$1; local class incompatible: stream classdesc serialVersionUID = -433939568866278210, local class serialVersionUID = -3620413587770635304
              at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:612)
              at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1622)
              at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1517)
              at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771)
              at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)
              at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
              at hudson.remoting.UserRequest.deserialize(UserRequest.java:217)
              at hudson.remoting.UserRequest.perform(UserRequest.java:131)
              at hudson.remoting.UserRequest.perform(UserRequest.java:50)
              at hudson.remoting.Request$2.run(Request.java:332)
              at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
              at org.jenkinsci.remoting.CallableDecorator.call(CallableDecorator.java:18)
              at hudson.remoting.CallableDecoratorList$1.call(CallableDecoratorList.java:21)
              at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
              at java.util.concurrent.FutureTask.run(FutureTask.java:262)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at java.lang.Thread.run(Thread.java:745)
              at ......remote call to channel(Native Method)
              at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1433)
              at hudson.remoting.UserResponse.retrieve(UserRequest.java:253)
              at hudson.remoting.Channel.call(Channel.java:797)
              at com.cloudbees.jenkins.plugins.sshcredentials.SSHAuthenticator.newInstance(SSHAuthenticator.java:201)
              at org.jenkinsci.plugins.gitclient.trilead.TrileadSessionFactory.getSession(TrileadSessionFactory.java:38)
              ... 18 more
            {noformat}



            Original Defect's exception stack
            {noformat}
            FATAL: Failed to fetch from ssh://&lt;gitid&gt;@&lt;githost&gt;/&lt;gitrepo&gt;.git
            hudson.plugins.git.GitException: Failed to fetch from ssh://&lt;gitid&gt;@&lt;githost&gt;/&lt;gitrepo&gt;.git
               at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:623)
               at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:855)
               at hudson.plugins.git.GitSCM.checkout(GitSCM.java:880)
               at hudson.model.AbstractProject.checkout(AbstractProject.java:1411)
               at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652)
               at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
               at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:561)
               at hudson.model.Run.execute(Run.java:1665)
               at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
               at hudson.model.ResourceController.execute(ResourceController.java:88)
               at hudson.model.Executor.run(Executor.java:246)
            Caused by: hudson.plugins.git.GitException: org.eclipse.jgit.api.errors.TransportException: ssh://&lt;gitid&gt;@&lt;githost&gt;/&lt;gitrepo&gt;.git: Failed to connect
               at org.jenkinsci.plugins.gitclient.JGitAPIImpl$2.execute(JGitAPIImpl.java:460)
               at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
               at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
               at hudson.remoting.UserRequest.perform(UserRequest.java:118)
               at hudson.remoting.UserRequest.perform(UserRequest.java:48)
               at hudson.remoting.Request$2.run(Request.java:328)
               at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
               at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:345)
               at java.util.concurrent.FutureTask.run(FutureTask.java:177)
               at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
               at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614)
               at java.lang.Thread.run(Thread.java:769)
            Caused by: org.eclipse.jgit.api.errors.TransportException: ssh://&lt;gitid&gt;@&lt;githost&gt;/&lt;gitrepo&gt;.git: Failed to connect
               at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:139)
               at org.jenkinsci.plugins.gitclient.JGitAPIImpl$2.execute(JGitAPIImpl.java:458)
               ... 11 more
            Caused by: org.eclipse.jgit.errors.TransportException: ssh://&lt;gitid&gt;@&lt;githost&gt;/&lt;gitrepo&gt;.git: Failed to connect
               at org.jenkinsci.plugins.gitclient.trilead.TrileadSessionFactory.getSession(TrileadSessionFactory.java:53)
               at org.eclipse.jgit.transport.SshTransport.getSession(SshTransport.java:121)
               at org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(TransportGitSsh.java:248)
               at org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:147)
               at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:136)
               at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122)
               at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1111)
               at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:130)
               ... 12 more
            Caused by: java.io.InvalidClassException: com.cloudbees.jenkins.plugins.sshcredentials.SSHAuthenticator$1; local class incompatible: stream classdesc serialVersionUID = 4226456448964168241, local class serialVersionUID = 8217644684038495097
                at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:604)
                at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1620)
                at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1515)
                at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1769)
                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348)
                at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
                at hudson.remoting.UserRequest.deserialize(UserRequest.java:182)
                at hudson.remoting.UserRequest.perform(UserRequest.java:98)
                at hudson.remoting.UserRequest.perform(UserRequest.java:48)
                at hudson.remoting.Request$2.run(Request.java:328)
                at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
                at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
                at java.util.concurrent.FutureTask.run(FutureTask.java:166)
                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
                at java.lang.Thread.run(Thread.java:722)
            {noformat}
            stephenconnolly Stephen Connolly made changes -
            Component/s git-plugin [ 15543 ]
            Component/s ssh-credentials-plugin [ 17424 ]
            ksmith1874 Kevin Smith made changes -
            Component/s ssh-credentials-plugin [ 17424 ]
            Component/s git-plugin [ 15543 ]
            ksmith1874 Kevin Smith made changes -
            Link This issue relates to JENKINS-23511 [ JENKINS-23511 ]
            ksmith1874 Kevin Smith made changes -
            Assignee Nicolas De Loof [ ndeloof ] Kevin Smith [ ksmith1874 ]
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            stephenconnolly Stephen Connolly made changes -
            Status Resolved [ 5 ] Closed [ 6 ]

            People

              ksmith1874 Kevin Smith
              ksmith1874 Kevin Smith
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: