Andy Seaborne created BUILDS-33:
-----------------------------------

             Summary: Jenakin to GIT fetch timeouts
                 Key: BUILDS-33
                 URL: https://issues.apache.org/jira/browse/BUILDS-33
             Project: Infra Build Platform
          Issue Type: Bug
          Components: Jenkins
            Reporter: Andy Seaborne


We are seeing a lot of Jenkins jobs fail with the git fetch timing out after 10 
mins. The error is below. 

Once a job gets in this state, the job will typically remain in this failing 
mode every time it is triggered.

Wiping the workspace sometimes helps, not always 

Our jobs seem to run on ubuntu-2. Changing label "ubuntu" to "ubuntu" & 
!ubuntu-2" helps. 

I have also seen one occurrence on a windows slave. 

For the linux jobs, changing from "ubuntu" to  "ubuntu" & !ubuntu-2" seems to 
fix it.

{noformat}
See <https://builds.apache.org/job/Jena_Development_Deploy/777/>

------------------------------------------
Started by timer
Building remotely on ubuntu-2 (docker Ubuntu ubuntu) in workspace 
<https://builds.apache.org/job/Jena_Development_Deploy/ws/>
 > git rev-parse --is-inside-work-tree
Fetching changes from the remote Git repository
 > git config remote.origin.url git://git.apache.org/jena.git
Fetching upstream changes from git://git.apache.org/jena.git
 > git --version
 > git fetch --tags --progress git://git.apache.org/jena.git 
 > +refs/heads/*:refs/remotes/origin/*
ERROR: FATAL: Failed to fetch from git://git.apache.org/jena.git
Timeout after 10 minutes
hudson.plugins.git.GitException: Failed to fetch from 
git://git.apache.org/jena.git
        at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:623)
        at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:855)
        at hudson.plugins.git.GitSCM.checkout(GitSCM.java:880)
        at hudson.model.AbstractProject.checkout(AbstractProject.java:1252)
        at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:615)
        at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
        at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:524)
        at hudson.model.Run.execute(Run.java:1706)
        at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529)
        at hudson.model.ResourceController.execute(ResourceController.java:88)
        at hudson.model.Executor.run(Executor.java:232)
Caused by: hudson.plugins.git.GitException: Command "git fetch --tags 
--progress git://git.apache.org/jena.git +refs/heads/*:refs/remotes/origin/*" 
returned status code 143:
stdout: 
stderr: 
        at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1301)
        at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1163)
        at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$200(CliGitAPIImpl.java:87)
        at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:257)
        at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
        at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
        at hudson.remoting.UserRequest.perform(UserRequest.java:118)
        at hudson.remoting.UserRequest.perform(UserRequest.java:48)
        at hudson.remoting.Request$2.run(Request.java:328)
        at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
        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)
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to