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:

Jenkins JIRA | Andy Costanza | 7 months ago
  1. 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 {code:java} 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 {code}

    Jenkins JIRA | 7 months ago | Andy Costanza
    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:
  2. 0

    [JIRA] (JENKINS-36269) git fetch returned status code 143 after 10 minute timeout

    Google Groups | 7 months ago | andy.c...@gmail.com (JIRA)
    hudson.plugins.git.GitException: Command <span class="code-quote" style="color: #009100">"/usr/bin/git -c core.askpass=<span class="code-keyword" style="color: #000091; color: #009100">true</span> fetch --tags --progress http:<span class="code-comment" style="color: #808080">//x.y.z/group/repo.git +refs/heads/*:refs/remotes/origin/*"</span> returned status code 143: </span>stdout: stderr:
  3. 0

    Jenkins returned status code 401

    Stack Overflow | 2 years ago | Dakado
    hudson.plugins.git.GitException: Failed to connect to <a href="https://bitbucket.org/GameTeamCZ/maventest.git" rel="nofollow">https://bitbucket.org/GameTeamCZ/maventest.git</a> using credentials Udaje pro přihlášení k BitBucketu (status = 401)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Jenkins cannot read Github password since upgrading to Git client plugin 2.1.0

    Server Fault | 1 month ago | shaneoh
    hudson.plugins.git.GitException: Command "C:\Program Files\Git\cmd\git.exe fetch --tags --progress https://github.com/mycompany/myrepo.git +refs/heads/*:refs/remotes/origin/*" returned status code 128: 08:18:41 stdout: 08:18:41 stderr: '*dds23' is not recognized as an internal or external command, 08:18:41 operable program or batch file. 08:18:41 error: unable to read askpass response from 'C:\Windows\TEMP\pass6274847349411211542.bat' 08:18:41 bash: /dev/tty: No such device or address 08:18:41 error: failed to execute prompt script (exit code 1) 08:18:41 fatal: could not read Password for 'https://user@github.com': No error 08:18:41
  6. 0

    jenkins - Error cloning remote repo 'origin'

    Stack Overflow | 1 month ago | jellyBeans
    hudson.plugins.git.GitException: Command "C:\Program Files\Git\bin\git.exe fetch --tags --progress https://<AccountName>@bitbucket.org/<repositoryName>/<projectName>.git +refs/heads/*:refs/remotes/origin/*" returned status code -1 :stdout :stderr:

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. org.jenkinsci.plugins
      CliGitAPIImpl$2.execute
      1. org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1719)
      2. org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1463)
      3. org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:63)
      4. org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:314)
      5. org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:506)
      5 frames
    3. Hudson GIT plugin
      GitSCM.checkout
      1. hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1039)
      2. hudson.plugins.git.GitSCM.checkout(GitSCM.java:1079)
      2 frames
    4. Hudson
      AbstractBuild$AbstractBuildExecution.defaultCheckout
      1. hudson.scm.SCM.checkout(SCM.java:495)
      2. hudson.model.AbstractProject.checkout(AbstractProject.java:1270)
      3. hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:604)
      3 frames
    5. jenkins.scm
      SCMCheckoutStrategy.checkout
      1. jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
      1 frame
    6. Hudson
      Run.execute
      1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
      2. hudson.model.Run.execute(Run.java:1720)
      2 frames
    7. Hudson Maven Embedder
      MavenModuleSetBuild.run
      1. hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)
      1 frame
    8. Hudson
      Executor.run
      1. hudson.model.ResourceController.execute(ResourceController.java:98)
      2. hudson.model.Executor.run(Executor.java:410)
      2 frames