Jenkins with Git plugin always failed to clone webkit project

61 views
Skip to first unread message

Mengwei Ding

unread,
Jan 11, 2016, 5:33:43 PM1/11/16
to Jenkins Users
Hi,

My local jenkins instance failed to clone the origin webkit project (https://github.com/WebKit/webkit) all the time (> 10) with the following exception:

Receiving objects:  49% (1432424/2885707), 3.89 GiB | 11.22 MiB/s   
Receiving objects:  49% (1440225/2885707), 3.90 GiB | 11.26 MiB/s   
Receiving objects:  50% (1442854/2885707), 3.91 GiB | 11.40 MiB/s   
Receiving objects:  50% (1447858/2885707), 3.92 GiB | 11.42 MiB/s   
Receiving objects:  50% (1450535/2885707), 3.93 GiB | 11.69 MiB/s   
Receiving objects:  50% (1450794/2885707), 3.94 GiB | 11.52 MiB/s   
Receiving objects:  50% (1451224/2885707), 3.95 GiB | 11.61 MiB/s   
Receiving objects:  50% (1453556/2885707), 3.96 GiB | 11.62 MiB/s   
Receiving objects:  50% (1455445/2885707), 3.97 GiB | 11.24 MiB/s   
Receiving objects:  50% (1462298/2885707), 3.98 GiB | 11.04 MiB/s   
Receiving objects:  51% (1471711/2885707), 3.99 GiB | 11.27 MiB/s   
Receiving objects:  51% (1474722/2885707), 4.00 GiB | 11.39 MiB/s   
Receiving objects:  51% (1475986/2885707), 4.00 GiB | 11.20 MiB/s   
Receiving objects:  51% (1476655/2885707), 4.02 GiB | 10.92 MiB/s   
Receiving objects:  51% (1477407/2885707), 4.03 GiB | 10.77 MiB/s   
Receiving objects:  51% (1478535/2885707), 4.04 GiB | 10.58 MiB/s   
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1640)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1388)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:62)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:313)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:505)
	at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1003)
	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.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:98)
	at hudson.model.Executor.run(Executor.java:410)
ERROR: null

Since the webkit project source is huge ( > 4 GB), I am expecting some errors, but do you guys know how to fix this for my case? It this a natural bug of git plugin? or the size is beyond git plugin's ability?

My jenkins version is Jenkins ver. 1.634
My jenkins git plugin version is 2.4.0

Thanks,
Mengwei

Mark Waite

unread,
Jan 11, 2016, 7:13:26 PM1/11/16
to Jenkins Users
You probably need to set the clone timeout to something large than the default of 10 minutes.  The "Advanced Clone Behaviours" selection under "Additional Behaviours" will allow you to set a larger timeout.

The plugin has a timeout because there are some cases where the git command line program can block while waiting for user input.  Rather than block indefinitely, the plugin has a user controlled timeout for most of its operations.

Mark Waite

--
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/18771289-eb2f-4aaf-9b66-eaccb498b95e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mengwei Ding

unread,
Jan 16, 2016, 5:27:08 PM1/16/16
to Jenkins Users, Lambda Lab


Great, thanks Mark. It actually works.

Mengwei
Reply all
Reply to author
Forward
0 new messages