-
Bug
-
Resolution: Not A Defect
-
Major
-
Windows 10, 64 bit.
Java JDK- 1.8.131
Jenkins 2.77
Git - 2.12.2
- We are getting the below-specified error during the Source checkout process in Jenkins pipeline project.
- We have tried the solutions given in the following links. But still, the issue exists.
- https://stackoverflow.com/questions/38069452/git-exe-init-timeout-10-error-error-cloning-remote-repo-origin-hudson-plugi
- https://stackoverflow.com/questions/12202078/jenkins-giving-error-while-cloning-from-github
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