[JIRA] [git-client] (JENKINS-20387) Timeout (10min) on git clone command
Josh Santangelo commented on JENKINS-20387 Timeout (10min) on git clone command Still seeing this with git plugin 2.2.1, git client plugin 1.9.1 and Jenkins 1.567. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [git-client] (JENKINS-20387) Timeout (10min) on git clone command
Josh Santangelo reopened JENKINS-20387 Timeout (10min) on git clone command Still seeing this with git plugin 2.2.1, git client plugin 1.9.1 and Jenkins 1.567. Change By: Josh Santangelo (10/Jun/14 10:17 PM) Resolution: Fixed Status: Closed Reopened This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [git-client] (JENKINS-20387) Timeout (10min) on git clone command
Mark Waite commented on JENKINS-20387 Timeout (10min) on git clone command Does one of the submodules which is being updated by the "submodule update --init --recursive" require authentication? Is that authentication different than the parent repository? My theory is that the "git submodule update" is blocking with an authentication prompt. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [git-client] (JENKINS-20387) Timeout (10min) on git clone command
Josh Santangelo commented on JENKINS-20387 Timeout (10min) on git clone command They are both private github repositories which require authentication, but I have many jobs with such repositories and there are no authentication prompts since the SSL certificates are configured correctly. Even if it was blocking on an auth prompt, I would expect it to time out after the 240 minutes specified in the configuration rather than the default of 10. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [git-client] (JENKINS-20387) Timeout (10min) on git clone command
Mark Waite commented on JENKINS-20387 Timeout (10min) on git clone command There are two different classes of timeout in the plugin. Timeout for fetch is governed by the setting in the UI. Timeout for operations which are not fetch are fixed at 10 minutes, at least in one or more cases I've detected. Since fetch is the primary network operation which may be slow, non non-fetch operations are almost entirely local operations, the timeout setting has been a reasonable heuristic. Is there any way you can test my theory that the "git submodule" command is blocking on an authentication prompt? For example, can you see if your git server is sending lots of data to the client while that command is blocked? If the server is sending lots of data, then it is not an authentication prompt which is blocking. Are the submodule repositories expected to take a long time to clone (because they are large)? This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [git-client] (JENKINS-20387) Timeout (10min) on git clone command
Josh Santangelo commented on JENKINS-20387 Timeout (10min) on git clone command My workaround for this issue has been to do the initial clone and submodule update from a command shell on the server. This works great and doesn't prompt for any authentication because it's using certificates. The submodule ("Cinder") is rather large and has several submodules within it. Cloning it definitely takes longer than ten minutes, so the timeout isn't entirely surprising. (It is a fork of this: https://github.com/cinder/Cinder/tree/dev) So, I don't think it's blocking on an authentication prompt, both because it works fine from the command line, and also because the parent repo and the submodule both have the same authentication, and the parent works fine. Also when either the parent or submodule are updated, Jenkins gets those updates reliably. It's just the initial clone that's a problem. If there's another way I can confirm, let me know, and thanks for your help. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [git-client] (JENKINS-20387) Timeout (10min) on git clone command
Mark Waite commented on JENKINS-20387 Timeout (10min) on git clone command I think that description is enough to recommend that the "git submodule update" command needs to be wrapped in the same timeout as the "git fetch" commands. Thanks for the report. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [git-client] (JENKINS-20387) Timeout (10min) on git clone command
Josh Santangelo commented on JENKINS-20387 Timeout (10min) on git clone command I'm still seeing this issue using the latest version of Jenkins and all Git plugins. Below I have added the contents of the job's config.xml and the console output of the build. I am seeing this problem in both matrix builds and "freestyle" ones too. This is Jenkins running on Windows as a service. config.xml ?xml version='1.0' encoding='UTF-8'? project actions/ description/description keepDependenciesfalse/keepDependencies properties/ scm class="hudson.plugins.git.GitSCM" plugin="git@2.2.1" configVersion2/configVersion userRemoteConfigs hudson.plugins.git.UserRemoteConfig urlg...@github.com:stimulant/IMR4.git/url /hudson.plugins.git.UserRemoteConfig /userRemoteConfigs branches hudson.plugins.git.BranchSpec name*/dev/name /hudson.plugins.git.BranchSpec /branches doGenerateSubmoduleConfigurationsfalse/doGenerateSubmoduleConfigurations submoduleCfg class="list"/ extensions hudson.plugins.git.extensions.impl.CloneOption shallowfalse/shallow reference/reference timeout240/timeout /hudson.plugins.git.extensions.impl.CloneOption hudson.plugins.git.extensions.impl.SubmoduleOption disableSubmodulesfalse/disableSubmodules recursiveSubmodulestrue/recursiveSubmodules trackingSubmodulesfalse/trackingSubmodules /hudson.plugins.git.extensions.impl.SubmoduleOption /extensions /scm canRoamtrue/canRoam disabledfalse/disabled blockBuildWhenDownstreamBuildingfalse/blockBuildWhenDownstreamBuilding blockBuildWhenUpstreamBuildingfalse/blockBuildWhenUpstreamBuilding triggers hudson.triggers.SCMTrigger specH/5 * * * */spec ignorePostCommitHooksfalse/ignorePostCommitHooks /hudson.triggers.SCMTrigger /triggers concurrentBuildfalse/concurrentBuild builders/ publishers/ buildWrappers/ /project console Building in workspace C:\Jenkins\jobs\git-test\workspace Cloning the remote Git repository Cloning repository g...@github.com:stimulant/IMR4.git C:\Program Files (x86)\Git\cmd\git.exe init C:\Jenkins\jobs\git-test\workspace Fetching upstream changes from g...@github.com:stimulant/IMR4.git C:\Program Files (x86)\Git\cmd\git.exe --version C:\Program Files (x86)\Git\cmd\git.exe fetch --tags --progress g...@github.com:stimulant/IMR4.git +refs/heads/*:refs/remotes/origin/* C:\Program Files (x86)\Git\cmd\git.exe config remote.origin.url g...@github.com:stimulant/IMR4.git C:\Program Files (x86)\Git\cmd\git.exe config remote.origin.fetch +refs/heads/*:refs/remotes/origin/* C:\Program Files (x86)\Git\cmd\git.exe config remote.origin.url g...@github.com:stimulant/IMR4.git Fetching upstream changes from g...@github.com:stimulant/IMR4.git C:\Program Files (x86)\Git\cmd\git.exe fetch --tags --progress g...@github.com:stimulant/IMR4.git +refs/heads/*:refs/remotes/origin/* C:\Program Files (x86)\Git\cmd\git.exe rev-parse "origin/dev^{commit}" Checking out Revision dec485282d92247c404fe5a76c4dcfd75ace7b00 (origin/dev) C:\Program Files (x86)\Git\cmd\git.exe config core.sparsecheckout C:\Program Files (x86)\Git\cmd\git.exe checkout -f dec485282d92247c404fe5a76c4dcfd75ace7b00 First time build. Skipping changelog. C:\Program Files (x86)\Git\cmd\git.exe remote C:\Program Files (x86)\Git\cmd\git.exe submodule init C:\Program Files (x86)\Git\cmd\git.exe submodule sync C:\Program Files (x86)\Git\cmd\git.exe config --get remote.origin.url C:\Program Files (x86)\Git\cmd\git.exe submodule update --init --recursive ERROR: Timeout after 10 minutes FATAL: Command "C:\Program Files (x86)\Git\cmd\git.exe submodule update --init --recursive" returned status code -1: stdout: stderr: Cloning into 'Cinder'... hudson.plugins.git.GitException: Command "C:\Program Files (x86)\Git\cmd\git.exe submodule update --init --recursive" returned status code -1: stdout: stderr: Cloning into 'Cinder'... at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1325) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$400(CliGitAPIImpl.java:87) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$6.execute(CliGitAPIImpl.java:733) at hudson.plugins.git.extensions.impl.SubmoduleOption.onCheckoutCompleted(SubmoduleOption.java:77) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:909) at
[JIRA] [git-client] (JENKINS-20387) Timeout (10min) on git clone command
Mark Waite commented on JENKINS-20387 Timeout (10min) on git clone command Paulo Matos Since I could not reproduce JENKINS-22547 and cannot reproduce this report this report either, I need more information. Could you upload your job definition configuration file (job-name/config.xml)? Maybe I can find some insights in your job definition file. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [git-client] (JENKINS-20387) Timeout (10min) on git clone command
Paulo Matos commented on JENKINS-20387 Timeout (10min) on git clone command The new timeout option does not work for matrix projects, so you might still get the same error for matrix projects. What else can be done? This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [git-client] (JENKINS-20387) Timeout (10min) on git clone command
Mark Waite commented on JENKINS-20387 Timeout (10min) on git clone command Could you describe the situation where timeout settings are ignored in matrix projects? I assume you mean a job which Jenkins calls a "multi-configuration project". I defined a multi-configuration project, set the timeout to 1 minute, and attempted to clone a 6 GB repository to Windows 6.1, Windows 6.2, Debian 7.5, and Debian Testing. The flyweight repository (created on initial job start) correctly honored the timeout and stopped the clone operation after 1 minute. I then modified the job definition to use a reference repository and to create the initial flyweight repository on the master server so that it could use that reference repository for a faster clone. The flyweight repository was cloned successfully and the jobs started on the other machines. The two Windows machines failed their clone in 1 minute because they don't have a copy of the reference repository. As far as I can tell, the timeout option is honored by multi-configuration projects the same as it is honored for other projects. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [git-client] (JENKINS-20387) Timeout (10min) on git clone command
Paulo Matos commented on JENKINS-20387 Timeout (10min) on git clone command Correct, I have a multi-configuration project with 1 axis and 4 different rows. For each I am cloning GCC (which is a huge git repo) on a machine which has about 200 other jenkins jobs running, so by default these clones (or even just fetches) take a long time. Running Jenkins ver. 1.532.2 with git plugin 2.0.4. I have setup a job with a 60 minutes timeout. However, sometimes I still get mails with: Started by upstream project "fptools_gcc-25x_test" build number 584 originally caused by: Started by upstream project "fptools_gcc-25x" build number 659 originally caused by: Started by an SCM change Started by an SCM change Started by an SCM change Started by an SCM change Started by an SCM change Started by an SCM change Started by an SCM change Started by an SCM change Started by an SCM change Started by an SCM change Started by an SCM change [EnvInject] - Loading node environment variables. Building on master in workspace http://jenkins-cam-04.cam.broadcom.com/job/fptools_gcc-25x_test/archs=fp4014/ws/ Fetching changes from the remote Git repository Fetching upstream changes from dsl-...@eng-cbga-2.cam.broadcom.com:tools/fp_gcc Checking out Revision 4c981a3cc80a89868d6c5185865537c90ffd7af7 (origin/FP_GCC_2_5_X_BRANCH) ERROR: Timeout after 10 minutes FATAL: Could not checkout null with start point 4c981a3cc80a89868d6c5185865537c90ffd7af7 hudson.plugins.git.GitException: Could not checkout null with start point 4c981a3cc80a89868d6c5185865537c90ffd7af7 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.checkou... ... Note that the logs say: ERROR: Timeout after 10 minutes The job fptools_gcc-25x_test was set with a timeout of 60 minutes therefore the job http://jenkins-cam-04.cam.broadcom.com/job/fptools_gcc-25x_test/archs=fp4014 should have inherited it. I am happy to provide further information to help diagnose the problem. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [git-client] (JENKINS-20387) Timeout (10min) on git clone command
Mark Waite commented on JENKINS-20387 Timeout (10min) on git clone command Your git plugin version is out of date. That probably also means your git client plugin is out of date. The most recent git plugin is 2.2.1. The most recent git client plugin is 1.9.0. Since you're working with a large repository and many jobs, you probably should consider placing a bare repository in a well known location, like /var/lib/git/gcc.git, then include the path to that reference repository in the job definition near the location where you assigned the timeout value. That will reduce your disc use, dramatically reduce the clone time, and will reduce the CPU load on your git server. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [git-client] (JENKINS-20387) Timeout (10min) on git clone command
Mark Waite commented on JENKINS-20387 Timeout (10min) on git clone command Are you using submodules in your job configuration? If so, then you definitely need a newer version of the git plugin and the git client plugin, since timeout was not being copied to submodule updates. Submodules (unfortunately) do not have an easy way to use reference repositories. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [git-client] (JENKINS-20387) Timeout (10min) on git clone command
Paulo Matos commented on JENKINS-20387 Timeout (10min) on git clone command And, no we are not using submodules. Thanks. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [git-client] (JENKINS-20387) Timeout (10min) on git clone command
Paulo Matos commented on JENKINS-20387 Timeout (10min) on git clone command Thanks for the tips. We have just recently started used Jenkins so we are still trying to understand all the in/outs of the system. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [git-client] (JENKINS-20387) Timeout (10min) on git clone command
Mark Waite commented on JENKINS-20387 Timeout (10min) on git clone command I will definitely need more information to duplicate the problem. The log file hints that the "fetch" may be completing and then the "checkout" is failing. That is quite uncommon, since the fetch is a network operation and the checkout is a local file system operation, and usually the network operation is much slower than the file system operation. Are you in an environment where the file system checkout might take a very long time? If so, can you perform the operations you need to perform without using the entire tree? The git plugin supports "sparse checkout" where you can checkout a subset of the directories in the repository to make the checkout process faster (and use less disc space). As an example, we have an 8 GB repository but only need a very few directories. With a reference repository and a sparse checkout, we can complete the clone and checkout in 10-20 seconds, rather than waiting the many minutes to fetch the whole history and checkout the entire repository. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [git-client] (JENKINS-20387) Timeout (10min) on git clone command
Dietmar Suoch commented on JENKINS-20387 Timeout (10min) on git clone command updated jenkins and some plugins yesterday and now have exactly the same issue when cloning or fetching our repo. my config: Jenkins: 1.551 GIT client plugin: 1.6.3 GIT plugin: 2.0.3 happy to read that it should be fixed since git-client-plugin 1.6.2 and git-plugin 2.0.2, so i don't have to downgrade again. can anyone confirm that this is working? also where is the GUI option for configuration? i don't find anything. or can somebody explain how to set this timeout manually? thanks! This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [git-client] (JENKINS-20387) Timeout (10min) on git clone command
Mark Waite commented on JENKINS-20387 Timeout (10min) on git clone command In the job configuration page under the Git plugin section, there is a drop-down list "Add". Within that dropdown list there is a selection "Advanced clone behaviours". When you add the advanced clone behaviors, you'll see a field for "Timeout (in minutes) for clone and fetch operation". This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [git-client] (JENKINS-20387) Timeout (10min) on git clone command
Mark Waite closed JENKINS-20387 as Fixed Timeout (10min) on git clone command Change By: Mark Waite (25/Feb/14 12:06 PM) Status: Resolved Closed This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [git-client] (JENKINS-20387) Timeout (10min) on git clone command
Dietmar Suoch commented on JENKINS-20387 Timeout (10min) on git clone command and there it is - thank you very much Mark!!! i looked only under jenkins configuration. but makes sense to put it as a per job setting (forgot to look there). and i think also the shallow clone option helped to make the checkout faster ... This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [git-client] (JENKINS-20387) Timeout (10min) on git clone command
Curtis Kline commented on JENKINS-20387 Timeout (10min) on git clone command I just ran into problems with this timeout when one of my repos got particularly large. This is a Windows development project, so a Windows slave has to clone the repo. This takes about 15 minutes (or 1.5 minutes on a Mac!!), and I am unable to figure out how to change the timeout value on my Windows slave. I am using JNLP to connect the slave to the master. Any suggestions would be appreciated. (wishing for a GUI option for controlling the timeout feature) This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [git-client] (JENKINS-20387) Timeout (10min) on git clone command
Mark Waite commented on JENKINS-20387 Timeout (10min) on git clone command The GUI option for controlling the timeout will be available in the next release of the git-plugin (after 2.0.1). This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [git-client] (JENKINS-20387) Timeout (10min) on git clone command
Mark Waite edited a comment on JENKINS-20387 Timeout (10min) on git clone command Pull requests have been accepted to both git-client-plugin and git-plugin. This fix is available in git-client-plugin 1.6.2. It will also need the next release of the git-plugin after 2.0.2 This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [git-client] (JENKINS-20387) Timeout (10min) on git clone command
Mark Waite resolved JENKINS-20387 as Fixed Timeout (10min) on git clone command Pull request has been accepted. This fix should be available in the next release of the git-client-plugin after 1.6.1 Change By: Mark Waite (04/Feb/14 12:04 PM) Status: Reopened Resolved Resolution: Fixed This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [git-client] (JENKINS-20387) Timeout (10min) on git clone command
Mark Waite commented on JENKINS-20387 Timeout (10min) on git clone command Pull request has been submitted to git-client-plugin https://github.com/jenkinsci/git-client-plugin/pull/92 and to git-plugin https://github.com/jenkinsci/git-plugin/pull/197 proposing to include timeout setting in the Git plugin user interface. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [git-client] (JENKINS-20387) Timeout (10min) on git clone command
Bernardo Oliveira Pinto commented on JENKINS-20387 Timeout (10min) on git clone command @Kjell you can go to Manage Jenkins Manage Nodes slave Configure and set the JVM Options to -Dorg.jenkinsci.plugins.gitclient.Git.timeOut=400 (I'm using the Launch slave agents on Unix machines via SSH option). This worked for me. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [git-client] (JENKINS-20387) Timeout (10min) on git clone command
Eric Borts commented on JENKINS-20387 Timeout (10min) on git clone command I went the route that Mark suggested by logging in as the jenkins user and updating the workspace repository manually. I tried using a reference repo but that doesn't appear to work on Windows. @Joseph, it looks like the the java parameters are [set in jenkins.xml|http://stackoverflow.com/a/5936588/1174169 ] in the JENKINS_HOME directory. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [git-client] (JENKINS-20387) Timeout (10min) on git clone command
Eric Borts edited a comment on JENKINS-20387 Timeout (10min) on git clone command I went the route that Mark suggested by logging in as the jenkins user and updating the workspace repository manually. I tried using a reference repo but that doesn't appear to work on Windows. @Joseph, it looks like the the java parameters are set in jenkins.xml in the JENKINS_HOME directory http://stackoverflow.com/a/5936588/1174169 This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [git-client] (JENKINS-20387) Timeout (10min) on git clone command
Joseph S commented on JENKINS-20387 Timeout (10min) on git clone command How do I set the "org.jenkinsci.plugins.gitclient.Git.timeout" configuration on a Jenkins running on Windows 2012 as a Service? Thnx, (If this is not the rigth place to ask this question, kindly let me know where should I go, thnx). This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [git-client] (JENKINS-20387) Timeout (10min) on git clone command
Mark Waite commented on JENKINS-20387 Timeout (10min) on git clone command I'd ask the question on the Jenkins users mailing list. I don't know how to pass Java properties to the java virtual machine running as a service on Windows. There are more people using the service on the Jenkins users mailing list than there are people monitoring this bug. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [git-client] (JENKINS-20387) Timeout (10min) on git clone command
Ian Will commented on JENKINS-20387 Timeout (10min) on git clone command Same answer as above, but with more hand-holding for ubuntu servers. sudo /etc/init.d/jenkins stop sudo vi /etc/init.d/jenkins (insert this directly below DAEMON_ARGS) #Timeout is in minutes, 120 = 2 hours JAVA_ARGS="-Dorg.jenkinsci.plugins.gitclient.Git.timeOut=120" sudo /etc/init.d/jenkins start This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [git-client] (JENKINS-20387) Timeout (10min) on git clone command
Ian Will edited a comment on JENKINS-20387 Timeout (10min) on git clone command I can confirm that updating the timeout resolved the issue for our very large repository. Here's a bit more hand-holding for ubuntu servers. sudo /etc/init.d/jenkins stop sudo vi /etc/init.d/jenkins (insert this directly below DAEMON_ARGS) #Timeout is in minutes, 120 = 2 hours JAVA_ARGS="-Dorg.jenkinsci.plugins.gitclient.Git.timeOut=120" sudo /etc/init.d/jenkins start This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [git-client] (JENKINS-20387) Timeout (10min) on git clone command
David Cummings commented on JENKINS-20387 Timeout (10min) on git clone command I did some digging in the code. The introduction of the timeout corresponds to: commit 1b7fd2b18d626d8ca081933d8a004fd7b2279210 Author: Nicolas De Loof nicolas.del...@gmail.com 2013-10-28 04:23:58 Committer: Nicolas De Loof nicolas.del...@gmail.com 2013-10-28 04:23:58 Parent: ddfde14d27aa6cd802dfc9897506eae4095b4f37 (JENKINS-20189 automatically append .git to repo URL just as git-cli does when base URL don't resolve to a git repo) Child: 8512c51b116475e78b1c1ddd7c84277af0f64904 (FIXED JENKINS-20326 proxy may not require authentication) Branches: origin/1.4.x, origin/gitcredentials If you look into the code, it is designed to be configurable by a system property. Kjell Morgenstern mentioned that didn't work, but it's because the system property was misspelt in his example. The O in timeOut is capitalized. should be java -Dorg.jenkinsci.plugins.gitclient.Git.timeOut=12000 -jar jenkins.war Also, it's in minutes, not seconds. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [git-client] (JENKINS-20387) Timeout (10min) on git clone command
Mark Waite commented on JENKINS-20387 Timeout (10min) on git clone command Thanks for discovering that! I was mistakenly assuming that the most recent deliveries of the Git client plugin were released from the master branch. It appears they have been released from the 1.4.x branch. I assume that is because there are larger changes on the master branch which are not yet ready for release. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [git-client] (JENKINS-20387) Timeout (10min) on git clone command
Oleg Nenashev commented on JENKINS-20387 Timeout (10min) on git clone command Hello, https://wiki.jenkins-ci.org/display/JENKINS/Perforce+Plugin has an implementation of such timeout for external SCM binary calls. https://issues.jenkins-ci.org/browse/JENKINS-15315 describes initial track, but seems that it does not contain all changes... This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [git-client] (JENKINS-20387) Timeout (10min) on git clone command
Oleg Nenashev edited a comment on JENKINS-20387 Timeout (10min) on git clone command Hello, https://wiki.jenkins-ci.org/display/JENKINS/Perforce+Plugin has an implementation of such timeout for external SCM binary calls. JENKINS-15315 describes initial changes, but seems that it does not contain all commits... This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [git-client] (JENKINS-20387) Timeout (10min) on git clone command
Mark Waite commented on JENKINS-20387 Timeout (10min) on git clone command Thanks for the pointer, but I don't think the implementation in the Perforce plugin will help. There is already a timeout implementation in the code path used by the Git plugin. I don't understand the code well enough to find the implementation. I assume the message that is displayed is being reported by the joinWithTimeout() method in Jenkins core since it is the only java location in the jenkins, git-plugin, and git-client-plugin directories with the string "Timeout after". Unfortunately, I can't find any callers to that method. I was hopeful that others could find that and provide a pull request for consideration. Alternately, maybe there is a better way to implement the timeout such that it will reset the timeout counter each time data is received from the external process. I thought that was how it was implemented prior to git plugin 2.0, since this problem did not appear until git plugin 2.0. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [git-client] (JENKINS-20387) Timeout (10min) on git clone command
Joseph S commented on JENKINS-20387 Timeout (10min) on git clone command Mark W - Thnx for the URL (https://updates.jenkins-ci.org/download/plugins/). This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [git-client] (JENKINS-20387) Timeout (10min) on git clone command
Joseph S commented on JENKINS-20387 Timeout (10min) on git clone command I made a fresh install of Jenkins on a new box. I cant pull my repo because of the 10min time out. Any idea how can I get the 1.4.5 version mentioned earlier in this thread? Anybody has had any luck configuring a higher value to the timeout? I don't know where to dot this... Thnx, This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [git-client] (JENKINS-20387) Timeout (10min) on git clone command
Mark Waite commented on JENKINS-20387 Timeout (10min) on git clone command You will need to remove the Git plugin 2.0 and download from https://updates.jenkins-ci.org/download/plugins/ the 1.5.0 or earlier version. I've searched the code with my limited knowledge of the plugin implementation and could not find an obvious location where the timeout was controlled. We'll probably need help from the plugin maintainer or from Kohsuke. I handled my issue with the timeout by: Disable the job which can't clone because it takes longer than the timeout Login as the Jenkins user on the machine which hosts that job Use a "git clone" command in the Jenkins workspace directory for that job to clone the repository Enable the job, and let it run I admit that is an ugly work around for the root problem, but it worked for me. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [git-client] (JENKINS-20387) Timeout (10min) on git clone command
Mark Waite commented on JENKINS-20387 Timeout (10min) on git clone command @Luis, I'm sure that the current maintainer of the git plugin is more than happy to consider a pull request which would allow setting the timeout value from the user interface. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [git-client] (JENKINS-20387) Timeout (10min) on git clone command
Mark Waite edited a comment on JENKINS-20387 Timeout (10min) on git clone command Luis, I'm sure that the current maintainer of the git plugin is more than happy to consider a pull request which would allow setting the timeout value from the user interface. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [git-client] (JENKINS-20387) Timeout (10min) on git clone command
Mark Waite commented on JENKINS-20387 Timeout (10min) on git clone command Another work around is to create a local bare clone of the git repository as a reference repository, then use the "Advanced clone behaviours" setting to refer to that reference repository. That will then only copy the new content from the remote repository, and will reference the earlier content from the existing repository. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [git-client] (JENKINS-20387) Timeout (10min) on git clone command
Luis Ehlen commented on JENKINS-20387 Timeout (10min) on git clone command Any timeout parameter must be configurable! This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [git-client] (JENKINS-20387) Timeout (10min) on git clone command
Luis Ehlen commented on JENKINS-20387 Timeout (10min) on git clone command Touché. My apologies. This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira -- You received this message because you are subscribed to the Google Groups Jenkins Issues group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.