com.atlassian.bamboo.repository.RepositoryException: com.atlassian.bamboo.plugins.git.GitCommandException: command 'C:\Program Files (x86)\Git\cmd\git.exe' branch -a --contains 530bde8b9e9eb9af52b0757ed93444ec81a283f8 failed with code 129. Working directory was [D:\atlassian\BAMBOO\atlassian-bamboo-5.5.1\HOME\xml-data\build-dir\_git-repositories-cache\9de9b53b57e0af5d30a2f87df6a3dff3774d5734]., stderr: [error: no such commit 530bde8b9e9eb9af52b0757ed93444ec81a283f8, usage: git branch [options] [-r | -a] [--merged | --no-merged], or: git branch [options] [-l] [-f] <branchname> [<start-point>], or: git branch [options] [-r] (-d | -D) <branchname>..., or: git branch [options] (-m | -M) [<oldbranch>] <newbranch>, , Generic options, -v, --verbose show hash and subject, give twice for upstream branch, -q, --quiet suppress informational messages, -t, --track set up tracking mode (see git-pull(1)), --set-upstream change upstream info, -u, --set-upstream-to <upstream>, change the upstream info, --unset-upstream Unset the upstream info, --color[=<when>] use colored output, -r, --remotes act on remote-tracking branches, --contains <commit> print only branches that contain the commit, --abbrev[=<n>] use <n> digits to display SHA-1s, , Specific git-branch actions:, -a, --all list both remote-tracking and local branches, -d, --delete delete fully merged branch, -D delete branch (even if not merged), -m, --move move/rename a branch and its reflog, -M move/rename a branch, even if target exists, --list list branch names, -l, --create-reflog create the branch's reflog, --edit-description edit the description for the branch, -f, --force force creation (when already exists), --no-merged <commit> print only not merged branches, --merged <commit> print only merged branches, --column[=<style>] list branches in columns, ]

Atlassian JIRA | Sultan Maiyaki [Atlassian] | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    h5. Problem When triggering a build with "Run Customized..." and entering an id from commit that is only available within tags but not in branches the execution fails. h5. Expected behavior When triggering a build with "Run Customized..." on a specific commit ID the build should checkout the given ID and should not try to find a related branch. Or in other words: Using *git branch -a --contains <ID>* should not be used but *git checkout <ID>*. h5. Error Log {noformat} com.atlassian.bamboo.repository.RepositoryException: com.atlassian.bamboo.plugins.git.GitCommandException: command 'C:\Program Files (x86)\Git\cmd\git.exe' branch -a --contains 530bde8b9e9eb9af52b0757ed93444ec81a283f8 failed with code 129. Working directory was [D:\atlassian\BAMBOO\atlassian-bamboo-5.5.1\HOME\xml-data\build-dir\_git-repositories-cache\9de9b53b57e0af5d30a2f87df6a3dff3774d5734]., stderr: [error: no such commit 530bde8b9e9eb9af52b0757ed93444ec81a283f8, usage: git branch [options] [-r | -a] [--merged | --no-merged], or: git branch [options] [-l] [-f] <branchname> [<start-point>], or: git branch [options] [-r] (-d | -D) <branchname>..., or: git branch [options] (-m | -M) [<oldbranch>] <newbranch>, , Generic options, -v, --verbose show hash and subject, give twice for upstream branch, -q, --quiet suppress informational messages, -t, --track set up tracking mode (see git-pull(1)), --set-upstream change upstream info, -u, --set-upstream-to <upstream>, change the upstream info, --unset-upstream Unset the upstream info, --color[=<when>] use colored output, -r, --remotes act on remote-tracking branches, --contains <commit> print only branches that contain the commit, --abbrev[=<n>] use <n> digits to display SHA-1s, , Specific git-branch actions:, -a, --all list both remote-tracking and local branches, -d, --delete delete fully merged branch, -D delete branch (even if not merged), -m, --move move/rename a branch and its reflog, -M move/rename a branch, even if target exists, --list list branch names, -l, --create-reflog create the branch's reflog, --edit-description edit the description for the branch, -f, --force force creation (when already exists), --no-merged <commit> print only not merged branches, --merged <commit> print only merged branches, --column[=<style>] list branches in columns, ] at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceLastBuildInternal(DefaultChangeDetectionManager.java:373) at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceRevisions(DefaultChangeDetectionManager.java:261) at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceRevisions(DefaultChangeDetectionManager.java:160) at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectAllChangesSinceLastBuild(DefaultChangeDetectionManager.java:126) at com.atlassian.bamboo.v2.trigger.ManualBuildDetectionAction.performDelayedChangeDetection(ManualBuildDetectionAction.java:173) at com.atlassian.bamboo.chains.ChainExecutionManagerImpl$2.getChainState(ChainExecutionManagerImpl.java:209) at com.atlassian.bamboo.chains.ChainExecutionManagerImpl.tryStartChainState(ChainExecutionManagerImpl.java:262) at com.atlassian.bamboo.chains.ChainExecutionManagerImpl.delayedStart(ChainExecutionManagerImpl.java:198) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) 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 $Proxy96.delayedStart(Unknown Source) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$1$1$1$1.run(PlanExecutionManagerImpl.java:401) at com.atlassian.bamboo.util.CacheAwareness.whileReadingThroughCaches(CacheAwareness.java:85) at com.atlassian.bamboo.util.CacheAwareness.whileReadingThroughCaches(CacheAwareness.java:102) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$1$1$1.call(PlanExecutionManagerImpl.java:396) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$1$1$1.call(PlanExecutionManagerImpl.java:390) at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:312) at com.atlassian.bamboo.plan.PlanExecutionLockServiceImpl.lock(PlanExecutionLockServiceImpl.java:81) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl.doWithProcessLock(PlanExecutionManagerImpl.java:741) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl.access$200(PlanExecutionManagerImpl.java:125) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$1$1.run(PlanExecutionManagerImpl.java:384) at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) at java.lang.Thread.run(Thread.java:722) Caused by: com.atlassian.bamboo.plugins.git.GitCommandException: command 'C:\Program Files (x86)\Git\cmd\git.exe' branch -a --contains 530bde8b9e9eb9af52b0757ed93444ec81a283f8 failed with code 129. Working directory was [D:\atlassian\BAMBOO\atlassian-bamboo-5.5.1\HOME\xml-data\build-dir\_git-repositories-cache\9de9b53b57e0af5d30a2f87df6a3dff3774d5734]., stderr: [error: no such commit 530bde8b9e9eb9af52b0757ed93444ec81a283f8, usage: git branch [options] [-r | -a] [--merged | --no-merged], or: git branch [options] [-l] [-f] <branchname> [<start-point>], or: git branch [options] [-r] (-d | -D) <branchname>..., or: git branch [options] (-m | -M) [<oldbranch>] <newbranch>, , Generic options, -v, --verbose show hash and subject, give twice for upstream branch, -q, --quiet suppress informational messages, -t, --track set up tracking mode (see git-pull(1)), --set-upstream change upstream info, -u, --set-upstream-to <upstream>, change the upstream info, --unset-upstream Unset the upstream info, --color[=<when>] use colored output, -r, --remotes act on remote-tracking branches, --contains <commit> print only branches that contain the commit, --abbrev[=<n>] use <n> digits to display SHA-1s, , Specific git-branch actions:, -a, --all list both remote-tracking and local branches, -d, --delete delete fully merged branch, -D delete branch (even if not merged), -m, --move move/rename a branch and its reflog, -M move/rename a branch, even if target exists, --list list branch names, -l, --create-reflog create the branch's reflog, --edit-description edit the description for the branch, -f, --force force creation (when already exists), --no-merged <commit> print only not merged branches, --merged <commit> print only merged branches, --column[=<style>] list branches in columns, ] at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:551) at com.atlassian.bamboo.plugins.git.GitCommandProcessor.getBranchForSha(GitCommandProcessor.java:427) at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.getBranchForSha(NativeGitOperationHelper.java:512) at com.atlassian.bamboo.plugins.git.GitRepository.collectChangesSinceLastBuild(GitRepository.java:241) at com.atlassian.bamboo.plugins.git.GitRepository.collectChangesForRevision(GitRepository.java:204) at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceLastBuildInternal(DefaultChangeDetectionManager.java:323) ... 33 more Caused by: com.atlassian.utils.process.ProcessException: Non-zero exit code: 129 at com.atlassian.utils.process.PluggableProcessHandler.complete(PluggableProcessHandler.java:69) at com.atlassian.utils.process.ExternalProcessImpl.wrapUpProcess(ExternalProcessImpl.java:659) at com.atlassian.utils.process.ExternalProcessImpl.finish(ExternalProcessImpl.java:161) at com.atlassian.utils.process.ExternalProcessImpl.execute(ExternalProcessImpl.java:114) at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:543) ... 38 more {noformat}

    Atlassian JIRA | 3 years ago | Sultan Maiyaki [Atlassian]
    com.atlassian.bamboo.repository.RepositoryException: com.atlassian.bamboo.plugins.git.GitCommandException: command 'C:\Program Files (x86)\Git\cmd\git.exe' branch -a --contains 530bde8b9e9eb9af52b0757ed93444ec81a283f8 failed with code 129. Working directory was [D:\atlassian\BAMBOO\atlassian-bamboo-5.5.1\HOME\xml-data\build-dir\_git-repositories-cache\9de9b53b57e0af5d30a2f87df6a3dff3774d5734]., stderr: [error: no such commit 530bde8b9e9eb9af52b0757ed93444ec81a283f8, usage: git branch [options] [-r | -a] [--merged | --no-merged], or: git branch [options] [-l] [-f] <branchname> [<start-point>], or: git branch [options] [-r] (-d | -D) <branchname>..., or: git branch [options] (-m | -M) [<oldbranch>] <newbranch>, , Generic options, -v, --verbose show hash and subject, give twice for upstream branch, -q, --quiet suppress informational messages, -t, --track set up tracking mode (see git-pull(1)), --set-upstream change upstream info, -u, --set-upstream-to <upstream>, change the upstream info, --unset-upstream Unset the upstream info, --color[=<when>] use colored output, -r, --remotes act on remote-tracking branches, --contains <commit> print only branches that contain the commit, --abbrev[=<n>] use <n> digits to display SHA-1s, , Specific git-branch actions:, -a, --all list both remote-tracking and local branches, -d, --delete delete fully merged branch, -D delete branch (even if not merged), -m, --move move/rename a branch and its reflog, -M move/rename a branch, even if target exists, --list list branch names, -l, --create-reflog create the branch's reflog, --edit-description edit the description for the branch, -f, --force force creation (when already exists), --no-merged <commit> print only not merged branches, --merged <commit> print only merged branches, --column[=<style>] list branches in columns, ]
  2. 0

    h5. Problem When triggering a build with "Run Customized..." and entering an id from commit that is only available within tags but not in branches the execution fails. h5. Expected behavior When triggering a build with "Run Customized..." on a specific commit ID the build should checkout the given ID and should not try to find a related branch. Or in other words: Using *git branch -a --contains <ID>* should not be used but *git checkout <ID>*. h5. Error Log {noformat} com.atlassian.bamboo.repository.RepositoryException: com.atlassian.bamboo.plugins.git.GitCommandException: command 'C:\Program Files (x86)\Git\cmd\git.exe' branch -a --contains 530bde8b9e9eb9af52b0757ed93444ec81a283f8 failed with code 129. Working directory was [D:\atlassian\BAMBOO\atlassian-bamboo-5.5.1\HOME\xml-data\build-dir\_git-repositories-cache\9de9b53b57e0af5d30a2f87df6a3dff3774d5734]., stderr: [error: no such commit 530bde8b9e9eb9af52b0757ed93444ec81a283f8, usage: git branch [options] [-r | -a] [--merged | --no-merged], or: git branch [options] [-l] [-f] <branchname> [<start-point>], or: git branch [options] [-r] (-d | -D) <branchname>..., or: git branch [options] (-m | -M) [<oldbranch>] <newbranch>, , Generic options, -v, --verbose show hash and subject, give twice for upstream branch, -q, --quiet suppress informational messages, -t, --track set up tracking mode (see git-pull(1)), --set-upstream change upstream info, -u, --set-upstream-to <upstream>, change the upstream info, --unset-upstream Unset the upstream info, --color[=<when>] use colored output, -r, --remotes act on remote-tracking branches, --contains <commit> print only branches that contain the commit, --abbrev[=<n>] use <n> digits to display SHA-1s, , Specific git-branch actions:, -a, --all list both remote-tracking and local branches, -d, --delete delete fully merged branch, -D delete branch (even if not merged), -m, --move move/rename a branch and its reflog, -M move/rename a branch, even if target exists, --list list branch names, -l, --create-reflog create the branch's reflog, --edit-description edit the description for the branch, -f, --force force creation (when already exists), --no-merged <commit> print only not merged branches, --merged <commit> print only merged branches, --column[=<style>] list branches in columns, ] at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceLastBuildInternal(DefaultChangeDetectionManager.java:373) at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceRevisions(DefaultChangeDetectionManager.java:261) at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceRevisions(DefaultChangeDetectionManager.java:160) at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectAllChangesSinceLastBuild(DefaultChangeDetectionManager.java:126) at com.atlassian.bamboo.v2.trigger.ManualBuildDetectionAction.performDelayedChangeDetection(ManualBuildDetectionAction.java:173) at com.atlassian.bamboo.chains.ChainExecutionManagerImpl$2.getChainState(ChainExecutionManagerImpl.java:209) at com.atlassian.bamboo.chains.ChainExecutionManagerImpl.tryStartChainState(ChainExecutionManagerImpl.java:262) at com.atlassian.bamboo.chains.ChainExecutionManagerImpl.delayedStart(ChainExecutionManagerImpl.java:198) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) 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 $Proxy96.delayedStart(Unknown Source) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$1$1$1$1.run(PlanExecutionManagerImpl.java:401) at com.atlassian.bamboo.util.CacheAwareness.whileReadingThroughCaches(CacheAwareness.java:85) at com.atlassian.bamboo.util.CacheAwareness.whileReadingThroughCaches(CacheAwareness.java:102) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$1$1$1.call(PlanExecutionManagerImpl.java:396) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$1$1$1.call(PlanExecutionManagerImpl.java:390) at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:312) at com.atlassian.bamboo.plan.PlanExecutionLockServiceImpl.lock(PlanExecutionLockServiceImpl.java:81) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl.doWithProcessLock(PlanExecutionManagerImpl.java:741) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl.access$200(PlanExecutionManagerImpl.java:125) at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$1$1.run(PlanExecutionManagerImpl.java:384) at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) at java.lang.Thread.run(Thread.java:722) Caused by: com.atlassian.bamboo.plugins.git.GitCommandException: command 'C:\Program Files (x86)\Git\cmd\git.exe' branch -a --contains 530bde8b9e9eb9af52b0757ed93444ec81a283f8 failed with code 129. Working directory was [D:\atlassian\BAMBOO\atlassian-bamboo-5.5.1\HOME\xml-data\build-dir\_git-repositories-cache\9de9b53b57e0af5d30a2f87df6a3dff3774d5734]., stderr: [error: no such commit 530bde8b9e9eb9af52b0757ed93444ec81a283f8, usage: git branch [options] [-r | -a] [--merged | --no-merged], or: git branch [options] [-l] [-f] <branchname> [<start-point>], or: git branch [options] [-r] (-d | -D) <branchname>..., or: git branch [options] (-m | -M) [<oldbranch>] <newbranch>, , Generic options, -v, --verbose show hash and subject, give twice for upstream branch, -q, --quiet suppress informational messages, -t, --track set up tracking mode (see git-pull(1)), --set-upstream change upstream info, -u, --set-upstream-to <upstream>, change the upstream info, --unset-upstream Unset the upstream info, --color[=<when>] use colored output, -r, --remotes act on remote-tracking branches, --contains <commit> print only branches that contain the commit, --abbrev[=<n>] use <n> digits to display SHA-1s, , Specific git-branch actions:, -a, --all list both remote-tracking and local branches, -d, --delete delete fully merged branch, -D delete branch (even if not merged), -m, --move move/rename a branch and its reflog, -M move/rename a branch, even if target exists, --list list branch names, -l, --create-reflog create the branch's reflog, --edit-description edit the description for the branch, -f, --force force creation (when already exists), --no-merged <commit> print only not merged branches, --merged <commit> print only merged branches, --column[=<style>] list branches in columns, ] at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:551) at com.atlassian.bamboo.plugins.git.GitCommandProcessor.getBranchForSha(GitCommandProcessor.java:427) at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.getBranchForSha(NativeGitOperationHelper.java:512) at com.atlassian.bamboo.plugins.git.GitRepository.collectChangesSinceLastBuild(GitRepository.java:241) at com.atlassian.bamboo.plugins.git.GitRepository.collectChangesForRevision(GitRepository.java:204) at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceLastBuildInternal(DefaultChangeDetectionManager.java:323) ... 33 more Caused by: com.atlassian.utils.process.ProcessException: Non-zero exit code: 129 at com.atlassian.utils.process.PluggableProcessHandler.complete(PluggableProcessHandler.java:69) at com.atlassian.utils.process.ExternalProcessImpl.wrapUpProcess(ExternalProcessImpl.java:659) at com.atlassian.utils.process.ExternalProcessImpl.finish(ExternalProcessImpl.java:161) at com.atlassian.utils.process.ExternalProcessImpl.execute(ExternalProcessImpl.java:114) at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:543) ... 38 more {noformat}

    Atlassian JIRA | 3 years ago | Sultan Maiyaki [Atlassian]
    com.atlassian.bamboo.repository.RepositoryException: com.atlassian.bamboo.plugins.git.GitCommandException: command 'C:\Program Files (x86)\Git\cmd\git.exe' branch -a --contains 530bde8b9e9eb9af52b0757ed93444ec81a283f8 failed with code 129. Working directory was [D:\atlassian\BAMBOO\atlassian-bamboo-5.5.1\HOME\xml-data\build-dir\_git-repositories-cache\9de9b53b57e0af5d30a2f87df6a3dff3774d5734]., stderr: [error: no such commit 530bde8b9e9eb9af52b0757ed93444ec81a283f8, usage: git branch [options] [-r | -a] [--merged | --no-merged], or: git branch [options] [-l] [-f] <branchname> [<start-point>], or: git branch [options] [-r] (-d | -D) <branchname>..., or: git branch [options] (-m | -M) [<oldbranch>] <newbranch>, , Generic options, -v, --verbose show hash and subject, give twice for upstream branch, -q, --quiet suppress informational messages, -t, --track set up tracking mode (see git-pull(1)), --set-upstream change upstream info, -u, --set-upstream-to <upstream>, change the upstream info, --unset-upstream Unset the upstream info, --color[=<when>] use colored output, -r, --remotes act on remote-tracking branches, --contains <commit> print only branches that contain the commit, --abbrev[=<n>] use <n> digits to display SHA-1s, , Specific git-branch actions:, -a, --all list both remote-tracking and local branches, -d, --delete delete fully merged branch, -D delete branch (even if not merged), -m, --move move/rename a branch and its reflog, -M move/rename a branch, even if target exists, --list list branch names, -l, --create-reflog create the branch's reflog, --edit-description edit the description for the branch, -f, --force force creation (when already exists), --no-merged <commit> print only not merged branches, --merged <commit> print only merged branches, --column[=<style>] list branches in columns, ]
  3. 0

    InitialPinger processes a Hg repo fine. IncrementalPinger fails with: {noformat} 2012-02-13 20:44:16,584 DEBUG [IncrementalPinger1 catch21] fisheye.app RepositoryStatus-setMessage - Status change [catch21]: Contacting repository. 2012-02-13 20:44:16,585 DEBUG [IncrementalPinger1 catch21] fisheye.app RepositoryStatus-setMessage - Status change [catch21]: Getting updates from https://bitbucket.org/rene/fsh5798/ 2012-02-13 20:44:16,585 DEBUG [IncrementalPinger1 catch21] fisheye.app LoggingProcessMonitor-onBeforeStart - Starting process: hg --config ui.verbose=false pull https://bitbucket.org/rene/fsh5798/ 2012-02-13 20:44:17,525 DEBUG [ExtProcess IO Pump catch21] fisheye.app RepositoryStatus-setMessage - Status change [catch21]: warning: bitbucket.org certificate with fingerprint 24:9c:45:8b:9c:aa:ba:55:4e:01:6d:58:ff:e4:28:7d:2a:14:ae:3b not verified (check hostfingerprints or web.cacerts config setting) 2012-02-13 20:44:18,184 DEBUG [ExtProcess IO Pump catch21] fisheye.app RepositoryStatus-setMessage - Status change [catch21]: pulling from https://bitbucket.org/rene/fsh5798/ 2012-02-13 20:44:18,184 DEBUG [ExtProcess IO Pump catch21] fisheye.app RepositoryStatus-setMessage - Status change [catch21]: warning: bitbucket.org certificate with fingerprint 24:9c:45:8b:9c:aa:ba:55:4e:01:6d:58:ff:e4:28:7d:2a:14:ae:3b not verified (check hostfingerprints or web.cacerts config setting) 2012-02-13 20:44:18,862 DEBUG [ExtProcess IO Pump catch21] fisheye.app RepositoryStatus-setMessage - Status change [catch21]: searching for changes 2012-02-13 20:44:18,863 DEBUG [ExtProcess IO Pump catch21] fisheye.app RepositoryStatus-setMessage - Status change [catch21]: no changes found 2012-02-13 20:44:18,862 DEBUG [ExtProcess IO Pump catch21] fisheye.app RepositoryStatus-setMessage - Status change [catch21]: warning: bitbucket.org certificate with fingerprint 24:9c:45:8b:9c:aa:ba:55:4e:01:6d:58:ff:e4:28:7d:2a:14:ae:3b not verified (check hostfingerprints or web.cacerts config setting) 2012-02-13 20:44:19,560 DEBUG [ExtProcess IO Pump catch21] fisheye.app RepositoryStatus-setMessage - Status change [catch21]: warning: bitbucket.org certificate with fingerprint 24:9c:45:8b:9c:aa:ba:55:4e:01:6d:58:ff:e4:28:7d:2a:14:ae:3b not verified (check hostfingerprints or web.cacerts config setting) 2012-02-13 20:44:19,721 DEBUG [IncrementalPinger1 catch21] fisheye.app LoggingProcessMonitor-onAfterFinished - Finished process: hg --config ui.verbose=false pull https://bitbucket.org/rene/fsh5798/ took 3135ms 2012-02-13 20:44:19,722 INFO [IncrementalPinger1 catch21] fisheye.app LoggingProcessMonitor-onAfterFinished - Exception executing command "hg --config ui.verbose=false pull https://bitbucket.org/rene/fsh5798/ " Non-zero exit code: 1 com.atlassian.utils.process.ProcessException: Non-zero exit code: 1 2012-02-13 20:44:19,726 DEBUG [IncrementalPinger1 catch21] fisheye.app RepositoryStatus-setEngineError - Engine Error Set [catch21]: Unable to pull from remote repository: https://bitbucket.org/rene/fsh5798/ - [warning: bitbucket.org certificate with fingerprint 24:9c:45:8b:9c:aa:ba:55:4e:01:6d:58:ff:e4:28:7d:2a:14:ae:3b not verified (check hostfingerprints or web.cacerts config setting), warning: bitbucket.org certificate with fingerprint 24:9c:45:8b:9c:aa:ba:55:4e:01:6d:58:ff:e4:28:7d:2a:14:ae:3b not verified (check hostfingerprints or web.cacerts config setting), warning: bitbucket.org certificate with fingerprint 24:9c:45:8b:9c:aa:ba:55:4e:01:6d:58:ff:e4:28:7d:2a:14:ae:3b not verified (check hostfingerprints or web.cacerts config setting), warning: bitbucket.org certificate with fingerprint 24:9c:45:8b:9c:aa:ba:55:4e:01:6d:58:ff:e4:28:7d:2a:14:ae:3b not verified (check hostfingerprints or web.cacerts config setting)] - pulling from https://bitbucket.org/rene/fsh5798/ searching for changes no changes found 2012-02-13 20:44:19,727 ERROR [IncrementalPinger1 ] fisheye.app OneOffPingRequest-doRequest - Exception during slurp com.cenqua.fisheye.config.ConfigException: Unable to pull from remote repository: https://bitbucket.org/rene/fsh5798/ - [warning: bitbucket.org certificate with fingerprint 24:9c:45:8b:9c:aa:ba:55:4e:01:6d:58:ff:e4:28:7d:2a:14:ae:3b not verified (check hostfingerprints or web.cacerts config setting), warning: bitbucket.org certificate with fingerprint 24:9c:45:8b:9c:aa:ba:55:4e:01:6d:58:ff:e4:28:7d:2a:14:ae:3b not verified (check hostfingerprints or web.cacerts config setting), warning: bitbucket.org certificate with fingerprint 24:9c:45:8b:9c:aa:ba:55:4e:01:6d:58:ff:e4:28:7d:2a:14:ae:3b not verified (check hostfingerprints or web.cacerts config setting), warning: bitbucket.org certificate with fingerprint 24:9c:45:8b:9c:aa:ba:55:4e:01:6d:58:ff:e4:28:7d:2a:14:ae:3b not verified (check hostfingerprints or web.cacerts config setting)] - pulling from https://bitbucket.org/rene/fsh5798/ searching for changes no changes found at com.atlassian.fisheye.hg.HgScanner.fetchLatest(HgScanner.java:155) at com.atlassian.fisheye.dvcs.DvcsScanner.updateClone(DvcsScanner.java:158) at com.atlassian.fisheye.dvcs.DvcsScanner.updateLocalRepoCache(DvcsScanner.java:145) at com.cenqua.fisheye.rep.BaseRepositoryScanner.ping(BaseRepositoryScanner.java:179) at com.cenqua.fisheye.rep.BaseRepositoryEngine.doSlurp(BaseRepositoryEngine.java:92) at com.cenqua.fisheye.rep.RepositoryEngine.slurp(RepositoryEngine.java:379) at com.cenqua.fisheye.rep.ping.OneOffPingRequest.doRequest(OneOffPingRequest.java:28) at com.cenqua.fisheye.rep.ping.PingRequest.process(PingRequest.java:67) at com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:138) at com.cenqua.fisheye.rep.RepositoryHandle.queuePingRequest(RepositoryHandle.java:128) at com.cenqua.fisheye.rep.ping.PingRequest.run(PingRequest.java:33) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:680) Caused by: com.atlassian.utils.process.ProcessException: While executing: "hg --config ui.verbose=false pull https://bitbucket.org/rene/fsh5798/ " at com.atlassian.fisheye.dvcs.client.DvcsContext.executeCommand(DvcsContext.java:262) at com.atlassian.fisheye.dvcs.client.DvcsContext.executeCommand(DvcsContext.java:254) at com.atlassian.fisheye.hg.HgScanner.fetchLatest(HgScanner.java:149) ... 13 more Caused by: com.atlassian.utils.process.ProcessException: Non-zero exit code: 1 at com.atlassian.utils.process.PluggableProcessHandler.complete(PluggableProcessHandler.java:83) at com.atlassian.utils.process.ExternalProcessImpl.finish(ExternalProcessImpl.java:308) at com.atlassian.utils.process.ExternalProcessImpl.execute(ExternalProcessImpl.java:351) at com.atlassian.fisheye.dvcs.client.DvcsContext.executeCommand(DvcsContext.java:259) ... 15 more {noformat} Reproduced with multiple repos, on BitBucket and Google Code. Same repos with Hg 1.9 and 2.0.2 work fine.

    Atlassian JIRA | 5 years ago | Rene Verschoor [Atlassian]
    com.cenqua.fisheye.config.ConfigException: Unable to pull from remote repository: https://bitbucket.org/rene/fsh5798/ - [warning: bitbucket.org certificate with fingerprint 24:9c:45:8b:9c:aa:ba:55:4e:01:6d:58:ff:e4:28:7d:2a:14:ae:3b not verified (check hostfingerprints or web.cacerts config setting), warning: bitbucket.org certificate with fingerprint 24:9c:45:8b:9c:aa:ba:55:4e:01:6d:58:ff:e4:28:7d:2a:14:ae:3b not verified (check hostfingerprints or web.cacerts config setting), warning: bitbucket.org certificate with fingerprint 24:9c:45:8b:9c:aa:ba:55:4e:01:6d:58:ff:e4:28:7d:2a:14:ae:3b not verified (check hostfingerprints or web.cacerts config setting), warning: bitbucket.org certificate with fingerprint 24:9c:45:8b:9c:aa:ba:55:4e:01:6d:58:ff:e4:28:7d:2a:14:ae:3b not verified (check hostfingerprints or web.cacerts config setting)] - pulling from https://bitbucket.org/rene/fsh5798/ searching for changes no changes found
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Currently, this is the message logged upon adding a valid, empty repository: {noformat} 2013-01-15 13:24:33,301 INFO - [example--repo] starting initial scan of repository 2013-01-15 13:24:34,339 WARN - Could not create .mailmap file for git repository 'example--repo'. Committers will not be mapped. com.atlassian.fisheye.dvcs.handler.DvcsProcessException: Error while communicating with VCS: fatal: Not a valid object name HEAD at com.atlassian.fisheye.dvcs.client.DvcsContext.executeCommand(DvcsContext.java:214) at com.atlassian.fisheye.git.GitScanner.updateMailMap(GitScanner.java:277) at com.atlassian.fisheye.git.GitScanner.performClone(GitScanner.java:245) at com.atlassian.fisheye.dvcs.DvcsScanner.cloneRepo(DvcsScanner.java:173) at com.atlassian.fisheye.dvcs.DvcsScanner.updateClone(DvcsScanner.java:149) at com.atlassian.fisheye.dvcs.DvcsScanner.updateLocalRepoCache(DvcsScanner.java:143) at com.cenqua.fisheye.rep.BaseRepositoryScanner.ping(BaseRepositoryScanner.java:179) at com.cenqua.fisheye.rep.BaseRepositoryEngine.doSlurp(BaseRepositoryEngine.java:92) at com.cenqua.fisheye.rep.RepositoryEngine.slurp(RepositoryEngine.java:383) at com.cenqua.fisheye.rep.ping.OneOffPingRequest.doRequest(OneOffPingRequest.java:28) at com.cenqua.fisheye.rep.ping.PingRequest.process(PingRequest.java:67) at com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:138) at com.cenqua.fisheye.rep.RepositoryHandle.queuePingRequest(RepositoryHandle.java:128) at com.cenqua.fisheye.rep.ping.PingRequest.run(PingRequest.java:33) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: com.atlassian.utils.process.ProcessException: While executing: "/opt/bcs/bin/git ls-tree HEAD – .mailmap " in [/cm/fisheye/data/var/cache/example--repo/clone] at com.atlassian.fisheye.dvcs.client.DvcsContext.executeCommand(DvcsContext.java:262) at com.atlassian.fisheye.dvcs.client.DvcsContext.executeCommand(DvcsContext.java:254) at com.atlassian.fisheye.dvcs.client.DvcsContext.executeCommand(DvcsContext.java:212) ... 16 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.ExternalProcessImpl.finish(ExternalProcessImpl.java:308) at com.atlassian.utils.process.ExternalProcessImpl.execute(ExternalProcessImpl.java:351) at com.atlassian.fisheye.dvcs.client.DvcsContext.executeCommand(DvcsContext.java:259) ... 18 more 2013-01-15 13:24:35,735 INFO - [example--repo] finished initial scan of repository in 1s{ {noformat}

    Atlassian JIRA | 4 years ago | Daniel Rohan [Atlassian]
    com.atlassian.fisheye.dvcs.handler.DvcsProcessException: Error while communicating with VCS: fatal: Not a valid object name HEAD
  6. 0

    The BranchExpiryJob will throw an unhandled exception when trying to search for branches to expire when it comes to a plan with an invalid repository. For example, if a plan references a remote repository that has since been deleted or moved, the BranchExpiryJob will error out with: {noformat} 2013-08-14 03:00:48,763 ERROR [QuartzScheduler_Worker-9] [JobRunShell] Job branchExpiryGroup.branchExpiryJob threw an unhandled Exception: com.google.common.util.concurrent.UncheckedExecutionException: com.atlassian.bamboo.plugins.git.GitCommandException: command /usr/bin/git ls-remote https://mrdon:********@bitbucket.org/atlassian/remotable-plugins.git failed with code 128. Working directory was [.]., stderr: [fatal: https://mrdon:********@bitbucket.org/atlassian/remotable-plugins.git/info/refs not found: did you run git update-server-info on the server?] 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:485) at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.resolveBranch(NativeGitOperationHelper.java:420) at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.obtainLatestRevision(NativeGitOperationHelper.java:518) at com.atlassian.bamboo.plugins.git.GitRepository.getLastCommit(GitRepository.java:522) at com.atlassian.bamboo.plan.branch.BranchExpiryJob.execute(BranchExpiryJob.java:88) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at com.atlassian.bamboo.quartz.SystemAuthorizedThreadPool$1.run(SystemAuthorizedThreadPool.java:38) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525) Caused by: com.atlassian.bamboo.plugins.git.GitCommandException: command /usr/bin/git ls-remote https://mrdon:********@bitbucket.org/atlassian/remotable-plugins.git failed with code 128. Working directory was [.]., stderr: [fatal: https://mrdon:********@bitbucket.org/atlassian/remotable-plugins.git/info/refs not found: did you run git update-server-info on the server?] at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:431) at com.atlassian.bamboo.plugins.git.GitCommandProcessor.getRemoteRefs(GitCommandProcessor.java:351) at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper$1.call(NativeGitOperationHelper.java:473) at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper$1.call(NativeGitOperationHelper.java:464) 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) ... 9 more Caused by: com.atlassian.utils.process.ProcessException: Non-zero exit code: 128 at com.atlassian.utils.process.PluggableProcessHandler.complete(PluggableProcessHandler.java:69) at com.atlassian.utils.process.ExternalProcessImpl.wrapUpProcess(ExternalProcessImpl.java:556) at com.atlassian.utils.process.ExternalProcessImpl.finish(ExternalProcessImpl.java:472) at com.atlassian.utils.process.ExternalProcessImpl.execute(ExternalProcessImpl.java:426) at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:423) ... 20 more {noformat} More importantly, *this will stop the job continuing on to other plans* The job should gracefully handle such situations, and proceed to check the rest of the plans for expired branches.

    Atlassian JIRA | 4 years ago | David Rizzuto [Atlassian]
    com.google.common.util.concurrent.UncheckedExecutionException: com.atlassian.bamboo.plugins.git.GitCommandException: command /usr/bin/git ls-remote https://mrdon:********@bitbucket.org/atlassian/remotable-plugins.git failed with code 128. Working directory was [.]., stderr: [fatal: https://mrdon:********@bitbucket.org/atlassian/remotable-plugins.git/info/refs not found: did you run git update-server-info on the server?]

    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: 129

      at com.atlassian.utils.process.PluggableProcessHandler.complete()
    2. com.atlassian.utils
      ExternalProcessImpl.execute
      1. com.atlassian.utils.process.PluggableProcessHandler.complete(PluggableProcessHandler.java:69)
      2. com.atlassian.utils.process.ExternalProcessImpl.wrapUpProcess(ExternalProcessImpl.java:659)
      3. com.atlassian.utils.process.ExternalProcessImpl.finish(ExternalProcessImpl.java:161)
      4. com.atlassian.utils.process.ExternalProcessImpl.execute(ExternalProcessImpl.java:114)
      4 frames
    3. com.atlassian.bamboo
      ChainExecutionManagerImpl.delayedStart
      1. com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:543)
      2. com.atlassian.bamboo.plugins.git.GitCommandProcessor.getBranchForSha(GitCommandProcessor.java:427)
      3. com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.getBranchForSha(NativeGitOperationHelper.java:512)
      4. com.atlassian.bamboo.plugins.git.GitRepository.collectChangesSinceLastBuild(GitRepository.java:241)
      5. com.atlassian.bamboo.plugins.git.GitRepository.collectChangesForRevision(GitRepository.java:204)
      6. com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceLastBuildInternal(DefaultChangeDetectionManager.java:323)
      7. com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceRevisions(DefaultChangeDetectionManager.java:261)
      8. com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceRevisions(DefaultChangeDetectionManager.java:160)
      9. com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectAllChangesSinceLastBuild(DefaultChangeDetectionManager.java:126)
      10. com.atlassian.bamboo.v2.trigger.ManualBuildDetectionAction.performDelayedChangeDetection(ManualBuildDetectionAction.java:173)
      11. com.atlassian.bamboo.chains.ChainExecutionManagerImpl$2.getChainState(ChainExecutionManagerImpl.java:209)
      12. com.atlassian.bamboo.chains.ChainExecutionManagerImpl.tryStartChainState(ChainExecutionManagerImpl.java:262)
      13. com.atlassian.bamboo.chains.ChainExecutionManagerImpl.delayedStart(ChainExecutionManagerImpl.java:198)
      13 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:601)
      4 frames
    5. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      4. org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
      5. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      6. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      6 frames
    6. Unknown
      $Proxy96.delayedStart
      1. $Proxy96.delayedStart(Unknown Source)
      1 frame
    7. com.atlassian.bamboo
      PlanExecutionManagerImpl$1$1$1.call
      1. com.atlassian.bamboo.plan.PlanExecutionManagerImpl$1$1$1$1.run(PlanExecutionManagerImpl.java:401)
      2. com.atlassian.bamboo.util.CacheAwareness.whileReadingThroughCaches(CacheAwareness.java:85)
      3. com.atlassian.bamboo.util.CacheAwareness.whileReadingThroughCaches(CacheAwareness.java:102)
      4. com.atlassian.bamboo.plan.PlanExecutionManagerImpl$1$1$1.call(PlanExecutionManagerImpl.java:396)
      5. com.atlassian.bamboo.plan.PlanExecutionManagerImpl$1$1$1.call(PlanExecutionManagerImpl.java:390)
      5 frames
    8. com.atlassian.util
      ManagedLocks$ManagedLockImpl.withLock
      1. com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:312)
      1 frame
    9. com.atlassian.bamboo
      ImpersonationHelper$1.run
      1. com.atlassian.bamboo.plan.PlanExecutionLockServiceImpl.lock(PlanExecutionLockServiceImpl.java:81)
      2. com.atlassian.bamboo.plan.PlanExecutionManagerImpl.doWithProcessLock(PlanExecutionManagerImpl.java:741)
      3. com.atlassian.bamboo.plan.PlanExecutionManagerImpl.access$200(PlanExecutionManagerImpl.java:125)
      4. com.atlassian.bamboo.plan.PlanExecutionManagerImpl$1$1.run(PlanExecutionManagerImpl.java:384)
      5. com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49)
      6. com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31)
      7. com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20)
      8. com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52)
      8 frames
    10. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:722)
      1 frame