com.atlassian.bamboo.repository.RepositoryException: Cannot fetch 'https://cixot@github.com/cixot/test.git', branch 'master' to source directory '/home/pstefaniak/bamboo/atlassian-bamboo-2.7.3-standalone/home/xml-data/build-dir/_git-repositories-cache/0x-645f5f1-1/repository'. https://cixot@github.com/cixot/test.git: Starting read stage without written request data pending is not supported

Atlassian JIRA | Piotr Stefan Stefaniak [Atlassian] | 6 years ago
  1. 0

    Build TEST-TESTHTTPS-JOB1-18 started building on agent Default Agent Updating source code to revision: 05b86d941d9f61f9236d7743c13821d6fdc4d416 Fetching branch 'master'. Will try to do a shallow fetch. Git: Requesting shallow fetch {color:red}Cannot fetch 'https://cixot@github.com/cixot/test.git', branch 'master' to source directory '/home/pstefaniak/bamboo/atlassian-bamboo-2.7.3-standalone/home/xml-data/build-dir/131073/TEST-TESTHTTPS-JOB1'. https://cixot@github.com/cixot/test.git: Starting read stage without written request data pending is not supported{color} {code} com.atlassian.bamboo.repository.RepositoryException: Cannot fetch 'https://cixot@github.com/cixot/test.git', branch 'master' to source directory '/home/pstefaniak/bamboo/atlassian-bamboo-2.7.3-standalone/home/xml-data/build-dir/_git-repositories-cache/0x-645f5f1-1/repository'. https://cixot@github.com/cixot/test.git: Starting read stage without written request data pending is not supported at com.atlassian.bamboo.plugins.git.GitOperationHelper.fetch(GitOperationHelper.java:193) at com.atlassian.bamboo.plugins.git.GitOperationHelper.fetch(GitOperationHelper.java:157) ... Caused by: org.eclipse.jgit.errors.TransportException: https://cixot@github.com/cixot/test.git: Starting read stage without written request data pending is not supported at org.eclipse.jgit.transport.BasePackFetchConnection.doFetch(BasePackFetchConnection.java:292) at org.eclipse.jgit.transport.TransportHttp$SmartHttpFetchConnection.doFetch(TransportHttp.java:613) at org.eclipse.jgit.transport.BasePackFetchConnection.fetch(BasePackFetchConnection.java:230) at org.eclipse.jgit.transport.FetchProcess.fetchObjects(FetchProcess.java:217) at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:152) at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:114) at org.eclipse.jgit.transport.Transport.fetch(Transport.java:904) at com.atlassian.bamboo.plugins.git.GitOperationHelper.fetch(GitOperationHelper.java:188) ... 23 more Caused by: org.eclipse.jgit.errors.TransportException: https://cixot@github.com/cixot/test.git: Starting read stage without written request data pending is not supported at org.eclipse.jgit.transport.TransportHttp$Service.execute(TransportHttp.java:698) at org.eclipse.jgit.transport.TransportHttp$Service$HttpExecuteStream.read(TransportHttp.java:772) at org.eclipse.jgit.util.io.UnionInputStream.read(UnionInputStream.java:144) at java.io.FilterInputStream.read(FilterInputStream.java:133) at org.eclipse.jgit.util.io.TimeoutInputStream.read(TimeoutInputStream.java:111) at org.eclipse.jgit.util.IO.readFully(IO.java:175) at org.eclipse.jgit.transport.PacketLineIn.readLength(PacketLineIn.java:141) at org.eclipse.jgit.transport.PacketLineIn.readString(PacketLineIn.java:108) at org.eclipse.jgit.transport.PacketLineIn.readACK(PacketLineIn.java:86) at org.eclipse.jgit.transport.BasePackFetchConnection.negotiate(BasePackFetchConnection.java:575) at org.eclipse.jgit.transport.BasePackFetchConnection.doFetch(BasePackFetchConnection.java:278) ... 30 more {code}

    Atlassian JIRA | 6 years ago | Piotr Stefan Stefaniak [Atlassian]
    com.atlassian.bamboo.repository.RepositoryException: Cannot fetch 'https://cixot@github.com/cixot/test.git', branch 'master' to source directory '/home/pstefaniak/bamboo/atlassian-bamboo-2.7.3-standalone/home/xml-data/build-dir/_git-repositories-cache/0x-645f5f1-1/repository'. https://cixot@github.com/cixot/test.git: Starting read stage without written request data pending is not supported
  2. 0

    Build TEST-TESTHTTPS-JOB1-18 started building on agent Default Agent Updating source code to revision: 05b86d941d9f61f9236d7743c13821d6fdc4d416 Fetching branch 'master'. Will try to do a shallow fetch. Git: Requesting shallow fetch {color:red}Cannot fetch 'https://cixot@github.com/cixot/test.git', branch 'master' to source directory '/home/pstefaniak/bamboo/atlassian-bamboo-2.7.3-standalone/home/xml-data/build-dir/131073/TEST-TESTHTTPS-JOB1'. https://cixot@github.com/cixot/test.git: Starting read stage without written request data pending is not supported{color} {code} com.atlassian.bamboo.repository.RepositoryException: Cannot fetch 'https://cixot@github.com/cixot/test.git', branch 'master' to source directory '/home/pstefaniak/bamboo/atlassian-bamboo-2.7.3-standalone/home/xml-data/build-dir/_git-repositories-cache/0x-645f5f1-1/repository'. https://cixot@github.com/cixot/test.git: Starting read stage without written request data pending is not supported at com.atlassian.bamboo.plugins.git.GitOperationHelper.fetch(GitOperationHelper.java:193) at com.atlassian.bamboo.plugins.git.GitOperationHelper.fetch(GitOperationHelper.java:157) ... Caused by: org.eclipse.jgit.errors.TransportException: https://cixot@github.com/cixot/test.git: Starting read stage without written request data pending is not supported at org.eclipse.jgit.transport.BasePackFetchConnection.doFetch(BasePackFetchConnection.java:292) at org.eclipse.jgit.transport.TransportHttp$SmartHttpFetchConnection.doFetch(TransportHttp.java:613) at org.eclipse.jgit.transport.BasePackFetchConnection.fetch(BasePackFetchConnection.java:230) at org.eclipse.jgit.transport.FetchProcess.fetchObjects(FetchProcess.java:217) at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:152) at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:114) at org.eclipse.jgit.transport.Transport.fetch(Transport.java:904) at com.atlassian.bamboo.plugins.git.GitOperationHelper.fetch(GitOperationHelper.java:188) ... 23 more Caused by: org.eclipse.jgit.errors.TransportException: https://cixot@github.com/cixot/test.git: Starting read stage without written request data pending is not supported at org.eclipse.jgit.transport.TransportHttp$Service.execute(TransportHttp.java:698) at org.eclipse.jgit.transport.TransportHttp$Service$HttpExecuteStream.read(TransportHttp.java:772) at org.eclipse.jgit.util.io.UnionInputStream.read(UnionInputStream.java:144) at java.io.FilterInputStream.read(FilterInputStream.java:133) at org.eclipse.jgit.util.io.TimeoutInputStream.read(TimeoutInputStream.java:111) at org.eclipse.jgit.util.IO.readFully(IO.java:175) at org.eclipse.jgit.transport.PacketLineIn.readLength(PacketLineIn.java:141) at org.eclipse.jgit.transport.PacketLineIn.readString(PacketLineIn.java:108) at org.eclipse.jgit.transport.PacketLineIn.readACK(PacketLineIn.java:86) at org.eclipse.jgit.transport.BasePackFetchConnection.negotiate(BasePackFetchConnection.java:575) at org.eclipse.jgit.transport.BasePackFetchConnection.doFetch(BasePackFetchConnection.java:278) ... 30 more {code}

    Atlassian JIRA | 6 years ago | Piotr Stefan Stefaniak [Atlassian]
    com.atlassian.bamboo.repository.RepositoryException: Cannot fetch 'https://cixot@github.com/cixot/test.git', branch 'master' to source directory '/home/pstefaniak/bamboo/atlassian-bamboo-2.7.3-standalone/home/xml-data/build-dir/_git-repositories-cache/0x-645f5f1-1/repository'. https://cixot@github.com/cixot/test.git: Starting read stage without written request data pending is not supported
  3. 0

    In the latest version of bamboo 5.5.1 we use the sshd version 0.8 which does not support key renegotiation. Now the later versions of Stash 3.1.0 uses sshd 0.11 which supports that. This caused issues in Bamboo when we try to clone large repositories from stash. Errors like below are thrown in the logs {code} 2014-06-30 14:28:46,524 ERROR [3-DelayedChangeDetectionThread:pool-7-thread-2] [ChainExecutionManagerImpl] Errors getting changes for HOG-NL-2 com.atlassian.bamboo.repository.RepositoryException: java.lang.RuntimeException: com.atlassian.bamboo.plugins.stash.repository.StashRepositoryException: com.atlassian.bamboo.repository.RepositoryException: : Cannot fetch branch 'refs/heads/master' from 'ssh://git@stash.sultan.network:7999/fen/testrepo.git' to source directory '/bamboo_data/xml-data/build-dir/_git-repositories-cache/f9f42cb46b34f29d4e0dcb7ae4acb47e96bd3d4c'. command /usr/bin/git fetch ssh://7ef786ec-d936-4fd8-8af5-90809410b1bd@127.0.0.1:44893/sultan/testrepo.git +refs/heads/master:refs/heads/master --update-head-ok failed with code 128. Working directory was [/bamboo_data/xml-data/build-dir/_git-repositories-cache/f9f42cb46b34f29d4e0dcb7ae4acb47e96bd3d4c]., stderr: Warning: Permanently added '[127.0.0.1]:44893' (RSA) to the list of known hosts. fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed 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(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.$Proxy97.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(Unknown Source) {code}

    Atlassian JIRA | 2 years ago | Sultan Maiyaki [Atlassian]
    com.atlassian.bamboo.repository.RepositoryException: java.lang.RuntimeException: com.atlassian.bamboo.plugins.stash.repository.StashRepositoryException: com.atlassian.bamboo.repository.RepositoryException: : Cannot fetch branch 'refs/heads/master' from 'ssh://git@stash.sultan.network:7999/fen/testrepo.git' to source directory '/bamboo_data/xml-data/build-dir/_git-repositories-cache/f9f42cb46b34f29d4e0dcb7ae4acb47e96bd3d4c'. command /usr/bin/git fetch ssh://7ef786ec-d936-4fd8-8af5-90809410b1bd@127.0.0.1:44893/sultan/testrepo.git +refs/heads/master:refs/heads/master --update-head-ok failed with code 128. Working directory was [/bamboo_data/xml-data/build-dir/_git-repositories-cache/f9f42cb46b34f29d4e0dcb7ae4acb47e96bd3d4c]., stderr: Warning: Permanently added '[127.0.0.1]:44893' (RSA) to the list of known hosts. fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    In the latest version of bamboo 5.5.1 we use the sshd version 0.8 which does not support key renegotiation. Now the later versions of Stash 3.1.0 uses sshd 0.11 which supports that. This caused issues in Bamboo when we try to clone large repositories from stash. Errors like below are thrown in the logs {code} 2014-06-30 14:28:46,524 ERROR [3-DelayedChangeDetectionThread:pool-7-thread-2] [ChainExecutionManagerImpl] Errors getting changes for HOG-NL-2 com.atlassian.bamboo.repository.RepositoryException: java.lang.RuntimeException: com.atlassian.bamboo.plugins.stash.repository.StashRepositoryException: com.atlassian.bamboo.repository.RepositoryException: : Cannot fetch branch 'refs/heads/master' from 'ssh://git@stash.sultan.network:7999/fen/testrepo.git' to source directory '/bamboo_data/xml-data/build-dir/_git-repositories-cache/f9f42cb46b34f29d4e0dcb7ae4acb47e96bd3d4c'. command /usr/bin/git fetch ssh://7ef786ec-d936-4fd8-8af5-90809410b1bd@127.0.0.1:44893/sultan/testrepo.git +refs/heads/master:refs/heads/master --update-head-ok failed with code 128. Working directory was [/bamboo_data/xml-data/build-dir/_git-repositories-cache/f9f42cb46b34f29d4e0dcb7ae4acb47e96bd3d4c]., stderr: Warning: Permanently added '[127.0.0.1]:44893' (RSA) to the list of known hosts. fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed 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(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.$Proxy97.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(Unknown Source) {code}

    Atlassian JIRA | 2 years ago | Sultan Maiyaki [Atlassian]
    com.atlassian.bamboo.repository.RepositoryException: java.lang.RuntimeException: com.atlassian.bamboo.plugins.stash.repository.StashRepositoryException: com.atlassian.bamboo.repository.RepositoryException: : Cannot fetch branch 'refs/heads/master' from 'ssh://git@stash.sultan.network:7999/fen/testrepo.git' to source directory '/bamboo_data/xml-data/build-dir/_git-repositories-cache/f9f42cb46b34f29d4e0dcb7ae4acb47e96bd3d4c'. command /usr/bin/git fetch ssh://7ef786ec-d936-4fd8-8af5-90809410b1bd@127.0.0.1:44893/sultan/testrepo.git +refs/heads/master:refs/heads/master --update-head-ok failed with code 128. Working directory was [/bamboo_data/xml-data/build-dir/_git-repositories-cache/f9f42cb46b34f29d4e0dcb7ae4acb47e96bd3d4c]., stderr: Warning: Permanently added '[127.0.0.1]:44893' (RSA) to the list of known hosts. fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed
  6. 0

    When a plan uses a Git Repository that uses Git Submodules and that plan also has branches with Branch Merging enabled, it will never run the branch plan as Bamboo fails to check out the Submodule. It will remain stuck on 'Queued' for about 10 minutes, then fail, never reaching the Elastic Agent. Disabling Branch Merging will allow the branch plan to run successfully, this also shows that the elastic agent successfully checks out the Submodule (once an SSH key is [present on the agent|https://jira.atlassian.com/browse/BAM-11369]). The Bamboo log itself shows the following error {noformat} 2013-06-14 09:35:11,491 WARN [3-DelayedChangeDetectionThread:pool-6-thread-15] [ChainExecutionManagerImpl] Exception during merge: Checkout to revision 7cdf15301b67473812af4af83d44312ddcd34b06 has failed.command /usr/bin/git submodule update --init --recursive failed with code 1. Working directory was [/data/jirastudio/bamboo/home/xml-data/build-dir/serverSide/RHIN-SBM0-1/mergeWorkspace]., stderr: Submodule 'submodule' (git@bitbucket.org:user/submodule.git) registered for path 'submodule' Cloning into 'submodule'... ssh: connect to host bitbucket.org port 22: Connection timed out fatal: The remote end hung up unexpectedly Clone of 'git@bitbucket.org:user/submodule.git' into submodule path 'submodule' failed com.atlassian.bamboo.repository.RepositoryException: Checkout to revision 7cdf15301b67473812af4af83d44312ddcd34b06 has failed.command /usr/bin/git submodule update --init --recursive failed with code 1. Working directory was [/data/jirastudio/bamboo/home/xml-data/build-dir/serverSide/RHIN-SBM0-1/mergeWorkspace]., stderr: Submodule 'submodule' (git@bitbucket.org:user/submodule.git) registered for path 'submodule' Cloning into 'lock'... ssh: connect to host bitbucket.org port 22: Connection timed out fatal: The remote end hung up unexpectedly Clone of 'git@bitbucket.org:user/submodule.git' into submodule path 'submodule' failed at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.checkout(NativeGitOperationHelper.java:390) at com.atlassian.bamboo.plugins.git.GitRepository$3.call(GitRepository.java:338) at com.atlassian.bamboo.plugins.git.GitRepository$3.call(GitRepository.java:314) at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:324) at com.atlassian.bamboo.plugins.git.GitRepository.retrieveSourceCode(GitRepository.java:313) at com.atlassian.bamboo.plugins.hg.BitbucketRepository.retrieveSourceCode(BitbucketRepository.java:296) at com.atlassian.bamboo.plan.branch.BranchIntegrationHelperImpl.merge(BranchIntegrationHelperImpl.java:112) at com.atlassian.bamboo.chains.ChainExecutionManagerImpl.doVcsMerge(ChainExecutionManagerImpl.java:911) at com.atlassian.bamboo.chains.ChainExecutionManagerImpl.access$700(ChainExecutionManagerImpl.java:93) at com.atlassian.bamboo.chains.ChainExecutionManagerImpl$4.run(ChainExecutionManagerImpl.java:538) at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:333) at com.atlassian.bamboo.chains.ChainExecutionManagerImpl.execute(ChainExecutionManagerImpl.java:522) at com.atlassian.bamboo.chains.ChainExecutionManagerImpl.tryStartChainState(ChainExecutionManagerImpl.java:287) at com.atlassian.bamboo.chains.ChainExecutionManagerImpl.delayedStart(ChainExecutionManagerImpl.java:189) {noformat} The Elastic Agent does not show any activity (because it is never invoked by Bamboo) *workaround* Disable 'Use Submodules' add a script task to the plan that performs {{git submodule init}} {{git submodule update}}

    Atlassian JIRA | 3 years ago | Ivan Maduro
    com.atlassian.bamboo.repository.RepositoryException: Checkout to revision 7cdf15301b67473812af4af83d44312ddcd34b06 has failed.command /usr/bin/git submodule update --init --recursive failed with code 1. Working directory was [/data/jirastudio/bamboo/home/xml-data/build-dir/serverSide/RHIN-SBM0-1/mergeWorkspace]., stderr: Submodule 'submodule' (git@bitbucket.org:user/submodule.git) registered for path 'submodule' Cloning into 'lock'... ssh: connect to host bitbucket.org port 22: Connection timed out fatal: The remote end hung up unexpectedly Clone of 'git@bitbucket.org:user/submodule.git' into submodule path 'submodule' failed

    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.bamboo.repository.RepositoryException

      Cannot fetch 'https://cixot@github.com/cixot/test.git', branch 'master' to source directory '/home/pstefaniak/bamboo/atlassian-bamboo-2.7.3-standalone/home/xml-data/build-dir/_git-repositories-cache/0x-645f5f1-1/repository'. https://cixot@github.com/cixot/test.git: Starting read stage without written request data pending is not supported

      at com.atlassian.bamboo.plugins.git.GitOperationHelper.fetch()
    2. com.atlassian.bamboo
      GitOperationHelper.fetch
      1. com.atlassian.bamboo.plugins.git.GitOperationHelper.fetch(GitOperationHelper.java:193)
      2. com.atlassian.bamboo.plugins.git.GitOperationHelper.fetch(GitOperationHelper.java:157)
      2 frames