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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Atlassian JIRA by Ivan Maduro, 1 year ago
/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
via Atlassian JIRA by Ivan Maduro, 1 year ago
/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
via Atlassian JIRA by Diver, 1 year ago
MPW1-UR-DEB-290: Checkout to revision 6e9d51bba91b8bf4e00149a7f125b8dc71639961 has failed.command /usr/bin/git submodule update --init --recursive failed with code 1. Working directory was [/home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1]., stderr
via Atlassian JIRA by Diver, 1 year ago
MPW1-UR-DEB-290: Checkout to revision 6e9d51bba91b8bf4e00149a7f125b8dc71639961 has failed.command /usr/bin/git submodule update --init --recursive failed with code 1. Working directory was [/home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1]., stderr
via Atlassian JIRA by David Chevell, 1 year ago
MAV-MBT-JOB1-201: Checkout to revision 6681d2b8c3009b04ab49b949d31832cd03939ad6 has failed.command /usr/bin/git checkout -f master failed with code 128. Working directory was [/var/atlassian/application-data/bamboo_510/xml-data/build-dir/131073/MAV
via GitHub by gregall
, 1 year ago
Checkout to revision "COMMIT_HASH_ID" has failed.command /usr/bin/git log -1 --format=%d --decorate=full "COMMIT_HASH_ID" failed with code 128. Working directory was ["BAMBOO_AGENT_HOME_AND_BUILD-DIR_PATH"/src]., stderr: fatal: bad object "COMMIT_HASH_ID"
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)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.