Thanks the "SCM checkout retry count" helped

On Wednesday, January 20, 2016 at 7:32:30 PM UTC+2, Klaus Schniedergers 
wrote:
>
> If you're dealing with a flaky origin repository, the "SCM checkout retry 
> count" configuration comes in very handy.
> It's in the main Jenkins configuration screen.
>
> On Wed, Jan 20, 2016 at 5:56 AM, Mark Waite <[email protected] 
> <javascript:>> wrote:
>
>> If it is a large repository, and if you don't mind keeping an extra copy 
>> on your slave, you might consider using the "reference repository" option.  
>> That allows you to place a bare copy of the git repository on your slave 
>> and reference its contents rather than copying them over the network.  It 
>> saves network time and can save disc space if you have multiple jobs 
>> cloning the same original repository.
>>
>> Mark Waite
>>
>> On Wed, Jan 20, 2016 at 6:28 AM Victor Martinez <[email protected] 
>> <javascript:>> wrote:
>>
>>> Timeout issue as you can see
>>>
>>> *09:40:08* ERROR: Timeout after 20 minutes
>>>
>>>
>>>
>>> You can set that value as you probably did  it since the default timeout 
>>> is 10 minutes. Probably some networking latency issue in your system so you 
>>> can bypass it with a longer timeout.
>>>
>>> Cheers
>>>
>>> On Wednesday, 20 January 2016 08:44:31 UTC, GS_L wrote:
>>>>
>>>> I attached the logs - (I removed the repository url)
>>>>
>>>>
>>>> Job with default timeout:
>>>>
>>>> Cloning the remote Git repository
>>>> Cloning repository . <https://github.com/cloudify-cosmo/cloudify-cli.git>..
>>>>  > git init 
>>>> /var/lib/jenkins/jobs/NightlyBuild-3.4/workspace/dir_clis/build_cli_centos_final/cloudify-cli
>>>>  # timeout=10
>>>> Fetching upstream changes from . 
>>>> <https://github.com/cloudify-cosmo/cloudify-cli.git>..
>>>>  > git --version # timeout=10
>>>>  > git -c core.askpass=true fetch --tags --progress . 
>>>> <https://github.com/cloudify-cosmo/cloudify-cli.git>.. 
>>>> +refs/heads/*:refs/remotes/origin/*
>>>> ERROR: Timeout after 10 minutesERROR 
>>>> <http://stacktrace.jenkins-ci.org/search?query=ERROR>: Error cloning 
>>>> remote repo 'origin'hudson.plugins.git.GitException 
>>>> <http://stacktrace.jenkins-ci.org/search?query=hudson.plugins.git.GitException>:
>>>>  Command "git -c core.askpass=true fetch --tags --progress . 
>>>> <https://github.com/cloudify-cosmo/cloudify-cli.git>.. 
>>>> +refs/heads/*:refs/remotes/origin/*" returned status code 143:
>>>> stdout: 
>>>> stderr: remote: Counting objects: 8354, done.        
>>>> remote: Compressing objects:   2% (1/38)           
>>>> remote: Compressing objects:   5% (2/38)           
>>>> remote: Compressing objects:   7% (3/38)           
>>>> remote: Compressing objects:  10% (4/38) 
>>>>
>>>>
>>>> Job with 20 minutes timeout:
>>>>
>>>>     *9:20:08* Cloning the remote Git repository
>>>>
>>>> *09:20:08* Cloning repository ...*09:20:08*  > git init 
>>>> /var/lib/jenkins/jobs/dir_admin/jobs/sync_xap-openspaces/workspace/xap # 
>>>> timeout=10*09:20:08* Fetching upstream changes from ...*09:20:08*  > git 
>>>> --version # timeout=10*09:20:08*  > git -c core.askpass=true fetch --tags 
>>>> --progress ... +refs/heads/*:refs/remotes/origin/* # timeout=20*09:40:08* 
>>>> ERROR: Timeout after 20 minutes*09:40:08* ERROR 
>>>> <http://stacktrace.jenkins-ci.org/search?query=ERROR>: Error cloning 
>>>> remote repo 'origin'*09:40:08* hudson.plugins.git.GitException 
>>>> <http://stacktrace.jenkins-ci.org/search?query=hudson.plugins.git.GitException>:
>>>>  Command "git -c core.askpass=true fetch --tags --progress ... 
>>>> +refs/heads/*:refs/remotes/origin/*" returned status code 143:*09:40:08* 
>>>> stdout: *09:40:08* stderr: remote: Counting objects: 1192544, done. 
>>>> [K*09:40:08* remote: Compressing objects:   0% (1/337)    [K
>>>> remote: Compressing objects:   1% (4/337)    [K
>>>> remote: Compressing objects:   2% (7/337)    [K
>>>> remote: Compressing objects:   3% (11/337)    [K
>>>> remote: Compressing objects:   4% (14/337)    [K
>>>> remote: Compressing objects:   5% (17/337)    [K
>>>>
>>>> remote: Compressing objects:   6% (21/337)    [K      
>>>>
>>>>
>>>> On Wednesday, January 20, 2016 at 10:18:29 AM UTC+2, Victor Martinez 
>>>> wrote:
>>>>>
>>>>> Correct me if I'm wrong but those log details are not enough, can you 
>>>>> attach your full console log? Probably there is something else after that 
>>>>> error in the stacktrace error output. It might be related to some timeout 
>>>>> issues...
>>>>>
>>>>> Cheers
>>>>>
>>>>> On Tuesday, 19 January 2016 14:17:34 UTC, GS_L wrote:
>>>>>>
>>>>>> I'm using jenkins 1.631 on ubuntu 14.04, slaves installed also on 
>>>>>> ubuntu 14.04.
>>>>>> I added git path to PATH env variable.
>>>>>> git plugins:
>>>>>> Git client plugin 1.19.1
>>>>>> Git plugin 2.4.1
>>>>>> GitHub API Plugin 1.71
>>>>>> GitHub plugin 1.14.2
>>>>>>
>>>>>> Sometimes I get the following error: "ERROR: Error cloning remote 
>>>>>> repo 'origin'"
>>>>>> hudson.plugins.git.GitException: Command "git -c core.askpass=true 
>>>>>> fetch --tags --progress ... +refs/heads/*:refs/remotes/origin/*" 
>>>>>> returned 
>>>>>> status code 143:
>>>>>> It's happen on master and slaves as well.
>>>>>>
>>>>>> Most of the builds success but everyday some of the builds fail on 
>>>>>> this error.
>>>>>> I looked over the posts with the same problem but I haven't found a 
>>>>>> solution.
>>>>>>
>>>>>> Please your advice.
>>>>>>
>>>>> -- 
>>> 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 [email protected] <javascript:>.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/jenkinsci-users/87e5dd63-b984-4e61-a6ce-f00ed5185b53%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/jenkinsci-users/87e5dd63-b984-4e61-a6ce-f00ed5185b53%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> -- 
>> 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 [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtFGw3LQ8%2Bt72S9Rcx3pG3U243%2BqFKkf%3D3wFp3j67E-cVw%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtFGw3LQ8%2Bt72S9Rcx3pG3U243%2BqFKkf%3D3wFp3j67E-cVw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/75547435-bfda-49e0-b51f-d4f56fba9bee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to