hudson.plugins.git.GitException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Please help me to solve this issue.. I'm trying to pull project from github using jenkins .. But i have having this issue.. Building in workspace /home/ci/.jenkins/jobs/Test Billing/workspace Fetching changes from the remote Git repository Fetching upstream changes from git://github.com/Baloba/BalobaBillingEngine.git FATAL: Failed to fetch from git://github.com/Baloba/BalobaBillingEngine.git hudson.plugins.git.GitException: Failed to fetch from git://github.com/Baloba/BalobaBillingEngine.git at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:612) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:836) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:861) at hudson.model.AbstractProject.checkout(AbstractProject.java:1270) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:531) at hudson.model.Run.execute(Run.java:1751) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) Caused by: hudson.plugins.git.GitException: Command "fetch -t git://github.com/Baloba/BalobaBillingEngine.git +refs/heads/master:refs/remotes/origin/master" returned status code 128: stdout: stderr: fatal: Unable to look up charithaperera (port vfrCDE12#@github.com) (Servname not supported for ai_socktype) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:940) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:914) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.fetch(CliGitAPIImpl.java:175) at hudson.plugins.git.GitAPI.fetch(GitAPI.java:229) at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:610) ... 10 more [BFA] Scanning build for known causes... [BFA] Done. 0s Finished: FAILURE --------------------------- Git Client 1.4.5 Git Plugin 2.0
    via by Unknown author,
  • Several problems appeared with git credentials temp file and local config after updating git-client-plugin to 1.5 using URL credentials and/or Jenkins credential store. URL variant: Baue auf Master in workspace D:\Jenkins\jobs\Test\workspace Fetching changes from the remote Git repository Fetching upstream changes from http://user@host/git.git FATAL: Failed to fetch from http://user@host/git.git hudson.plugins.git.GitException: Failed to fetch from http://user@host/git.git at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:612) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:836) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:861) at hudson.model.AbstractProject.checkout(AbstractProject.java:1414) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:561) at hudson.model.Run.execute(Run.java:1678) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) Caused by: hudson.plugins.git.GitException: Command "git fetch --tags --progress http://user@host/git.git +refs/heads/*:refs/remotes/origin/*" returned status code 128: stdout: stderr: error: unknown option `store=D:Tomcat-Tempgit2760255774910937069.credentials' usage: git credential-store [options] <action> --file <path> fetch and store credentials in <path> error: unknown option `store=D:Tomcat-Tempgit2760255774910937069.credentials' usage: git credential-store [options] <action> --file <path> fetch and store credentials in <path> fatal: Authentication failed for 'http://user@host/git.git/' at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1098) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:984) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$200(CliGitAPIImpl.java:68) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:217) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.fetch(CliGitAPIImpl.java:223) at hudson.plugins.git.GitAPI.fetch(GitAPI.java:229) at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:610) ... 10 more Jenkins credential store variant: Baue auf Master in workspace D:\Jenkins\jobs\Test\workspace Fetching changes from the remote Git repository Fetching upstream changes from http://user@host/git.git using .gitcredentials to set credentials FATAL: Failed to fetch from http://user@host/git.git hudson.plugins.git.GitException: Failed to fetch from http://user@host/git.git at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:612) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:836) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:861) at hudson.model.AbstractProject.checkout(AbstractProject.java:1414) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:561) at hudson.model.Run.execute(Run.java:1678) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) Caused by: hudson.plugins.git.GitException: Command "git config --local --remove-section credential.helper" returned status code 128: stdout: stderr: fatal: No such section! at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1098) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1075) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:930) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:993) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$200(CliGitAPIImpl.java:68) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:217) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.fetch(CliGitAPIImpl.java:223) at hudson.plugins.git.GitAPI.fetch(GitAPI.java:229) at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:610) ... 10 more
    via by Daniel Barth,
  • Several problems appeared with git credentials temp file and local config after updating git-client-plugin to 1.5 using URL credentials and/or Jenkins credential store. URL variant: Baue auf Master in workspace D:\Jenkins\jobs\Test\workspace Fetching changes from the remote Git repository Fetching upstream changes from http://user@host/git.git FATAL: Failed to fetch from http://user@host/git.git hudson.plugins.git.GitException: Failed to fetch from http://user@host/git.git at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:612) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:836) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:861) at hudson.model.AbstractProject.checkout(AbstractProject.java:1414) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:561) at hudson.model.Run.execute(Run.java:1678) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) Caused by: hudson.plugins.git.GitException: Command "git fetch --tags --progress http://user@host/git.git +refs/heads/*:refs/remotes/origin/*" returned status code 128: stdout: stderr: error: unknown option `store=D:Tomcat-Tempgit2760255774910937069.credentials' usage: git credential-store [options] <action> --file <path> fetch and store credentials in <path> error: unknown option `store=D:Tomcat-Tempgit2760255774910937069.credentials' usage: git credential-store [options] <action> --file <path> fetch and store credentials in <path> fatal: Authentication failed for 'http://user@host/git.git/' at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1098) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:984) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$200(CliGitAPIImpl.java:68) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:217) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.fetch(CliGitAPIImpl.java:223) at hudson.plugins.git.GitAPI.fetch(GitAPI.java:229) at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:610) ... 10 more Jenkins credential store variant: Baue auf Master in workspace D:\Jenkins\jobs\Test\workspace Fetching changes from the remote Git repository Fetching upstream changes from http://user@host/git.git using .gitcredentials to set credentials FATAL: Failed to fetch from http://user@host/git.git hudson.plugins.git.GitException: Failed to fetch from http://user@host/git.git at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:612) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:836) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:861) at hudson.model.AbstractProject.checkout(AbstractProject.java:1414) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:561) at hudson.model.Run.execute(Run.java:1678) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) Caused by: hudson.plugins.git.GitException: Command "git config --local --remove-section credential.helper" returned status code 128: stdout: stderr: fatal: No such section! at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1098) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1075) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:930) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:993) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$200(CliGitAPIImpl.java:68) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:217) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.fetch(CliGitAPIImpl.java:223) at hudson.plugins.git.GitAPI.fetch(GitAPI.java:229) at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:610) ... 10 more
    via by Daniel Barth,
  • Build failed in Jenkins: Stan Header Tests #143
    via by Unknown author,
  • Last week I started to experience some weird problems with the GIT fetch. As far as I remember, I did not update Jenkins or any of its plugins and I'm also not aware of any company GIT/networks changes. All of sudden, jobs started to fail fetching. And the problem is it happens randomly. Sometimes it works as before, sometimes it don't. Here is a typical error I'm getting: {panel} Started by timer Building on master in workspace C:\Documents and Settings\Tester\.jenkins\jobs\litebox3d_tiff_32_64\workspace Updating svn://krivan/Ranorex/trunk/xSpector at revision '2013-11-25T02:14:53.975 +0100' At revision 260 no change for svn://krivan/Ranorex/trunk/xSpector since the previous build Fetching changes from the remote Git repository Fetching upstream changes from git@swserv:litebox3d ERROR: Timeout after 10 minutes FATAL: Failed to fetch from git@swserv:litebox3d hudson.plugins.git.GitException: Failed to fetch from git@swserv:litebox3d at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:612) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:836) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:861) at org.jenkinsci.plugins.multiplescms.MultiSCM.checkout(MultiSCM.java:117) at hudson.model.AbstractProject.checkout(AbstractProject.java:1412) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:557) at hudson.model.Run.execute(Run.java:1679) at hudson.matrix.MatrixBuild.run(MatrixBuild.java:304) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230) at hudson.model.OneOffExecutor.run(OneOffExecutor.java:43) Caused by: hudson.plugins.git.GitException: Command "fetch -t git@swserv:litebox3d +refs/heads/*:refs/remotes/origin/*" returned status code -1: stdout: stderr: Could not create directory 'c/Documents and Settings/Tester/.ssh'. at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:981) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:920) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.fetch(CliGitAPIImpl.java:187) at hudson.plugins.git.GitAPI.fetch(GitAPI.java:229) at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:610) ... 12 more {panel} It does not happen always! Just from time to time, but enought frequently to break our build/test workflow. What's really weird is this error: *stderr: Could not create directory 'c/Documents and Settings/Tester/.ssh'.* Please notice the missing colon character in the path! In any case, the pointed path exists (of course, only if the colon is available) so there should be no reason for such error, except if the reason is missing colon? But then why it does not happen always? I also noticed, that after this failure, it's impossible to manually delete the content of the workspace/.git folder, because of some locked files. And it does not help to just stop Jenkins. The machine must be restarted to be able to delete the remaining files. I'm aware of the issue JENKINS-20445 (too small Git plugin timeout) and while it appears to be also my problem, the reason/source of problem seems to something else? Up to last week, I never experienced such timeout problem. Please don't hesitate to contact me in case of questions regarding our jenkins/jobs setup.
    via by Pavel Kudrys,
  • Last week I started to experience some weird problems with the GIT fetch. As far as I remember, I did not update Jenkins or any of its plugins and I'm also not aware of any company GIT/networks changes. All of sudden, jobs started to fail fetching. And the problem is it happens randomly. Sometimes it works as before, sometimes it don't. Here is a typical error I'm getting: {panel} Started by timer Building on master in workspace C:\Documents and Settings\Tester\.jenkins\jobs\litebox3d_tiff_32_64\workspace Updating svn://krivan/Ranorex/trunk/xSpector at revision '2013-11-25T02:14:53.975 +0100' At revision 260 no change for svn://krivan/Ranorex/trunk/xSpector since the previous build Fetching changes from the remote Git repository Fetching upstream changes from git@swserv:litebox3d ERROR: Timeout after 10 minutes FATAL: Failed to fetch from git@swserv:litebox3d hudson.plugins.git.GitException: Failed to fetch from git@swserv:litebox3d at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:612) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:836) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:861) at org.jenkinsci.plugins.multiplescms.MultiSCM.checkout(MultiSCM.java:117) at hudson.model.AbstractProject.checkout(AbstractProject.java:1412) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:557) at hudson.model.Run.execute(Run.java:1679) at hudson.matrix.MatrixBuild.run(MatrixBuild.java:304) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230) at hudson.model.OneOffExecutor.run(OneOffExecutor.java:43) Caused by: hudson.plugins.git.GitException: Command "fetch -t git@swserv:litebox3d +refs/heads/*:refs/remotes/origin/*" returned status code -1: stdout: stderr: Could not create directory 'c/Documents and Settings/Tester/.ssh'. at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:981) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:920) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.fetch(CliGitAPIImpl.java:187) at hudson.plugins.git.GitAPI.fetch(GitAPI.java:229) at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:610) ... 12 more {panel} It does not happen always! Just from time to time, but enought frequently to break our build/test workflow. What's really weird is this error: *stderr: Could not create directory 'c/Documents and Settings/Tester/.ssh'.* Please notice the missing colon character in the path! In any case, the pointed path exists (of course, only if the colon is available) so there should be no reason for such error, except if the reason is missing colon? But then why it does not happen always? I also noticed, that after this failure, it's impossible to manually delete the content of the workspace/.git folder, because of some locked files. And it does not help to just stop Jenkins. The machine must be restarted to be able to delete the remaining files. I'm aware of the issue JENKINS-20445 (too small Git plugin timeout) and while it appears to be also my problem, the reason/source of problem seems to something else? Up to last week, I never experienced such timeout problem. Please don't hesitate to contact me in case of questions regarding our jenkins/jobs setup.
    via by Pavel Kudrys,
    • hudson.plugins.git.GitException: Failed to fetch from git://github.com/Baloba/BalobaBillingEngine.git at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:612) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:836) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:861) at hudson.model.AbstractProject.checkout(AbstractProject.java:1270) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:531) at hudson.model.Run.execute(Run.java:1751) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) Caused by: hudson.plugins.git.GitException: Command "fetch -t git://github.com/Baloba/BalobaBillingEngine.git +refs/heads/master:refs/remotes/origin/master" returned status code 128: stdout: stderr: fatal: Unable to look up charithaperera (port vfrCDE12#@github.com) (Servname not supported for ai_socktype) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:940) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:914) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.fetch(CliGitAPIImpl.java:175) at hudson.plugins.git.GitAPI.fetch(GitAPI.java:229) at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:610) ... 10 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor2 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    2 more bugmates