Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jenkins: Error cloning remote repo 'origin' (HTTP code 408) #3724

Closed
jtattermusch opened this issue Oct 7, 2015 · 9 comments
Closed

Jenkins: Error cloning remote repo 'origin' (HTTP code 408) #3724

jtattermusch opened this issue Oct 7, 2015 · 9 comments
Assignees
Labels
disposition/BUILDNURSE For all buildnurse related build/test failures and flakes infra/Jenkins priority/P0

Comments

@jtattermusch
Copy link
Contributor

Fairly often, Jenkins fails to clone the git repo.
This results in the entire build failing, before even trying start a matrix build.
Corresponding http code seems to be 408 Request timeout

https://grpc-testing.appspot.com/job/gRPC_master/7973/console

ERROR: Error cloning remote repo 'origin'
hudson.plugins.git.GitException: Command "git -c core.askpass=true fetch --tags --progress http://github.com/grpc/grpc.git +refs/heads/*:refs/remotes/origin/*" returned status code 128:
stdout: 
stderr: error: RPC failed; result=22, HTTP code = 408
fatal: The remote end hung up unexpectedly

    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 org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:152)
    at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:145)
    at hudson.remoting.UserRequest.perform(UserRequest.java:121)
    at hudson.remoting.UserRequest.perform(UserRequest.java:49)
    at hudson.remoting.Request$2.run(Request.java:326)
    at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)
    at ......remote call to grpc-jenkins-worker3(Native Method)
    at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1413)
    at hudson.remoting.UserResponse.retrieve(UserRequest.java:221)
    at hudson.remoting.Channel.call(Channel.java:778)
    at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:145)
    at sun.reflect.GeneratedMethodAccessor120.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:131)
    at com.sun.proxy.$Proxy48.execute(Unknown Source)
    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.matrix.MatrixBuild.run(MatrixBuild.java:301)
    at hudson.model.ResourceController.execute(ResourceController.java:98)
    at hudson.model.Executor.run(Executor.java:408)
ERROR: null
Finished: FAILURE
@jtattermusch jtattermusch added priority/P1 infra/Jenkins disposition/BUILDNURSE For all buildnurse related build/test failures and flakes labels Oct 7, 2015
@jtattermusch
Copy link
Contributor Author

CC @ctiller @nicolasnoble we discussed that today

@jtattermusch
Copy link
Contributor Author

@jtattermusch
Copy link
Contributor Author

This also happens for cells in our test matrix, not just for the "master" job.

https://grpc-testing.appspot.com/job/gRPC_master/config=dbg,language=csharp,platform=linux/7964/console

@ctiller ctiller modified the milestone: GA Nov 5, 2015
@ctiller ctiller assigned jtattermusch and adelez and unassigned ctiller and jtattermusch Dec 15, 2015
@ctiller
Copy link
Member

ctiller commented Dec 15, 2015

I won't get a chance to work on this: assigning to @adelez to watch and see if it needs work.

@ctiller ctiller modified the milestones: GA, 2016/02/15 Milestone Jan 6, 2016
@adelez
Copy link
Contributor

adelez commented Feb 17, 2016

I checked recent master builds and didn't see this error anymore. Ok to close?

@soltanmm
Copy link
Contributor

I might just be remembering this wrong, but, wasn't this just the issue that one had to hit the 'rebuild' button post-failure to get amended commits to build properly? Some sort of upstream Jenkins bug?

@adelez
Copy link
Contributor

adelez commented Mar 3, 2016

Closing since it hasn't occurred for a while.

@adelez adelez closed this as completed Mar 3, 2016
@lock lock bot locked as resolved and limited conversation to collaborators Oct 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
disposition/BUILDNURSE For all buildnurse related build/test failures and flakes infra/Jenkins priority/P0
Projects
None yet
Development

No branches or pull requests

4 participants