java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: com.atlassian.bamboo.plugins.git.GitCommandException: command /usr/bin/git ls-remote https://****:********@github.com/*****.git failed with code 128. Working directory was [.]., stderr: @400000005265d04c3aa2e704 [error: The requested URL returned error: 403 while accessing https://*****:********@github.com/*****.git/info/refs, fatal: HTTP request failed] @400000005265d04c3aa2eaec at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:132) @400000005265d04c3aa2f2bc at com.atlassian.bamboo.executor.RetryingTaskExecutor.runTask(RetryingTaskExecutor.java:88) @400000005265d04c3aa2fa8c at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:191) @400000005265d04c3aa2fe74 at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:176) @400000005265d04c3aa2fe74 at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectionChangesWithRetry(DefaultChangeDetectionManager.java:470) @400000005265d04c3aa311fc at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceLastBuildInternal(DefaultChangeDetectionManager.java:331) @400000005265d04c3aa315e4 at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceRevisions(DefaultChangeDetectionManager.java:259) @400000005265d04c3aa319cc at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceRevisions(DefaultChangeDetectionManager.java:154) @400000005265d04c3aa3219c at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceLastBuildIfTriggered(DefaultChangeDetectionManager.java:116) @400000005265d04c3aa3219c at com.atlassian.bamboo.v2.trigger.ChangeDetectionListenerAction.testIfBuildShouldStart(ChangeDetectionListenerAction.java:113)

Atlassian JIRA | Felipe Cuozzo | 3 years ago
  1. 0

    When the GitCommandProcessor (*com.atlassian.bamboo.plugins.git.GitRepository.collectChangesSinceLastBuild*) fails to run a git command it will dump the whole stack-trace. It could be that this is actually being logged via the *com.atlassian.bamboo.executor.RetryingTaskExecutor* class. Some stacks: {code} @400000005265d04c3aa2c3dc 2013-10-21 19:09:22,976 ERROR [4-BAM::PlanExec:pool-7-thread-4] [RetryingTaskExecutor] Failed to run task 'Collecting changes for BROKER-MQTTPROXY' after 2 attempts. Task was not executed. @400000005265d04c3aa2cbac 2013-10-21 19:09:22,976 ERROR [4-BAM::PlanExec:pool-7-thread-4] [RetryingTaskExecutor] Exception being rethrown @400000005265d04c3aa2cbac 2013-10-21 19:09:22,976 WARN [4-BAM::PlanExec:pool-7-thread-4] [PlanExecutionManagerImpl] Unknown error during doWithProcessLock @400000005265d04c3aa2cf94 java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: com.atlassian.bamboo.plugins.git.GitCommandException: command /usr/bin/git ls-remote https://****:********@github.com/*****.git failed with code 128. Working directory was [.]., stderr: @400000005265d04c3aa2e704 [error: The requested URL returned error: 403 while accessing https://*****:********@github.com/*****.git/info/refs, fatal: HTTP request failed] @400000005265d04c3aa2eaec at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:132) @400000005265d04c3aa2f2bc at com.atlassian.bamboo.executor.RetryingTaskExecutor.runTask(RetryingTaskExecutor.java:88) @400000005265d04c3aa2fa8c at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:191) @400000005265d04c3aa2fe74 at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:176) @400000005265d04c3aa2fe74 at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectionChangesWithRetry(DefaultChangeDetectionManager.java:470) @400000005265d04c3aa311fc at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceLastBuildInternal(DefaultChangeDetectionManager.java:331) @400000005265d04c3aa315e4 at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceRevisions(DefaultChangeDetectionManager.java:259) @400000005265d04c3aa319cc at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceRevisions(DefaultChangeDetectionManager.java:154) @400000005265d04c3aa3219c at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceLastBuildIfTriggered(DefaultChangeDetectionManager.java:116) @400000005265d04c3aa3219c at com.atlassian.bamboo.v2.trigger.ChangeDetectionListenerAction.testIfBuildShouldStart(ChangeDetectionListenerAction.java:113) @400000005265d04c3aa32d54 at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$3.call(PlanExecutionManagerImpl.java:465) @400000005265d04c3aa32d54 at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$3.call(PlanExecutionManagerImpl.java:449) @400000005265d04c3aa3313c at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:312) @400000005265d04c3aa33524 at com.atlassian.bamboo.plan.PlanExecutionLockServiceImpl.lock(PlanExecutionLockServiceImpl.java:81) @400000005265d04c3aa3390c at com.atlassian.bamboo.plan.PlanExecutionManagerImpl.doWithProcessLock(PlanExecutionManagerImpl.java:725) @400000005265d04c3aa33cf4 at com.atlassian.bamboo.plan.PlanExecutionManagerImpl.startConditionalBuild(PlanExecutionManagerImpl.java:448) @400000005265d04c3aa340dc at com.atlassian.bamboo.plan.PlanExecutionManagerImpl.start(PlanExecutionManagerImpl.java:519) @400000005265d04c3aa344c4 at com.atlassian.bamboo.plan.PlanExecutionManagerImpl.start(PlanExecutionManagerImpl.java:536) @400000005265d04c3aa344c4 at com.atlassian.bamboo.plan.NonBlockingPlanExecutionServiceImpl$3.call(NonBlockingPlanExecutionServiceImpl.java:137) @400000005265d04c3aa34c94 at com.atlassian.bamboo.plan.NonBlockingPlanExecutionServiceImpl$3.call(NonBlockingPlanExecutionServiceImpl.java:124) @400000005265d04c3aa35464 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) @400000005265d04c3aa3584c at java.util.concurrent.FutureTask.run(FutureTask.java:138) @400000005265d04c3aa3584c at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) @400000005265d04c3aa35c34 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) @400000005265d04c3aa3601c at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:55) @400000005265d04c3aa36404 at java.lang.Thread.run(Thread.java:662) @400000005265d04c3aa36404 Caused by: com.atlassian.bamboo.repository.RepositoryException: com.atlassian.bamboo.plugins.git.GitCommandException: command /usr/bin/git ls-remote https://****:********@github.com/******.git failed with code 128. Working directory was [.]., stderr: @400000005265d04c3aa36bd4 [error: The requested URL returned error: 403 while accessing https://****:********@github.com/*****.git/info/refs, fatal: HTTP request failed] @400000005265d04c3aa36fbc at com.atlassian.bamboo.plugins.git.GitRepository.collectChangesSinceLastBuild(GitRepository.java:302) @400000005265d04c3aa373a4 at com.atlassian.bamboo.plugins.git.GitRepository.collectChangesSinceLastBuild(GitRepository.java:203) @400000005265d04c3aa37b74 at com.atlassian.bamboo.plugins.git.GitHubRepository.collectChangesSinceLastBuild(GitHubRepository.java:244) @400000005265d04c3aa37f5c at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager$1.call(DefaultChangeDetectionManager.java:475) @400000005265d04c3aa38344 at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager$1.call(DefaultChangeDetectionManager.java:471) @400000005265d04c3aa38efc at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:108) @400000005265d04c3aa392e4 ... 25 more @400000005265d04c3aa392e4 Caused by: com.google.common.util.concurrent.UncheckedExecutionException: com.atlassian.bamboo.plugins.git.GitCommandException: command /usr/bin/git ls-remote https://*****:********@github.com/*****.git failed with code 128. Working directory was [.]., stderr: @400000005265d04c3aa39ab4 [error: The requested URL returned error: 403 while accessing https://****:********@github.com/*****.git/info/refs, fatal: HTTP request failed] @400000005265d04c3aa39e9c at com.google.common.cache.AbstractCache.getUnchecked(AbstractCache.java:51) @400000005265d04c3aa3a66c at com.atlassian.bamboo.util.CallableResultCache.call(CallableResultCache.java:82) @400000005265d04c3aa3aa54 at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.getRemoteRefs(NativeGitOperationHelper.java:463) @400000005265d04c3aa3aa54 at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.resolveBranch(NativeGitOperationHelper.java:398) @400000005265d04c3aa3ae3c at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.obtainLatestRevision(NativeGitOperationHelper.java:496) @400000005265d04c3aa3b224 at com.atlassian.bamboo.plugins.git.GitRepository.collectChangesSinceLastBuild(GitRepository.java:215) @400000005265d04c3aa3b60c ... 30 more {code}

    Atlassian JIRA | 3 years ago | Felipe Cuozzo
    java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: com.atlassian.bamboo.plugins.git.GitCommandException: command /usr/bin/git ls-remote https://****:********@github.com/*****.git failed with code 128. Working directory was [.]., stderr: @400000005265d04c3aa2e704 [error: The requested URL returned error: 403 while accessing https://*****:********@github.com/*****.git/info/refs, fatal: HTTP request failed] @400000005265d04c3aa2eaec at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:132) @400000005265d04c3aa2f2bc at com.atlassian.bamboo.executor.RetryingTaskExecutor.runTask(RetryingTaskExecutor.java:88) @400000005265d04c3aa2fa8c at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:191) @400000005265d04c3aa2fe74 at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:176) @400000005265d04c3aa2fe74 at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectionChangesWithRetry(DefaultChangeDetectionManager.java:470) @400000005265d04c3aa311fc at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceLastBuildInternal(DefaultChangeDetectionManager.java:331) @400000005265d04c3aa315e4 at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceRevisions(DefaultChangeDetectionManager.java:259) @400000005265d04c3aa319cc at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceRevisions(DefaultChangeDetectionManager.java:154) @400000005265d04c3aa3219c at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceLastBuildIfTriggered(DefaultChangeDetectionManager.java:116) @400000005265d04c3aa3219c at com.atlassian.bamboo.v2.trigger.ChangeDetectionListenerAction.testIfBuildShouldStart(ChangeDetectionListenerAction.java:113)
  2. 0

    When the GitCommandProcessor (*com.atlassian.bamboo.plugins.git.GitRepository.collectChangesSinceLastBuild*) fails to run a git command it will dump the whole stack-trace. It could be that this is actually being logged via the *com.atlassian.bamboo.executor.RetryingTaskExecutor* class. Some stacks: {code} @400000005265d04c3aa2c3dc 2013-10-21 19:09:22,976 ERROR [4-BAM::PlanExec:pool-7-thread-4] [RetryingTaskExecutor] Failed to run task 'Collecting changes for BROKER-MQTTPROXY' after 2 attempts. Task was not executed. @400000005265d04c3aa2cbac 2013-10-21 19:09:22,976 ERROR [4-BAM::PlanExec:pool-7-thread-4] [RetryingTaskExecutor] Exception being rethrown @400000005265d04c3aa2cbac 2013-10-21 19:09:22,976 WARN [4-BAM::PlanExec:pool-7-thread-4] [PlanExecutionManagerImpl] Unknown error during doWithProcessLock @400000005265d04c3aa2cf94 java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: com.atlassian.bamboo.plugins.git.GitCommandException: command /usr/bin/git ls-remote https://****:********@github.com/*****.git failed with code 128. Working directory was [.]., stderr: @400000005265d04c3aa2e704 [error: The requested URL returned error: 403 while accessing https://*****:********@github.com/*****.git/info/refs, fatal: HTTP request failed] @400000005265d04c3aa2eaec at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:132) @400000005265d04c3aa2f2bc at com.atlassian.bamboo.executor.RetryingTaskExecutor.runTask(RetryingTaskExecutor.java:88) @400000005265d04c3aa2fa8c at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:191) @400000005265d04c3aa2fe74 at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:176) @400000005265d04c3aa2fe74 at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectionChangesWithRetry(DefaultChangeDetectionManager.java:470) @400000005265d04c3aa311fc at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceLastBuildInternal(DefaultChangeDetectionManager.java:331) @400000005265d04c3aa315e4 at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceRevisions(DefaultChangeDetectionManager.java:259) @400000005265d04c3aa319cc at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceRevisions(DefaultChangeDetectionManager.java:154) @400000005265d04c3aa3219c at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceLastBuildIfTriggered(DefaultChangeDetectionManager.java:116) @400000005265d04c3aa3219c at com.atlassian.bamboo.v2.trigger.ChangeDetectionListenerAction.testIfBuildShouldStart(ChangeDetectionListenerAction.java:113) @400000005265d04c3aa32d54 at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$3.call(PlanExecutionManagerImpl.java:465) @400000005265d04c3aa32d54 at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$3.call(PlanExecutionManagerImpl.java:449) @400000005265d04c3aa3313c at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:312) @400000005265d04c3aa33524 at com.atlassian.bamboo.plan.PlanExecutionLockServiceImpl.lock(PlanExecutionLockServiceImpl.java:81) @400000005265d04c3aa3390c at com.atlassian.bamboo.plan.PlanExecutionManagerImpl.doWithProcessLock(PlanExecutionManagerImpl.java:725) @400000005265d04c3aa33cf4 at com.atlassian.bamboo.plan.PlanExecutionManagerImpl.startConditionalBuild(PlanExecutionManagerImpl.java:448) @400000005265d04c3aa340dc at com.atlassian.bamboo.plan.PlanExecutionManagerImpl.start(PlanExecutionManagerImpl.java:519) @400000005265d04c3aa344c4 at com.atlassian.bamboo.plan.PlanExecutionManagerImpl.start(PlanExecutionManagerImpl.java:536) @400000005265d04c3aa344c4 at com.atlassian.bamboo.plan.NonBlockingPlanExecutionServiceImpl$3.call(NonBlockingPlanExecutionServiceImpl.java:137) @400000005265d04c3aa34c94 at com.atlassian.bamboo.plan.NonBlockingPlanExecutionServiceImpl$3.call(NonBlockingPlanExecutionServiceImpl.java:124) @400000005265d04c3aa35464 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) @400000005265d04c3aa3584c at java.util.concurrent.FutureTask.run(FutureTask.java:138) @400000005265d04c3aa3584c at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) @400000005265d04c3aa35c34 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) @400000005265d04c3aa3601c at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:55) @400000005265d04c3aa36404 at java.lang.Thread.run(Thread.java:662) @400000005265d04c3aa36404 Caused by: com.atlassian.bamboo.repository.RepositoryException: com.atlassian.bamboo.plugins.git.GitCommandException: command /usr/bin/git ls-remote https://****:********@github.com/******.git failed with code 128. Working directory was [.]., stderr: @400000005265d04c3aa36bd4 [error: The requested URL returned error: 403 while accessing https://****:********@github.com/*****.git/info/refs, fatal: HTTP request failed] @400000005265d04c3aa36fbc at com.atlassian.bamboo.plugins.git.GitRepository.collectChangesSinceLastBuild(GitRepository.java:302) @400000005265d04c3aa373a4 at com.atlassian.bamboo.plugins.git.GitRepository.collectChangesSinceLastBuild(GitRepository.java:203) @400000005265d04c3aa37b74 at com.atlassian.bamboo.plugins.git.GitHubRepository.collectChangesSinceLastBuild(GitHubRepository.java:244) @400000005265d04c3aa37f5c at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager$1.call(DefaultChangeDetectionManager.java:475) @400000005265d04c3aa38344 at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager$1.call(DefaultChangeDetectionManager.java:471) @400000005265d04c3aa38efc at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:108) @400000005265d04c3aa392e4 ... 25 more @400000005265d04c3aa392e4 Caused by: com.google.common.util.concurrent.UncheckedExecutionException: com.atlassian.bamboo.plugins.git.GitCommandException: command /usr/bin/git ls-remote https://*****:********@github.com/*****.git failed with code 128. Working directory was [.]., stderr: @400000005265d04c3aa39ab4 [error: The requested URL returned error: 403 while accessing https://****:********@github.com/*****.git/info/refs, fatal: HTTP request failed] @400000005265d04c3aa39e9c at com.google.common.cache.AbstractCache.getUnchecked(AbstractCache.java:51) @400000005265d04c3aa3a66c at com.atlassian.bamboo.util.CallableResultCache.call(CallableResultCache.java:82) @400000005265d04c3aa3aa54 at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.getRemoteRefs(NativeGitOperationHelper.java:463) @400000005265d04c3aa3aa54 at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.resolveBranch(NativeGitOperationHelper.java:398) @400000005265d04c3aa3ae3c at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.obtainLatestRevision(NativeGitOperationHelper.java:496) @400000005265d04c3aa3b224 at com.atlassian.bamboo.plugins.git.GitRepository.collectChangesSinceLastBuild(GitRepository.java:215) @400000005265d04c3aa3b60c ... 30 more {code}

    Atlassian JIRA | 3 years ago | Felipe Cuozzo
    java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: com.atlassian.bamboo.plugins.git.GitCommandException: command /usr/bin/git ls-remote https://****:********@github.com/*****.git failed with code 128. Working directory was [.]., stderr: @400000005265d04c3aa2e704 [error: The requested URL returned error: 403 while accessing https://*****:********@github.com/*****.git/info/refs, fatal: HTTP request failed] @400000005265d04c3aa2eaec at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:132) @400000005265d04c3aa2f2bc at com.atlassian.bamboo.executor.RetryingTaskExecutor.runTask(RetryingTaskExecutor.java:88) @400000005265d04c3aa2fa8c at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:191) @400000005265d04c3aa2fe74 at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:176) @400000005265d04c3aa2fe74 at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectionChangesWithRetry(DefaultChangeDetectionManager.java:470) @400000005265d04c3aa311fc at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceLastBuildInternal(DefaultChangeDetectionManager.java:331) @400000005265d04c3aa315e4 at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceRevisions(DefaultChangeDetectionManager.java:259) @400000005265d04c3aa319cc at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceRevisions(DefaultChangeDetectionManager.java:154) @400000005265d04c3aa3219c at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceLastBuildIfTriggered(DefaultChangeDetectionManager.java:116) @400000005265d04c3aa3219c at com.atlassian.bamboo.v2.trigger.ChangeDetectionListenerAction.testIfBuildShouldStart(ChangeDetectionListenerAction.java:113)
  3. 0

    SSL certificate subject - Atlassian Documentation

    atlassian.com | 1 month ago
    java.lang.RuntimeException: com.atlassian.bamboo.plugins.git.GitCommandException: command [/usr/bin/git, ls-remote, https://git.user:***@my-git/git/EEDatabase.git] failed with code 128. Working directory was [.]., stderr: [error: SSL: certificate subject name (my-git.hostname.com) does not match target host name 'my-git' while accessing https://git.user:***@my-git/git/EEDatabase.git/info/refs, , fatal: HTTP request failed]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    SSL certificate subject - Bamboo Knowledge Base - Atlassian Documentation

    atlassian.com | 1 year ago
    java.lang.RuntimeException: com.atlassian.bamboo.plugins.git.GitCommandException: command [/usr/bin/git, ls-remote, https://git.user:***@my-git/git/EEDatabase.git] failed with code 128. Working directory was [.]., stderr: [error: SSL: certificate subject name (my-git.hostname.com) does not match target host name 'my-git' while accessing https://git.user:***@my-git/git/EEDatabase.git/info/refs, , fatal: HTTP request failed]
  6. 0

    [BAM-13384] system.git.executable fails to detect git in PATH or cygwin - Atlassian JIRA

    atlassian.com | 1 year ago
    java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: Checkout to revision 8c61bbd0bb9f4e7ab349632be9b0c0f23f443188 has failed.command git log -1 --encoding=UTF-8 --format=%d --decorate=full 8c61bbd0bb9f4e7ab349632be9b0c0f23f443188 failed with code 128. Working directory was [C:\Users\Administrator\bamboo-agent-home\xml-data\build-dir\XA-XENADMIN-JOB1\xenadmin.git]., stderr: error: object directory /cygdrive/c/Users/Administrator/bamboo-agent-home/xml-data/build-dir/XA-XENADMIN-JOB1/xenadmin.git/.git/objects/C:\Users\Administrator\bamboo-agent-home\xml-data\build-dir\_git-repositories-cache\020a7b48f134e4c6b9eb9629255977ea9f7f6c21\.git\objects does not exist; check .git/objects/info/alternates. fatal: bad object 8c61bbd0bb9f4e7ab349632be9b0c0f23f443188

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.RuntimeException

      com.atlassian.bamboo.repository.RepositoryException: com.atlassian.bamboo.plugins.git.GitCommandException: command /usr/bin/git ls-remote https://****:********@github.com/*****.git failed with code 128. Working directory was [.]., stderr: @400000005265d04c3aa2e704 [error: The requested URL returned error: 403 while accessing https://*****:********@github.com/*****.git/info/refs, fatal: HTTP request failed] @400000005265d04c3aa2eaec at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:132) @400000005265d04c3aa2f2bc at com.atlassian.bamboo.executor.RetryingTaskExecutor.runTask(RetryingTaskExecutor.java:88) @400000005265d04c3aa2fa8c at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:191) @400000005265d04c3aa2fe74 at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:176) @400000005265d04c3aa2fe74 at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectionChangesWithRetry(DefaultChangeDetectionManager.java:470) @400000005265d04c3aa311fc at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceLastBuildInternal(DefaultChangeDetectionManager.java:331) @400000005265d04c3aa315e4 at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceRevisions(DefaultChangeDetectionManager.java:259) @400000005265d04c3aa319cc at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceRevisions(DefaultChangeDetectionManager.java:154) @400000005265d04c3aa3219c at com.atlassian.bamboo.v2.trigger.DefaultChangeDetectionManager.collectChangesSinceLastBuildIfTriggered(DefaultChangeDetectionManager.java:116) @400000005265d04c3aa3219c at com.atlassian.bamboo.v2.trigger.ChangeDetectionListenerAction.testIfBuildShouldStart(ChangeDetectionListenerAction.java:113)

      at com.atlassian.bamboo.plan.PlanExecutionManagerImpl$3.call()
    2. com.atlassian.bamboo
      PlanExecutionManagerImpl$3.call
      1. com.atlassian.bamboo.plan.PlanExecutionManagerImpl$3.call(PlanExecutionManagerImpl.java:465)
      2. com.atlassian.bamboo.plan.PlanExecutionManagerImpl$3.call(PlanExecutionManagerImpl.java:449)
      2 frames