System Error Details
Build CASASPECS - Dev Build Casalith - CAS-14732 - Build and package macOS 15 Python 3.12 1
: Error occurred while running Task '(1)' of type com.atlassian.bamboo.plugins.vcs:task.vcs.checkout.
Occurred: 23 Feb 2026, 7:50:48 PM
Agent: cbt-macos15-build-m4-2
(java.lang.RuntimeException : com.atlassian.bamboo.plugins.stash.repository.StashRepositoryException: Could not connect to Bitbucket)
Occurred: 23 Feb 2026, 7:50:48 PM
Agent: cbt-macos15-build-m4-2
java.lang.RuntimeException: com.atlassian.bamboo.plugins.stash.repository.StashRepositoryException: Could not connect to Bitbucket 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:242) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:214) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.lambda$waitAndPerformBuild$0(BuildAgentControllerImpl.java:183) at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:115) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:176) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.lambda$start$0(DefaultBuildAgent.java:159) 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.lambda$makeRunnableWithSystemAuthority$0(ImpersonationHelper.java:38) at java.base/java.lang.Thread.run(Thread.java:829) Caused by: com.atlassian.bamboo.plugins.stash.repository.StashRepositoryException: Could not connect to Bitbucket at com.atlassian.bamboo.plugins.stash.v2.BitbucketServerWorkingCopyManager.lambda$retrieveSourceCode$4(BitbucketServerWorkingCopyManager.java:109) at com.atlassian.bamboo.plugins.stash.v2.AbstractBitbucketServerExecutor.executeOnMirrorWithPrimaryFallback(AbstractBitbucketServerExecutor.java:61) at com.atlassian.bamboo.plugins.stash.v2.BitbucketServerWorkingCopyManager.retrieveSourceCode(BitbucketServerWorkingCopyManager.java:103) at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.fillWorkingDirFromVcs(VcsCheckoutTask.java:214) at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.lambda$execute$0(VcsCheckoutTask.java:131) at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:112) ... 19 more Caused by: com.atlassian.bamboo.repository.RepositoryException: Checkout to revision cc41d7e52f3f863a1d7e343576e3ffbee9adab15 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-DBC186-BPO15AP312]., stderr: Cloning into '/Users/casaci/bamboohome/xml-data/build-dir/CASASPECS-DBC186-BPO15AP312/casatools/casacore'... error: RPC failed; curl 56 Recv failure: Connection reset by peer error: 4107 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-DBC186-BPO15AP312/casatools/casacore' failed Failed to clone 'casatools/casacore'. Retry scheduled Cloning into '/Users/casaci/bamboohome/xml-data/build-dir/CASASPECS-DBC186-BPO15AP312/casatools/grpc-source'... error: RPC failed; curl 56 Recv failure: Connection reset by peer error: 400 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-DBC186-BPO15AP312/casatools/grpc-source' failed Failed to clone 'casatools/grpc-source'. Retry scheduled Cloning into '/Users/casaci/bamboohome/xml-data/build-dir/CASASPECS-DBC186-BPO15AP312/casatools/casacore'... Cloning into '/Users/casaci/bamboohome/xml-data/build-dir/CASASPECS-DBC186-BPO15AP312/casatools/grpc-source'... error: RPC failed; curl 56 Recv failure: Connection reset by peer error: 11476 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-DBC186-BPO15AP312/casatools/grpc-source' failed Failed to clone 'casatools/grpc-source' a second time, aborting at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.checkout(NativeGitOperationHelper.java:505) at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.checkout(NativeGitOperationHelper.java:519) at com.atlassian.bamboo.plugins.git.v2.GitWorkingCopyManager.checkout(GitWorkingCopyManager.java:284) at com.atlassian.bamboo.plugins.git.v2.GitWorkingCopyManager.checkout(GitWorkingCopyManager.java:202) at com.atlassian.bamboo.plugins.git.v2.GitWorkingCopyManager.retrieveSourceCode(GitWorkingCopyManager.java:122) at com.atlassian.bamboo.plugins.stash.v2.BitbucketServerWorkingCopyManager.lambda$retrieveSourceCode$4(BitbucketServerWorkingCopyManager.java:105) ... 24 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-DBC186-BPO15AP312]., stderr: Cloning into '/Users/casaci/bamboohome/xml-data/build-dir/CASASPECS-DBC186-BPO15AP312/casatools/casacore'... error: RPC failed; curl 56 Recv failure: Connection reset by peer error: 4107 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-DBC186-BPO15AP312/casatools/casacore' failed Failed to clone 'casatools/casacore'. Retry scheduled Cloning into '/Users/casaci/bamboohome/xml-data/build-dir/CASASPECS-DBC186-BPO15AP312/casatools/grpc-source'... error: RPC failed; curl 56 Recv failure: Connection reset by peer error: 400 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-DBC186-BPO15AP312/casatools/grpc-source' failed Failed to clone 'casatools/grpc-source'. Retry scheduled Cloning into '/Users/casaci/bamboohome/xml-data/build-dir/CASASPECS-DBC186-BPO15AP312/casatools/casacore'... Cloning into '/Users/casaci/bamboohome/xml-data/build-dir/CASASPECS-DBC186-BPO15AP312/casatools/grpc-source'... error: RPC failed; curl 56 Recv failure: Connection reset by peer error: 11476 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-DBC186-BPO15AP312/casatools/grpc-source' failed Failed to clone 'casatools/grpc-source' 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:491) ... 29 more