Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INFRA-19155

We're getting constant git clone errors on Kafka Jenkins

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: None
    • Component/s: Jenkins
    • Labels:
      None
    • Project:
      Kafka

      Description

      We're getting constant git clone errors on Kafka Jenkins. Example error:
      ```
      13:01:13 Building remotely on H40 (ubuntu xenial) in workspace /home/jenkins/jenkins-slave/workspace/kafka-pr-jdk8-scala2.11
      ...
      13:01:14 Wiping out workspace first.
      13:01:15 Cloning the remote Git repository
      13:01:15 Cloning repository git://github.com/apache/kafka.git
      13:01:15 > git init /home/jenkins/jenkins-slave/workspace/kafka-pr-jdk8-scala2.11 # timeout=10
      13:01:15 ERROR: Error cloning remote repo 'origin'
      13:01:15 hudson.plugins.git.GitException: Could not init /home/jenkins/jenkins-slave/workspace/kafka-pr-jdk8-scala2.11
      13:01:15 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$5.execute(CliGitAPIImpl.java:813)
      13:01:15 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:605)
      13:01:15 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
      13:01:15 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
      13:01:15 at hudson.remoting.UserRequest.perform(UserRequest.java:212)
      13:01:15 at hudson.remoting.UserRequest.perform(UserRequest.java:54)
      13:01:15 at hudson.remoting.Request$2.run(Request.java:369)
      13:01:15 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      13:01:15 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      13:01:15 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      13:01:15 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      13:01:15 at java.lang.Thread.run(Thread.java:748)
      13:01:15 Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to H40
      13:01:15 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1741)
      13:01:15 at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
      13:01:15 at hudson.remoting.Channel.call(Channel.java:955)
      13:01:15 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
      13:01:15 at sun.reflect.GeneratedMethodAccessor1084.invoke(Unknown Source)
      13:01:15 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      13:01:15 at java.lang.reflect.Method.invoke(Method.java:498)
      13:01:15 at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132)
      13:01:15 at com.sun.proxy.$Proxy135.execute(Unknown Source)
      13:01:15 at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1152)
      13:01:15 at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
      13:01:15 at hudson.scm.SCM.checkout(SCM.java:504)
      13:01:15 at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
      13:01:15 at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
      13:01:15 at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
      13:01:15 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
      13:01:15 at hudson.model.Run.execute(Run.java:1810)
      13:01:15 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      13:01:15 at hudson.model.ResourceController.execute(ResourceController.java:97)
      13:01:15 at hudson.model.Executor.run(Executor.java:429)
      13:01:15 Caused by: hudson.plugins.git.GitException: Error performing git command
      13:01:15 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2051)
      13:01:15 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2010)
      13:01:15 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2006)
      13:01:15 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1638)
      13:01:15 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$5.execute(CliGitAPIImpl.java:811)
      13:01:15 ... 11 more
      13:01:15 Caused by: java.lang.OutOfMemoryError: unable to create new native thread
      13:01:15 at java.lang.Thread.start0(Native Method)
      13:01:15 at java.lang.Thread.start(Thread.java:717)
      13:01:15 at hudson.Proc$LocalProc.<init>(Proc.java:281)
      13:01:15 at hudson.Proc$LocalProc.<init>(Proc.java:218)
      13:01:15 at hudson.Launcher$LocalLauncher.launch(Launcher.java:936)
      13:01:15 at hudson.Launcher$ProcStarter.start(Launcher.java:455)
      13:01:15 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2038)
      13:01:15 ... 15 more
      13:01:15 ERROR: Error cloning remote repo 'origin'
      13:01:15 Retrying after 10 seconds
      ```

        Attachments

          Activity

            People

            • Assignee:
              christ Chris Thistlethwaite
              Reporter:
              cmccabe Colin McCabe
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: