hudson.plugins.git.GitException: Failed to fetch from git@gitlab.com:sdev/perun.git

Jenkins JIRA | Stojan Sljivic | 1 year ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    When I try a build using a salve I am getting the following error {code} Started by user stojan.sljivic [EnvInject] - Loading node environment variables. Building remotely on maven-slave (maven) in workspace /workspace/workspace/test > /usr/bin/git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > /usr/bin/git config remote.origin.url git@gitlab.com:sdev/perun.git # timeout=10 Fetching upstream changes from git@gitlab.com:sdev/perun.git > /usr/bin/git --version # timeout=10 using GIT_SSH to set credentials jenkins ssh-rsa key ERROR: Error fetching remote repo 'origin' hudson.plugins.git.GitException: Failed to fetch from git@gitlab.com:sdev/perun.git at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:763) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1012) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1043) at hudson.scm.SCM.checkout(SCM.java:485) at hudson.model.AbstractProject.checkout(AbstractProject.java:1275) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:610) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:532) at hudson.model.Run.execute(Run.java:1741) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:408) Caused by: hudson.plugins.git.GitException: java.io.IOException: Remote call on maven-slave failed at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:172) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:131) at com.sun.proxy.$Proxy51.execute(Unknown Source) at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:761) ... 11 more Caused by: java.io.IOException: Remote call on maven-slave failed at hudson.remoting.Channel.call(Channel.java:789) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:145) ... 18 more Caused by: java.lang.AssertionError: java.io.EOFException at org.kohsuke.putty.KeyReader.read(KeyReader.java:63) at org.kohsuke.putty.KeyReader.readInt(KeyReader.java:71) at org.kohsuke.putty.PuTTYKey.toOpenSSH(PuTTYKey.java:198) at com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey.getPrivateKeys(BasicSSHUserPrivateKey.java:135) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.createSshKeyFile(CliGitAPIImpl.java:1432) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1300) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:62) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:313) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:152) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:145) at hudson.remoting.UserRequest.perform(UserRequest.java:120) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) at ......remote call to maven-slave(Native Method) at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416) at hudson.remoting.UserResponse.retrieve(UserRequest.java:220) at hudson.remoting.Channel.call(Channel.java:781) ... 19 more Caused by: java.io.EOFException at java.io.DataInputStream.readFully(DataInputStream.java:197) at java.io.DataInputStream.readFully(DataInputStream.java:169) at org.kohsuke.putty.KeyReader.read(KeyReader.java:60) at org.kohsuke.putty.KeyReader.readInt(KeyReader.java:71) at org.kohsuke.putty.PuTTYKey.toOpenSSH(PuTTYKey.java:198) at com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey.getPrivateKeys(BasicSSHUserPrivateKey.java:135) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.createSshKeyFile(CliGitAPIImpl.java:1432) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1300) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:62) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:313) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:152) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:145) at hudson.remoting.UserRequest.perform(UserRequest.java:120) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) ERROR: null Started calculate disk usage of build Finished Calculation of disk usage of build in 0 seconds Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 0 seconds Finished: FAILURE {code} For git authentication I use the key named "jenkins ssh-rsa key" and private key is entered directly in the master Jenkins web interface.

    Jenkins JIRA | 1 year ago | Stojan Sljivic
    hudson.plugins.git.GitException: Failed to fetch from git@gitlab.com:sdev/perun.git
  2. 0

    When I try a build using a salve I am getting the following error {code} Started by user stojan.sljivic [EnvInject] - Loading node environment variables. Building remotely on maven-slave (maven) in workspace /workspace/workspace/test > /usr/bin/git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > /usr/bin/git config remote.origin.url git@gitlab.com:sdev/perun.git # timeout=10 Fetching upstream changes from git@gitlab.com:sdev/perun.git > /usr/bin/git --version # timeout=10 using GIT_SSH to set credentials jenkins ssh-rsa key ERROR: Error fetching remote repo 'origin' hudson.plugins.git.GitException: Failed to fetch from git@gitlab.com:sdev/perun.git at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:763) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1012) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1043) at hudson.scm.SCM.checkout(SCM.java:485) at hudson.model.AbstractProject.checkout(AbstractProject.java:1275) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:610) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:532) at hudson.model.Run.execute(Run.java:1741) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:408) Caused by: hudson.plugins.git.GitException: java.io.IOException: Remote call on maven-slave failed at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:172) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:131) at com.sun.proxy.$Proxy51.execute(Unknown Source) at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:761) ... 11 more Caused by: java.io.IOException: Remote call on maven-slave failed at hudson.remoting.Channel.call(Channel.java:789) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:145) ... 18 more Caused by: java.lang.AssertionError: java.io.EOFException at org.kohsuke.putty.KeyReader.read(KeyReader.java:63) at org.kohsuke.putty.KeyReader.readInt(KeyReader.java:71) at org.kohsuke.putty.PuTTYKey.toOpenSSH(PuTTYKey.java:198) at com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey.getPrivateKeys(BasicSSHUserPrivateKey.java:135) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.createSshKeyFile(CliGitAPIImpl.java:1432) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1300) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:62) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:313) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:152) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:145) at hudson.remoting.UserRequest.perform(UserRequest.java:120) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) at ......remote call to maven-slave(Native Method) at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416) at hudson.remoting.UserResponse.retrieve(UserRequest.java:220) at hudson.remoting.Channel.call(Channel.java:781) ... 19 more Caused by: java.io.EOFException at java.io.DataInputStream.readFully(DataInputStream.java:197) at java.io.DataInputStream.readFully(DataInputStream.java:169) at org.kohsuke.putty.KeyReader.read(KeyReader.java:60) at org.kohsuke.putty.KeyReader.readInt(KeyReader.java:71) at org.kohsuke.putty.PuTTYKey.toOpenSSH(PuTTYKey.java:198) at com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey.getPrivateKeys(BasicSSHUserPrivateKey.java:135) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.createSshKeyFile(CliGitAPIImpl.java:1432) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1300) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:62) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:313) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:152) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:145) at hudson.remoting.UserRequest.perform(UserRequest.java:120) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) ERROR: null Started calculate disk usage of build Finished Calculation of disk usage of build in 0 seconds Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 0 seconds Finished: FAILURE {code} For git authentication I use the key named "jenkins ssh-rsa key" and private key is entered directly in the master Jenkins web interface.

    Jenkins JIRA | 1 year ago | Stojan Sljivic
    hudson.plugins.git.GitException: Failed to fetch from git@gitlab.com:sdev/perun.git
  3. 0

    [JIRA] [ssh-slaves-plugin] (JENKINS-32079) Git Clone fails on slave

    Google Groups | 1 year ago | stojan.sljivic@gmail.com (JIRA)
    hudson.plugins.git.GitException: Failed to fetch from git@gitlab.com:sdev/perun.git
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [Solr-user] Re: SolrTestCaseJ4 Error: "java.lang.RuntimeException: java.io.IOException: Can't find resource..." - Grokbase

    grokbase.com | 1 year ago
    java.lang.AssertionError: fix your classpath to have tests-framework.jar before lucene-core.jar* at __randomizedtesting.SeedInfo.seed([50225DA1F52F32BB]:0) at org.apache.lucene.util.TestRuleSetupAndRestoreClassEnv.before(TestRuleSetupAndRestoreClassEnv.java:189) at org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:45) at org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42) at com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55) at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39) at com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:43) at org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48) at org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:70) at org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:55) at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36) at com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:358)
  6. 0

    Recovery a fairly large crawl on crawling013, getting following exception: 10/13/2005 01:16:57 +0000 FINE org.archive.crawler.frontier.BdbFrontier put Restoring: 146.145.120.3 10/13/2005 01:16:57 +0000 FINE org.archive.crawler.frontier.BdbFrontier put Restoring: 168.8.216.16 java.lang.NullPointerException at java.util.TreeMap.compare(TreeMap.java:1093) at java.util.TreeMap.put(TreeMap.java:465) at java.util.TreeSet.add(TreeSet.java:210) at java.util.Collections$SynchronizedCollection.add(Collections.java:1581) at org.archive.crawler.frontier.BdbFrontier$4.put(BdbFrontier.java:326) at org.archive.crawler.frontier.BdbFrontier.put(BdbFrontier.java:375) at org.archive.crawler.frontier.BdbFrontier.resurrectOneQueueState(BdbFrontier .java:359) at org.archive.crawler.frontier.BdbFrontier.resurrectQueueState(BdbFrontier.ja va:329) at org.archive.crawler.frontier.BdbFrontier.initQueue(BdbFrontier.java:272) at org.archive.crawler.frontier.WorkQueueFrontier.initialize(WorkQueueFrontier .java:269) at org.archive.crawler.frontier.BdbFrontier.initialize(BdbFrontier.java:467) at org.archive.crawler.framework.CrawlController.setupCrawlModules(CrawlContro ller.java:652) at org.archive.crawler.framework.CrawlController.initialize(CrawlController.ja va:378) at org.archive.crawler.admin.CrawlJob.startCrawling(CrawlJob.java:777) at org.archive.crawler.admin.CrawlJobHandler.startNextJobInternal(CrawlJobHand ler.java:1120) at org.archive.crawler.admin.CrawlJobHandler$2.run(CrawlJobHandler.java:1103) at java.lang.Thread.run(Thread.java:595) Later adding asserts, I see that for the key '146.145.120.3', there is not item in allqueues: Exception in thread "StartNextJob" java.lang.AssertionError: null is null: 146.145.120.3 at org.archive.crawler.frontier.BdbFrontier.put(BdbFrontier.java:374) at org.archive.crawler.frontier.BdbFrontier.resurrectOneQueueState(BdbFrontier .java:354) at org.archive.crawler.frontier.BdbFrontier.resurrectQueueState(BdbFrontier.ja va:329) at org.archive.crawler.frontier.BdbFrontier.initQueue(BdbFrontier.java:272) at org.archive.crawler.frontier.WorkQueueFrontier.initialize(WorkQueueFrontier .java:269) at org.archive.crawler.frontier.BdbFrontier.initialize(BdbFrontier.java:467) at org.archive.crawler.framework.CrawlController.setupCrawlModules(CrawlContro ller.java:652) at org.archive.crawler.framework.CrawlController.initialize(CrawlController.ja va:378) at org.archive.crawler.admin.CrawlJob.startCrawling(CrawlJob.java:777) at org.archive.crawler.admin.CrawlJobHandler.startNextJobInternal(CrawlJobHand ler.java:1120) at org.archive.crawler.admin.CrawlJobHandler$2.run(CrawlJobHandler.java:1103) at java.lang.Thread.run(Thread.java:595)

    JIRA | 1 decade ago | Michael Stack
    java.lang.AssertionError: null is null: 146.145.120.3 at org.archive.crawler.frontier.BdbFrontier.put(BdbFrontier.java:374) at org.archive.crawler.frontier.BdbFrontier.resurrectOneQueueState(BdbFrontier .java:354) at org.archive.crawler.frontier.BdbFrontier.resurrectQueueState(BdbFrontier.ja va:329) at org.archive.crawler.frontier.BdbFrontier.initQueue(BdbFrontier.java:272) at org.archive.crawler.frontier.WorkQueueFrontier.initialize(WorkQueueFrontier .java:269) at org.archive.crawler.frontier.BdbFrontier.initialize(BdbFrontier.java:467) at org.archive.crawler.framework.CrawlController.setupCrawlModules(CrawlContro ller.java:652) at org.archive.crawler.framework.CrawlController.initialize(CrawlController.ja va:378) at org.archive.crawler.admin.CrawlJob.startCrawling(CrawlJob.java:777) at org.archive.crawler.admin.CrawlJobHandler.startNextJobInternal(CrawlJobHand ler.java:1120) at org.archive.crawler.admin.CrawlJobHandler$2.run(CrawlJobHandler.java:1103)

    Root Cause Analysis

    1. java.lang.AssertionError

      java.io.EOFException

      at org.kohsuke.putty.KeyReader.read()
    2. PuTTY support for Trilead SSH2 library
      PuTTYKey.toOpenSSH
      1. org.kohsuke.putty.KeyReader.read(KeyReader.java:63)
      2. org.kohsuke.putty.KeyReader.readInt(KeyReader.java:71)
      3. org.kohsuke.putty.PuTTYKey.toOpenSSH(PuTTYKey.java:198)
      3 frames
    3. com.cloudbees.jenkins
      BasicSSHUserPrivateKey.getPrivateKeys
      1. com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey.getPrivateKeys(BasicSSHUserPrivateKey.java:135)
      1 frame
    4. org.jenkinsci.plugins
      RemoteGitImpl$CommandInvocationHandler$1.call
      1. org.jenkinsci.plugins.gitclient.CliGitAPIImpl.createSshKeyFile(CliGitAPIImpl.java:1432)
      2. org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1300)
      3. org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:62)
      4. org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:313)
      5. org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:152)
      6. org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:145)
      6 frames
    5. Hudson :: Remoting Layer
      InterceptingExecutorService$1.call
      1. hudson.remoting.UserRequest.perform(UserRequest.java:120)
      2. hudson.remoting.UserRequest.perform(UserRequest.java:48)
      3. hudson.remoting.Request$2.run(Request.java:326)
      4. hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
      4 frames
    6. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      4. java.lang.Thread.run(Thread.java:745)
      4 frames