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 | 5 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 | 5 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

    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)
  3. 0

    Does not clone repositories when `.git` is at the end (404)

    GitHub | 2 years ago | lwhiteley
    hudson.plugins.git.GitException: Failed to connect to https://github.com/medullan/mean.git/ (status = 404)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Jenkins git plugin does not allow parameter on repository URL

    Stack Overflow | 2 years ago | user2631836
    hudson.plugins.git.GitException: Command "git fetch --tags --progress ssh://git@myrepo/java/login.git +refs/heads/*:refs/remotes/origin/* --depth=1" returned status code 128: stdout: stderr: Permission denied, please try again. Permission denied, please try again. Permission denied (publickey,password). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
  6. 0

    [JENKINS-19726] JGIT Error in combination with self signed certificate and https repo - Jenkins JIRA

    jenkins-ci.org | 6 months ago
    hudson.plugins.git.GitException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

    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