hudson.plugins.git.GitException: Failed to fetch from ssh://<gitid>@<githost>/<gitrepo>.git

Google Groups | smi...@us.ibm.com (JIRA) | 2 months ago
  1. 0

    AIX build failures looks like machine config

    GitHub | 4 months ago | mhdawson
    hudson.plugins.git.GitException: Failed to fetch from git@github.com:nodejs/node-private.git
  2. 0

    GitHub comment 6300#214940323

    GitHub | 9 months ago | dmitriykovalev
    hudson.plugins.git.GitException: Failed to fetch from http://github.com/grpc/grpc.git
  3. 0

    The full error received is: {noformat} Fetching upstream changes from ssh://git@git.dev.faked:7999/re/core-binaries.git ERROR: Timeout after 10 minutes FATAL: Failed to fetch from ssh://git@git.dev.faked:7999/re/core-binaries.git hudson.plugins.git.GitException: Failed to fetch from ssh://git@git.dev.faked:7999/re/core-binaries.git at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:622) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:854) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:879) at org.jenkinsci.plugins.multiplescms.MultiSCM.checkout(MultiSCM.java:117) at hudson.model.AbstractProject.checkout(AbstractProject.java:1411) 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:1665) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:246) Caused by: hudson.plugins.git.GitException: Command "git fetch --tags --progress ssh://git@git.dev.faked:7999/re/core-binaries.git +refs/heads/master:refs/remotes/core-binaries/master" returned status code 128: stdout: stderr: Could not create directory 'c/users/user/.ssh'. fatal: Could not read from remote repository. {noformat} The git server hardware had been upgraded from a VM to a physical machine with 24 cores and 16G of RAM. The repositories are pretty small, and the machine isn't under much load at all. No networking issues are evident. I am confident this is not a true timeout, but an actual hang. It is intermittent. It seems similar to the issue found here: http://stackoverflow.com/questions/10732940/git-operations-occasionally-hang-in-jenkins-on-windows It also seems like it could be related to https://issues.jenkins-ci.org/browse/JENKINS-21654. We are using the "cmd" directory instead of the "bin" directory, i.e. "C:\Program Files (x86)\Git\cmd\git.exe". The HOME environment variable is set to "c:\users\user" The c:\users\user\.ssh directory exists, and the permissions seem to be fine (besides, it's intermittent...) Our c:\users\user\.ssh\config file looks like this: {noformat} Host git.dev.faked StrictHostKeyChecking no UserKnownHostsFile NUL {noformat} We have multiple executors for our build machines, so it could be that another git command is locking the .ssh directory while it's working. However, the likelihood of locking the database for 10 minutes if very, very unlikely.

    Jenkins JIRA | 2 years ago | Rob Duff
    hudson.plugins.git.GitException: Failed to fetch from ssh://git@git.dev.faked:7999/re/core-binaries.git
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    The full error received is: {noformat} Fetching upstream changes from ssh://git@git.dev.faked:7999/re/core-binaries.git ERROR: Timeout after 10 minutes FATAL: Failed to fetch from ssh://git@git.dev.faked:7999/re/core-binaries.git hudson.plugins.git.GitException: Failed to fetch from ssh://git@git.dev.faked:7999/re/core-binaries.git at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:622) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:854) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:879) at org.jenkinsci.plugins.multiplescms.MultiSCM.checkout(MultiSCM.java:117) at hudson.model.AbstractProject.checkout(AbstractProject.java:1411) 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:1665) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:246) Caused by: hudson.plugins.git.GitException: Command "git fetch --tags --progress ssh://git@git.dev.faked:7999/re/core-binaries.git +refs/heads/master:refs/remotes/core-binaries/master" returned status code 128: stdout: stderr: Could not create directory 'c/users/user/.ssh'. fatal: Could not read from remote repository. {noformat} The git server hardware had been upgraded from a VM to a physical machine with 24 cores and 16G of RAM. The repositories are pretty small, and the machine isn't under much load at all. No networking issues are evident. I am confident this is not a true timeout, but an actual hang. It is intermittent. It seems similar to the issue found here: http://stackoverflow.com/questions/10732940/git-operations-occasionally-hang-in-jenkins-on-windows It also seems like it could be related to https://issues.jenkins-ci.org/browse/JENKINS-21654. We are using the "cmd" directory instead of the "bin" directory, i.e. "C:\Program Files (x86)\Git\cmd\git.exe". The HOME environment variable is set to "c:\users\user" The c:\users\user\.ssh directory exists, and the permissions seem to be fine (besides, it's intermittent...) Our c:\users\user\.ssh\config file looks like this: {noformat} Host git.dev.faked StrictHostKeyChecking no UserKnownHostsFile NUL {noformat} We have multiple executors for our build machines, so it could be that another git command is locking the .ssh directory while it's working. However, the likelihood of locking the database for 10 minutes if very, very unlikely.

    Jenkins JIRA | 2 years ago | Rob Duff
    hudson.plugins.git.GitException: Failed to fetch from ssh://git@git.dev.faked:7999/re/core-binaries.git
  6. 0

    >Local Continuous Integration with Hudson and Git | intellectualcramps

    wordpress.com | 6 months ago
    hudson.plugins.git.GitException: Failed to fetch from file:///gitrepo/test_repo/esb_services/EquipmentActivity_Service.application

  1. ajinkya_w 11 times, last 3 months ago
  2. ajinkya_w 11 times, last 3 months ago
  3. ivotje50 5 times, last 5 months ago
  4. bpbhat77 1 times, last 5 months ago
  5. pnaranja 1 times, last 5 months ago
18 more registered users
20 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. java.io.InvalidClassException

    com.cloudbees.jenkins.plugins.sshcredentials.SSHAuthenticator$1; local class incompatible: stream classdesc serialVersionUID = 4226456448964168241, local class serialVersionUID = 8217644684038495097

    at java.io.ObjectStreamClass.initNonProxy()
  2. Java RT
    ObjectInputStream.readObject
    1. java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:604)
    2. java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1620)
    3. java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1515)
    4. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1769)
    5. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348)
    6. java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
    6 frames
  3. Hudson :: Remoting Layer
    InterceptingExecutorService$1.call
    1. hudson.remoting.UserRequest.deserialize(UserRequest.java:182)
    2. hudson.remoting.UserRequest.perform(UserRequest.java:98)
    3. hudson.remoting.UserRequest.perform(UserRequest.java:48)
    4. hudson.remoting.Request$2.run(Request.java:328)
    5. hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
    5 frames
  4. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:166)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    5. java.lang.Thread.run(Thread.java:722)
    5 frames