System Error Details

Build CASASPECS - Dev Build Casalith - CAS-14406 - Build and package OSX 14 ARM Python 3.10 17 : 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: 20 Nov 2024, 1:40:56 PM
Agent: cbt-macos14-build-3
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 6c99cfafb49a262ddd147a98ffef207484fb73d5 has failed.command [/usr/bin/git submodule update --init --recursive] failed with code 1. Working directory was [/Users/casaci/bamboohome/xml-data/build-dir/CASASPECS-DBC8-BPO14AP310]., stderr:
Cloning into '/Users/casaci/bamboohome/xml-data/build-dir/CASASPECS-DBC8-BPO14AP310/casatools/grpc-source/third_party/boringssl-with-bazel'...
error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
error: 6382 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/google/boringssl.git' into submodule path '/Users/casaci/bamboohome/xml-data/build-dir/CASASPECS-DBC8-BPO14AP310/casatools/grpc-source/third_party/boringssl-with-bazel' failed
Failed to clone 'third_party/boringssl-with-bazel'. Retry scheduled
Cloning into '/Users/casaci/bamboohome/xml-data/build-dir/CASASPECS-DBC8-BPO14AP310/casatools/grpc-source/third_party/boringssl-with-bazel'...
error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
error: 3960 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/google/boringssl.git' into submodule path '/Users/casaci/bamboohome/xml-data/build-dir/CASASPECS-DBC8-BPO14AP310/casatools/grpc-source/third_party/boringssl-with-bazel' failed
Failed to clone 'third_party/boringssl-with-bazel' a second time, aborting
fatal: Failed to recurse into submodule path 'casatools/grpc-source'
	at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.checkout(NativeGitOperationHelper.java:504)
	at com.atlassian.bamboo.plugins.git.v2.GitWorkingCopyManager.checkout(GitWorkingCopyManager.java:268)
	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 [/usr/bin/git submodule update --init --recursive] failed with code 1. Working directory was [/Users/casaci/bamboohome/xml-data/build-dir/CASASPECS-DBC8-BPO14AP310]., stderr:
Cloning into '/Users/casaci/bamboohome/xml-data/build-dir/CASASPECS-DBC8-BPO14AP310/casatools/grpc-source/third_party/boringssl-with-bazel'...
error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
error: 6382 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/google/boringssl.git' into submodule path '/Users/casaci/bamboohome/xml-data/build-dir/CASASPECS-DBC8-BPO14AP310/casatools/grpc-source/third_party/boringssl-with-bazel' failed
Failed to clone 'third_party/boringssl-with-bazel'. Retry scheduled
Cloning into '/Users/casaci/bamboohome/xml-data/build-dir/CASASPECS-DBC8-BPO14AP310/casatools/grpc-source/third_party/boringssl-with-bazel'...
error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
error: 3960 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/google/boringssl.git' into submodule path '/Users/casaci/bamboohome/xml-data/build-dir/CASASPECS-DBC8-BPO14AP310/casatools/grpc-source/third_party/boringssl-with-bazel' failed
Failed to clone 'third_party/boringssl-with-bazel' a second time, aborting
fatal: Failed to recurse into submodule path 'casatools/grpc-source'
	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)
	... 28 more