Error fetching remote repo origin jenkins

ERROR: Error fetching remote repo ‘origin’ #26822 Comments The text was updated successfully, but these errors were encountered: looks like a dupe of #14074 / #18960. cc @spxtr oh dear, this again. This one is a real bother. I spent a long time trying to figure out what was going on and didn’t figure […]

Содержание

  1. ERROR: Error fetching remote repo ‘origin’ #26822
  2. Comments
  3. ERROR: Error fetching remote repo ‘origin’ #710
  4. Comments
  5. ERROR: Error fetching remote repo ‘origin
  6. 1 answer
  7. ERROR: Error fetching remote repo ‘origin’ if workspace path includes ‘%’ char
  8. Details
  9. Description
  10. Attachments
  11. Issue Links
  12. Activity

ERROR: Error fetching remote repo ‘origin’ #26822

The text was updated successfully, but these errors were encountered:

looks like a dupe of #14074 / #18960. cc @spxtr

oh dear, this again. This one is a real bother. I spent a long time trying to figure out what was going on and didn’t figure out much. It’s a low-level networking issue and the solution ended up being «just fetch less»

Please reactive if you see this after June 15.

I am getting the same error. Are there any other suggestions on how to fix this? Should I contact the hosting company?

@ixdy — happened again in #32070

@gmarek I think that one was slightly different. @rmmh might have already fixed it, but I’m not sure.

This particular agent was restarted and ended up having a corrupt workspace. This was caused by my change to retain .git directories to speed up clones and avoid getting ratelimited by github.

I’ll look into automatically detecting this case.

Closing for now, will reopen if we see any more workspace corruption.

I see it happens again. Fetch works from the same repository if I make it «Public», but never works for «Private»

ERROR: Timeout after 10 minutes
ERROR: Error fetching remote repo ‘origin’
hudson.plugins.git.GitException: Failed to fetch from https://github.com/wpmedia/qa.git
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:803)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1063)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1094)
at hudson.scm.SCM.checkout(SCM.java:495)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1278)
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:604)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
at hudson.model.Run.execute(Run.java:1720)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:404)
Caused by: hudson.plugins.git.GitException: Command «git.exe fetch —tags —progress https://github.com/wpmedia/qa.git +refs/heads/:refs/remotes/origin/» returned status code -1:
stdout:
stderr:
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1784)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1513)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:64)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:315)
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:801)
. 11 more
ERROR: null
Finished: FAILURE

That’s not a kubernetes repo. This isn’t a generic jenkins bug.

@aliser I get the same problem as you. Was it solved?

Hello, I am also facing a same problem can you guide me how does this issue resolved using GitHub SSH authentication ?

Even we are facing same problem. Can someone help us?
ERROR: Error fetching remote repo ‘origin’
hudson.plugins.git.GitException: Failed to fetch from git@github.com:testuser/testrepo.git
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:809)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1076)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1107)
at hudson.scm.SCM.checkout(SCM.java:496)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1278)
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:604)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
at hudson.model.Run.execute(Run.java:1728)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:405)

yes, it’s resolved now. Check first your repository is private ?
If that’s the case go to your github where your project is uploaded. Now go to settings and under Personal settings there’s an option says Personal access token and click on it it will asked your github password enter it and it will generate your access token copy it and save it in some file.
Now, if you are working with Jenkins go to your project’s configuration and in that go to source code Management under git url there’s credentials option add your username and password should be added as access token save it and select your credential from drop down box.
now github urls should be replaced with current repo address as with access token;
https://access token number@github.com/git repo name.git/ save it and run it.

seems still issue persists, please suggest further

Fetching changes from the remote Git repository

git config remote.origin.url https://cd5dba78a5dfccaae1b5574b09b1ff155a89da49@cto-github.cisco.com/hkona/vmsauto.git # timeout=10
Fetching upstream changes from https://cd5dba78a5dfccaae1b5574b09b1ff155a89da49@cto-github.cisco.com/hkona/vmsauto.git
git —version # timeout=10
using GIT_ASKPASS to set credentials
git fetch —tags —progress https://cd5dba78a5dfccaae1b5574b09b1ff155a89da49@cto-github.cisco.com/hkona/vmsauto.git +refs/heads/:refs/remotes/origin/
ERROR: Error fetching remote repo ‘origin’
hudson.plugins.git.GitException: Failed to fetch from https://cd5dba78a5dfccaae1b5574b09b1ff155a89da49@cto-github.cisco.com/hkona/vmsauto.git
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:809)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1076)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1107)
at hudson.scm.SCM.checkout(SCM.java:496)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1278)
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:604)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
at hudson.model.Run.execute(Run.java:1728)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:405)
Caused by: hudson.plugins.git.GitException: Command «git fetch —tags —progress https://cd5dba78a5dfccaae1b5574b09b1ff155a89da49@cto-github.cisco.com/hkona/vmsauto.git +refs/heads/:refs/remotes/origin/» returned status code 128:
stdout:
stderr: error: The requested URL returned error: 403 Forbidden while accessing https://cd5dba78a5dfccaae1b5574b09b1ff155a89da49@cto-github.cisco.com/hkona/vmsauto.git/info/refs

fatal: HTTP request failed

Are you facing an issue for running application or building for Jenkins? have you added credentials under SCM ? what are steps you followed ?

yes, I have added credentials for SCM. I am struggling while building for jenkins

After append ‘/’ I got like this

Building in workspace /var/lib/jenkins/workspace/GUI testsuite

Источник

ERROR: Error fetching remote repo ‘origin’ #710

Building remotely on maccloud20.bld.dst.ibm.com_Prod_3 (xcode_9.4 xcode_9.2) in workspace /Users/jenkins/jenkins_workspace/workspace/rROC_Analytics

git rev-parse —is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
git config remote.origin.url ******** # timeout=10
Fetching upstream changes from ********
git —version # timeout=10
git config —get remote..url # timeout=10
ERROR: Error fetching remote repo ‘origin’
hudson.plugins.git.GitException: Failed to fetch from ********
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:888)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1155)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1186)
at hudson.scm.SCM.checkout(SCM.java:504)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
at hudson.model.Run.execute(Run.java:1815)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
Caused by: hudson.plugins.git.GitException: Command «git config —get remote.
.url» returned status code 1:
stdout:
stderr:
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2016)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1984)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1980)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1612)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1624)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.getRemoteUrl(CliGitAPIImpl.java:1252)
at hudson.plugins.git.GitAPI.getRemoteUrl(GitAPI.java:98)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:414)
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:212)
at hudson.remoting.UserRequest.perform(UserRequest.java:54)
at hudson.remoting.Request$2.run(Request.java:369)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to maccloud20.bld.dst.ibm.com_Prod_3
at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1741)
at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
at hudson.remoting.Channel.call(Channel.java:955)
at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
at sun.reflect.GeneratedMethodAccessor441.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132)
at com.sun.proxy.$Proxy83.execute(Unknown Source)
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:886)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1155)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1186)
at hudson.scm.SCM.checkout(SCM.java:504)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
at hudson.model.Run.execute(Run.java:1815)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
ERROR: Error fetching remote repo ‘origin’
Skipped archiving because build is not successful
Performing Post build task.
Match found for : : True
Logical operation result is TRUE
Running script : $/fastlane/postbuild.sh
[rROC_Analytics] $ /bin/sh -xe /var/folders/xh/mvby8d6d09ldmmf4606gnn2c0000gs/T/jenkins4346563410268615386.sh

  • /Users/jenkins/jenkins_workspace/workspace/rROC_Analytics/fastlane/postbuild.sh
    Getting data from APIs.
    Reading PBXNativeTarget.
    Getting data from some files.
    Getting provisioning profile info
    undefined
    POST BUILD TASK : SUCCESS
    END OF POST BUILD TASK : 0
    Recording test results
    Finished: FAILURE

The text was updated successfully, but these errors were encountered:

Источник

ERROR: Error fetching remote repo ‘origin

I’m trying to run a build from a Jenkins jobs. I get the following error:

When I try to go to the «Access Keys» page under project setting in BitBucket. I get a 500 error.

I have ssh keys on both the Jenkins server and the BitBucket server. The Bitbucket service is started at «atlbitbucket». The ssh key is generated for the «git» user. Do I need to generate atlbitbucket keys as well?

1 answer

You have mentioned that you are getting error 500 when you access the Access Keys page. It appears that you are running in to the behavior mentioned in

Can you please try the resolutions steps mentioned in that article?

I have ssh keys on both the Jenkins server and the BitBucket server.

As «access keys» page is showing error, by above, did you mean you have added the key directly to the host server? If that’s the case, it will NOT work. You need to add the key to the Bitbucket server project settings as mentioned in ssh-access-keys-for-system-use.

So need to resolve the issue with that page first.

Best regards,
Prasanth Thaikkalloor

Источник

ERROR: Error fetching remote repo ‘origin’ if workspace path includes ‘%’ char

Details

Description

using GIT_SSH to set credentials Jenkin’s access to git
> git fetch —tags —progress git@git.intern:pipelines.git +refs/heads/:refs/remotes/origin/
ERROR: Error fetching remote repo ‘origin’
hudson.plugins.git.GitException: Failed to fetch from git@git.intern:pipelines.git
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:809)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1076)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1107)
at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:109)
at org.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.doRetrieve(SCMSourceRetriever.java:108)
at org.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.retrieve(SCMSourceRetriever.java:84)
at org.jenkinsci.plugins.workflow.libs.LibraryAdder.retrieve(LibraryAdder.java:150)
at org.jenkinsci.plugins.workflow.libs.LibraryAdder.add(LibraryAdder.java:131)
at org.jenkinsci.plugins.workflow.libs.LibraryDecorator$1.call(LibraryDecorator.java:114)
at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1065)
at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:603)
at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:581)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:558)
at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:298)
at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:268)
at groovy.lang.GroovyShell.parseClass(GroovyShell.java:688)
at groovy.lang.GroovyShell.parse(GroovyShell.java:700)
at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.reparse(CpsGroovyShell.java:116)
at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.parseScript(CpsFlowExecution.java:430)
at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.start(CpsFlowExecution.java:393)
at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:257)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:415)
Caused by: hudson.plugins.git.GitException: Command «git fetch —tags —progress git@git.intern:pipelines.git +refs/heads/:refs/remotes/origin/» returned status code 128:
stdout:
stderr: percent_expand: unknown key %2
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1877)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1596)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:71)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:348)
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:807)
. 22 more
ERROR: null
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
WorkflowScript: Loading libraries failed

at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:310)
at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1085)
at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:603)
at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:581)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:558)
at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:298)
at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:268)
at groovy.lang.GroovyShell.parseClass(GroovyShell.java:688)
at groovy.lang.GroovyShell.parse(GroovyShell.java:700)
at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.reparse(CpsGroovyShell.java:116)
at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.parseScript(CpsFlowExecution.java:430)
at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.start(CpsFlowExecution.java:393)
at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:257)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:415)
Finished: FAILURE
Updating to the versions of the plugins mentioned yields this error.

Staying at git client plugin 2.4.2 and git plugin 3.2.0 does not give any error.

Attachments

Issue Links

JENKINS-44301 2.4.5 bad regression: unable to handle previously-acceptable branch names

  • Closed
    The issue is considered finished, the resolution is correct. Issues which are closed can be reopened. «>Closed

Activity

Thanks markewaite; I’ve added a comment on JENKINS-44360.

at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1996)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1715)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:72)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:405)
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:860)
. 11 more
ERROR: Error fetching remote repo ‘origin’
Finished: FAILURE

sajidyar the information you provided is not enough to decide if the case you’ve found justifies reopening this bug report, or if you’re seeing an instance of JENKINS-44360.

If the job where you’re seeing the problem is a Freestyle job, then reopening this bug report is the correct technique. The work-around is to use a workspace name which does not include ‘%’ in the workspace path.

If the job where you’re seeing the problem is a Pipeline job (but is not multi-branch), then you’ll need to provide more details, including enough steps to duplicate the problem. I believe that would justify reopening this bug. Without the precise steps to duplicate the problem, others won’t be able to help you.

If the job where you’re seeing the problem is a Pipeline multi-branch job and the branch name includes a ‘%’ character, then you’re seeing JENKINS-44360. That does not justify reopening this bug.

markewaite I am getting this error while I am building a .NET project having git as a source control explorer. I am using git version 2.16.1.windows.4 of git and using updated Jenkins version.

Here is the complete log while I am building a project. I don’t know what’s happening behind the scene.

Started by user anonymous
[EnvInject] — Loading node environment variables.
Building in workspace C:Userssajid.yar.jenkinsworkspaceRiskManagerDev
> C:Program FilesGitbingit rev-parse —is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> C:Program FilesGitbingit config remote.origin.url https://github.com/envolvevision/RiskManager.git

  1. timeout=10
    Fetching upstream changes from https://github.com/envolvevision/RiskManager.git
    > C:Program FilesGitbingit —version # timeout=10
    using GIT_ASKPASS to set credentials
    > C:Program FilesGitbingit fetch —tags —progress https://github.com/envolvevision/RiskManager.git
    +refs/heads/:refs/remotes/origin/
    ERROR: Timeout after 10 minutes
    ERROR: Error fetching remote repo ‘origin’
    hudson.plugins.git.GitException: Failed to fetch from https://github.com/envolvevision/RiskManager.git
    at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:862)
    at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1129)
    at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1160)
    at hudson.scm.SCM.checkout(SCM.java:504)
    at hudson.model.AbstractProject.checkout(AbstractProject.java:1203)
    at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
    at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
    at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
    at hudson.model.Run.execute(Run.java:1727)
    at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
    at hudson.model.ResourceController.execute(ResourceController.java:97)
    at hudson.model.Executor.run(Executor.java:429)
    Caused by: hudson.plugins.git.GitException: Command «C:Program FilesGitbingit fetch —tags —progress https://github.com/envolvevision/RiskManager.git
    +refs/heads/:refs/remotes/origin/» returned status code -1:
    stdout:
    stderr: remote: Counting objects: 4418, done.
    remote: Compressing objects: 0% (1/2000)
    remote: Compressing objects: 1% (20/2000)
    remote: Compressing objects: 2% (40/2000)
    remote: Compressing objects: 3% (60/2000)
    remote: Compressing objects: 4% (80/2000)
    remote: Compressing objects: 5% (100/2000)
    remote: Compressing objects: 6% (120/2000)
    remote: Compressing objects: 7% (140/2000)
    remote: Compressing objects: 8% (160/2000)
    remote: Compressing objects: 9% (180/2000)
    remote: Compressing objects: 10% (200/2000)
    remote: Compressing objects: 11% (220/2000)
    remote: Compressing objects: 12% (240/2000)
    remote: Compressing objects: 13% (260/2000)
    remote: Compressing objects: 14% (280/2000)
    remote: Compressing objects: 15% (300/2000)
    remote: Compressing objects: 16% (320/2000)
    remote: Compressing objects: 17% (340/2000)
    remote: Compressing objects: 18% (360/2000)
    remote: Compressing objects: 19% (380/2000)
    remote: Compressing objects: 20% (400/2000)
    remote: Compressing objects: 21% (420/2000)
    remote: Compressing objects: 22% (440/2000)
    remote: Compressing objects: 23% (460/2000)
    remote: Compressing objects: 24% (480/2000)
    remote: Compressing objects: 25% (500/2000)
    remote: Compressing objects: 26% (520/2000)
    remote: Compressing objects: 27% (540/2000)
    remote: Compressing objects: 28% (560/2000)
    remote: Compressing objects: 29% (580/2000)
    remote: Compressing objects: 30% (600/2000)
    remote: Compressing objects: 31% (620/2000)
    remote: Compressing objects: 32% (640/2000)
    remote: Compressing objects: 33% (660/2000)
    remote: Compressing objects: 34% (680/2000)
    remote: Compressing objects: 35% (700/2000)
    remote: Compressing objects: 36% (720/2000)
    remote: Compressing objects: 37% (740/2000)
    remote: Compressing objects: 38% (760/2000)
    remote: Compressing objects: 39% (780/2000)
    remote: Compressing objects: 40% (800/2000)
    remote: Compressing objects: 41% (820/2000)
    remote: Compressing objects: 42% (840/2000)
    remote: Compressing objects: 43% (860/2000)
    remote: Compressing objects: 44% (880/2000)
    remote: Compressing objects: 45% (900/2000)
    remote: Compressing objects: 46% (920/2000)
    remote: Compressing objects: 47% (940/2000)
    remote: Compressing objects: 48% (960/2000)
    remote: Compressing objects: 49% (980/2000)
    remote: Compressing objects: 50% (1000/2000)
    remote: Compressing objects: 51% (1020/2000)
    remote: Compressing objects: 52% (1040/2000)
    remote: Compressing objects: 53% (1060/2000)
    remote: Compressing objects: 54% (1080/2000)
    remote: Compressing objects: 55% (1100/2000)
    remote: Compressing objects: 56% (1120/2000)
    remote: Compressing objects: 57% (1140/2000)
    remote: Compressing objects: 58% (1160/2000)
    remote: Compressing objects: 59% (1180/2000)
    remote: Compressing objects: 60% (1200/2000)
    remote: Compressing objects: 61% (1220/2000)
    remote: Compressing objects: 62% (1240/2000)
    remote: Compressing objects: 63% (1260/2000)
    remote: Compressing objects: 64% (1280/2000)
    remote: Compressing objects: 65% (1300/2000)
    remote: Compressing objects: 66% (1320/2000)
    remote: Compressing objects: 67% (1340/2000)
    remote: Compressing objects: 68% (1360/2000)
    remote: Compressing objects: 69% (1380/2000)
    remote: Compressing objects: 70% (1400/2000)
    remote: Compressing objects: 71% (1420/2000)
    remote: Compressing objects: 72% (1440/2000)
    remote: Compressing objects: 73% (1460/2000)
    remote: Compressing objects: 74% (1480/2000)
    remote: Compressing objects: 75% (1500/2000)
    remote: Compressing objects: 76% (1520/2000)
    remote: Compressing objects: 77% (1540/2000)
    remote: Compressing objects: 78% (1560/2000)
    remote: Compressing objects: 79% (1580/2000)
    remote: Compressing objects: 80% (1600/2000)
    remote: Compressing objects: 81% (1620/2000)
    remote: Compressing objects: 82% (1640/2000)
    remote: Compressing objects: 83% (1660/2000)
    remote: Compressing objects: 84% (1680/2000)
    remote: Compressing objects: 85% (1700/2000)
    remote: Compressing objects: 86% (1720/2000)
    remote: Compressing objects: 87% (1740/2000)
    remote: Compressing objects: 88% (1760/2000)
    remote: Compressing objects: 89% (1780/2000)
    remote: Compressing objects: 90% (1800/2000)
    remote: Compressing objects: 91% (1820/2000)
    remote: Compressing objects: 92% (1840/2000)
    remote: Compressing objects: 93% (1860/2000)
    remote: Compressing objects: 94% (1880/2000)
    remote: Compressing objects: 95% (1900/2000)
    remote: Compressing objects: 96% (1920/2000)
    remote: Compressing objects: 97% (1940/2000)
    remote: Compressing objects: 98% (1960/2000)
    remote: Compressing objects: 99% (1980/2000)
    remote: Compressing objects: 100% (2000/2000)
    remote: Compressing objects: 100% (2000/2000), done.
    Receiving objects: 0% (1/4418)
    Receiving objects: 1% (45/4418)
    Receiving objects: 1% (81/4418), 52.00 KiB | 42.00 KiB/s
    Receiving objects: 1% (82/4418), 164.00 KiB | 53.00 KiB/s
    Receiving objects: 1% (82/4418), 172.00 KiB | 42.00 KiB/s
    Receiving objects: 2% (132/4418), 3.95 MiB | 19.00 KiB/s
    Receiving objects: 3% (133/4418), 3.96 MiB | 18.00 KiB/s
    Receiving objects: 3% (133/4418), 4.01 MiB | 24.00 KiB/s
    Receiving objects: 4% (177/4418), 6.26 MiB | 61.00 KiB/s
    Receiving objects: 5% (221/4418), 6.32 MiB | 60.00 KiB/s
    Receiving objects: 5% (264/4418), 6.46 MiB | 36.00 KiB/s
    Receiving objects: 6% (266/4418), 6.46 MiB | 36.00 KiB/s
    Receiving objects: 6% (276/4418), 6.47 MiB | 32.00 KiB/s
    Receiving objects: 7% (310/4418), 6.49 MiB | 28.00 KiB/s
    Receiving objects: 7% (325/4418), 6.50 MiB | 22.00 KiB/s
    Receiving objects: 8% (354/4418), 6.50 MiB | 22.00 KiB/s
    Receiving objects: 8% (374/4418), 6.50 MiB | 22.00 KiB/s
    Receiving objects: 9% (398/4418), 6.52 MiB | 21.00 KiB/s
    Receiving objects: 9% (441/4418), 6.79 MiB | 32.00 KiB/s
    Receiving objects: 10% (442/4418), 6.79 MiB | 32.00 KiB/s
    Receiving objects: 10% (446/4418), 6.82 MiB | 36.00 KiB/s
    Receiving objects: 10% (478/4418), 10.88 MiB | 26.00 KiB/s
    Receiving objects: 10% (481/4418), 10.93 MiB | 28.00 KiB/s
    Receiving objects: 10% (481/4418), 10.94 MiB | 26.00 KiB/s
    Receiving objects: 10% (485/4418), 10.99 MiB | 32.00 KiB/s
    Receiving objects: 11% (486/4418), 10.99 MiB | 32.00 KiB/s
    Receiving objects: 11% (491/4418), 11.04 MiB | 35.00 KiB/s
    Receiving objects: 11% (491/4418), 11.07 MiB | 33.00 KiB/s
    Receiving objects: 11% (493/4418), 11.09 MiB | 31.00 KiB/s
    Receiving objects: 11% (495/4418), 11.11 MiB | 26.00 KiB/s
    Receiving objects: 11% (497/4418), 11.12 MiB | 25.00 KiB/s
    Receiving objects: 11% (497/4418), 11.13 MiB | 24.00 KiB/s
    Receiving objects: 11% (498/4418), 11.14 MiB | 19.00 KiB/s
    Receiving objects: 11% (500/4418), 11.16 MiB | 14.00 KiB/s
    Receiving objects: 11% (501/4418), 11.18 MiB | 13.00 KiB/s
    Receiving objects: 11% (501/4418), 11.20 MiB | 13.00 KiB/s
    Receiving objects: 11% (502/4418), 11.21 MiB | 14.00 KiB/s
    Receiving objects: 11% (504/4418), 11.23 MiB | 14.00 KiB/s
    Receiving objects: 11% (505/4418), 11.24 MiB | 15.00 KiB/s
    Receiving objects: 11% (506/4418), 11.28 MiB | 17.00 KiB/s
    Receiving objects: 11% (506/4418), 11.29 MiB | 20.00 KiB/s
    Receiving objects: 11% (508/4418), 11.32 MiB | 21.00 KiB/s
    Receiving objects: 11% (508/4418), 11.34 MiB | 21.00 KiB/s
    Receiving objects: 11% (508/4418), 11.36 MiB | 20.00 KiB/s
    Receiving objects: 11% (508/4418), 11.37 MiB | 18.00 KiB/s
    Receiving objects: 11% (508/4418), 11.39 MiB | 19.00 KiB/s
    Receiving objects: 11% (508/4418), 11.40 MiB | 17.00 KiB/s
    Receiving objects: 11% (509/4418), 11.42 MiB | 18.00 KiB/s
    Receiving objects: 11% (511/4418), 11.43 MiB | 17.00 KiB/s
    Receiving objects: 11% (511/4418), 11.44 MiB | 15.00 KiB/s
    Receiving objects: 11% (514/4418), 11.47 MiB | 16.00 KiB/s
    Receiving objects: 11% (514/4418), 11.49 MiB | 17.00 KiB/s
    Receiving objects: 11% (514/4418), 11.54 MiB | 21.00 KiB/s
    Receiving objects: 11% (517/4418), 11.56 MiB | 22.00 KiB/s
    Receiving objects: 11% (517/4418), 11.57 MiB | 22.00 KiB/s
    Receiving objects: 11% (517/4418), 11.61 MiB | 26.00 KiB/s
    Receiving objects: 11% (517/4418), 11.66 MiB | 33.00 KiB/s
    Receiving objects: 11% (519/4418), 11.73 MiB | 38.00 KiB/s
    Receiving objects: 11% (522/4418), 11.76 MiB | 40.00 KiB/s
    Receiving objects: 11% (524/4418), 11.80 MiB | 39.00 KiB/s
    Receiving objects: 11% (526/4418), 11.83 MiB | 42.00 KiB/s
    Receiving objects: 11% (526/4418), 11.88 MiB | 44.00 KiB/s
    Receiving objects: 11% (526/4418), 11.91 MiB | 44.00 KiB/s
    Receiving objects: 11% (526/4418), 11.97 MiB | 46.00 KiB/s
    Receiving objects: 11% (526/4418), 12.00 MiB | 42.00 KiB/s
    Receiving objects: 11% (527/4418), 12.04 MiB | 40.00 KiB/s
    Receiving objects: 11% (527/4418), 12.07 MiB | 43.00 KiB/s
    Receiving objects: 11% (530/4418), 12.14 MiB | 44.00 KiB/s
    Receiving objects: 11% (530/4418), 12.16 MiB | 41.00 KiB/s
    Receiving objects: 11% (530/4418), 12.19 MiB | 40.00 KiB/s
    Receiving objects: 11% (530/4418), 12.23 MiB | 35.00 KiB/s
    Receiving objects: 12% (531/4418), 12.23 MiB | 35.00 KiB/s
    Receiving objects: 12% (531/4418), 12.26 MiB | 34.00 KiB/s
    Receiving objects: 12% (533/4418), 12.26 MiB | 34.00 KiB/s
    Receiving objects: 12% (536/4418), 12.31 MiB | 32.00 KiB/s
    Receiving objects: 12% (536/4418), 12.33 MiB | 28.00 KiB/s
    Receiving objects: 12% (536/4418), 12.36 MiB | 28.00 KiB/s
    Receiving objects: 12% (536/4418), 12.37 MiB | 26.00 KiB/s
    Receiving objects: 12% (537/4418), 12.39 MiB | 26.00 KiB/s
    Receiving objects: 12% (538/4418), 12.40 MiB | 24.00 KiB/s
    Receiving objects: 12% (539/4418), 12.43 MiB | 22.00 KiB/s
    Receiving objects: 12% (539/4418), 12.44 MiB | 20.00 KiB/s
    Receiving objects: 12% (539/4418), 12.46 MiB | 19.00 KiB/s
    Receiving objects: 12% (539/4418), 12.50 MiB | 20.00 KiB/s
    Receiving objects: 12% (539/4418), 12.54 MiB | 21.00 KiB/s
    Receiving objects: 12% (539/4418), 12.57 MiB | 26.00 KiB/s
    Receiving objects: 12% (539/4418), 12.57 MiB | 25.00 KiB/s
    Receiving objects: 12% (539/4418), 12.61 MiB | 26.00 KiB/s
    Receiving objects: 12% (539/4418), 12.64 MiB | 27.00 KiB/s
    Receiving objects: 12% (539/4418), 12.67 MiB | 28.00 KiB/s
    Receiving objects: 12% (539/4418), 12.69 MiB | 27.00 KiB/s
    Receiving objects: 12% (539/4418), 12.71 MiB | 27.00 KiB/s
    Receiving objects: 12% (539/4418), 12.74 MiB | 24.00 KiB/s
    Receiving objects: 12% (539/4418), 12.75 MiB | 24.00 KiB/s
    Receiving objects: 12% (539/4418), 12.77 MiB | 22.00 KiB/s
    Receiving objects: 12% (539/4418), 12.79 MiB | 23.00 KiB/s
    Receiving objects: 12% (539/4418), 12.80 MiB | 20.00 KiB/s
    Receiving objects: 12% (539/4418), 12.82 MiB | 19.00 KiB/s
    Receiving objects: 12% (542/4418), 12.83 MiB | 19.00 KiB/s
    Receiving objects: 12% (543/4418), 12.90 MiB | 23.00 KiB/s
    Receiving objects: 12% (543/4418), 12.93 MiB | 26.00 KiB/s
    Receiving objects: 12% (543/4418), 12.97 MiB | 28.00 KiB/s
    Receiving objects: 12% (543/4418), 13.01 MiB | 32.00 KiB/s
    Receiving objects: 12% (543/4418), 13.06 MiB | 36.00 KiB/s
    Receiving objects: 12% (543/4418), 13.08 MiB | 38.00 KiB/s
    Receiving objects: 12% (543/4418), 13.10 MiB | 35.00 KiB/s
    Receiving objects: 12% (543/4418), 13.13 MiB | 37.00 KiB/s
    Receiving objects: 12% (543/4418), 13.16 MiB | 32.00 KiB/s
    Receiving objects: 12% (543/4418), 13.18 MiB | 30.00 KiB/s
    Receiving objects: 12% (543/4418), 13.19 MiB | 25.00 KiB/s
    Receiving objects: 12% (543/4418), 13.23 MiB | 24.00 KiB/s
    Receiving objects: 12% (543/4418), 13.25 MiB | 24.00 KiB/s
    Receiving objects: 12% (543/4418), 13.28 MiB | 27.00 KiB/s
    Receiving objects: 12% (543/4418), 13.30 MiB | 25.00 KiB/s
    Receiving objects: 12% (543/4418), 13.35 MiB | 28.00 KiB/s
    Receiving objects: 12% (543/4418), 13.39 MiB | 32.00 KiB/s
    Receiving objects: 12% (543/4418), 13.41 MiB | 32.00 KiB/s
    Receiving objects: 12% (543/4418), 13.50 MiB | 41.00 KiB/s
    Receiving objects: 12% (543/4418), 13.53 MiB | 41.00 KiB/s
    Receiving objects: 12% (543/4418), 13.58 MiB | 48.00 KiB/s
    Receiving objects: 12% (543/4418), 13.65 MiB | 54.00 KiB/s
    Receiving objects: 12% (543/4418), 13.72 MiB | 60.00 KiB/s
    Receiving objects: 12% (543/4418), 13.76 MiB | 60.00 KiB/s
    Receiving objects: 12% (543/4418), 13.82 MiB | 54.00 KiB/s
    Receiving objects: 12% (543/4418), 13.86 MiB | 55.00 KiB/s
    Receiving objects: 12% (543/4418), 13.89 MiB | 51.00 KiB/s
    Receiving objects: 12% (543/4418), 13.93 MiB | 45.00 KiB/s
    Receiving objects: 12% (543/4418), 13.96 MiB | 43.00 KiB/s
    Receiving objects: 12% (543/4418), 14.00 MiB | 36.00 KiB/s
    Receiving objects: 12% (543/4418), 14.05 MiB | 35.00 KiB/s
    Receiving objects: 12% (543/4418), 14.06 MiB | 35.00 KiB/s
    Receiving objects: 12% (543/4418), 14.09 MiB | 35.00 KiB/s
    Receiving objects: 12% (543/4418), 14.11 MiB | 31.00 KiB/s
    Receiving objects: 12% (543/4418), 14.14 MiB | 30.00 KiB/s
    Receiving objects: 12% (543/4418), 14.15 MiB | 26.00 KiB/s
    Receiving objects: 12% (543/4418), 14.17 MiB | 23.00 KiB/s
    Receiving objects: 12% (543/4418), 14.18 MiB | 24.00 KiB/s
    Receiving objects: 12% (543/4418), 14.21 MiB | 20.00 KiB/s
    Receiving objects: 12% (543/4418), 14.22 MiB | 18.00 KiB/s
    Receiving objects: 12% (543/4418), 14.25 MiB | 19.00 KiB/s
    Receiving objects: 12% (543/4418), 14.31 MiB | 23.00 KiB/s
    Receiving objects: 12% (544/4418), 14.35 MiB | 31.00 KiB/s
    Receiving objects: 12% (544/4418), 14.44 MiB | 44.00 KiB/s
    Receiving objects: 12% (544/4418), 14.57 MiB | 65.00 KiB/s
    Receiving objects: 12% (544/4418), 14.68 MiB | 80.00 KiB/s
    Receiving objects: 12% (544/4418), 14.75 MiB | 80.00 KiB/s
    Receiving objects: 12% (544/4418), 14.82 MiB | 81.00 KiB/s
    Receiving objects: 12% (544/4418), 14.85 MiB | 78.00 KiB/s
    Receiving objects: 12% (544/4418), 14.88 MiB | 73.00 KiB/s
    Receiving objects: 12% (544/4418), 14.89 MiB | 62.00 KiB/s
    Receiving objects: 12% (544/4418), 14.92 MiB | 59.00 KiB/s
    Receiving objects: 12% (544/4418), 14.93 MiB | 45.00 KiB/s
    Receiving objects: 12% (544/4418), 14.96 MiB | 45.00 KiB/s
    Receiving objects: 12% (544/4418), 14.97 MiB | 34.00 KiB/s
    Receiving objects: 12% (544/4418), 15.00 MiB | 29.00 KiB/s
    Receiving objects: 12% (544/4418), 15.02 MiB | 24.00 KiB/s
    Receiving objects: 12% (544/4418), 15.04 MiB | 23.00 KiB/s
    Receiving objects: 12% (544/4418), 15.07 MiB | 22.00 KiB/s
    Receiving objects: 12% (544/4418), 15.07 MiB | 22.00 KiB/s
    Receiving objects: 12% (544/4418), 15.11 MiB | 20.00 KiB/s
    Receiving objects: 12% (544/4418), 15.13 MiB | 20.00 KiB/s
    Receiving objects: 12% (544/4418), 15.18 MiB | 22.00 KiB/s
    Receiving objects: 12% (544/4418), 15.25 MiB | 28.00 KiB/s
    Receiving objects: 12% (544/4418), 15.27 MiB | 27.00 KiB/s
    Receiving objects: 12% (544/4418), 15.30 MiB | 29.00 KiB/s
    Receiving objects: 12% (544/4418), 15.31 MiB | 28.00 KiB/s
    Receiving objects: 12% (544/4418), 15.35 MiB | 29.00 KiB/s
    Receiving objects: 12% (544/4418), 15.36 MiB | 30.00 KiB/s
    Receiving objects: 12% (544/4418), 15.38 MiB | 27.00 KiB/s
    Receiving objects: 12% (544/4418), 15.39 MiB | 22.00 KiB/s
    Receiving objects: 12% (544/4418), 15.40 MiB | 16.00 KiB/s
    Receiving objects: 12% (544/4418), 15.41 MiB | 13.00 KiB/s
    Receiving objects: 12% (544/4418), 15.42 MiB | 12.00 KiB/s
    Receiving objects: 12% (544/4418), 15.43 MiB | 10.00 KiB/s
    Receiving objects: 12% (544/4418), 15.43 MiB | 10.00 KiB/s
    Receiving objects: 12% (544/4418), 15.46 MiB | 9.00 KiB/s
    Receiving objects: 12% (544/4418), 15.48 MiB | 9.00 KiB/s
    Receiving objects: 12% (544/4418), 15.51 MiB | 12.00 KiB/s
    Receiving objects: 12% (544/4418), 15.53 MiB | 15.00 KiB/s
    Receiving objects: 12% (544/4418), 15.55 MiB | 18.00 KiB/s
    Receiving objects: 12% (544/4418), 15.57 MiB | 21.00 KiB/s
    Receiving objects: 12% (544/4418), 15.60 MiB | 23.00 KiB/s
    Receiving objects: 12% (544/4418), 15.61 MiB | 21.00 KiB/s
    Receiving objects: 12% (544/4418), 15.64 MiB | 21.00 KiB/s
    Receiving objects: 12% (544/4418), 15.65 MiB | 21.00 KiB/s
    Receiving objects: 12% (544/4418), 15.68 MiB | 21.00 KiB/s
    Receiving objects: 12% (544/4418), 15.70 MiB | 21.00 KiB/s
    Receiving objects: 12% (544/4418), 15.72 MiB | 22.00 KiB/s
    Receiving objects: 12% (544/4418), 15.76 MiB | 23.00 KiB/s
    Receiving objects: 12% (544/4418), 15.78 MiB | 23.00 KiB/s
    Receiving objects: 12% (544/4418), 15.79 MiB | 25.00 KiB/s
    Receiving objects: 12% (544/4418), 15.82 MiB | 24.00 KiB/s
    Receiving objects: 12% (544/4418), 15.86 MiB | 25.00 KiB/s
    Receiving objects: 12% (544/4418), 15.88 MiB | 24.00 KiB/s
    Receiving objects: 12% (544/4418), 15.90 MiB | 24.00 KiB/s
    Receiving objects: 12% (544/4418), 15.91 MiB | 22.00 KiB/s
    Receiving objects: 12% (544/4418), 15.93 MiB | 23.00 KiB/s
    Receiving objects: 12% (544/4418), 15.97 MiB | 25.00 KiB/s
    Receiving objects: 12% (544/4418), 16.00 MiB | 26.00 KiB/s

at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1996)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1715)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:72)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:405)
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:860)
. 11 more
ERROR: Error fetching remote repo ‘origin’
Finished: FAILURE

Please let me know ASAP.

sajidyar the log file shows that data is arriving from your git hosting provider at a rate of 25-45 KB per second. That’s too slow and is likely hitting the timeout limit defined in the Jenkins job.

There are several alternatives:

  • Increase the timeout of the job from the «Advanced clone options» section of «Additional Behaviours»
  • Increase the bandwidth to your git hosting provider with a proxy closer to your Jenkins jobs and clone from the proxy
  • Decrease the data transfer by defining a narrower «refspec» in the «Advanced» section of the repository definition
  • Decrease the data transfer by using a reference repository

Refer to my Jenkins World 2017 talk, «Git in the large» for more ideas on managing large repositories.

Please do not reopen unrelated bug reports to request help. Internet Relay Chat (IRC), the Jenkins mailing list, and other resources are much more effective ways to receive help.

Источник


ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from https://github.com/kubernetes/kubernetes
    at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:810)
    at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1066)
    at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1097)
    at hudson.scm.SCM.checkout(SCM.java:485)
    at hudson.model.AbstractProject.checkout(AbstractProject.java:1269)
    at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:607)
    at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
    at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
    at hudson.model.Run.execute(Run.java:1738)
    at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
    at hudson.model.ResourceController.execute(ResourceController.java:98)
    at hudson.model.Executor.run(Executor.java:410)
Caused by: hudson.plugins.git.GitException: Command "/usr/bin/git -c core.askpass=true fetch --tags --progress https://github.com/kubernetes/kubernetes +refs/pull/26820/*:refs/remotes/origin/pr/26820/*" returned status code 128:
stdout: 
stderr: error: RPC failed; result=18, HTTP code = 200
fatal: The remote end hung up unexpectedly

    at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1719)
    at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1463)
    at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:63)
    at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:314)
    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:120)
    at hudson.remoting.UserRequest.perform(UserRequest.java:48)
    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: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 agent-pr-2(Native Method)
    at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416)
    at hudson.remoting.UserResponse.retrieve(UserRequest.java:220)
    at hudson.remoting.Channel.call(Channel.java:781)
    at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:145)
    at sun.reflect.GeneratedMethodAccessor79.invoke(Unknown Source)
    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.$Proxy58.execute(Unknown Source)
    at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:808)
    ... 11 more
ERROR: null

I just freshly setup the Jenkins on a server. But for certain github repo I get same issue. I want to know how to resolve problems. This error occurred when I was just trying to download files from github to my Jenkins workspace.

Things that I’ve tried.

— Downgrading Jenkins

— Downgrading git.exe

Resolving deltas:  60% (42337/70365)   
Resolving deltas:  61% (43002/70365)   
Resolving deltas:  62% (43640/70365)   
Resolving deltas:  63% (44361/70365)   
Resolving deltas:  64% (45166/70365)   
Resolving deltas:  65% (45775/70365)   
Resolving deltas:  66% (46803/70365)   
Resolving deltas:  67% (47438/70365)   
Resolving deltas:  68% (48121/70365)   
Resolving deltas:  69% (48659/70365)   
Resolving deltas:  70% (49273/70365)   
Resolving deltas:  71% (50007/70365)   
remote: Total 85439 (delta 10), reused 7 (delta 1), pack-reused 85406        

	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2430)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:2044)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$500(CliGitAPIImpl.java:81)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:569)
	at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:907)
	... 11 more
ERROR: Error fetching remote repo 'origin'
Finished: FAILURE

Please help anyone any ideas? what it’s happening?

sajidyar sajid yar
added a comment — 2018-02-27 07:51 markewaite I am getting this error while I am building a .NET project having git as a source control explorer. I am using git version 2.16.1.windows.4 of git and using updated Jenkins version.

Here is the complete log while I am building a project. I don’t know what’s happening behind the scene.

 
Started by user anonymous
[EnvInject] — Loading node environment variables.
Building in workspace C:Userssajid.yar.jenkinsworkspaceRiskManagerDev
> C:Program FilesGitbingit rev-parse —is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> C:Program FilesGitbingit config remote.origin.url https://github.com/envolvevision/RiskManager.git

timeout=10
Fetching upstream changes from https://github.com/envolvevision/RiskManager.git
> C:Program FilesGitbingit —version # timeout=10
using GIT_ASKPASS to set credentials
> C:Program FilesGitbingit fetch —tags —progress https://github.com/envolvevision/RiskManager.git
+refs/heads/ :refs/remotes/origin/
ERROR: Timeout after 10 minutes
ERROR: Error fetching remote repo ‘origin’
hudson.plugins.git.GitException: Failed to fetch from https://github.com/envolvevision/RiskManager.git
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:862)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1129)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1160)
at hudson.scm.SCM.checkout(SCM.java:504)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1203)
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
at hudson.model.Run.execute(Run.java:1727)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
Caused by: hudson.plugins.git.GitException: Command «C:Program FilesGitbingit fetch —tags —progress https://github.com/envolvevision/RiskManager.git
+refs/heads/ :refs/remotes/origin/ » returned status code -1:
stdout:
stderr: remote: Counting objects: 4418, done.
remote: Compressing objects: 0% (1/2000)
remote: Compressing objects: 1% (20/2000)
remote: Compressing objects: 2% (40/2000)
remote: Compressing objects: 3% (60/2000)
remote: Compressing objects: 4% (80/2000)
remote: Compressing objects: 5% (100/2000)
remote: Compressing objects: 6% (120/2000)
remote: Compressing objects: 7% (140/2000)
remote: Compressing objects: 8% (160/2000)
remote: Compressing objects: 9% (180/2000)
remote: Compressing objects: 10% (200/2000)
remote: Compressing objects: 11% (220/2000)
remote: Compressing objects: 12% (240/2000)
remote: Compressing objects: 13% (260/2000)
remote: Compressing objects: 14% (280/2000)
remote: Compressing objects: 15% (300/2000)
remote: Compressing objects: 16% (320/2000)
remote: Compressing objects: 17% (340/2000)
remote: Compressing objects: 18% (360/2000)
remote: Compressing objects: 19% (380/2000)
remote: Compressing objects: 20% (400/2000)
remote: Compressing objects: 21% (420/2000)
remote: Compressing objects: 22% (440/2000)
remote: Compressing objects: 23% (460/2000)
remote: Compressing objects: 24% (480/2000)
remote: Compressing objects: 25% (500/2000)
remote: Compressing objects: 26% (520/2000)
remote: Compressing objects: 27% (540/2000)
remote: Compressing objects: 28% (560/2000)
remote: Compressing objects: 29% (580/2000)
remote: Compressing objects: 30% (600/2000)
remote: Compressing objects: 31% (620/2000)
remote: Compressing objects: 32% (640/2000)
remote: Compressing objects: 33% (660/2000)
remote: Compressing objects: 34% (680/2000)
remote: Compressing objects: 35% (700/2000)
remote: Compressing objects: 36% (720/2000)
remote: Compressing objects: 37% (740/2000)
remote: Compressing objects: 38% (760/2000)
remote: Compressing objects: 39% (780/2000)
remote: Compressing objects: 40% (800/2000)
remote: Compressing objects: 41% (820/2000)
remote: Compressing objects: 42% (840/2000)
remote: Compressing objects: 43% (860/2000)
remote: Compressing objects: 44% (880/2000)
remote: Compressing objects: 45% (900/2000)
remote: Compressing objects: 46% (920/2000)
remote: Compressing objects: 47% (940/2000)
remote: Compressing objects: 48% (960/2000)
remote: Compressing objects: 49% (980/2000)
remote: Compressing objects: 50% (1000/2000)
remote: Compressing objects: 51% (1020/2000)
remote: Compressing objects: 52% (1040/2000)
remote: Compressing objects: 53% (1060/2000)
remote: Compressing objects: 54% (1080/2000)
remote: Compressing objects: 55% (1100/2000)
remote: Compressing objects: 56% (1120/2000)
remote: Compressing objects: 57% (1140/2000)
remote: Compressing objects: 58% (1160/2000)
remote: Compressing objects: 59% (1180/2000)
remote: Compressing objects: 60% (1200/2000)
remote: Compressing objects: 61% (1220/2000)
remote: Compressing objects: 62% (1240/2000)
remote: Compressing objects: 63% (1260/2000)
remote: Compressing objects: 64% (1280/2000)
remote: Compressing objects: 65% (1300/2000)
remote: Compressing objects: 66% (1320/2000)
remote: Compressing objects: 67% (1340/2000)
remote: Compressing objects: 68% (1360/2000)
remote: Compressing objects: 69% (1380/2000)
remote: Compressing objects: 70% (1400/2000)
remote: Compressing objects: 71% (1420/2000)
remote: Compressing objects: 72% (1440/2000)
remote: Compressing objects: 73% (1460/2000)
remote: Compressing objects: 74% (1480/2000)
remote: Compressing objects: 75% (1500/2000)
remote: Compressing objects: 76% (1520/2000)
remote: Compressing objects: 77% (1540/2000)
remote: Compressing objects: 78% (1560/2000)
remote: Compressing objects: 79% (1580/2000)
remote: Compressing objects: 80% (1600/2000)
remote: Compressing objects: 81% (1620/2000)
remote: Compressing objects: 82% (1640/2000)
remote: Compressing objects: 83% (1660/2000)
remote: Compressing objects: 84% (1680/2000)
remote: Compressing objects: 85% (1700/2000)
remote: Compressing objects: 86% (1720/2000)
remote: Compressing objects: 87% (1740/2000)
remote: Compressing objects: 88% (1760/2000)
remote: Compressing objects: 89% (1780/2000)
remote: Compressing objects: 90% (1800/2000)
remote: Compressing objects: 91% (1820/2000)
remote: Compressing objects: 92% (1840/2000)
remote: Compressing objects: 93% (1860/2000)
remote: Compressing objects: 94% (1880/2000)
remote: Compressing objects: 95% (1900/2000)
remote: Compressing objects: 96% (1920/2000)
remote: Compressing objects: 97% (1940/2000)
remote: Compressing objects: 98% (1960/2000)
remote: Compressing objects: 99% (1980/2000)
remote: Compressing objects: 100% (2000/2000)
remote: Compressing objects: 100% (2000/2000), done.
Receiving objects: 0% (1/4418)
Receiving objects: 1% (45/4418)
Receiving objects: 1% (81/4418), 52.00 KiB | 42.00 KiB/s
Receiving objects: 1% (82/4418), 164.00 KiB | 53.00 KiB/s
Receiving objects: 1% (82/4418), 172.00 KiB | 42.00 KiB/s
Receiving objects: 2% (132/4418), 3.95 MiB | 19.00 KiB/s
Receiving objects: 3% (133/4418), 3.96 MiB | 18.00 KiB/s
Receiving objects: 3% (133/4418), 4.01 MiB | 24.00 KiB/s
Receiving objects: 4% (177/4418), 6.26 MiB | 61.00 KiB/s
Receiving objects: 5% (221/4418), 6.32 MiB | 60.00 KiB/s
Receiving objects: 5% (264/4418), 6.46 MiB | 36.00 KiB/s
Receiving objects: 6% (266/4418), 6.46 MiB | 36.00 KiB/s
Receiving objects: 6% (276/4418), 6.47 MiB | 32.00 KiB/s
Receiving objects: 7% (310/4418), 6.49 MiB | 28.00 KiB/s
Receiving objects: 7% (325/4418), 6.50 MiB | 22.00 KiB/s
Receiving objects: 8% (354/4418), 6.50 MiB | 22.00 KiB/s
Receiving objects: 8% (374/4418), 6.50 MiB | 22.00 KiB/s
Receiving objects: 9% (398/4418), 6.52 MiB | 21.00 KiB/s
Receiving objects: 9% (441/4418), 6.79 MiB | 32.00 KiB/s
Receiving objects: 10% (442/4418), 6.79 MiB | 32.00 KiB/s
Receiving objects: 10% (446/4418), 6.82 MiB | 36.00 KiB/s
Receiving objects: 10% (478/4418), 10.88 MiB | 26.00 KiB/s
Receiving objects: 10% (481/4418), 10.93 MiB | 28.00 KiB/s
Receiving objects: 10% (481/4418), 10.94 MiB | 26.00 KiB/s
Receiving objects: 10% (485/4418), 10.99 MiB | 32.00 KiB/s
Receiving objects: 11% (486/4418), 10.99 MiB | 32.00 KiB/s
Receiving objects: 11% (491/4418), 11.04 MiB | 35.00 KiB/s
Receiving objects: 11% (491/4418), 11.07 MiB | 33.00 KiB/s
Receiving objects: 11% (493/4418), 11.09 MiB | 31.00 KiB/s
Receiving objects: 11% (495/4418), 11.11 MiB | 26.00 KiB/s
Receiving objects: 11% (497/4418), 11.12 MiB | 25.00 KiB/s
Receiving objects: 11% (497/4418), 11.13 MiB | 24.00 KiB/s
Receiving objects: 11% (498/4418), 11.14 MiB | 19.00 KiB/s
Receiving objects: 11% (500/4418), 11.16 MiB | 14.00 KiB/s
Receiving objects: 11% (501/4418), 11.18 MiB | 13.00 KiB/s
Receiving objects: 11% (501/4418), 11.20 MiB | 13.00 KiB/s
Receiving objects: 11% (502/4418), 11.21 MiB | 14.00 KiB/s
Receiving objects: 11% (504/4418), 11.23 MiB | 14.00 KiB/s
Receiving objects: 11% (505/4418), 11.24 MiB | 15.00 KiB/s
Receiving objects: 11% (506/4418), 11.28 MiB | 17.00 KiB/s
Receiving objects: 11% (506/4418), 11.29 MiB | 20.00 KiB/s
Receiving objects: 11% (508/4418), 11.32 MiB | 21.00 KiB/s
Receiving objects: 11% (508/4418), 11.34 MiB | 21.00 KiB/s
Receiving objects: 11% (508/4418), 11.36 MiB | 20.00 KiB/s
Receiving objects: 11% (508/4418), 11.37 MiB | 18.00 KiB/s
Receiving objects: 11% (508/4418), 11.39 MiB | 19.00 KiB/s
Receiving objects: 11% (508/4418), 11.40 MiB | 17.00 KiB/s
Receiving objects: 11% (509/4418), 11.42 MiB | 18.00 KiB/s
Receiving objects: 11% (511/4418), 11.43 MiB | 17.00 KiB/s
Receiving objects: 11% (511/4418), 11.44 MiB | 15.00 KiB/s
Receiving objects: 11% (514/4418), 11.47 MiB | 16.00 KiB/s
Receiving objects: 11% (514/4418), 11.49 MiB | 17.00 KiB/s
Receiving objects: 11% (514/4418), 11.54 MiB | 21.00 KiB/s
Receiving objects: 11% (517/4418), 11.56 MiB | 22.00 KiB/s
Receiving objects: 11% (517/4418), 11.57 MiB | 22.00 KiB/s
Receiving objects: 11% (517/4418), 11.61 MiB | 26.00 KiB/s
Receiving objects: 11% (517/4418), 11.66 MiB | 33.00 KiB/s
Receiving objects: 11% (519/4418), 11.73 MiB | 38.00 KiB/s
Receiving objects: 11% (522/4418), 11.76 MiB | 40.00 KiB/s
Receiving objects: 11% (524/4418), 11.80 MiB | 39.00 KiB/s
Receiving objects: 11% (526/4418), 11.83 MiB | 42.00 KiB/s
Receiving objects: 11% (526/4418), 11.88 MiB | 44.00 KiB/s
Receiving objects: 11% (526/4418), 11.91 MiB | 44.00 KiB/s
Receiving objects: 11% (526/4418), 11.97 MiB | 46.00 KiB/s
Receiving objects: 11% (526/4418), 12.00 MiB | 42.00 KiB/s
Receiving objects: 11% (527/4418), 12.04 MiB | 40.00 KiB/s
Receiving objects: 11% (527/4418), 12.07 MiB | 43.00 KiB/s
Receiving objects: 11% (530/4418), 12.14 MiB | 44.00 KiB/s
Receiving objects: 11% (530/4418), 12.16 MiB | 41.00 KiB/s
Receiving objects: 11% (530/4418), 12.19 MiB | 40.00 KiB/s
Receiving objects: 11% (530/4418), 12.23 MiB | 35.00 KiB/s
Receiving objects: 12% (531/4418), 12.23 MiB | 35.00 KiB/s
Receiving objects: 12% (531/4418), 12.26 MiB | 34.00 KiB/s
Receiving objects: 12% (533/4418), 12.26 MiB | 34.00 KiB/s
Receiving objects: 12% (536/4418), 12.31 MiB | 32.00 KiB/s
Receiving objects: 12% (536/4418), 12.33 MiB | 28.00 KiB/s
Receiving objects: 12% (536/4418), 12.36 MiB | 28.00 KiB/s
Receiving objects: 12% (536/4418), 12.37 MiB | 26.00 KiB/s
Receiving objects: 12% (537/4418), 12.39 MiB | 26.00 KiB/s
Receiving objects: 12% (538/4418), 12.40 MiB | 24.00 KiB/s
Receiving objects: 12% (539/4418), 12.43 MiB | 22.00 KiB/s
Receiving objects: 12% (539/4418), 12.44 MiB | 20.00 KiB/s
Receiving objects: 12% (539/4418), 12.46 MiB | 19.00 KiB/s
Receiving objects: 12% (539/4418), 12.50 MiB | 20.00 KiB/s
Receiving objects: 12% (539/4418), 12.54 MiB | 21.00 KiB/s
Receiving objects: 12% (539/4418), 12.57 MiB | 26.00 KiB/s
Receiving objects: 12% (539/4418), 12.57 MiB | 25.00 KiB/s
Receiving objects: 12% (539/4418), 12.61 MiB | 26.00 KiB/s
Receiving objects: 12% (539/4418), 12.64 MiB | 27.00 KiB/s
Receiving objects: 12% (539/4418), 12.67 MiB | 28.00 KiB/s
Receiving objects: 12% (539/4418), 12.69 MiB | 27.00 KiB/s
Receiving objects: 12% (539/4418), 12.71 MiB | 27.00 KiB/s
Receiving objects: 12% (539/4418), 12.74 MiB | 24.00 KiB/s
Receiving objects: 12% (539/4418), 12.75 MiB | 24.00 KiB/s
Receiving objects: 12% (539/4418), 12.77 MiB | 22.00 KiB/s
Receiving objects: 12% (539/4418), 12.79 MiB | 23.00 KiB/s
Receiving objects: 12% (539/4418), 12.80 MiB | 20.00 KiB/s
Receiving objects: 12% (539/4418), 12.82 MiB | 19.00 KiB/s
Receiving objects: 12% (542/4418), 12.83 MiB | 19.00 KiB/s
Receiving objects: 12% (543/4418), 12.90 MiB | 23.00 KiB/s
Receiving objects: 12% (543/4418), 12.93 MiB | 26.00 KiB/s
Receiving objects: 12% (543/4418), 12.97 MiB | 28.00 KiB/s
Receiving objects: 12% (543/4418), 13.01 MiB | 32.00 KiB/s
Receiving objects: 12% (543/4418), 13.06 MiB | 36.00 KiB/s
Receiving objects: 12% (543/4418), 13.08 MiB | 38.00 KiB/s
Receiving objects: 12% (543/4418), 13.10 MiB | 35.00 KiB/s
Receiving objects: 12% (543/4418), 13.13 MiB | 37.00 KiB/s
Receiving objects: 12% (543/4418), 13.16 MiB | 32.00 KiB/s
Receiving objects: 12% (543/4418), 13.18 MiB | 30.00 KiB/s
Receiving objects: 12% (543/4418), 13.19 MiB | 25.00 KiB/s
Receiving objects: 12% (543/4418), 13.23 MiB | 24.00 KiB/s
Receiving objects: 12% (543/4418), 13.25 MiB | 24.00 KiB/s
Receiving objects: 12% (543/4418), 13.28 MiB | 27.00 KiB/s
Receiving objects: 12% (543/4418), 13.30 MiB | 25.00 KiB/s
Receiving objects: 12% (543/4418), 13.35 MiB | 28.00 KiB/s
Receiving objects: 12% (543/4418), 13.39 MiB | 32.00 KiB/s
Receiving objects: 12% (543/4418), 13.41 MiB | 32.00 KiB/s
Receiving objects: 12% (543/4418), 13.50 MiB | 41.00 KiB/s
Receiving objects: 12% (543/4418), 13.53 MiB | 41.00 KiB/s
Receiving objects: 12% (543/4418), 13.58 MiB | 48.00 KiB/s
Receiving objects: 12% (543/4418), 13.65 MiB | 54.00 KiB/s
Receiving objects: 12% (543/4418), 13.72 MiB | 60.00 KiB/s
Receiving objects: 12% (543/4418), 13.76 MiB | 60.00 KiB/s
Receiving objects: 12% (543/4418), 13.82 MiB | 54.00 KiB/s
Receiving objects: 12% (543/4418), 13.86 MiB | 55.00 KiB/s
Receiving objects: 12% (543/4418), 13.89 MiB | 51.00 KiB/s
Receiving objects: 12% (543/4418), 13.93 MiB | 45.00 KiB/s
Receiving objects: 12% (543/4418), 13.96 MiB | 43.00 KiB/s
Receiving objects: 12% (543/4418), 14.00 MiB | 36.00 KiB/s
Receiving objects: 12% (543/4418), 14.05 MiB | 35.00 KiB/s
Receiving objects: 12% (543/4418), 14.06 MiB | 35.00 KiB/s
Receiving objects: 12% (543/4418), 14.09 MiB | 35.00 KiB/s
Receiving objects: 12% (543/4418), 14.11 MiB | 31.00 KiB/s
Receiving objects: 12% (543/4418), 14.14 MiB | 30.00 KiB/s
Receiving objects: 12% (543/4418), 14.15 MiB | 26.00 KiB/s
Receiving objects: 12% (543/4418), 14.17 MiB | 23.00 KiB/s
Receiving objects: 12% (543/4418), 14.18 MiB | 24.00 KiB/s
Receiving objects: 12% (543/4418), 14.21 MiB | 20.00 KiB/s
Receiving objects: 12% (543/4418), 14.22 MiB | 18.00 KiB/s
Receiving objects: 12% (543/4418), 14.25 MiB | 19.00 KiB/s
Receiving objects: 12% (543/4418), 14.31 MiB | 23.00 KiB/s
Receiving objects: 12% (544/4418), 14.35 MiB | 31.00 KiB/s
Receiving objects: 12% (544/4418), 14.44 MiB | 44.00 KiB/s
Receiving objects: 12% (544/4418), 14.57 MiB | 65.00 KiB/s
Receiving objects: 12% (544/4418), 14.68 MiB | 80.00 KiB/s
Receiving objects: 12% (544/4418), 14.75 MiB | 80.00 KiB/s
Receiving objects: 12% (544/4418), 14.82 MiB | 81.00 KiB/s
Receiving objects: 12% (544/4418), 14.85 MiB | 78.00 KiB/s
Receiving objects: 12% (544/4418), 14.88 MiB | 73.00 KiB/s
Receiving objects: 12% (544/4418), 14.89 MiB | 62.00 KiB/s
Receiving objects: 12% (544/4418), 14.92 MiB | 59.00 KiB/s
Receiving objects: 12% (544/4418), 14.93 MiB | 45.00 KiB/s
Receiving objects: 12% (544/4418), 14.96 MiB | 45.00 KiB/s
Receiving objects: 12% (544/4418), 14.97 MiB | 34.00 KiB/s
Receiving objects: 12% (544/4418), 15.00 MiB | 29.00 KiB/s
Receiving objects: 12% (544/4418), 15.02 MiB | 24.00 KiB/s
Receiving objects: 12% (544/4418), 15.04 MiB | 23.00 KiB/s
Receiving objects: 12% (544/4418), 15.07 MiB | 22.00 KiB/s
Receiving objects: 12% (544/4418), 15.07 MiB | 22.00 KiB/s
Receiving objects: 12% (544/4418), 15.11 MiB | 20.00 KiB/s
Receiving objects: 12% (544/4418), 15.13 MiB | 20.00 KiB/s
Receiving objects: 12% (544/4418), 15.18 MiB | 22.00 KiB/s
Receiving objects: 12% (544/4418), 15.25 MiB | 28.00 KiB/s
Receiving objects: 12% (544/4418), 15.27 MiB | 27.00 KiB/s
Receiving objects: 12% (544/4418), 15.30 MiB | 29.00 KiB/s
Receiving objects: 12% (544/4418), 15.31 MiB | 28.00 KiB/s
Receiving objects: 12% (544/4418), 15.35 MiB | 29.00 KiB/s
Receiving objects: 12% (544/4418), 15.36 MiB | 30.00 KiB/s
Receiving objects: 12% (544/4418), 15.38 MiB | 27.00 KiB/s
Receiving objects: 12% (544/4418), 15.39 MiB | 22.00 KiB/s
Receiving objects: 12% (544/4418), 15.40 MiB | 16.00 KiB/s
Receiving objects: 12% (544/4418), 15.41 MiB | 13.00 KiB/s
Receiving objects: 12% (544/4418), 15.42 MiB | 12.00 KiB/s
Receiving objects: 12% (544/4418), 15.43 MiB | 10.00 KiB/s
Receiving objects: 12% (544/4418), 15.43 MiB | 10.00 KiB/s
Receiving objects: 12% (544/4418), 15.46 MiB | 9.00 KiB/s
Receiving objects: 12% (544/4418), 15.48 MiB | 9.00 KiB/s
Receiving objects: 12% (544/4418), 15.51 MiB | 12.00 KiB/s
Receiving objects: 12% (544/4418), 15.53 MiB | 15.00 KiB/s
Receiving objects: 12% (544/4418), 15.55 MiB | 18.00 KiB/s
Receiving objects: 12% (544/4418), 15.57 MiB | 21.00 KiB/s
Receiving objects: 12% (544/4418), 15.60 MiB | 23.00 KiB/s
Receiving objects: 12% (544/4418), 15.61 MiB | 21.00 KiB/s
Receiving objects: 12% (544/4418), 15.64 MiB | 21.00 KiB/s
Receiving objects: 12% (544/4418), 15.65 MiB | 21.00 KiB/s
Receiving objects: 12% (544/4418), 15.68 MiB | 21.00 KiB/s
Receiving objects: 12% (544/4418), 15.70 MiB | 21.00 KiB/s
Receiving objects: 12% (544/4418), 15.72 MiB | 22.00 KiB/s
Receiving objects: 12% (544/4418), 15.76 MiB | 23.00 KiB/s
Receiving objects: 12% (544/4418), 15.78 MiB | 23.00 KiB/s
Receiving objects: 12% (544/4418), 15.79 MiB | 25.00 KiB/s
Receiving objects: 12% (544/4418), 15.82 MiB | 24.00 KiB/s
Receiving objects: 12% (544/4418), 15.86 MiB | 25.00 KiB/s
Receiving objects: 12% (544/4418), 15.88 MiB | 24.00 KiB/s
Receiving objects: 12% (544/4418), 15.90 MiB | 24.00 KiB/s
Receiving objects: 12% (544/4418), 15.91 MiB | 22.00 KiB/s
Receiving objects: 12% (544/4418), 15.93 MiB | 23.00 KiB/s
Receiving objects: 12% (544/4418), 15.97 MiB | 25.00 KiB/s
Receiving objects: 12% (544/4418), 16.00 MiB | 26.00 KiB/s

at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1996)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1715)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:72)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:405)
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:860)
… 11 more
ERROR: Error fetching remote repo ‘origin’
Finished: FAILURE
 
 
Please let me know ASAP.

How to fix Error fetching remote repository ‘origin’ from Jenkins build jobs. In this tutorial, I will be fixing the Jenkins pipeline error timeout after 10 minutes.

Jenkins build job error code as below

ERROR: Timeout after 10 minutes
ERROR: Error fetching remote repo 'origin'
Caused by: hudson.plugins.git.GitException: Command "/usr/local/git/bin/git fetch --tags --progress https://gitlab.com/devopsroles.git +refs/heads/*:refs/remotes/origin/*" returned status code 143:

Cause by

  1. incorrect credentials were provided with the Jenkins job definition.
  2. The repository is so large that it takes more than 10 minutes to clone.
  3. Bandwidth to the git server is slow enough that it takes more than 10 minutes to clone.

Jenkins pipeline error timeout after 10 minutes fixed

stage('Getsource') { // for display purposes
    // Get some code from a GitHub repository
    checkout([$class: 'GitSCM',
        branches: [[name: "${TARGET_BRANCH}"]],
        extensions: [[$class: 'CloneOption', timeout: 120]],
        gitTool: 'Default', 
        userRemoteConfigs: [[credentialsId: 'w55f8df9-0183-4b80-96d8-917ccccccccccc', url: 'https://gitlab.com/devopsroles.git']]
    ])
}

In my example, I will Increase the timeout is 120 minutes for the Git checkout source from the repository.

Conclusion

Through the article, you have solved the problem of Jenkins pipeline error timeout after 10 minutes as above. I hope will this your helpful.

Thank you for reading the DevopsRoles page!

Jenkins, jenkins build, jenkins pipeline error

I’m trying to run a build from a Jenkins jobs.  I get the following error:

 > git fetch --tags --progress ssh://git@sulley:7999/banpages/alumni.git +refs/heads/*:refs/remotes/origin/*
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from ssh://git@sulley:7999/banpages/alumni.git
	at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:888)
	at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1155)
	at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1186)
	at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:113)
	at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:85)
	at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:75)
	at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:47)
	at hudson.security.ACL.impersonate(ACL.java:290)
	at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:44)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: hudson.plugins.git.GitException: Command "git fetch --tags --progress ssh://git@sulley:7999/banpages/alumni.git +refs/heads/*:refs/remotes/origin/*" returned status code 128:
stdout: 
stderr: Permission denied (publickey).
fatal: The remote end hung up unexpectedly

When I try to go to the «Access Keys» page under project setting in BitBucket. I get a 500 error.

I have ssh keys on both the Jenkins server and the BitBucket server. The Bitbucket service is started at «atlbitbucket». The ssh key is generated for the «git» user. Do I need to generate atlbitbucket keys as well? 

Thanks,

Mike Lamar

Понравилась статья? Поделить с друзьями:
  • Error fetching packages see console
  • Error fetching nut resource status data error fetching ups state
  • Error fetching interface information
  • Error fetching identities for protocol 1 agent refused operation
  • Error fetching http headers что это