GIT Time out

619 views
Skip to first unread message

thil...@wso2.com

unread,
Sep 7, 2015, 6:33:24 AM9/7/15
to Jenkins Users
hi

when i try to build a source code in git i got the following error

what am i doing wrong?

 > git --version # timeout=10
 > git -c core.askpass=true fetch --tags --progress https://github.com/wso2/carbon-identity +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/wso2/carbon-identity
	at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:763)
	at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1012)
	at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1043)
	at hudson.scm.SCM.checkout(SCM.java:485)
	at hudson.model.AbstractProject.checkout(AbstractProject.java:1277)
	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:610)
	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:532)
	at hudson.model.Run.execute(Run.java:1741)
	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529)
	at hudson.model.ResourceController.execute(ResourceController.java:98)
	at hudson.model.Executor.run(Executor.java:381)
Caused by: hudson.plugins.git.GitException: Command "git -c core.askpass=true fetch --tags --progress https://github.com/wso2/carbon-identity +refs/heads/*:refs/remotes/origin/*" returned status code 128:
stdout: 
stderr: remote: Counting objects: 83829, done. [K
remote: Compressing objects:   4% (1/22)    [K
remote: Compressing objects:   9% (2/22)    [K
remote: Compressing objects:  13% (3/22)    [K
remote: Compressing objects:  18% (4/22)    [K
remote: Compressing objects:  22% (5/22)    [K
remote: Compressing objects:  27% (6/22)    [K
remote: Compressing objects:  31% (7/22)    [K
...

Receiving objects:   9% (7565/83829), 17.04 MiB | 164.00 KiB/s   
Receiving objects:   9% (7568/83829), 17.18 MiB | 185.00 KiB/s   
Receiving objects:   9% (7571/83829), 17.60 MiB | 247.00 KiB/s   
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1600)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1363)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:61)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:299)
	at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:761)
	... 11 more
ERROR: null
Finished: FAILURE


thanks

thil...@wso2.com

unread,
Sep 7, 2015, 7:08:04 AM9/7/15
to Jenkins Users

nicolas de loof

unread,
Sep 7, 2015, 9:33:49 AM9/7/15
to jenkins...@googlegroups.com
You also should check what makes your git clone operation so long.
Not a good idea to have a huge git repository, time for cleanup ?

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/36f9dcf6-3fa9-4947-996e-b633de80bce5%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Simon Richter

unread,
Sep 7, 2015, 9:34:20 AM9/7/15
to jenkins...@googlegroups.com
Hi,

On 07.09.2015 12:33, thil...@wso2.com wrote:

> > git -c core.askpass=true fetch --tags --progress https://github.com/wso2/carbon-identity +refs/heads/*:refs/remotes/origin/*

I have a similar issue, but with a later version of the git plugin that
supposedly already includes a fix:

13:33:53 > git submodule update --init --recursive # timeout=60
13:39:09 FATAL: Command "git submodule update --init --recursive"
returned status code 1:

I've asked the github people about it, and they are investigating, might
be that this is an issue with the load balancer.

Simon

signature.asc
Reply all
Reply to author
Forward
0 new messages