java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: Cannot fetch branch '(unresolved) ' from 'http://fisheye.domain/git/project.git' to source directory '/home/bamboo/bamboo-agent-home/xml-data/build-dir/MYBUILD-CIUNIT-MASTER'. command [/usr/bin/git, ls-remote, http://user:***@fisheye.domain/git/project.git] failed with code 128. Working directory was [/home/bamboo/bamboo-agent-home/xml-data/build-dir/MYBUILD-CIUNIT-MASTER]., stderr: [error: Failed connect to fisheye.domain:80; Connection refused while accessing http://user:passwd@fisheye.domain/git/project.git/info/refs, fatal: HTTP request failed]

Atlassian JIRA | saint | 4 years ago
  1. 0

    As shown bellow in some cases username and password(user:passwd@fisheye..) are shown to everyone in error message accessible from bamboo System Errors page. {code} Build myBuild - Unit Tests - master 36 : Executing Task 'Checkout Default Repository(1)' of type com.atlassian.bamboo.plugins.vcs:task.vcs.checkout. (java.lang.RuntimeException : com.atlassian.bamboo.repository.RepositoryException: Cannot fetch branch '(unresolved) ' from 'http://fisheye.domain/git/project.git' to source directory '/home/bamboo/bamboo-agent-home/xml-data/build-dir/MYBUILD-CIUNIT-MASTER'. command [/usr/bin/git, ls-remote, http://user:***@fisheye.domain/git/project.git] failed with code 128. Working directory was [/home/bamboo/bamboo-agent-home/xml-data/build-dir/MYBUILD-CIUNIT-MASTER]., stderr: [error: Failed connect to fisheye.domain:80; Connection refused while accessing http://user:passwd@fisheye.domain/git/project.git/info/refs, fatal: HTTP request failed]) {code} {code} java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: Cannot fetch branch '(unresolved) ' from 'http://fisheye.domain/git/project.git' to source directory '/home/bamboo/bamboo-agent-home/xml-data/build-dir/MYBUILD-CIUNIT-MASTER'. command [/usr/bin/git, ls-remote, http://user:***@fisheye.domain/git/project.git] failed with code 128. Working directory was [/home/bamboo/bamboo-agent-home/xml-data/build-dir/MYBUILD-CIUNIT-MASTER]., stderr: [error: Failed connect to fisheye.domain:80; Connection refused while accessing http://user:passwd@fisheye.domain/git/project.git/info/refs, fatal: HTTP request failed] at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:119) at com.atlassian.bamboo.executor.RetryingTaskExecutor.runTask(RetryingTaskExecutor.java:79) at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:174) at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.execute(VcsCheckoutTask.java:109) at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:183) at com.atlassian.bamboo.task.TaskExecutorImpl.executePreparationTasks(TaskExecutorImpl.java:67) at com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.call(PrepareBuildTask.java:67) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:204) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:103) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:109) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:52) at java.lang.Thread.run(Thread.java:722) Caused by: com.atlassian.bamboo.repository.RepositoryException: Cannot fetch branch '(unresolved) ' from 'http://fisheye.domain/git/project.git' to source directory '/home/bamboo/bamboo-agent-home/xml-data/build-dir/MYBUILD-CIUNIT-MASTER'. command [/usr/bin/git, ls-remote, http://user:***@fisheye.domain/git/project.git] failed with code 128. Working directory was [/home/bamboo/bamboo-agent-home/xml-data/build-dir/MYBUILD-CIUNIT-MASTER]., stderr: [error: Failed connect to fisheye.domain:80; Connection refused while accessing http://user:passwd@fisheye.domain/git/project.git/info/refs, fatal: HTTP request failed] at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.fetch(NativeGitOperationHelper.java:432) at com.atlassian.bamboo.plugins.git.GitRepository.retrieveSourceCode(GitRepository.java:358) at com.atlassian.bamboo.plugins.git.GitRepository.retrieveSourceCode(GitRepository.java:292) at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.fillWorkingDirFromVcs(VcsCheckoutTask.java:180) at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.access$100(VcsCheckoutTask.java:46) at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$1.call(VcsCheckoutTask.java:114) at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$1.call(VcsCheckoutTask.java:110) at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:100) ... 11 more Caused by: com.atlassian.bamboo.plugins.git.GitCommandException: command [/usr/bin/git, ls-remote, http://user:***@fisheye.domain/git/project.git] failed with code 128. Working directory was [/home/bamboo/bamboo-agent-home/xml-data/build-dir/MYBUILD-CIUNIT-MASTER]., stderr: [error: Failed connect to fisheye.domain:80; Connection refused while accessing http://user:passwd@fisheye.domain/git/project.git/info/refs, fatal: HTTP request failed] at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:356) at com.atlassian.bamboo.plugins.git.GitCommandProcessor.getRemoteRefs(GitCommandProcessor.java:282) at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.resolveBranch(NativeGitOperationHelper.java:438) at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.fetch(NativeGitOperationHelper.java:410) ... 18 more Caused by: com.atlassian.utils.process.ProcessException: Non-zero exit code: 128 at com.atlassian.utils.process.PluggableProcessHandler.complete(PluggableProcessHandler.java:83) at com.atlassian.utils.process.ExternalProcess.finish(ExternalProcess.java:376) at com.atlassian.utils.process.ExternalProcess.execute(ExternalProcess.java:419) at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:351) ... 21 more {code}

    Atlassian JIRA | 4 years ago | saint
    java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: Cannot fetch branch '(unresolved) ' from 'http://fisheye.domain/git/project.git' to source directory '/home/bamboo/bamboo-agent-home/xml-data/build-dir/MYBUILD-CIUNIT-MASTER'. command [/usr/bin/git, ls-remote, http://user:***@fisheye.domain/git/project.git] failed with code 128. Working directory was [/home/bamboo/bamboo-agent-home/xml-data/build-dir/MYBUILD-CIUNIT-MASTER]., stderr: [error: Failed connect to fisheye.domain:80; Connection refused while accessing http://user:passwd@fisheye.domain/git/project.git/info/refs, fatal: HTTP request failed]
  2. 0

    As shown bellow in some cases username and password(user:passwd@fisheye..) are shown to everyone in error message accessible from bamboo System Errors page. {code} Build myBuild - Unit Tests - master 36 : Executing Task 'Checkout Default Repository(1)' of type com.atlassian.bamboo.plugins.vcs:task.vcs.checkout. (java.lang.RuntimeException : com.atlassian.bamboo.repository.RepositoryException: Cannot fetch branch '(unresolved) ' from 'http://fisheye.domain/git/project.git' to source directory '/home/bamboo/bamboo-agent-home/xml-data/build-dir/MYBUILD-CIUNIT-MASTER'. command [/usr/bin/git, ls-remote, http://user:***@fisheye.domain/git/project.git] failed with code 128. Working directory was [/home/bamboo/bamboo-agent-home/xml-data/build-dir/MYBUILD-CIUNIT-MASTER]., stderr: [error: Failed connect to fisheye.domain:80; Connection refused while accessing http://user:passwd@fisheye.domain/git/project.git/info/refs, fatal: HTTP request failed]) {code} {code} java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: Cannot fetch branch '(unresolved) ' from 'http://fisheye.domain/git/project.git' to source directory '/home/bamboo/bamboo-agent-home/xml-data/build-dir/MYBUILD-CIUNIT-MASTER'. command [/usr/bin/git, ls-remote, http://user:***@fisheye.domain/git/project.git] failed with code 128. Working directory was [/home/bamboo/bamboo-agent-home/xml-data/build-dir/MYBUILD-CIUNIT-MASTER]., stderr: [error: Failed connect to fisheye.domain:80; Connection refused while accessing http://user:passwd@fisheye.domain/git/project.git/info/refs, fatal: HTTP request failed] at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:119) at com.atlassian.bamboo.executor.RetryingTaskExecutor.runTask(RetryingTaskExecutor.java:79) at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:174) at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.execute(VcsCheckoutTask.java:109) at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:183) at com.atlassian.bamboo.task.TaskExecutorImpl.executePreparationTasks(TaskExecutorImpl.java:67) at com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.call(PrepareBuildTask.java:67) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:204) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:103) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:109) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:52) at java.lang.Thread.run(Thread.java:722) Caused by: com.atlassian.bamboo.repository.RepositoryException: Cannot fetch branch '(unresolved) ' from 'http://fisheye.domain/git/project.git' to source directory '/home/bamboo/bamboo-agent-home/xml-data/build-dir/MYBUILD-CIUNIT-MASTER'. command [/usr/bin/git, ls-remote, http://user:***@fisheye.domain/git/project.git] failed with code 128. Working directory was [/home/bamboo/bamboo-agent-home/xml-data/build-dir/MYBUILD-CIUNIT-MASTER]., stderr: [error: Failed connect to fisheye.domain:80; Connection refused while accessing http://user:passwd@fisheye.domain/git/project.git/info/refs, fatal: HTTP request failed] at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.fetch(NativeGitOperationHelper.java:432) at com.atlassian.bamboo.plugins.git.GitRepository.retrieveSourceCode(GitRepository.java:358) at com.atlassian.bamboo.plugins.git.GitRepository.retrieveSourceCode(GitRepository.java:292) at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.fillWorkingDirFromVcs(VcsCheckoutTask.java:180) at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.access$100(VcsCheckoutTask.java:46) at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$1.call(VcsCheckoutTask.java:114) at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$1.call(VcsCheckoutTask.java:110) at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:100) ... 11 more Caused by: com.atlassian.bamboo.plugins.git.GitCommandException: command [/usr/bin/git, ls-remote, http://user:***@fisheye.domain/git/project.git] failed with code 128. Working directory was [/home/bamboo/bamboo-agent-home/xml-data/build-dir/MYBUILD-CIUNIT-MASTER]., stderr: [error: Failed connect to fisheye.domain:80; Connection refused while accessing http://user:passwd@fisheye.domain/git/project.git/info/refs, fatal: HTTP request failed] at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:356) at com.atlassian.bamboo.plugins.git.GitCommandProcessor.getRemoteRefs(GitCommandProcessor.java:282) at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.resolveBranch(NativeGitOperationHelper.java:438) at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.fetch(NativeGitOperationHelper.java:410) ... 18 more Caused by: com.atlassian.utils.process.ProcessException: Non-zero exit code: 128 at com.atlassian.utils.process.PluggableProcessHandler.complete(PluggableProcessHandler.java:83) at com.atlassian.utils.process.ExternalProcess.finish(ExternalProcess.java:376) at com.atlassian.utils.process.ExternalProcess.execute(ExternalProcess.java:419) at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:351) ... 21 more {code}

    Atlassian JIRA | 4 years ago | saint
    java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: Cannot fetch branch '(unresolved) ' from 'http://fisheye.domain/git/project.git' to source directory '/home/bamboo/bamboo-agent-home/xml-data/build-dir/MYBUILD-CIUNIT-MASTER'. command [/usr/bin/git, ls-remote, http://user:***@fisheye.domain/git/project.git] failed with code 128. Working directory was [/home/bamboo/bamboo-agent-home/xml-data/build-dir/MYBUILD-CIUNIT-MASTER]., stderr: [error: Failed connect to fisheye.domain:80; Connection refused while accessing http://user:passwd@fisheye.domain/git/project.git/info/refs, fatal: HTTP request failed]
  3. 0

    Bamboo 4.3 support

    GitHub | 4 years ago | gregall
    java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: Checkout to revision "COMMIT_HASH_ID" has failed.command /usr/bin/git log -1 --format=%d --decorate=full "COMMIT_HASH_ID" failed with code 128. Working directory was ["BAMBOO_AGENT_HOME_AND_BUILD-DIR_PATH"/src]., stderr: fatal: bad object "COMMIT_HASH_ID"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: Runtime exception. at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:132) at com.atlassian.bamboo.executor.RetryingTaskExecutor.runTask(RetryingTaskExecutor.java:88) at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:191) at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:176) at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectionChangesWithRetry(DefaultChangeDetectionManager.java:457) at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceLastBuildInternal(DefaultChangeDetectionManager.java:318) at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceRevisions(DefaultChangeDetectionManager.java:251) at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceRevisions(DefaultChangeDetectionManager.java:161) at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectAllChangesSinceLastBuild(DefaultChangeDetectionManager.java:127) at com.atlassian.bamboo.v2.trigger.ManualBuildDetectionAction.performDelayedChangeDetection(ManualBuildDetectionAction.java:113) at com.atlassian.bamboo.chains.ChainExecutionManagerImpl$2.getChainState(ChainExecutionManagerImpl.java:199) at com.atlassian.bamboo.chains.ChainExecutionManagerImpl.tryStartChainState(ChainExecutionManagerImpl.java:252) at com.atlassian.bamboo.chains.ChainExecutionManagerImpl.delayedStart(ChainExecutionManagerImpl.java:189) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy75.delayedStart(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198) at $Proxy76.delayedStart(Unknown Source) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$1$1$1.call(PlanExecutionManagerImpl.java:300) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$1$1$1.call(PlanExecutionManagerImpl.java:296) at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:324) at com.atlassian.bamboo.plan.PlanExecutionLockServiceImpl.lock(PlanExecutionLockServiceImpl.java:77) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl.doWithProcessLock(PlanExecutionManagerImpl.java:467) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl.access$200(PlanExecutionManagerImpl.java:48) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$1$1.run(PlanExecutionManagerImpl.java:295) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:52) at java.lang.Thread.run(Unknown Source) Caused by: com.atlassian.bamboo.repository.RepositoryException: Runtime exception. at com.atlassian.bamboo.plugins.git.GitRepository.collectChangesSinceLastBuild(GitRepository.java:281) at com.atlassian.bamboo.plugins.git.GitRepository.collectChangesSinceLastBuild(GitRepository.java:180) at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager$1.call(DefaultChangeDetectionManager.java:461) at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager$1.call(DefaultChangeDetectionManager.java:458) at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:108) ... 39 more Caused by: com.google.common.util.concurrent.UncheckedExecutionException: com.atlassian.bamboo.plugins.git.GitCommandException: command /usr/bin/git ls-remote https://s391679:********@scm.principal.com/projects/CSSMIGR/repos/ failed with code 128. Working directory was [.]., stderr: [fatal: https://s391679:********@scm.principal.com/projects/CSSMIGR/repos/info/refs not valid: is this a git repository?] at com.google.common.cache.AbstractCache.getUnchecked(AbstractCache.java:51) at com.atlassian.bamboo.plugins.git.CallableResultCache.call(CallableResultCache.java:82) at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.getRemoteRefs(NativeGitOperationHelper.java:512) at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.resolveBranch(NativeGitOperationHelper.java:447) at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.obtainLatestRevision(NativeGitOperationHelper.java:542) at com.atlassian.bamboo.plugins.git.GitRepository.collectChangesSinceLastBuild(GitRepository.java:192) ... 43 more Caused by: com.atlassian.bamboo.plugins.git.GitCommandException: command /usr/bin/git ls-remote https://s391679:********@scm.principal.com/projects/CSSMIGR/repos/ failed with code 128. Working directory was [.]., stderr: [fatal: https://s391679:********@scm.principal.com/projects/CSSMIGR/repos/info/refs not valid: is this a git repository?] at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:431) at com.atlassian.bamboo.plugins.git.GitCommandProcessor.getRemoteRefs(GitCommandProcessor.java:350) at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper$1.call(NativeGitOperationHelper.java:500) at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper$1.call(NativeGitOperationHelper.java:491) at com.atlassian.bamboo.plugins.git.CallableResultCache$1.load(CallableResultCache.java:29) at com.atlassian.bamboo.plugins.git.CallableResultCache$1.load(CallableResultCache.java:25) at com.google.common.cache.CustomConcurrentHashMap$ComputingValueReference.compute(CustomConcurrentHashMap.java:3426) at com.google.common.cache.CustomConcurrentHashMap$Segment.compute(CustomConcurrentHashMap.java:2322) at com.google.common.cache.CustomConcurrentHashMap$Segment.getOrCompute(CustomConcurrentHashMap.java:2291) at com.google.common.cache.CustomConcurrentHashMap.getOrCompute(CustomConcurrentHashMap.java:3802) at com.google.common.cache.ComputingCache.get(ComputingCache.java:46) at com.google.common.cache.AbstractCache.getUnchecked(AbstractCache.java:49) ... 48 more Caused by: com.atlassian.utils.process.ProcessException: Non-zero exit code: 128 at com.atlassian.utils.process.PluggableProcessHandler.complete(PluggableProcessHandler.java:83) at com.atlassian.utils.process.ExternalProcess.finish(ExternalProcess.java:376) at com.atlassian.utils.process.ExternalProcess.execute(ExternalProcess.java:419) at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:423) ... 59 more --------------------------------------------------------------------------------

    Atlassian JIRA | 4 years ago | Supriya Supugade
    java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: Runtime exception.
  6. 0

    We recently upgraded to the latest version of AccurevGitCentric which runs its ssh server on another port. The URLs you connect to in order to fetch a repository look like: ssh://hostname:29418/repo.git Normal git clients seem to have no trouble fetching the repos, but when our Bamboo build agents, try they fail with the following errors: {noformat} java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: Runtime exception. at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:132) at com.atlassian.bamboo.executor.RetryingTaskExecutor.runTask(RetryingTaskExecutor.java:88) at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:191) at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:176) at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectionChangesWithRetry(DefaultChangeDetectionManager.java:457) at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceLastBuildInternal(DefaultChangeDetectionManager.java:318) at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceRevisions(DefaultChangeDetectionManager.java:251) at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceRevisions(DefaultChangeDetectionManager.java:161) at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectAllChangesSinceLastBuild(DefaultChangeDetectionManager.java:127) at com.atlassian.bamboo.v2.trigger.ManualBuildDetectionAction.performDelayedChangeDetection(ManualBuildDetectionAction.java:113) at com.atlassian.bamboo.chains.ChainExecutionManagerImpl$2.getChainState(ChainExecutionManagerImpl.java:199) at com.atlassian.bamboo.chains.ChainExecutionManagerImpl.tryStartChainState(ChainExecutionManagerImpl.java:252) at com.atlassian.bamboo.chains.ChainExecutionManagerImpl.delayedStart(ChainExecutionManagerImpl.java:189) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy75.delayedStart(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198) at com.sun.proxy.$Proxy76.delayedStart(Unknown Source) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$1$1$1.call(PlanExecutionManagerImpl.java:300) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$1$1$1.call(PlanExecutionManagerImpl.java:296) at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:324) at com.atlassian.bamboo.plan.PlanExecutionLockServiceImpl.lock(PlanExecutionLockServiceImpl.java:77) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl.doWithProcessLock(PlanExecutionManagerImpl.java:467) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl.access$200(PlanExecutionManagerImpl.java:48) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$1$1.run(PlanExecutionManagerImpl.java:295) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:52) at java.lang.Thread.run(Unknown Source) Caused by: com.atlassian.bamboo.repository.RepositoryException: Runtime exception. at com.atlassian.bamboo.plugins.git.GitRepository.collectChangesSinceLastBuild(GitRepository.java:281) at com.atlassian.bamboo.plugins.git.GitRepository.collectChangesSinceLastBuild(GitRepository.java:180) at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager$1.call(DefaultChangeDetectionManager.java:461) at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager$1.call(DefaultChangeDetectionManager.java:458) at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:108) ... 39 more Caused by: com.google.common.util.concurrent.UncheckedExecutionException: com.atlassian.bamboo.plugins.git.GitCommandException: command 'C:\Program Files (x86)\Git\cmd\git.exe' ls-remote ssh://2f4e1af0-2084-486c-b3af-ce5eb2940103@127.0.0.1:53836/client-patches.git failed with code 128. Working directory was [.]., stderr: Authenticating remote session failed stdout: [Warning: Permanently added '[127.0.0.1]:53836' (RSA) to the list of known hosts., BAMBOO-SSH-PROXY: [While connecting to [accurev@kando.cjf.com/10.1.10.27:29418]: Authenticating remote session failed], fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.] at com.google.common.cache.AbstractCache.getUnchecked(AbstractCache.java:51) at com.atlassian.bamboo.plugins.git.CallableResultCache.call(CallableResultCache.java:82) at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.getRemoteRefs(NativeGitOperationHelper.java:512) at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.resolveBranch(NativeGitOperationHelper.java:447) at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.obtainLatestRevision(NativeGitOperationHelper.java:542) at com.atlassian.bamboo.plugins.git.GitRepository.collectChangesSinceLastBuild(GitRepository.java:192) ... 43 more Caused by: com.atlassian.bamboo.plugins.git.GitCommandException: command 'C:\Program Files (x86)\Git\cmd\git.exe' ls-remote ssh://2f4e1af0-2084-486c-b3af-ce5eb2940103@127.0.0.1:53836/client-patches.git failed with code 128. Working directory was [.]., stderr: Authenticating remote session failed stdout: [Warning: Permanently added '[127.0.0.1]:53836' (RSA) to the list of known hosts., BAMBOO-SSH-PROXY: [While connecting to [accurev@kando.cjf.com/10.1.10.27:29418]: Authenticating remote session failed], fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.] at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:431) at com.atlassian.bamboo.plugins.git.GitCommandProcessor.getRemoteRefs(GitCommandProcessor.java:350) at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper$1.call(NativeGitOperationHelper.java:500) at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper$1.call(NativeGitOperationHelper.java:491) at com.atlassian.bamboo.plugins.git.CallableResultCache$1.load(CallableResultCache.java:29) at com.atlassian.bamboo.plugins.git.CallableResultCache$1.load(CallableResultCache.java:25) at com.google.common.cache.CustomConcurrentHashMap$ComputingValueReference.compute(CustomConcurrentHashMap.java:3426) at com.google.common.cache.CustomConcurrentHashMap$Segment.compute(CustomConcurrentHashMap.java:2322) at com.google.common.cache.CustomConcurrentHashMap$Segment.getOrCompute(CustomConcurrentHashMap.java:2291) at com.google.common.cache.CustomConcurrentHashMap.getOrCompute(CustomConcurrentHashMap.java:3802) at com.google.common.cache.ComputingCache.get(ComputingCache.java:46) at com.google.common.cache.AbstractCache.getUnchecked(AbstractCache.java:49) ... 48 more Caused by: com.atlassian.utils.process.ProcessException: Non-zero exit code: 128 at com.atlassian.utils.process.PluggableProcessHandler.complete(PluggableProcessHandler.java:83) at com.atlassian.utils.process.ExternalProcess.finish(ExternalProcess.java:376) at com.atlassian.utils.process.ExternalProcess.execute(ExternalProcess.java:419) at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:423) ... 59 more {noformat}

    Atlassian JIRA | 4 years ago | Chris Boran
    java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: Runtime exception.

    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. com.atlassian.utils.process.ProcessException

      Non-zero exit code: 128

      at com.atlassian.utils.process.PluggableProcessHandler.complete()
    2. com.atlassian.utils
      ExternalProcess.execute
      1. com.atlassian.utils.process.PluggableProcessHandler.complete(PluggableProcessHandler.java:83)
      2. com.atlassian.utils.process.ExternalProcess.finish(ExternalProcess.java:376)
      3. com.atlassian.utils.process.ExternalProcess.execute(ExternalProcess.java:419)
      3 frames
    3. com.atlassian.bamboo
      NamedThreadFactory$2.run
      1. com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:351)
      2. com.atlassian.bamboo.plugins.git.GitCommandProcessor.getRemoteRefs(GitCommandProcessor.java:282)
      3. com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.resolveBranch(NativeGitOperationHelper.java:438)
      4. com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.fetch(NativeGitOperationHelper.java:410)
      5. com.atlassian.bamboo.plugins.git.GitRepository.retrieveSourceCode(GitRepository.java:358)
      6. com.atlassian.bamboo.plugins.git.GitRepository.retrieveSourceCode(GitRepository.java:292)
      7. com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.fillWorkingDirFromVcs(VcsCheckoutTask.java:180)
      8. com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.access$100(VcsCheckoutTask.java:46)
      9. com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$1.call(VcsCheckoutTask.java:114)
      10. com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$1.call(VcsCheckoutTask.java:110)
      11. com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:100)
      12. com.atlassian.bamboo.executor.RetryingTaskExecutor.runTask(RetryingTaskExecutor.java:79)
      13. com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:174)
      14. com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.execute(VcsCheckoutTask.java:109)
      15. com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:183)
      16. com.atlassian.bamboo.task.TaskExecutorImpl.executePreparationTasks(TaskExecutorImpl.java:67)
      17. com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.call(PrepareBuildTask.java:67)
      18. com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:204)
      19. com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:103)
      20. com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:109)
      21. com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:52)
      21 frames
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:722)
      1 frame