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

ERROR: Error cloning remote repo 'origin' hudson.plugins.git.GitException

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • git-plugin
    • Windows 10, 64 bit.
      Java JDK- 1.8.131
      Jenkins 2.77
      Git - 2.12.2

       

      Error Details

      03:25:43 Using the ‘stage’ step without a block argument is deprecated
      03:25:43 Entering stage Checkout
      03:25:43 Proceeding
      [Pipeline] checkout
      03:25:44 Cloning the remote Git repository
      03:25:44 Cloning repository https://gitlab.one.com/two/dule-xaml
      03:25:44 > C:\Program Files\Git\bin\git.exe init C:\workspace\test\dule-xaml # timeout=10
      03:25:44 Fetching upstream changes from https://gitlab.one.com/two/dule-xaml
      03:25:44 > C:\Program Files\Git\bin\git.exe --version # timeout=10
      03:25:44 using GIT_ASKPASS to set credentials
      03:25:44 > C:\Program Files\Git\bin\git.exe fetch --tags --progress https://gitlab.one.com/two/dule-xaml +refs/heads/:refs/remotes/origin/
      03:35:44 ERROR: Timeout after 10 minutes
      03:35:54
      ERROR: Error cloning remote repo 'origin'
      03:35:54 hudson.plugins.git.GitException: Command "C:\Program Files\Git\bin\git.exe fetch --tags --progress https://gitlab.one.com/two/dule-xaml +refs/heads/:refs/remotes/origin/" returned status code -1:
      03:35:54 stdout:
      03:35:54 stderr: warning: redirecting to https://gitlab.one.com/two/dule-xaml.git/
      03:35:54 remote: Counting objects: 21404, done.
      03:35:54 remote: Compressing objects: 0% (1/9163)
      remote: Compressing objects: 1% (92/9163)
      ...........................................................................
      remote: Compressing objects: 99% (9072/9163)
      remote: Compressing objects: 100% (9163/9163)
      remote: Compressing objects: 100% (9163/9163), done.
      03:35:54 Receiving objects: 0% (1/21404)
      Receiving objects: 1% (215/21404)
      Receiving objects: 2% (429/21404), 76.00 KiB | 121.00 KiB/s
      Receiving objects: 2% (444/21404), 108.00 KiB | 68.00 KiB/s
      ...........................................................................
      ...........................................................................
      Receiving objects: 99% (21298/21404), 65.97 MiB | 181.00 KiB/s
      Receiving objects: 99% (21298/21404), 66.09 MiB | 157.00 KiB/s
      Receiving objects: 99% (21298/21404), 66.10 MiB | 132.00 KiB/s
      03:35:54 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1793)
      03:35:54 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1519)
      03:35:54 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:64)
      03:35:54 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:315)
      03:35:54 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:512)
      03:35:54 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
      03:35:54 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
      03:35:54 at hudson.remoting.UserRequest.perform(UserRequest.java:205)
      03:35:54 at hudson.remoting.UserRequest.perform(UserRequest.java:52)
      03:35:54 at hudson.remoting.Request$2.run(Request.java:356)
      03:35:54 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
      03:35:54 at java.util.concurrent.FutureTask.run(Unknown Source)
      03:35:54 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      03:35:54 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      03:35:54 at hudson.remoting.Engine$1$1.run(Engine.java:98)
      03:35:54 at java.lang.Thread.run(Unknown Source)
      03:35:54 at ......remote call to JNLP4-connect connection from 10.17.11.8/10.17.11.8:43787(Native Method)
      03:35:54 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1647)
      03:35:54 at hudson.remoting.UserResponse.retrieve(UserRequest.java:308)
      03:35:54 at hudson.remoting.Channel.call(Channel.java:896)
      03:35:54 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
      03:35:54 at sun.reflect.GeneratedMethodAccessor881.invoke(Unknown Source)
      03:35:54 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      03:35:54 at java.lang.reflect.Method.invoke(Method.java:498)
      03:35:54 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132)
      03:35:54 at com.sun.proxy.$Proxy110.execute(Unknown Source)
      03:35:54 at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1057)
      03:35:54 at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1097)
      03:35:54 at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:109)
      03:35:54 at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:83)
      03:35:54 at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:73)
      03:35:54 at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:47)
      03:35:54 at hudson.security.ACL.impersonate(ACL.java:260)
      03:35:54 at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:44)
      03:35:54 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      03:35:54 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      03:35:54 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      03:35:54 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      03:35:54 at java.lang.Thread.run(Thread.java:748)
      [Pipeline] echo
      03:35:54 Exception in checkout stage
      03:35:54 hudson.AbortException

          [JENKINS-47660] ERROR: Error cloning remote repo 'origin' hudson.plugins.git.GitException

          Mark Waite added a comment -

          Thanks for sharing the items which you investigated.

          This is not a bug, but one or more missing configuration settings.

          It appears you have a slow connection to your remote repository (100-200 KB per second) and a large enough repository that it cannot be cloned before the default 10 minute timeout has expired. There are several steps you can take to resolve the issue.

          1. Increase the clone timeout
          2. Reduce the amount of data transferred using techniques described in my Jenkins World 2017 slides and video
            1. Use a reference repository (also described in a very good CloudBees Support article)
            2. Narrow the refspec to only the branches you need (see the online help in the Advanced section of the git plugin repository definition)
            3. Use a shallow clone to reduce the data transfer (see the help for "Advanced clone options")

          Mark Waite added a comment - Thanks for sharing the items which you investigated. This is not a bug, but one or more missing configuration settings. It appears you have a slow connection to your remote repository (100-200 KB per second) and a large enough repository that it cannot be cloned before the default 10 minute timeout has expired. There are several steps you can take to resolve the issue. Increase the clone timeout Reduce the amount of data transferred using techniques described in my Jenkins World 2017 slides and video Use a reference repository (also described in a very good CloudBees Support article ) Narrow the refspec to only the branches you need (see the online help in the Advanced section of the git plugin repository definition) Use a shallow clone to reduce the data transfer (see the help for "Advanced clone options")

          Gregor Philp added a comment -

          ERROR we get after upgrading these plugins and trying to checkout in a pipeline job

           

          17:52:07 Cloning the remote Git repository
          17:52:07 ERROR: Error cloning remote repo 'origin'
          17:52:07 hudson.plugins.git.GitException: java.io.IOException: Remote call on JNLP4-connect connection from ip-10-192-23-154.us-west-2.compute.internal/10.192.23.154:23354 failed
          17:52:07 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:169)
          17:52:07 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          17:52:07 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          17:52:07 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          17:52:07 at java.lang.reflect.Method.invoke(Method.java:498)
          17:52:07 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132)
          17:52:07 at com.sun.proxy.$Proxy140.execute(Unknown Source)
          17:52:07 at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1146)
          17:52:07 at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1186)
          17:52:07 at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:120)
          17:52:07 at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:90)
          17:52:07 at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:77)
          17:52:07 at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1$1.call(SynchronousNonBlockingStepExecution.java:51)
          17:52:07 at hudson.security.ACL.impersonate(ACL.java:290)
          17:52:07 at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1.run(SynchronousNonBlockingStepExecution.java:48)
          17:52:07 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
          17:52:07 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
          17:52:07 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
          17:52:07 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
          17:52:07 at java.lang.Thread.run(Thread.java:748)
          17:52:07 Caused by: java.io.IOException: Remote call on JNLP4-connect connection from ip-10-192-23-154.us-west-2.compute.internal/10.192.23.154:23354 failed
          17:52:07 at hudson.remoting.Channel.call(Channel.java:961)
          17:52:07 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
          17:52:07 ... 19 more
          17:52:07 Caused by: java.lang.IllegalAccessError: tried to access field hudson.remoting.Channel.executor from class org.jenkinsci.remoting.util.AnonymousClassWarnings
          17:52:07 at org.jenkinsci.remoting.util.AnonymousClassWarnings.check(AnonymousClassWarnings.java:65)
          17:52:07 at org.jenkinsci.remoting.util.AnonymousClassWarnings$1.annotateClass(AnonymousClassWarnings.java:121)
          17:52:07 at java.io.ObjectOutputStream.writeNonProxyDesc(ObjectOutputStream.java:1290)
          17:52:07 at java.io.ObjectOutputStream.writeClassDesc(ObjectOutputStream.java:1231)
          17:52:07 at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1427)
          17:52:07 at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
          17:52:07 at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)
          17:52:07 at hudson.console.ConsoleNote.encodeToBytes(ConsoleNote.java:185)
          17:52:07 at hudson.console.ConsoleNote.encode(ConsoleNote.java:211)
          17:52:07 at hudson.plugins.timestamper.TimestampNotesOutputStream.eol(TimestampNotesOutputStream.java:70)
          17:52:07 at hudson.console.LineTransformationOutputStream.eol(LineTransformationOutputStream.java:60)
          17:52:07 at hudson.console.LineTransformationOutputStream.write(LineTransformationOutputStream.java:56)
          17:52:07 at hudson.console.LineTransformationOutputStream.write(LineTransformationOutputStream.java:74)
          17:52:07 at java.io.PrintStream.write(PrintStream.java:480)
          17:52:07 at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221)
          17:52:07 at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:291)
          17:52:07 at sun.nio.cs.StreamEncoder.flushBuffer(StreamEncoder.java:104)
          17:52:07 at java.io.OutputStreamWriter.flushBuffer(OutputStreamWriter.java:185)
          17:52:07 at java.io.PrintStream.newLine(PrintStream.java:546)
          17:52:07 at java.io.PrintStream.println(PrintStream.java:807)
          17:52:07 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:589)
          17:52:07 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
          17:52:07 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
          17:52:07 at hudson.remoting.UserRequest.perform(UserRequest.java:207)
          17:52:07 at hudson.remoting.UserRequest.perform(UserRequest.java:53)
          17:52:07 at hudson.remoting.Request$2.run(Request.java:358)
          17:52:07 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
          17:52:07 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
          17:52:07 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
          17:52:07 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
          17:52:07 at hudson.remoting.Engine$1$1.run(Engine.java:98)
          17:52:07 ... 1 more
          17:52:07 Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from ip-10-192-23-154.us-west-2.compute.internal/10.192.23.154:23354
          17:52:07 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1741)
          17:52:07 at hudson.remoting.UserResponse.retrieve(UserRequest.java:389)
          17:52:07 at hudson.remoting.Channel.call(Channel.java:955)
          17:52:07 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
          17:52:07 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          17:52:07 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          17:52:07 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          17:52:07 at java.lang.reflect.Method.invoke(Method.java:498)
          17:52:07 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132)
          17:52:07 at com.sun.proxy.$Proxy140.execute(Unknown Source)
          17:52:07 at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1146)
          17:52:07 at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1186)
          17:52:07 at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:120)
          17:52:07 at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:90)
          17:52:07 at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:77)
          17:52:07 at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1$1.call(SynchronousNonBlockingStepExecution.java:51)
          17:52:07 at hudson.security.ACL.impersonate(ACL.java:290)
          17:52:07 at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1.run(SynchronousNonBlockingStepExecution.java:48)
          17:52:07 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
          17:52:07 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
          17:52:07 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
          17:52:07 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
          17:52:07 ... 1 more
          [Pipeline] }
          [Pipeline] // stage
          [Pipeline] }
          [Pipeline] // node
          [Pipeline] }
          [Pipeline] // timestamps
          [Pipeline] End of Pipeline
          ERROR: Error cloning remote repo 'origin'

          Gregor Philp added a comment - ERROR we get after upgrading these plugins and trying to checkout in a pipeline job   17:52:07 Cloning the remote Git repository 17:52:07 ERROR: Error cloning remote repo 'origin' 17:52:07 hudson.plugins.git.GitException:  java.io .IOException: Remote call on JNLP4-connect connection from  ip-10-192-23-154.us -west-2.compute.internal/10.192.23.154:23354 failed 17:52:07 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:169) 17:52:07 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 17:52:07 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 17:52:07 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 17:52:07 at java.lang.reflect.Method.invoke(Method.java:498) 17:52:07 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132) 17:52:07 at com.sun.proxy.$Proxy140.execute(Unknown Source) 17:52:07 at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1146) 17:52:07 at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1186) 17:52:07 at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:120) 17:52:07 at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:90) 17:52:07 at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:77) 17:52:07 at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1$1.call(SynchronousNonBlockingStepExecution.java:51) 17:52:07 at hudson.security.ACL.impersonate(ACL.java:290) 17:52:07 at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1.run(SynchronousNonBlockingStepExecution.java:48) 17:52:07 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 17:52:07 at java.util.concurrent.FutureTask.run(FutureTask.java:266) 17:52:07 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 17:52:07 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 17:52:07 at java.lang.Thread.run(Thread.java:748) 17:52:07 Caused by:  java.io .IOException: Remote call on JNLP4-connect connection from  ip-10-192-23-154.us -west-2.compute.internal/10.192.23.154:23354 failed 17:52:07 at hudson.remoting.Channel.call(Channel.java:961) 17:52:07 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146) 17:52:07 ... 19 more 17:52:07 Caused by: java.lang.IllegalAccessError: tried to access field hudson.remoting.Channel.executor from class org.jenkinsci.remoting.util.AnonymousClassWarnings 17:52:07 at org.jenkinsci.remoting.util.AnonymousClassWarnings.check(AnonymousClassWarnings.java:65) 17:52:07 at org.jenkinsci.remoting.util.AnonymousClassWarnings$1.annotateClass(AnonymousClassWarnings.java:121) 17:52:07 at  java.io .ObjectOutputStream.writeNonProxyDesc(ObjectOutputStream.java:1290) 17:52:07 at  java.io .ObjectOutputStream.writeClassDesc(ObjectOutputStream.java:1231) 17:52:07 at  java.io .ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1427) 17:52:07 at  java.io .ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) 17:52:07 at  java.io .ObjectOutputStream.writeObject(ObjectOutputStream.java:348) 17:52:07 at hudson.console.ConsoleNote.encodeToBytes(ConsoleNote.java:185) 17:52:07 at hudson.console.ConsoleNote.encode(ConsoleNote.java:211) 17:52:07 at hudson.plugins.timestamper.TimestampNotesOutputStream.eol(TimestampNotesOutputStream.java:70) 17:52:07 at hudson.console.LineTransformationOutputStream.eol(LineTransformationOutputStream.java:60) 17:52:07 at hudson.console.LineTransformationOutputStream.write(LineTransformationOutputStream.java:56) 17:52:07 at hudson.console.LineTransformationOutputStream.write(LineTransformationOutputStream.java:74) 17:52:07 at  java.io .PrintStream.write(PrintStream.java:480) 17:52:07 at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221) 17:52:07 at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:291) 17:52:07 at sun.nio.cs.StreamEncoder.flushBuffer(StreamEncoder.java:104) 17:52:07 at  java.io .OutputStreamWriter.flushBuffer(OutputStreamWriter.java:185) 17:52:07 at  java.io .PrintStream.newLine(PrintStream.java:546) 17:52:07 at  java.io .PrintStream.println(PrintStream.java:807) 17:52:07 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:589) 17:52:07 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153) 17:52:07 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146) 17:52:07 at hudson.remoting.UserRequest.perform(UserRequest.java:207) 17:52:07 at hudson.remoting.UserRequest.perform(UserRequest.java:53) 17:52:07 at hudson.remoting.Request$2.run(Request.java:358) 17:52:07 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 17:52:07 at java.util.concurrent.FutureTask.run(FutureTask.java:266) 17:52:07 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 17:52:07 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 17:52:07 at hudson.remoting.Engine$1$1.run(Engine.java:98) 17:52:07 ... 1 more 17:52:07 Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from  ip-10-192-23-154.us -west-2.compute.internal/10.192.23.154:23354 17:52:07 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1741) 17:52:07 at hudson.remoting.UserResponse.retrieve(UserRequest.java:389) 17:52:07 at hudson.remoting.Channel.call(Channel.java:955) 17:52:07 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146) 17:52:07 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 17:52:07 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 17:52:07 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 17:52:07 at java.lang.reflect.Method.invoke(Method.java:498) 17:52:07 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132) 17:52:07 at com.sun.proxy.$Proxy140.execute(Unknown Source) 17:52:07 at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1146) 17:52:07 at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1186) 17:52:07 at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:120) 17:52:07 at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:90) 17:52:07 at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:77) 17:52:07 at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1$1.call(SynchronousNonBlockingStepExecution.java:51) 17:52:07 at hudson.security.ACL.impersonate(ACL.java:290) 17:52:07 at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1.run(SynchronousNonBlockingStepExecution.java:48) 17:52:07 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 17:52:07 at java.util.concurrent.FutureTask.run(FutureTask.java:266) 17:52:07 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 17:52:07 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 17:52:07 ... 1 more [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // timestamps [Pipeline] End of Pipeline ERROR: Error cloning remote repo 'origin'

          Gregor Philp added a comment -

          This is not to do with a large repository or timeout.  The repo is extremely small I am testing with and the job fails in just over 20 seconds.  I remove that plugin and the job works fine.

          timestamps {
          node ('ECS-CO7-LATEST') {
          stage ('Checkout')

          { checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: '*******, url: 'git@github.move.com:IT-Operations/aws-certificates.git']]]) }

          stage ('sleep')

          { sh ''' sleep 20 ''' }

          stage ('Clean')

          { cleanWs() }

          }
          }

          Gregor Philp added a comment - This is not to do with a large repository or timeout.  The repo is extremely small I am testing with and the job fails in just over 20 seconds.  I remove that plugin and the job works fine. timestamps { node ('ECS-CO7-LATEST') { stage ('Checkout') { checkout([$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: '*******, url: 'git@github.move.com:IT-Operations/aws-certificates.git']]]) } stage ('sleep') { sh ''' sleep 20 ''' } stage ('Clean') { cleanWs() } } }

          Mark Waite added a comment -

          gjphilp the original bug report is related to a large repository and a timeout. The stack trace you're reporting is significantly different from the stack trace in the description of this bug report. The differences are evident because your stack trace does not include the message:

          ERROR: Timeout after 10 minutes
          

          I suspect you'll be better served by first asking for help on one of the chat locations, or on the Jenkins users mailing list. They will tend to ask you questions that will help you identify the problem and will help you decide if a bug report is needed. Some of the questions that they will probably ask in those places will include things like:

          • What versions of Jenkins and plugins were you running when it worked?
          • What versions of Jenkins and plugins were you running after it stopped working?
          • What operating system is running Jenkins?
          • What operating system is running the agent where the failure happens?
          • Is the agent connected to the master with ssh, JNLP, or some other way?
          • Does the failure happen on multiple agents?

          The chat and the mailing list have many more readers than individual bug reports, especially individual bug reports that are already resolved.

          If you don't find an answer through chat and the mailing list, you'll need to open a new bug report. If you open a new bug report, please be sure to include answers to those questions and the other items identified in "How to report an issue".

          Mark Waite added a comment - gjphilp the original bug report is related to a large repository and a timeout. The stack trace you're reporting is significantly different from the stack trace in the description of this bug report. The differences are evident because your stack trace does not include the message: ERROR: Timeout after 10 minutes I suspect you'll be better served by first asking for help on one of the chat locations , or on the Jenkins users mailing list . They will tend to ask you questions that will help you identify the problem and will help you decide if a bug report is needed. Some of the questions that they will probably ask in those places will include things like: What versions of Jenkins and plugins were you running when it worked? What versions of Jenkins and plugins were you running after it stopped working? What operating system is running Jenkins? What operating system is running the agent where the failure happens? Is the agent connected to the master with ssh, JNLP, or some other way? Does the failure happen on multiple agents? The chat and the mailing list have many more readers than individual bug reports, especially individual bug reports that are already resolved. If you don't find an answer through chat and the mailing list, you'll need to open a new bug report. If you open a new bug report, please be sure to include answers to those questions and the other items identified in " How to report an issue ".

          Gregor Philp added a comment -

          ok I will try that.  This was a new bug I filed this morning so I don't know how it got merged onto this one.

          I created a new issue.  It is breaking or production stack with over 700 jobs and over 400 users

          Gregor Philp added a comment - ok I will try that.  This was a new bug I filed this morning so I don't know how it got merged onto this one. I created a new issue.  It is breaking or production stack with over 700 jobs and over 400 users

          Gregor Philp added a comment -

          Mark Waite

          ok this is not easy.

          I've tried contacting both the users and dev email addresses on the  Jenkins users mailing list and both just get returned emails saying the group does not exist.

          What is the jenkins support mailing list?

          Gregor Philp added a comment - Mark Waite ok this is not easy. I've tried contacting both the users and dev email addresses on the   Jenkins users mailing list and both just get returned emails saying the group does not exist. What is the jenkins support mailing list?

          Mark Waite added a comment - - edited

          Send an e-mail message to jenkinsci-users@googlegroups.com . Due to spam, your first posting to the mailing list will be held until it is approved.

          If that doesn't work, then connect to Gitter

          The users mailing list is where users support each other. Internet Relay Chat is also used so that users can support each other.

          CloudBees also sells support contracts for Jenkins for those that need the power of a commercial support team.

          Mark Waite added a comment - - edited Send an e-mail message to jenkinsci-users@googlegroups.com . Due to spam, your first posting to the mailing list will be held until it is approved. If that doesn't work, then connect to Gitter The users mailing list is where users support each other. Internet Relay Chat is also used so that users can support each other. CloudBees also sells support contracts for Jenkins for those that need the power of a commercial support team.

          Gregor Philp added a comment -

          yeah thats the one I sent to and also tried to subscribe like it mentioned.  Both failed telling me the group does not exist.

          Now I guess I have to try gitter

          Gregor Philp added a comment - yeah thats the one I sent to and also tried to subscribe like it mentioned.  Both failed telling me the group does not exist. Now I guess I have to try gitter

          Mark Waite added a comment -

          If neither of those work, then please open a bug report with the answers to my questions. I don't know if I will have time to help you, but that's probably better than nothing.

          Mark Waite added a comment - If neither of those work, then please open a bug report with the answers to my questions . I don't know if I will have time to help you, but that's probably better than nothing.

            Unassigned Unassigned
            vadivel Vadivel Natarajan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: