Re: Multibranch Pipeline Not Honoring Git Timeout During Branch Indexing

2019-05-02 Thread Sarfroz Basha
Hi,

I am also facing same error. Have you found anything related to above 
error. Can you please revert this with solution.

Regards,
Sarfroz


On Friday, October 14, 2016 at 7:07:12 PM UTC+5:30, David Johnson wrote:

> Hey all,
>
> I am trying to set up a multibranch pipeline job against a fairly large 
> repo. I have set both the fetch and checkout timeouts to 180 minutes under 
> the Advanced Clone Behaviors and Advanced Checkout Behaviors, to no avail. 
> Whenever the branch indexing job begins it reports that my timeouts are set 
> to 10 minutes and sure enough, after 10 minutes the job fails as follows.
>
> I am curious if there is some other configuration that I need to do in 
> order to get this to work properly? Whenever I try this on a smaller repo 
> with fewer branches I am able to see the branch indexing go through 
> successfully.
>
>  > git rev-parse --is-inside-work-tree # timeout=10
> Setting origin to 
>  > git config remote.origin.url  # timeout=10
> Fetching & pruning origin...
> Fetching upstream changes from origin
>  > git --version # timeout=10
> using GIT_SSH to set credentials 
>  > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/* 
> --prune
> ERROR: Timeout after 10 minutes
> FATAL: Failed to recompute children of Multibranch_Pipeline
> hudson.plugins.git.GitException: Command "git fetch --tags --progress origin 
> +refs/heads/*:refs/remotes/origin/* --prune" returned status code 143:
>
> fatal: The remote end hung up unexpectedly
> fatal: early EOF
>
> at 
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1752)
> at 
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1495)
> at 
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:64)
> at 
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:315)
> at 
> jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:233)
> at jenkins.scm.api.SCMSource.fetch(SCMSource.java:148)
> at 
> jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:294)
> at 
> com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:157)
> at 
> com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:122)
> at hudson.model.ResourceController.execute(ResourceController.java:98)
> at hudson.model.Executor.run(Executor.java:404)
> Finished: FAILURE
>
>

-- 
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/37f73e70-1619-470e-aac8-7beca92469ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Multibranch Pipeline Not Honoring Git Timeout During Branch Indexing

2016-10-19 Thread Haoran Liang
I am seeing the same error here. I have tried multiple things, including 
the jvm argument, and it doesn't work.. Have you found a solution?

On Friday, October 14, 2016 at 9:37:12 PM UTC+8, David Johnson wrote:
>
> Hey all,
>
> I am trying to set up a multibranch pipeline job against a fairly large 
> repo. I have set both the fetch and checkout timeouts to 180 minutes under 
> the Advanced Clone Behaviors and Advanced Checkout Behaviors, to no avail. 
> Whenever the branch indexing job begins it reports that my timeouts are set 
> to 10 minutes and sure enough, after 10 minutes the job fails as follows.
>
> I am curious if there is some other configuration that I need to do in 
> order to get this to work properly? Whenever I try this on a smaller repo 
> with fewer branches I am able to see the branch indexing go through 
> successfully.
>
>  > git rev-parse --is-inside-work-tree # timeout=10
> Setting origin to 
>  > git config remote.origin.url  # timeout=10
> Fetching & pruning origin...
> Fetching upstream changes from origin
>  > git --version # timeout=10
> using GIT_SSH to set credentials 
>  > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/* 
> --prune
> ERROR: Timeout after 10 minutes
> FATAL: Failed to recompute children of Multibranch_Pipeline
> hudson.plugins.git.GitException: Command "git fetch --tags --progress origin 
> +refs/heads/*:refs/remotes/origin/* --prune" returned status code 143:
>
> fatal: The remote end hung up unexpectedly
> fatal: early EOF
>
> at 
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1752)
> at 
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1495)
> at 
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:64)
> at 
> org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:315)
> at 
> jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:233)
> at jenkins.scm.api.SCMSource.fetch(SCMSource.java:148)
> at 
> jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:294)
> at 
> com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:157)
> at 
> com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:122)
> at hudson.model.ResourceController.execute(ResourceController.java:98)
> at hudson.model.Executor.run(Executor.java:404)
> Finished: FAILURE
>
>

-- 
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/b92f2ff6-b4f4-4540-b4eb-b6ebb8ba45fb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Multibranch Pipeline Not Honoring Git Timeout During Branch Indexing

2016-10-14 Thread David Johnson

Hey all,

I am trying to set up a multibranch pipeline job against a fairly large 
repo. I have set both the fetch and checkout timeouts to 180 minutes 
under the Advanced Clone Behaviors and Advanced Checkout Behaviors, to 
no avail. Whenever the branch indexing job begins it reports that my 
timeouts are set to 10 minutes and sure enough, after 10 minutes the job 
fails as follows.


I am curious if there is some other configuration that I need to do in 
order to get this to work properly? Whenever I try this on a smaller 
repo with fewer branches I am able to see the branch indexing go through 
successfully.


 > git rev-parse --is-inside-work-tree # timeout=10
Setting origin to 
 > git config remote.origin.url  # timeout=10
Fetching & pruning origin...
Fetching upstream changes from origin
 > git --version # timeout=10
using GIT_SSH to set credentials 
 > git fetch --tags --progress origin +refs/heads/*:refs/remotes/origin/* 
--prune
ERROR: Timeout after 10 minutes
FATAL: Failed to recompute children of Multibranch_Pipeline
hudson.plugins.git.GitException: Command "git fetch --tags --progress origin 
+refs/heads/*:refs/remotes/origin/* --prune" returned status code 143:

fatal: The remote end hung up unexpectedly
fatal: early EOF

at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1752)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1495)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:64)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:315)
at 
jenkins.plugins.git.AbstractGitSCMSource.retrieve(AbstractGitSCMSource.java:233)
at jenkins.scm.api.SCMSource.fetch(SCMSource.java:148)
at 
jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:294)
at 
com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:157)
at 
com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:122)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:404)
Finished: FAILURE


--
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/b5cc5934-92b2-0009-249f-39f00f7bc97a%40gmail.com.
For more options, visit https://groups.google.com/d/optout.