Re: GIT Time out

2015-09-07 Thread Simon Richter
Hi,

On 07.09.2015 12:33, thili...@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

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/55ED9245.10302%40hogyros.de.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: OpenPGP digital signature


Re: GIT Time out

2015-09-07 Thread nicolas de loof
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 ?

2015-09-07 13:08 GMT+02:00 :

> HI
>
> Found the solution
>
> last answer
>
>
> http://stackoverflow.com/questions/19954727/jenkins-time-out-while-fetching-from-github-in-10-mins
>
>
> On Monday, September 7, 2015 at 4:03:24 PM UTC+5:30, thil...@wso2.com
> wrote:
>>
>> 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 minutesERROR 
>> : 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: nullFinished 
>> : FAILURE
>>
>>
>>
>> thanks
>>
>> --
> 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-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/m

Re: GIT Time out

2015-09-07 Thread thilinam
HI

Found the solution

last answer 

http://stackoverflow.com/questions/19954727/jenkins-time-out-while-fetching-from-github-in-10-mins

On Monday, September 7, 2015 at 4:03:24 PM UTC+5:30, thil...@wso2.com wrote:
>
> 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 minutesERROR 
> : 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: nullFinished : 
> FAILURE
>
>
>
> thanks
>
>

-- 
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-users+unsubscr...@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.


GIT Time out

2015-09-07 Thread thilinam
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 minutesERROR 
: 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: nullFinished : 
FAILURE



thanks

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/76155cc5-caf7-4722-8164-edfcc230e7a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.