Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-36269

git fetch returned status code 143 after 10 minute timeout

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • git-plugin
    • None
    • Jenkins 2.11, git client plugin 1.19.6, git plugin 2.5.0, git server plugin 1.6, scm api plugin 1.2, credential plugin 2.1.4, gitlab 8.7.4, git 2.8.0

      A couple of week my job can't connect to my gitlab-ce repository.
      All Jenkins plugins are up to date but the problem still happen.
      Look at this error message that appears after 10 minutes git fetching

      Building in workspace /opt/jenkins/jobs/test/workspace
      Wiping out workspace first.
      Cloning the remote Git repository
      Cloning repository http://x.y.z/group/repo.git
       > /usr/bin/git init /opt/jenkins/jobs/test/workspace # timeout=10
      Fetching upstream changes from http://x.y.z/group/repo.git
       > /usr/bin/git --version # timeout=10
      using .gitcredentials to set credentials
       > /usr/bin/git config --local credential.username root # timeout=10
       > /usr/bin/git config --local credential.helper store --file=/opt/jenkins/temp/git6597766348472233914.credentials # timeout=10
      Setting http proxy: localhost:5865
       > /usr/bin/git -c core.askpass=true fetch --tags --progress http://x.y.z/group/repo.git +refs/heads/*:refs/remotes/origin/*
      ERROR: Timeout after 10 minutes
       > /usr/bin/git config --local --remove-section credential # timeout=10
      ERROR: Error cloning remote repo 'origin'
      hudson.plugins.git.GitException: Command "/usr/bin/git -c core.askpass=true fetch --tags --progress http://x.y.z/group/repo.git +refs/heads/*:refs/remotes/origin/*" returned status code 143:
      stdout: 
      stderr: 
      	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1719)
      	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1463)
      	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:63)
      	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:314)
      	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:506)
      	at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1039)
      	at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1079)
      	at hudson.scm.SCM.checkout(SCM.java:495)
      	at hudson.model.AbstractProject.checkout(AbstractProject.java:1270)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:604)
      	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
      	at hudson.model.Run.execute(Run.java:1720)
      	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)
      	at hudson.model.ResourceController.execute(ResourceController.java:98)
      	at hudson.model.Executor.run(Executor.java:410)
      ERROR: null
      Finished: FAILURE
      

        1. 143log.png
          143log.png
          380 kB
        2. 2017-07-10 10_52_11-#19 Console [Jenkins].png
          2017-07-10 10_52_11-#19 Console [Jenkins].png
          89 kB
        3. NetworkRecord.png
          NetworkRecord.png
          54 kB
        4. setting.png
          setting.png
          85 kB

            Unassigned Unassigned
            costalfy Andy Costanza
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: