Netcurl Branches Test

Build: #726 failed

Job: netcurl master (PHP 7.2) failed

Build log

The build generated 94 lines of output. Download or view full build log

16-Aug-2021 14:09:36 Build Tornevall - netcurl - netcurl master (PHP 7.2) #726 (TOR-NC60-N6MP72-726) started building on agent Agent 04, bamboo version: 7.1.1
16-Aug-2021 14:09:36
16-Aug-2021 14:09:36 Build working directory is /opt/atlassian/bamboo/atlassian-bamboo/xml-data/build-dir/TOR-NC60-N6MP72
16-Aug-2021 14:09:37 Executing build Tornevall - netcurl - netcurl master (PHP 7.2) #726 (TOR-NC60-N6MP72-726)
16-Aug-2021 14:09:37 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
16-Aug-2021 14:09:37 Build always requires a clean checkout
16-Aug-2021 14:09:37 Cleaning build directory '/opt/atlassian/bamboo/atlassian-bamboo/xml-data/build-dir/TOR-NC60-N6MP72'
16-Aug-2021 14:09:37 Checking out into /opt/atlassian/bamboo/atlassian-bamboo/xml-data/build-dir/TOR-NC60-N6MP72
16-Aug-2021 14:09:37 Updating source code to revision: ee27ee679f84fad593f73749b3f8d1b20b20ece6
16-Aug-2021 14:09:37 Fetching 'refs/heads/master' from 'ssh://git@bitbucket.tornevall.net:7999/lib/tornelib-php-netcurl.git'.
16-Aug-2021 14:09:39 error: insufficient permission for adding an object to repository database .git/objects
16-Aug-2021 14:09:39 fatal: failed to write object
16-Aug-2021 14:09:39 fatal: unpack-objects failed
16-Aug-2021 14:09:39 Cannot fetch branch 'refs/heads/master' from 'ssh://git@bitbucket.tornevall.net:7999/lib/tornelib-php-netcurl.git' to source directory '/opt/atlassian/bamboo/atlassian-bamboo/xml-data/build-dir/_git-repositories-cache/20a9f02ed20bff08e1ee034ca8c413bcf1a3e888'. command [/usr/bin/git fetch ssh://3142d6fc-123a-457b-85e2-1fea1160ac2f@127.0.0.1:40201/lib/tornelib-php-netcurl.git +refs/heads/master:refs/heads/master --update-head-ok] failed with code 128. Working directory was [/opt/atlassian/bamboo/atlassian-bamboo/xml-data/build-dir/_git-repositories-cache/20a9f02ed20bff08e1ee034ca8c413bcf1a3e888]., stderr:error: insufficient permission for adding an object to repository database .git/objectsfatal: failed to write objectfatal: unpack-objects failed
16-Aug-2021 14:09:39 Warning: failed to retrieve source code to cache directory '/opt/atlassian/bamboo/atlassian-bamboo/xml-data/build-dir/_git-repositories-cache/20a9f02ed20bff08e1ee034ca8c413bcf1a3e888', trying to recover...
16-Aug-2021 14:09:39 Cleaned cache directory '/opt/atlassian/bamboo/atlassian-bamboo/xml-data/build-dir/_git-repositories-cache/20a9f02ed20bff08e1ee034ca8c413bcf1a3e888', trying to fetch the code once again...
16-Aug-2021 14:09:39 Fetching 'refs/heads/master' from 'ssh://git@bitbucket.tornevall.net:7999/lib/tornelib-php-netcurl.git'.
16-Aug-2021 14:09:39 fatal: not a git repository (or any of the parent directories): .git
16-Aug-2021 14:09:39 Cannot fetch branch 'refs/heads/master' from 'ssh://git@bitbucket.tornevall.net:7999/lib/tornelib-php-netcurl.git' to source directory '/opt/atlassian/bamboo/atlassian-bamboo/xml-data/build-dir/_git-repositories-cache/20a9f02ed20bff08e1ee034ca8c413bcf1a3e888'. command [/usr/bin/git fetch ssh://f0881254-709b-431c-ac82-3845a2d6ff07@127.0.0.1:40201/lib/tornelib-php-netcurl.git +refs/heads/master:refs/heads/master --update-head-ok] failed with code 128. Working directory was [/opt/atlassian/bamboo/atlassian-bamboo/xml-data/build-dir/_git-repositories-cache/20a9f02ed20bff08e1ee034ca8c413bcf1a3e888]., stderr:fatal: not a git repository (or any of the parent directories): .git
16-Aug-2021 14:09:39 Updating source code to revision: ee27ee679f84fad593f73749b3f8d1b20b20ece6
16-Aug-2021 14:09:39 Fetching 'refs/heads/master' from 'ssh://git@bitbucket.tornevall.net:7999/lib/tornelib-php-netcurl.git'.
16-Aug-2021 14:09:39 fatal: not a git repository (or any of the parent directories): .git
16-Aug-2021 14:09:39 Cannot fetch branch 'refs/heads/master' from 'ssh://git@bitbucket.tornevall.net:7999/lib/tornelib-php-netcurl.git' to source directory '/opt/atlassian/bamboo/atlassian-bamboo/xml-data/build-dir/_git-repositories-cache/20a9f02ed20bff08e1ee034ca8c413bcf1a3e888'. command [/usr/bin/git fetch ssh://7964f5b5-f25c-49f5-b9f9-78620e424ebe@127.0.0.1:40201/lib/tornelib-php-netcurl.git +refs/heads/master:refs/heads/master --update-head-ok] failed with code 128. Working directory was [/opt/atlassian/bamboo/atlassian-bamboo/xml-data/build-dir/_git-repositories-cache/20a9f02ed20bff08e1ee034ca8c413bcf1a3e888]., stderr:fatal: not a git repository (or any of the parent directories): .git
16-Aug-2021 14:09:39 Warning: failed to retrieve source code to cache directory '/opt/atlassian/bamboo/atlassian-bamboo/xml-data/build-dir/_git-repositories-cache/20a9f02ed20bff08e1ee034ca8c413bcf1a3e888', trying to recover...
16-Aug-2021 14:09:39 Cleaned cache directory '/opt/atlassian/bamboo/atlassian-bamboo/xml-data/build-dir/_git-repositories-cache/20a9f02ed20bff08e1ee034ca8c413bcf1a3e888', trying to fetch the code once again...
16-Aug-2021 14:09:39 Fetching 'refs/heads/master' from 'ssh://git@bitbucket.tornevall.net:7999/lib/tornelib-php-netcurl.git'.
16-Aug-2021 14:09:39 fatal: not a git repository (or any of the parent directories): .git
16-Aug-2021 14:09:39 Cannot fetch branch 'refs/heads/master' from 'ssh://git@bitbucket.tornevall.net:7999/lib/tornelib-php-netcurl.git' to source directory '/opt/atlassian/bamboo/atlassian-bamboo/xml-data/build-dir/_git-repositories-cache/20a9f02ed20bff08e1ee034ca8c413bcf1a3e888'. command [/usr/bin/git fetch ssh://7b48afbb-246f-4c07-8091-353d67207973@127.0.0.1:40201/lib/tornelib-php-netcurl.git +refs/heads/master:refs/heads/master --update-head-ok] failed with code 128. Working directory was [/opt/atlassian/bamboo/atlassian-bamboo/xml-data/build-dir/_git-repositories-cache/20a9f02ed20bff08e1ee034ca8c413bcf1a3e888]., stderr:fatal: not a git repository (or any of the parent directories): .git
16-Aug-2021 14:09:40 Updating source code to revision: ee27ee679f84fad593f73749b3f8d1b20b20ece6
16-Aug-2021 14:09:40 Fetching 'refs/heads/master' from 'ssh://git@bitbucket.tornevall.net:7999/lib/tornelib-php-netcurl.git'.
16-Aug-2021 14:09:40 fatal: not a git repository (or any of the parent directories): .git
16-Aug-2021 14:09:40 Cannot fetch branch 'refs/heads/master' from 'ssh://git@bitbucket.tornevall.net:7999/lib/tornelib-php-netcurl.git' to source directory '/opt/atlassian/bamboo/atlassian-bamboo/xml-data/build-dir/_git-repositories-cache/20a9f02ed20bff08e1ee034ca8c413bcf1a3e888'. command [/usr/bin/git fetch ssh://ced8143e-8f8e-4630-9d77-c9b3658ec89c@127.0.0.1:40201/lib/tornelib-php-netcurl.git +refs/heads/master:refs/heads/master --update-head-ok] failed with code 128. Working directory was [/opt/atlassian/bamboo/atlassian-bamboo/xml-data/build-dir/_git-repositories-cache/20a9f02ed20bff08e1ee034ca8c413bcf1a3e888]., stderr:fatal: not a git repository (or any of the parent directories): .git
16-Aug-2021 14:09:40 Warning: failed to retrieve source code to cache directory '/opt/atlassian/bamboo/atlassian-bamboo/xml-data/build-dir/_git-repositories-cache/20a9f02ed20bff08e1ee034ca8c413bcf1a3e888', trying to recover...
16-Aug-2021 14:09:40 Cleaned cache directory '/opt/atlassian/bamboo/atlassian-bamboo/xml-data/build-dir/_git-repositories-cache/20a9f02ed20bff08e1ee034ca8c413bcf1a3e888', trying to fetch the code once again...
16-Aug-2021 14:09:40 Fetching 'refs/heads/master' from 'ssh://git@bitbucket.tornevall.net:7999/lib/tornelib-php-netcurl.git'.
16-Aug-2021 14:09:40 fatal: not a git repository (or any of the parent directories): .git
16-Aug-2021 14:09:40 Cannot fetch branch 'refs/heads/master' from 'ssh://git@bitbucket.tornevall.net:7999/lib/tornelib-php-netcurl.git' to source directory '/opt/atlassian/bamboo/atlassian-bamboo/xml-data/build-dir/_git-repositories-cache/20a9f02ed20bff08e1ee034ca8c413bcf1a3e888'. command [/usr/bin/git fetch ssh://f982045d-8d48-42b2-a836-233e52dd52e2@127.0.0.1:40201/lib/tornelib-php-netcurl.git +refs/heads/master:refs/heads/master --update-head-ok] failed with code 128. Working directory was [/opt/atlassian/bamboo/atlassian-bamboo/xml-data/build-dir/_git-repositories-cache/20a9f02ed20bff08e1ee034ca8c413bcf1a3e888]., stderr:fatal: not a git repository (or any of the parent directories): .git
16-Aug-2021 14:09:40 Error occurred while running Task 'Checkout Default Repository(1)' of type com.atlassian.bamboo.plugins.vcs:task.vcs.checkout.
16-Aug-2021 14:09:40 java.lang.RuntimeException: com.atlassian.bamboo.plugins.stash.repository.StashRepositoryException
16-Aug-2021 14:09:40         at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:141)
16-Aug-2021 14:09:40         at com.atlassian.bamboo.executor.RetryingTaskExecutor.runTask(RetryingTaskExecutor.java:99)
16-Aug-2021 14:09:40         at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:207)
16-Aug-2021 14:09:40         at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:188)
16-Aug-2021 14:09:40         at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.execute(VcsCheckoutTask.java:123)
16-Aug-2021 14:09:40         at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$3(TaskExecutorImpl.java:323)
16-Aug-2021 14:09:40         at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:258)
16-Aug-2021 14:09:40         at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:323)
16-Aug-2021 14:09:40         at com.atlassian.bamboo.task.TaskExecutorImpl.executePreparationTasks(TaskExecutorImpl.java:97)
16-Aug-2021 14:09:40         at com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.call(PrepareBuildTask.java:81)
16-Aug-2021 14:09:40         at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.executeBuildPhase(DefaultBuildAgent.java:190)
16-Aug-2021 14:09:40         at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:162)
16-Aug-2021 14:09:40         at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.lambda$waitAndPerformBuild$0(BuildAgentControllerImpl.java:131)
16-Aug-2021 14:09:40         at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:118)
16-Aug-2021 14:09:40         at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:125)
16-Aug-2021 14:09:40         at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.lambda$start$0(DefaultBuildAgent.java:110)
16-Aug-2021 14:09:40         at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:48)
16-Aug-2021 14:09:40         at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:26)
16-Aug-2021 14:09:40         at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:17)
16-Aug-2021 14:09:40         at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:41)
16-Aug-2021 14:09:40         at java.lang.Thread.run(Thread.java:748)
16-Aug-2021 14:09:40 Caused by: com.atlassian.bamboo.plugins.stash.repository.StashRepositoryException
16-Aug-2021 14:09:40         at com.atlassian.bamboo.plugins.stash.v2.BitbucketServerWorkingCopyManager.retrieveSourceCode(BitbucketServerWorkingCopyManager.java:101)
16-Aug-2021 14:09:40         at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.fillWorkingDirFromVcs(VcsCheckoutTask.java:206)
16-Aug-2021 14:09:40         at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.access$000(VcsCheckoutTask.java:54)
16-Aug-2021 14:09:40         at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$1.call(VcsCheckoutTask.java:126)
16-Aug-2021 14:09:40         at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$1.call(VcsCheckoutTask.java:123)
16-Aug-2021 14:09:40         at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:112)
16-Aug-2021 14:09:40         ... 20 more
16-Aug-2021 14:09:40 Caused by: com.atlassian.bamboo.repository.RepositoryException: TOR-NC60-N6MP72-726: Cannot fetch branch 'refs/heads/master' from 'ssh://git@bitbucket.tornevall.net:7999/lib/tornelib-php-netcurl.git' to source directory '/opt/atlassian/bamboo/atlassian-bamboo/xml-data/build-dir/_git-repositories-cache/20a9f02ed20bff08e1ee034ca8c413bcf1a3e888'. command [/usr/bin/git fetch ssh://f982045d-8d48-42b2-a836-233e52dd52e2@127.0.0.1:40201/lib/tornelib-php-netcurl.git +refs/heads/master:refs/heads/master --update-head-ok] failed with code 128. Working directory was [/opt/atlassian/bamboo/atlassian-bamboo/xml-data/build-dir/_git-repositories-cache/20a9f02ed20bff08e1ee034ca8c413bcf1a3e888]., stderr:
16-Aug-2021 14:09:40 fatal: not a git repository (or any of the parent directories): .git
16-Aug-2021 14:09:40         at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.fetch(NativeGitOperationHelper.java:544)
16-Aug-2021 14:09:40         at com.atlassian.bamboo.plugins.git.v2.GitWorkingCopyManager.lambda$checkout$1(GitWorkingCopyManager.java:260)
16-Aug-2021 14:09:40         at io.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:293)
16-Aug-2021 14:09:40         at com.atlassian.bamboo.plugins.git.v2.GitWorkingCopyManager.checkout(GitWorkingCopyManager.java:252)
16-Aug-2021 14:09:40         at com.atlassian.bamboo.plugins.git.v2.GitWorkingCopyManager.retrieveSourceCode(GitWorkingCopyManager.java:120)
16-Aug-2021 14:09:40         at com.atlassian.bamboo.plugins.stash.v2.BitbucketServerWorkingCopyManager.retrieveSourceCode(BitbucketServerWorkingCopyManager.java:91)
16-Aug-2021 14:09:40         ... 25 more
16-Aug-2021 14:09:40 Caused by: com.atlassian.bamboo.plugins.git.GitCommandException: command [/usr/bin/git fetch ssh://f982045d-8d48-42b2-a836-233e52dd52e2@127.0.0.1:40201/lib/tornelib-php-netcurl.git +refs/heads/master:refs/heads/master --update-head-ok] failed with code 128. Working directory was [/opt/atlassian/bamboo/atlassian-bamboo/xml-data/build-dir/_git-repositories-cache/20a9f02ed20bff08e1ee034ca8c413bcf1a3e888]., stderr:
16-Aug-2021 14:09:40 fatal: not a git repository (or any of the parent directories): .git
16-Aug-2021 14:09:40         at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:729)
16-Aug-2021 14:09:40         at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runFetchCommand(GitCommandProcessor.java:310)
16-Aug-2021 14:09:40         at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.fetch(NativeGitOperationHelper.java:527)
16-Aug-2021 14:09:40         ... 30 more
16-Aug-2021 14:09:40 Failed to prepare the build 'Tornevall - netcurl - netcurl master (PHP 7.2) #726 (TOR-NC60-N6MP72-726)'
16-Aug-2021 14:09:40 Running on server: post build plugin 'NCover Results Collector'
16-Aug-2021 14:09:40 Running on server: post build plugin 'Build Hanging Detection Configuration'
16-Aug-2021 14:09:40 Running on server: post build plugin 'Clover Delta Calculator'
16-Aug-2021 14:09:40 Running on server: post build plugin 'Maven Dependencies Postprocessor'
16-Aug-2021 14:09:40 All post build plugins have finished
16-Aug-2021 14:09:40 Generating build results summary...
16-Aug-2021 14:09:40 Saving build results to disk...
16-Aug-2021 14:09:40 Store variable context...
16-Aug-2021 14:09:40 Indexing build results...
16-Aug-2021 14:09:40 Finished building TOR-NC60-N6MP72-726.