System Error Details

Build CASASPECS - Master Test 3.10 - Test Tools ARM Macos 13 Py3.10 53 : Error occurred while running Task '(1)' of type com.atlassian.bamboo.plugins.vcs:task.vcs.checkout.
This error may have occurred due to an authentication issue with Bitbucket Server.
(java.lang.RuntimeException : com.atlassian.bamboo.plugins.stash.repository.StashRepositoryException)

Occurred: 13 Dec 2024, 11:46:46 AM
Agent: cbt-macos13-test-1
java.lang.RuntimeException: com.atlassian.bamboo.plugins.stash.repository.StashRepositoryException
	at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:142)
	at com.atlassian.bamboo.executor.RetryingTaskExecutor.runTask(RetryingTaskExecutor.java:99)
	at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:208)
	at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:189)
	at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.execute(VcsCheckoutTask.java:130)
	at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$3(TaskExecutorImpl.java:323)
	at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:258)
	at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:323)
	at com.atlassian.bamboo.task.TaskExecutorImpl.executePreparationTasks(TaskExecutorImpl.java:97)
	at com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.call(PrepareBuildTask.java:81)
	at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.executeBuildPhase(DefaultBuildAgent.java:207)
	at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:179)
	at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.lambda$waitAndPerformBuild$0(BuildAgentControllerImpl.java:184)
	at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:118)
	at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:177)
	at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.lambda$start$0(DefaultBuildAgent.java:124)
	at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:48)
	at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:26)
	at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:17)
	at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:41)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: com.atlassian.bamboo.plugins.stash.repository.StashRepositoryException
	at com.atlassian.bamboo.plugins.stash.v2.BitbucketServerWorkingCopyManager.retrieveSourceCode(BitbucketServerWorkingCopyManager.java:101)
	at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.fillWorkingDirFromVcs(VcsCheckoutTask.java:220)
	at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.access$000(VcsCheckoutTask.java:58)
	at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$1.call(VcsCheckoutTask.java:133)
	at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$1.call(VcsCheckoutTask.java:130)
	at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:112)
	... 20 more
Caused by: com.atlassian.bamboo.repository.RepositoryException: Checkout to revision 7945f2e865e6ca729c5db8672191363e629f2a74 has failed.command [/opt/local/bin/git submodule update --init --recursive] failed with code 1. Working directory was [/Users/casaci/bamboohome/xml-data/build-dir/CASASPECS-MASTERTESTPY310-TTOMARMM13PY310]., stderr:
Cloning into '/Users/casaci/bamboohome/xml-data/build-dir/CASASPECS-MASTERTESTPY310-TTOMARMM13PY310/casatools/casacore'...
error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
error: 16012 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
fatal: clone of 'https://github.com/casacore/casacore.git' into submodule path '/Users/casaci/bamboohome/xml-data/build-dir/CASASPECS-MASTERTESTPY310-TTOMARMM13PY310/casatools/casacore' failed
Failed to clone 'casatools/casacore'. Retry scheduled
Cloning into '/Users/casaci/bamboohome/xml-data/build-dir/CASASPECS-MASTERTESTPY310-TTOMARMM13PY310/casatools/grpc-source'...
error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
error: 5613 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
fatal: clone of 'https://github.com/grpc/grpc' into submodule path '/Users/casaci/bamboohome/xml-data/build-dir/CASASPECS-MASTERTESTPY310-TTOMARMM13PY310/casatools/grpc-source' failed
Failed to clone 'casatools/grpc-source'. Retry scheduled
Cloning into '/Users/casaci/bamboohome/xml-data/build-dir/CASASPECS-MASTERTESTPY310-TTOMARMM13PY310/casatools/casacore'...
error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
error: 5579 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
fatal: clone of 'https://github.com/casacore/casacore.git' into submodule path '/Users/casaci/bamboohome/xml-data/build-dir/CASASPECS-MASTERTESTPY310-TTOMARMM13PY310/casatools/casacore' failed
Failed to clone 'casatools/casacore' a second time, aborting
	at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.checkout(NativeGitOperationHelper.java:504)
	at com.atlassian.bamboo.plugins.git.v2.GitWorkingCopyManager.lambda$checkout$1(GitWorkingCopyManager.java:240)
	at io.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:293)
	at com.atlassian.bamboo.plugins.git.GitCacheDirectory$LoggingManagedLock.withLock(GitCacheDirectory.java:44)
	at com.atlassian.bamboo.plugins.git.v2.GitWorkingCopyManager.checkout(GitWorkingCopyManager.java:234)
	at com.atlassian.bamboo.plugins.git.v2.GitWorkingCopyManager.retrieveSourceCode(GitWorkingCopyManager.java:122)
	at com.atlassian.bamboo.plugins.stash.v2.BitbucketServerWorkingCopyManager.retrieveSourceCode(BitbucketServerWorkingCopyManager.java:91)
	... 25 more
Caused by: com.atlassian.bamboo.plugins.git.GitCommandException: command [/opt/local/bin/git submodule update --init --recursive] failed with code 1. Working directory was [/Users/casaci/bamboohome/xml-data/build-dir/CASASPECS-MASTERTESTPY310-TTOMARMM13PY310]., stderr:
Cloning into '/Users/casaci/bamboohome/xml-data/build-dir/CASASPECS-MASTERTESTPY310-TTOMARMM13PY310/casatools/casacore'...
error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
error: 16012 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
fatal: clone of 'https://github.com/casacore/casacore.git' into submodule path '/Users/casaci/bamboohome/xml-data/build-dir/CASASPECS-MASTERTESTPY310-TTOMARMM13PY310/casatools/casacore' failed
Failed to clone 'casatools/casacore'. Retry scheduled
Cloning into '/Users/casaci/bamboohome/xml-data/build-dir/CASASPECS-MASTERTESTPY310-TTOMARMM13PY310/casatools/grpc-source'...
error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
error: 5613 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
fatal: clone of 'https://github.com/grpc/grpc' into submodule path '/Users/casaci/bamboohome/xml-data/build-dir/CASASPECS-MASTERTESTPY310-TTOMARMM13PY310/casatools/grpc-source' failed
Failed to clone 'casatools/grpc-source'. Retry scheduled
Cloning into '/Users/casaci/bamboohome/xml-data/build-dir/CASASPECS-MASTERTESTPY310-TTOMARMM13PY310/casatools/casacore'...
error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
error: 5579 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
fatal: clone of 'https://github.com/casacore/casacore.git' into submodule path '/Users/casaci/bamboohome/xml-data/build-dir/CASASPECS-MASTERTESTPY310-TTOMARMM13PY310/casatools/casacore' failed
Failed to clone 'casatools/casacore' a second time, aborting
	at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:792)
	at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:721)
	at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:712)
	at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runSubmoduleUpdateCommand(GitCommandProcessor.java:429)
	at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.checkout(NativeGitOperationHelper.java:490)
	... 31 more