Enabling SSH access to Git repositories on Bamboo Agent
Asked by Robert Huet:

Since I am using submodules, I have enabled SSH on my Stash repositories. As a result, I can use the commandline to clone my repository with the recursive option to get all the content of my submodules, without prompting for password. Unfortunately, I can't get Bamboo to successfully check out the same repository using the Source Code Checkout task.

I followed the instructions in the following article: <https://confluence.atlassian.com/display/BAMBOO/Configuring+Git+SSH+on+Windows>

Even though, I added the SSH capability to my default agent, I get the following error in the Bamboo build log:

*Fetching 'refs/heads/master' from '<ssh://git@localhost:7999/pc/catalog-project.git>'.*

*'"c:\\cygwin64\\bin"' is not recognized as an internal or external command,*

*operable program or batch file.*

*fatal: Could not read from remote repository.*

Also, the referenced article includes a step for adding the private key under Bamboo administration while adding a linked repository, but I could not find any way to do this in the tool.

Any help would be greatly appreciated. I have spent a lot of time reading posts and trying out different solutions, but I'm blocked.


Answers:
author: Krystian Brazulewicz
body: Few things here:

* submodules support in Bamboo is partial - submodules can only be checked out if you configure your system to allow authenticate without user intervention with remote system. Usually it means SSH keypair not protected with password.
* regarding problems with SSH connectivity - best way would be to contact [Support](https://support.atlassian.com/servicedesk/customer/bsp) and when issue is solved put the solution also in this thread.

comments: author: Robert Huet
body: Thanks, Krystian.If submodules are not fully supported, is there a better mechanism that Atlassian recommends for structuring large enterprise projects? My past experience is with IBM Rational Team Concert where they have "Components" as the mechanism to organize code. My assumption was that "submodules" would provide roughly equivalent capabilities to "Components" for code ownership, sharing and management. Please advise.


author: Krystian Brazulewicz
body: Atlassian uses multiple cross-project components/libraries and we publish them into our internal artifact repository. Most of our projects use Maven to manage dependencies. This solves us the problem of maintaining huge lists of submodules in our git repository at the expense of huge list of dependencies in our project files.We find this way easier to manage.


author: Robert Huet
body: ```
simple    05-Jun-2015 13:15:35    Build Catalog Project - Catalog Build - Default Job #6 (CP-CB-JOB1-6) started building on agent Default Agentsimple    05-Jun-2015 13:15:35    Build working directory is C:\Users\Avnet\bamboo-home\xml-data\build-dir\CP-CB-JOB1simple    05-Jun-2015 13:15:35    Executing build Catalog Project - Catalog Build - Default Job #6 (CP-CB-JOB1-6)simple    05-Jun-2015 13:15:35    Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'simple    05-Jun-2015 13:15:35    Updating source code to revision: dc2975f328bb4f280333e88acea170b52c7ac78asimple    05-Jun-2015 13:15:35    Fetching 'refs/heads/master' from 'ssh://git@localhost:7999/pc/catalog-project.git'.simple    05-Jun-2015 13:15:36    '"c:\cygwin64\bin"' is not recognized as an internal or external command,simple    05-Jun-2015 13:15:36    operable program or batch file.simple    05-Jun-2015 13:15:36    fatal: Could not read from remote repository.simple    05-Jun-2015 13:15:36    simple    05-Jun-2015 13:15:36    Please make sure you have the correct access rightssimple    05-Jun-2015 13:15:36    and the repository exists.error    05-Jun-2015 13:15:36    Cannot fetch branch 'refs/heads/master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. command C:\cygwin64\bin\git.exe fetch ssh://95d981ac-4dea-4910-a529-4b5a850eb595@127.0.0.1:49958/pc/catalog-project.git +refs/heads/master:refs/heads/master --update-head-ok failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:'"c:\cygwin64\bin"' is not recognized as an internal or external command,operable program or batch file.fatal: Could not read from remote repository.Please make sure you have the correct access rightsand the repository exists.simple    05-Jun-2015 13:15:36    Warning: failed to retrieve source code to cache directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6', trying to recover...simple    05-Jun-2015 13:15:36    Cleaned cache directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6', trying to fetch the code once again...simple    05-Jun-2015 13:15:36    Creating local git repository in 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6\.git'.simple    05-Jun-2015 13:15:36    Initialized empty Git repository in /cygdrive/c/Users/Avnet/bamboo-home/xml-data/build-dir/_git-repositories-cache/798db92428ac068388b10c3396d01c6bd7f8feb6/.git/simple    05-Jun-2015 13:15:36    Fetching 'refs/heads/master' from 'ssh://git@localhost:7999/pc/catalog-project.git'.simple    05-Jun-2015 13:15:36    '"c:\cygwin64\bin"' is not recognized as an internal or external command,simple    05-Jun-2015 13:15:36    operable program or batch file.simple    05-Jun-2015 13:15:36    fatal: Could not read from remote repository.simple    05-Jun-2015 13:15:36    simple    05-Jun-2015 13:15:36    Please make sure you have the correct access rightssimple    05-Jun-2015 13:15:36    and the repository exists.error    05-Jun-2015 13:15:36    Cannot fetch branch 'refs/heads/master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. command C:\cygwin64\bin\git.exe fetch ssh://e74828ef-df95-4d11-87bb-442759946c60@127.0.0.1:49958/pc/catalog-project.git +refs/heads/master:refs/heads/master --update-head-ok failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:'"c:\cygwin64\bin"' is not recognized as an internal or external command,operable program or batch file.fatal: Could not read from remote repository.Please make sure you have the correct access rightsand the repository exists.simple    05-Jun-2015 13:15:36    Updating source code to revision: dc2975f328bb4f280333e88acea170b52c7ac78asimple    05-Jun-2015 13:15:36    Fetching 'refs/heads/master' from 'ssh://git@localhost:7999/pc/catalog-project.git'.simple    05-Jun-2015 13:15:36    '"c:\cygwin64\bin"' is not recognized as an internal or external command,simple    05-Jun-2015 13:15:36    operable program or batch file.simple    05-Jun-2015 13:15:36    fatal: Could not read from remote repository.simple    05-Jun-2015 13:15:36    simple    05-Jun-2015 13:15:36    Please make sure you have the correct access rightssimple    05-Jun-2015 13:15:36    and the repository exists.error    05-Jun-2015 13:15:36    Cannot fetch branch 'refs/heads/master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. command C:\cygwin64\bin\git.exe fetch ssh://d10b9020-77c0-4b3c-b62f-4a79168985b6@127.0.0.1:49958/pc/catalog-project.git +refs/heads/master:refs/heads/master --update-head-ok failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:'"c:\cygwin64\bin"' is not recognized as an internal or external command,operable program or batch file.fatal: Could not read from remote repository.Please make sure you have the correct access rightsand the repository exists.simple    05-Jun-2015 13:15:36    Warning: failed to retrieve source code to cache directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6', trying to recover...simple    05-Jun-2015 13:15:36    Cleaned cache directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6', trying to fetch the code once again...simple    05-Jun-2015 13:15:36    Creating local git repository in 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6\.git'.simple    05-Jun-2015 13:15:36    Initialized empty Git repository in /cygdrive/c/Users/Avnet/bamboo-home/xml-data/build-dir/_git-repositories-cache/798db92428ac068388b10c3396d01c6bd7f8feb6/.git/simple    05-Jun-2015 13:15:36    Fetching 'refs/heads/master' from 'ssh://git@localhost:7999/pc/catalog-project.git'.simple    05-Jun-2015 13:15:36    '"c:\cygwin64\bin"' is not recognized as an internal or external command,simple    05-Jun-2015 13:15:36    operable program or batch file.simple    05-Jun-2015 13:15:36    fatal: Could not read from remote repository.simple    05-Jun-2015 13:15:36    simple    05-Jun-2015 13:15:36    Please make sure you have the correct access rightssimple    05-Jun-2015 13:15:36    and the repository exists.error    05-Jun-2015 13:15:36    Cannot fetch branch 'refs/heads/master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. command C:\cygwin64\bin\git.exe fetch ssh://12188afb-4aab-41ba-a6dc-738c6d90669a@127.0.0.1:49958/pc/catalog-project.git +refs/heads/master:refs/heads/master --update-head-ok failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:'"c:\cygwin64\bin"' is not recognized as an internal or external command,operable program or batch file.fatal: Could not read from remote repository.Please make sure you have the correct access rightsand the repository exists.simple    05-Jun-2015 13:15:36    Updating source code to revision: dc2975f328bb4f280333e88acea170b52c7ac78asimple    05-Jun-2015 13:15:36    Fetching 'refs/heads/master' from 'ssh://git@localhost:7999/pc/catalog-project.git'.simple    05-Jun-2015 13:15:36    '"c:\cygwin64\bin"' is not recognized as an internal or external command,simple    05-Jun-2015 13:15:36    operable program or batch file.simple    05-Jun-2015 13:15:36    fatal: Could not read from remote repository.simple    05-Jun-2015 13:15:36    simple    05-Jun-2015 13:15:36    Please make sure you have the correct access rightssimple    05-Jun-2015 13:15:36    and the repository exists.error    05-Jun-2015 13:15:36    Cannot fetch branch 'refs/heads/master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. command C:\cygwin64\bin\git.exe fetch ssh://cf9bfa0a-3490-4673-a8af-1be7ab7c5a99@127.0.0.1:49958/pc/catalog-project.git +refs/heads/master:refs/heads/master --update-head-ok failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:'"c:\cygwin64\bin"' is not recognized as an internal or external command,operable program or batch file.fatal: Could not read from remote repository.Please make sure you have the correct access rightsand the repository exists.simple    05-Jun-2015 13:15:36    Warning: failed to retrieve source code to cache directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6', trying to recover...simple    05-Jun-2015 13:15:36    Cleaned cache directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6', trying to fetch the code once again...simple    05-Jun-2015 13:15:36    Creating local git repository in 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6\.git'.simple    05-Jun-2015 13:15:36    Initialized empty Git repository in /cygdrive/c/Users/Avnet/bamboo-home/xml-data/build-dir/_git-repositories-cache/798db92428ac068388b10c3396d01c6bd7f8feb6/.git/simple    05-Jun-2015 13:15:36    Fetching 'refs/heads/master' from 'ssh://git@localhost:7999/pc/catalog-project.git'.simple    05-Jun-2015 13:15:36    '"c:\cygwin64\bin"' is not recognized as an internal or external command,simple    05-Jun-2015 13:15:36    operable program or batch file.simple    05-Jun-2015 13:15:36    fatal: Could not read from remote repository.simple    05-Jun-2015 13:15:36    simple    05-Jun-2015 13:15:36    Please make sure you have the correct access rightssimple    05-Jun-2015 13:15:36    and the repository exists.error    05-Jun-2015 13:15:36    Cannot fetch branch 'refs/heads/master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. command C:\cygwin64\bin\git.exe fetch ssh://501940ad-dd95-4857-a7e0-925d0780a866@127.0.0.1:49958/pc/catalog-project.git +refs/heads/master:refs/heads/master --update-head-ok failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:'"c:\cygwin64\bin"' is not recognized as an internal or external command,operable program or batch file.fatal: Could not read from remote repository.Please make sure you have the correct access rightsand the repository exists.error    05-Jun-2015 13:15:36    Error occurred while running Task 'Checkout Default Repository(1)' of type com.atlassian.bamboo.plugins.vcs:task.vcs.checkout.error    05-Jun-2015 13:15:36    java.lang.RuntimeException: com.atlassian.bamboo.plugins.stash.repository.StashRepositoryException: com.atlassian.bamboo.repository.RepositoryException: CP-CB-JOB1-6: Cannot fetch branch 'refs/heads/master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. command C:\cygwin64\bin\git.exe fetch ssh://501940ad-dd95-4857-a7e0-925d0780a866@127.0.0.1:49958/pc/catalog-project.git +refs/heads/master:refs/heads/master --update-head-ok failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:error    05-Jun-2015 13:15:36    '"c:\cygwin64\bin"' is not recognized as an internal or external command,error    05-Jun-2015 13:15:36    operable program or batch file.error    05-Jun-2015 13:15:36    fatal: Could not read from remote repository.error    05-Jun-2015 13:15:36    Please make sure you have the correct access rightserror    05-Jun-2015 13:15:36    and the repository exists.error    05-Jun-2015 13:15:36        at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:132)error    05-Jun-2015 13:15:36        at com.atlassian.bamboo.executor.RetryingTaskExecutor.runTask(RetryingTaskExecutor.java:88)error    05-Jun-2015 13:15:36        at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:191)error    05-Jun-2015 13:15:36        at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:176)error    05-Jun-2015 13:15:36        at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.execute(VcsCheckoutTask.java:172)error    05-Jun-2015 13:15:36        at com.atlassian.bamboo.task.TaskExecutorImpl$3.call(TaskExecutorImpl.java:281)error    05-Jun-2015 13:15:36        at com.atlassian.bamboo.task.TaskExecutorImpl$3.call(TaskExecutorImpl.java:278)error    05-Jun-2015 13:15:36        at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:198)error    05-Jun-2015 13:15:36        at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:278)error    05-Jun-2015 13:15:36        at com.atlassian.bamboo.task.TaskExecutorImpl.executePreparationTasks(TaskExecutorImpl.java:80)error    05-Jun-2015 13:15:36        at com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.call(PrepareBuildTask.java:74)error    05-Jun-2015 13:15:36        at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:188)error    05-Jun-2015 13:15:36        at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:112)error    05-Jun-2015 13:15:36        at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:110)error    05-Jun-2015 13:15:36        at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49)error    05-Jun-2015 13:15:36        at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31)error    05-Jun-2015 13:15:36        at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20)error    05-Jun-2015 13:15:36        at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52)error    05-Jun-2015 13:15:36        at java.lang.Thread.run(Unknown Source)error    05-Jun-2015 13:15:36    Caused by: com.atlassian.bamboo.plugins.stash.repository.StashRepositoryException: com.atlassian.bamboo.repository.RepositoryException: CP-CB-JOB1-6: Cannot fetch branch 'refs/heads/master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. command C:\cygwin64\bin\git.exe fetch ssh://501940ad-dd95-4857-a7e0-925d0780a866@127.0.0.1:49958/pc/catalog-project.git +refs/heads/master:refs/heads/master --update-head-ok failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:error    05-Jun-2015 13:15:36    '"c:\cygwin64\bin"' is not recognized as an internal or external command,error    05-Jun-2015 13:15:36    operable program or batch file.error    05-Jun-2015 13:15:36    fatal: Could not read from remote repository.error    05-Jun-2015 13:15:36    Please make sure you have the correct access rightserror    05-Jun-2015 13:15:36    and the repository exists.error    05-Jun-2015 13:15:36        at com.atlassian.bamboo.plugins.stash.StashRepository.retrieveSourceCode(StashRepository.java:557)error    05-Jun-2015 13:15:36        at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.fillWorkingDirFromVcs(VcsCheckoutTask.java:252)error    05-Jun-2015 13:15:36        at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.access$100(VcsCheckoutTask.java:56)error    05-Jun-2015 13:15:36        at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$2.call(VcsCheckoutTask.java:177)error    05-Jun-2015 13:15:36        at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$2.call(VcsCheckoutTask.java:173)error    05-Jun-2015 13:15:36        at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:108)error    05-Jun-2015 13:15:36        ... 18 moreerror    05-Jun-2015 13:15:36    Caused by: com.atlassian.bamboo.repository.RepositoryException: CP-CB-JOB1-6: Cannot fetch branch 'refs/heads/master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. command C:\cygwin64\bin\git.exe fetch ssh://501940ad-dd95-4857-a7e0-925d0780a866@127.0.0.1:49958/pc/catalog-project.git +refs/heads/master:refs/heads/master --update-head-ok failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:error    05-Jun-2015 13:15:36    '"c:\cygwin64\bin"' is not recognized as an internal or external command,error    05-Jun-2015 13:15:36    operable program or batch file.error    05-Jun-2015 13:15:36    fatal: Could not read from remote repository.error    05-Jun-2015 13:15:36    Please make sure you have the correct access rightserror    05-Jun-2015 13:15:36    and the repository exists.error    05-Jun-2015 13:15:36        at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.fetch(NativeGitOperationHelper.java:425)error    05-Jun-2015 13:15:36        at com.atlassian.bamboo.plugins.git.GitRepository$3.call(GitRepository.java:408)error    05-Jun-2015 13:15:36        at com.atlassian.bamboo.plugins.git.GitRepository$3.call(GitRepository.java:395)error    05-Jun-2015 13:15:36        at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:312)error    05-Jun-2015 13:15:36        at com.atlassian.bamboo.plugins.git.GitRepository.retrieveSourceCode(GitRepository.java:394)error    05-Jun-2015 13:15:36        at com.atlassian.bamboo.plugins.stash.StashRepository.retrieveSourceCode(StashRepository.java:549)error    05-Jun-2015 13:15:36        ... 23 moreerror    05-Jun-2015 13:15:36    Caused by: com.atlassian.bamboo.plugins.git.GitCommandException: command C:\cygwin64\bin\git.exe fetch ssh://501940ad-dd95-4857-a7e0-925d0780a866@127.0.0.1:49958/pc/catalog-project.git +refs/heads/master:refs/heads/master --update-head-ok failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:error    05-Jun-2015 13:15:36    '"c:\cygwin64\bin"' is not recognized as an internal or external command,error    05-Jun-2015 13:15:36    operable program or batch file.error    05-Jun-2015 13:15:36    fatal: Could not read from remote repository.error    05-Jun-2015 13:15:36    Please make sure you have the correct access rightserror    05-Jun-2015 13:15:36    and the repository exists.error    05-Jun-2015 13:15:36        at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:550)error    05-Jun-2015 13:15:36        at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runFetchCommand(GitCommandProcessor.java:262)error    05-Jun-2015 13:15:36        at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.fetch(NativeGitOperationHelper.java:414)error    05-Jun-2015 13:15:36        ... 28 moreerror    05-Jun-2015 13:15:36    Failed to prepare the build 'Catalog Project - Catalog Build - Default Job #6 (CP-CB-JOB1-6)'simple    05-Jun-2015 13:15:36    Running on server: post build plugin 'NCover Results Collector'simple    05-Jun-2015 13:15:36    Running on server: post build plugin 'Clover Delta Calculator'simple    05-Jun-2015 13:15:36    Running on server: post build plugin 'Maven Dependencies Postprocessor'simple    05-Jun-2015 13:15:36    Running on server: post build plugin 'Build Hanging Detection Configuration'simple    05-Jun-2015 13:15:36    All post build plugins have finishedsimple    05-Jun-2015 13:15:36    Generating build results summary...simple    05-Jun-2015 13:15:36    Saving build results to disk...simple    05-Jun-2015 13:15:36    Indexing build results...simple    05-Jun-2015 13:15:36    Finished building CP-CB-JOB1-6.simple    05-Jun-2015 13:21:41    Build Catalog Project - Catalog Build - Default Job #6 (CP-CB-JOB1-6) started building on agent Default Agentsimple    05-Jun-2015 13:21:41    Build working directory is C:\Users\Avnet\bamboo-home\xml-data\build-dir\CP-CB-JOB1simple    05-Jun-2015 13:21:41    Executing build Catalog Project - Catalog Build - Default Job #6 (CP-CB-JOB1-6)simple    05-Jun-2015 13:21:41    Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'simple    05-Jun-2015 13:21:41    Updating source code to revision: dc2975f328bb4f280333e88acea170b52c7ac78aerror    05-Jun-2015 13:21:41    Cannot fetch branch '(unresolved) master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. com.atlassian.bamboo.plugins.git.GitCommandException: command C:\cygwin64\bin\git.exe ls-remote ssh://809eddbe-097e-40d4-81cb-c79e5121a248@127.0.0.1:49958/pc/catalog-project.git failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:[Could not create directory '/home/SYSTEM/.ssh'., Host key verification failed., fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]simple    05-Jun-2015 13:21:41    Warning: failed to retrieve source code to cache directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6', trying to recover...simple    05-Jun-2015 13:21:41    Cleaned cache directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6', trying to fetch the code once again...simple    05-Jun-2015 13:21:41    Creating local git repository in 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6\.git'.simple    05-Jun-2015 13:21:41    Initialized empty Git repository in /cygdrive/c/Users/Avnet/bamboo-home/xml-data/build-dir/_git-repositories-cache/798db92428ac068388b10c3396d01c6bd7f8feb6/.git/error    05-Jun-2015 13:21:42    Cannot fetch branch '(unresolved) master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. com.atlassian.bamboo.plugins.git.GitCommandException: command C:\cygwin64\bin\git.exe ls-remote ssh://976478d3-2d15-4275-8fdf-579a7a61bccb@127.0.0.1:49958/pc/catalog-project.git failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:[Could not create directory '/home/SYSTEM/.ssh'., Host key verification failed., fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]simple    05-Jun-2015 13:21:42    Updating source code to revision: dc2975f328bb4f280333e88acea170b52c7ac78aerror    05-Jun-2015 13:21:42    Cannot fetch branch '(unresolved) master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. com.atlassian.bamboo.plugins.git.GitCommandException: command C:\cygwin64\bin\git.exe ls-remote ssh://d162d5cd-bc3c-44a8-8025-d2944f6156f6@127.0.0.1:49958/pc/catalog-project.git failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:[Could not create directory '/home/SYSTEM/.ssh'., Host key verification failed., fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]simple    05-Jun-2015 13:21:42    Warning: failed to retrieve source code to cache directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6', trying to recover...simple    05-Jun-2015 13:21:42    Cleaned cache directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6', trying to fetch the code once again...simple    05-Jun-2015 13:21:42    Creating local git repository in 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6\.git'.simple    05-Jun-2015 13:21:42    Initialized empty Git repository in /cygdrive/c/Users/Avnet/bamboo-home/xml-data/build-dir/_git-repositories-cache/798db92428ac068388b10c3396d01c6bd7f8feb6/.git/error    05-Jun-2015 13:21:42    Cannot fetch branch '(unresolved) master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. com.atlassian.bamboo.plugins.git.GitCommandException: command C:\cygwin64\bin\git.exe ls-remote ssh://47996305-7a3f-48ad-9787-91e74c5743f5@127.0.0.1:49958/pc/catalog-project.git failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:[Could not create directory '/home/SYSTEM/.ssh'., Host key verification failed., fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]simple    05-Jun-2015 13:21:42    Updating source code to revision: dc2975f328bb4f280333e88acea170b52c7ac78aerror    05-Jun-2015 13:21:42    Cannot fetch branch '(unresolved) master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. com.atlassian.bamboo.plugins.git.GitCommandException: command C:\cygwin64\bin\git.exe ls-remote ssh://22c992ca-3c74-4c60-8888-674fb9a34336@127.0.0.1:49958/pc/catalog-project.git failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:[Could not create directory '/home/SYSTEM/.ssh'., Host key verification failed., fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]simple    05-Jun-2015 13:21:42    Warning: failed to retrieve source code to cache directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6', trying to recover...simple    05-Jun-2015 13:21:42    Cleaned cache directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6', trying to fetch the code once again...simple    05-Jun-2015 13:21:42    Creating local git repository in 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6\.git'.simple    05-Jun-2015 13:21:42    Initialized empty Git repository in /cygdrive/c/Users/Avnet/bamboo-home/xml-data/build-dir/_git-repositories-cache/798db92428ac068388b10c3396d01c6bd7f8feb6/.git/error    05-Jun-2015 13:21:42    Cannot fetch branch '(unresolved) master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. com.atlassian.bamboo.plugins.git.GitCommandException: command C:\cygwin64\bin\git.exe ls-remote ssh://6282df64-57b4-43a8-9f89-8c9a4b207179@127.0.0.1:49958/pc/catalog-project.git failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:[Could not create directory '/home/SYSTEM/.ssh'., Host key verification failed., fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]error    05-Jun-2015 13:21:42    Error occurred while running Task 'Checkout Default Repository(1)' of type com.atlassian.bamboo.plugins.vcs:task.vcs.checkout.error    05-Jun-2015 13:21:42    java.lang.RuntimeException: com.atlassian.bamboo.plugins.stash.repository.StashRepositoryException: com.atlassian.bamboo.repository.RepositoryException: CP-CB-JOB1-6: Cannot fetch branch '(unresolved) master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. com.atlassian.bamboo.plugins.git.GitCommandException: command C:\cygwin64\bin\git.exe ls-remote ssh://6282df64-57b4-43a8-9f89-8c9a4b207179@127.0.0.1:49958/pc/catalog-project.git failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:error    05-Jun-2015 13:21:42    [Could not create directory '/home/SYSTEM/.ssh'., Host key verification failed., fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]error    05-Jun-2015 13:21:42        at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:132)error    05-Jun-2015 13:21:42        at com.atlassian.bamboo.executor.RetryingTaskExecutor.runTask(RetryingTaskExecutor.java:88)error    05-Jun-2015 13:21:42        at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:191)error    05-Jun-2015 13:21:42        at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:176)error    05-Jun-2015 13:21:42        at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.execute(VcsCheckoutTask.java:172)error    05-Jun-2015 13:21:42        at com.atlassian.bamboo.task.TaskExecutorImpl$3.call(TaskExecutorImpl.java:281)error    05-Jun-2015 13:21:42        at com.atlassian.bamboo.task.TaskExecutorImpl$3.call(TaskExecutorImpl.java:278)error    05-Jun-2015 13:21:42        at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:198)error    05-Jun-2015 13:21:42        at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:278)error    05-Jun-2015 13:21:42        at com.atlassian.bamboo.task.TaskExecutorImpl.executePreparationTasks(TaskExecutorImpl.java:80)error    05-Jun-2015 13:21:42        at com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.call(PrepareBuildTask.java:74)error    05-Jun-2015 13:21:42        at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:188)error    05-Jun-2015 13:21:42        at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:112)error    05-Jun-2015 13:21:42        at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:110)error    05-Jun-2015 13:21:42        at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49)error    05-Jun-2015 13:21:42        at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31)error    05-Jun-2015 13:21:42        at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20)error    05-Jun-2015 13:21:42        at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52)error    05-Jun-2015 13:21:42        at java.lang.Thread.run(Unknown Source)error    05-Jun-2015 13:21:42    Caused by: com.atlassian.bamboo.plugins.stash.repository.StashRepositoryException: com.atlassian.bamboo.repository.RepositoryException: CP-CB-JOB1-6: Cannot fetch branch '(unresolved) master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. com.atlassian.bamboo.plugins.git.GitCommandException: command C:\cygwin64\bin\git.exe ls-remote ssh://6282df64-57b4-43a8-9f89-8c9a4b207179@127.0.0.1:49958/pc/catalog-project.git failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:error    05-Jun-2015 13:21:42    [Could not create directory '/home/SYSTEM/.ssh'., Host key verification failed., fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]error    05-Jun-2015 13:21:42        at com.atlassian.bamboo.plugins.stash.StashRepository.retrieveSourceCode(StashRepository.java:557)error    05-Jun-2015 13:21:42        at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.fillWorkingDirFromVcs(VcsCheckoutTask.java:252)error    05-Jun-2015 13:21:42        at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.access$100(VcsCheckoutTask.java:56)error    05-Jun-2015 13:21:42        at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$2.call(VcsCheckoutTask.java:177)error    05-Jun-2015 13:21:42        at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$2.call(VcsCheckoutTask.java:173)error    05-Jun-2015 13:21:42        at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:108)error    05-Jun-2015 13:21:42        ... 18 moreerror    05-Jun-2015 13:21:42    Caused by: com.atlassian.bamboo.repository.RepositoryException: CP-CB-JOB1-6: Cannot fetch branch '(unresolved) master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. com.atlassian.bamboo.plugins.git.GitCommandException: command C:\cygwin64\bin\git.exe ls-remote ssh://6282df64-57b4-43a8-9f89-8c9a4b207179@127.0.0.1:49958/pc/catalog-project.git failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:error    05-Jun-2015 13:21:42    [Could not create directory '/home/SYSTEM/.ssh'., Host key verification failed., fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]error    05-Jun-2015 13:21:42        at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.fetch(NativeGitOperationHelper.java:425)error    05-Jun-2015 13:21:42        at com.atlassian.bamboo.plugins.git.GitRepository$3.call(GitRepository.java:408)error    05-Jun-2015 13:21:42        at com.atlassian.bamboo.plugins.git.GitRepository$3.call(GitRepository.java:395)error    05-Jun-2015 13:21:42        at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:312)error    05-Jun-2015 13:21:42        at com.atlassian.bamboo.plugins.git.GitRepository.retrieveSourceCode(GitRepository.java:394)error    05-Jun-2015 13:21:42        at com.atlassian.bamboo.plugins.stash.StashRepository.retrieveSourceCode(StashRepository.java:549)error    05-Jun-2015 13:21:42        ... 23 moreerror    05-Jun-2015 13:21:42    Caused by: com.google.common.util.concurrent.UncheckedExecutionException: com.atlassian.bamboo.plugins.git.GitCommandException: command C:\cygwin64\bin\git.exe ls-remote ssh://6282df64-57b4-43a8-9f89-8c9a4b207179@127.0.0.1:49958/pc/catalog-project.git failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:error    05-Jun-2015 13:21:42    [Could not create directory '/home/SYSTEM/.ssh'., Host key verification failed., fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]error    05-Jun-2015 13:21:42        at com.atlassian.bamboo.collections.AlwaysInvalidatingCacheDecorator.getUnchecked(AlwaysInvalidatingCacheDecorator.java:139)error    05-Jun-2015 13:21:42        at com.atlassian.bamboo.util.CallableResultCache.call(CallableResultCache.java:143)error    05-Jun-2015 13:21:42        at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.getRemoteRefs(NativeGitOperationHelper.java:500)error    05-Jun-2015 13:21:42        at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.resolveBranch(NativeGitOperationHelper.java:435)error    05-Jun-2015 13:21:42        at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.fetch(NativeGitOperationHelper.java:399)error    05-Jun-2015 13:21:42        ... 28 moreerror    05-Jun-2015 13:21:42    Caused by: com.atlassian.bamboo.plugins.git.GitCommandException: command C:\cygwin64\bin\git.exe ls-remote ssh://6282df64-57b4-43a8-9f89-8c9a4b207179@127.0.0.1:49958/pc/catalog-project.git failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:error    05-Jun-2015 13:21:42    [Could not create directory '/home/SYSTEM/.ssh'., Host key verification failed., fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]error    05-Jun-2015 13:21:42        at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:550)error    05-Jun-2015 13:21:42        at com.atlassian.bamboo.plugins.git.GitCommandProcessor.getRemoteRefs(GitCommandProcessor.java:417)error    05-Jun-2015 13:21:42        at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper$1.call(NativeGitOperationHelper.java:488)error    05-Jun-2015 13:21:42        at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper$1.call(NativeGitOperationHelper.java:479)error    05-Jun-2015 13:21:42        at com.atlassian.bamboo.util.CallableResultCache$1.load(CallableResultCache.java:52)error    05-Jun-2015 13:21:42        at com.atlassian.bamboo.util.CallableResultCache$1.load(CallableResultCache.java:48)error    05-Jun-2015 13:21:42        at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3568)error    05-Jun-2015 13:21:42        at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2350)error    05-Jun-2015 13:21:42        at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2313)error    05-Jun-2015 13:21:42        at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2228)error    05-Jun-2015 13:21:42        at com.google.common.cache.LocalCache.get(LocalCache.java:3965)error    05-Jun-2015 13:21:42        at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3969)error    05-Jun-2015 13:21:42        at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4829)error    05-Jun-2015 13:21:42        at com.atlassian.bamboo.collections.AlwaysInvalidatingCacheDecorator.get(AlwaysInvalidatingCacheDecorator.java:81)error    05-Jun-2015 13:21:42        at com.atlassian.bamboo.collections.AlwaysInvalidatingCacheDecorator.getUnchecked(AlwaysInvalidatingCacheDecorator.java:135)error    05-Jun-2015 13:21:42        ... 32 moreerror    05-Jun-2015 13:21:42    Failed to prepare the build 'Catalog Project - Catalog Build - Default Job #6 (CP-CB-JOB1-6)'simple    05-Jun-2015 13:21:42    Running on server: post build plugin 'NCover Results Collector'simple    05-Jun-2015 13:21:42    Running on server: post build plugin 'Clover Delta Calculator'simple    05-Jun-2015 13:21:42    Running on server: post build plugin 'Maven Dependencies Postprocessor'simple    05-Jun-2015 13:21:42    Running on server: post build plugin 'Build Hanging Detection Configuration'simple    05-Jun-2015 13:21:42    All post build plugins have finishedsimple    05-Jun-2015 13:21:42    Generating build results summary...simple    05-Jun-2015 13:21:42    Saving build results to disk...simple    05-Jun-2015 13:21:42    Indexing build results...simple    05-Jun-2015 13:21:42    Finished building CP-CB-JOB1-6.simple    05-Jun-2015 13:25:19    Build Catalog Project - Catalog Build - Default Job #6 (CP-CB-JOB1-6) started building on agent Default Agentsimple    05-Jun-2015 13:25:19    Build working directory is C:\Users\Avnet\bamboo-home\xml-data\build-dir\CP-CB-JOB1simple    05-Jun-2015 13:25:19    Executing build Catalog Project - Catalog Build - Default Job #6 (CP-CB-JOB1-6)simple    05-Jun-2015 13:25:19    Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'simple    05-Jun-2015 13:25:19    Updating source code to revision: dc2975f328bb4f280333e88acea170b52c7ac78aerror    05-Jun-2015 13:25:20    Cannot fetch branch '(unresolved) master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. com.atlassian.bamboo.plugins.git.GitCommandException: command C:\cygwin64\bin\git.exe ls-remote ssh://e293d72c-2b28-43f2-b1bf-9f7785412609@127.0.0.1:50808/pc/catalog-project.git failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:[Could not create directory '/home/SYSTEM/.ssh'., Host key verification failed., fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]simple    05-Jun-2015 13:25:20    Warning: failed to retrieve source code to cache directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6', trying to recover...simple    05-Jun-2015 13:25:20    Cleaned cache directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6', trying to fetch the code once again...simple    05-Jun-2015 13:25:20    Creating local git repository in 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6\.git'.simple    05-Jun-2015 13:25:20    Initialized empty Git repository in /cygdrive/c/Users/Avnet/bamboo-home/xml-data/build-dir/_git-repositories-cache/798db92428ac068388b10c3396d01c6bd7f8feb6/.git/error    05-Jun-2015 13:25:20    Cannot fetch branch '(unresolved) master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. com.atlassian.bamboo.plugins.git.GitCommandException: command C:\cygwin64\bin\git.exe ls-remote ssh://f0d413bf-b115-4e6b-9f39-be5a2f9c237b@127.0.0.1:50808/pc/catalog-project.git failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:[Could not create directory '/home/SYSTEM/.ssh'., Host key verification failed., fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]simple    05-Jun-2015 13:25:20    Updating source code to revision: dc2975f328bb4f280333e88acea170b52c7ac78aerror    05-Jun-2015 13:25:20    Cannot fetch branch '(unresolved) master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. com.atlassian.bamboo.plugins.git.GitCommandException: command C:\cygwin64\bin\git.exe ls-remote ssh://08646914-2528-444c-bfac-4bd2b42b9ba9@127.0.0.1:50808/pc/catalog-project.git failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:[Could not create directory '/home/SYSTEM/.ssh'., Host key verification failed., fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]simple    05-Jun-2015 13:25:20    Warning: failed to retrieve source code to cache directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6', trying to recover...simple    05-Jun-2015 13:25:20    Cleaned cache directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6', trying to fetch the code once again...simple    05-Jun-2015 13:25:20    Creating local git repository in 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6\.git'.simple    05-Jun-2015 13:25:20    Initialized empty Git repository in /cygdrive/c/Users/Avnet/bamboo-home/xml-data/build-dir/_git-repositories-cache/798db92428ac068388b10c3396d01c6bd7f8feb6/.git/error    05-Jun-2015 13:25:20    Cannot fetch branch '(unresolved) master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. com.atlassian.bamboo.plugins.git.GitCommandException: command C:\cygwin64\bin\git.exe ls-remote ssh://a771f1ad-b50d-4a1a-bcd9-d315ca9c9151@127.0.0.1:50808/pc/catalog-project.git failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:[Could not create directory '/home/SYSTEM/.ssh'., Host key verification failed., fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]simple    05-Jun-2015 13:25:21    Updating source code to revision: dc2975f328bb4f280333e88acea170b52c7ac78aerror    05-Jun-2015 13:25:21    Cannot fetch branch '(unresolved) master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. com.atlassian.bamboo.plugins.git.GitCommandException: command C:\cygwin64\bin\git.exe ls-remote ssh://21e72cd4-599c-4a35-b15f-eea20c6404f1@127.0.0.1:50808/pc/catalog-project.git failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:[Could not create directory '/home/SYSTEM/.ssh'., Host key verification failed., fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]simple    05-Jun-2015 13:25:21    Warning: failed to retrieve source code to cache directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6', trying to recover...simple    05-Jun-2015 13:25:21    Cleaned cache directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6', trying to fetch the code once again...simple    05-Jun-2015 13:25:21    Creating local git repository in 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6\.git'.simple    05-Jun-2015 13:25:21    Initialized empty Git repository in /cygdrive/c/Users/Avnet/bamboo-home/xml-data/build-dir/_git-repositories-cache/798db92428ac068388b10c3396d01c6bd7f8feb6/.git/error    05-Jun-2015 13:25:21    Cannot fetch branch '(unresolved) master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. com.atlassian.bamboo.plugins.git.GitCommandException: command C:\cygwin64\bin\git.exe ls-remote ssh://f5a5f36b-096c-49d4-92f2-2945003f4f1e@127.0.0.1:50808/pc/catalog-project.git failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:[Could not create directory '/home/SYSTEM/.ssh'., Host key verification failed., fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]error    05-Jun-2015 13:25:21    Error occurred while running Task 'Checkout Default Repository(1)' of type com.atlassian.bamboo.plugins.vcs:task.vcs.checkout.error    05-Jun-2015 13:25:21    java.lang.RuntimeException: com.atlassian.bamboo.plugins.stash.repository.StashRepositoryException: com.atlassian.bamboo.repository.RepositoryException: CP-CB-JOB1-6: Cannot fetch branch '(unresolved) master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. com.atlassian.bamboo.plugins.git.GitCommandException: command C:\cygwin64\bin\git.exe ls-remote ssh://f5a5f36b-096c-49d4-92f2-2945003f4f1e@127.0.0.1:50808/pc/catalog-project.git failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:error    05-Jun-2015 13:25:21    [Could not create directory '/home/SYSTEM/.ssh'., Host key verification failed., fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]error    05-Jun-2015 13:25:21        at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:132)error    05-Jun-2015 13:25:21        at com.atlassian.bamboo.executor.RetryingTaskExecutor.runTask(RetryingTaskExecutor.java:88)error    05-Jun-2015 13:25:21        at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:191)error    05-Jun-2015 13:25:21        at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:176)error    05-Jun-2015 13:25:21        at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.execute(VcsCheckoutTask.java:172)error    05-Jun-2015 13:25:21        at com.atlassian.bamboo.task.TaskExecutorImpl$3.call(TaskExecutorImpl.java:281)error    05-Jun-2015 13:25:21        at com.atlassian.bamboo.task.TaskExecutorImpl$3.call(TaskExecutorImpl.java:278)error    05-Jun-2015 13:25:21        at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:198)error    05-Jun-2015 13:25:21        at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:278)error    05-Jun-2015 13:25:21        at com.atlassian.bamboo.task.TaskExecutorImpl.executePreparationTasks(TaskExecutorImpl.java:80)error    05-Jun-2015 13:25:21        at com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.call(PrepareBuildTask.java:74)error    05-Jun-2015 13:25:21        at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:188)error    05-Jun-2015 13:25:21        at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:112)error    05-Jun-2015 13:25:21        at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:110)error    05-Jun-2015 13:25:21        at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49)error    05-Jun-2015 13:25:21        at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31)error    05-Jun-2015 13:25:21        at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20)error    05-Jun-2015 13:25:21        at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52)error    05-Jun-2015 13:25:21        at java.lang.Thread.run(Unknown Source)error    05-Jun-2015 13:25:21    Caused by: com.atlassian.bamboo.plugins.stash.repository.StashRepositoryException: com.atlassian.bamboo.repository.RepositoryException: CP-CB-JOB1-6: Cannot fetch branch '(unresolved) master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. com.atlassian.bamboo.plugins.git.GitCommandException: command C:\cygwin64\bin\git.exe ls-remote ssh://f5a5f36b-096c-49d4-92f2-2945003f4f1e@127.0.0.1:50808/pc/catalog-project.git failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:error    05-Jun-2015 13:25:21    [Could not create directory '/home/SYSTEM/.ssh'., Host key verification failed., fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]error    05-Jun-2015 13:25:21        at com.atlassian.bamboo.plugins.stash.StashRepository.retrieveSourceCode(StashRepository.java:557)error    05-Jun-2015 13:25:21        at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.fillWorkingDirFromVcs(VcsCheckoutTask.java:252)error    05-Jun-2015 13:25:21        at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.access$100(VcsCheckoutTask.java:56)error    05-Jun-2015 13:25:21        at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$2.call(VcsCheckoutTask.java:177)error    05-Jun-2015 13:25:21        at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$2.call(VcsCheckoutTask.java:173)error    05-Jun-2015 13:25:21        at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:108)error    05-Jun-2015 13:25:21        ... 18 moreerror    05-Jun-2015 13:25:21    Caused by: com.atlassian.bamboo.repository.RepositoryException: CP-CB-JOB1-6: Cannot fetch branch '(unresolved) master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. com.atlassian.bamboo.plugins.git.GitCommandException: command C:\cygwin64\bin\git.exe ls-remote ssh://f5a5f36b-096c-49d4-92f2-2945003f4f1e@127.0.0.1:50808/pc/catalog-project.git failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:error    05-Jun-2015 13:25:21    [Could not create directory '/home/SYSTEM/.ssh'., Host key verification failed., fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]error    05-Jun-2015 13:25:21        at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.fetch(NativeGitOperationHelper.java:425)error    05-Jun-2015 13:25:21        at com.atlassian.bamboo.plugins.git.GitRepository$3.call(GitRepository.java:408)error    05-Jun-2015 13:25:21        at com.atlassian.bamboo.plugins.git.GitRepository$3.call(GitRepository.java:395)error    05-Jun-2015 13:25:21        at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:312)error    05-Jun-2015 13:25:21        at com.atlassian.bamboo.plugins.git.GitRepository.retrieveSourceCode(GitRepository.java:394)error    05-Jun-2015 13:25:21        at com.atlassian.bamboo.plugins.stash.StashRepository.retrieveSourceCode(StashRepository.java:549)error    05-Jun-2015 13:25:21        ... 23 moreerror    05-Jun-2015 13:25:21    Caused by: com.google.common.util.concurrent.UncheckedExecutionException: com.atlassian.bamboo.plugins.git.GitCommandException: command C:\cygwin64\bin\git.exe ls-remote ssh://f5a5f36b-096c-49d4-92f2-2945003f4f1e@127.0.0.1:50808/pc/catalog-project.git failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:error    05-Jun-2015 13:25:21    [Could not create directory '/home/SYSTEM/.ssh'., Host key verification failed., fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]error    05-Jun-2015 13:25:21        at com.atlassian.bamboo.collections.AlwaysInvalidatingCacheDecorator.getUnchecked(AlwaysInvalidatingCacheDecorator.java:139)error    05-Jun-2015 13:25:21        at com.atlassian.bamboo.util.CallableResultCache.call(CallableResultCache.java:143)error    05-Jun-2015 13:25:21        at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.getRemoteRefs(NativeGitOperationHelper.java:500)error    05-Jun-2015 13:25:21        at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.resolveBranch(NativeGitOperationHelper.java:435)error    05-Jun-2015 13:25:21        at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.fetch(NativeGitOperationHelper.java:399)error    05-Jun-2015 13:25:21        ... 28 moreerror    05-Jun-2015 13:25:21    Caused by: com.atlassian.bamboo.plugins.git.GitCommandException: command C:\cygwin64\bin\git.exe ls-remote ssh://f5a5f36b-096c-49d4-92f2-2945003f4f1e@127.0.0.1:50808/pc/catalog-project.git failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:error    05-Jun-2015 13:25:21    [Could not create directory '/home/SYSTEM/.ssh'., Host key verification failed., fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]error    05-Jun-2015 13:25:21        at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:550)error    05-Jun-2015 13:25:21        at com.atlassian.bamboo.plugins.git.GitCommandProcessor.getRemoteRefs(GitCommandProcessor.java:417)error    05-Jun-2015 13:25:21        at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper$1.call(NativeGitOperationHelper.java:488)error    05-Jun-2015 13:25:21        at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper$1.call(NativeGitOperationHelper.java:479)error    05-Jun-2015 13:25:21        at com.atlassian.bamboo.util.CallableResultCache$1.load(CallableResultCache.java:52)error    05-Jun-2015 13:25:21        at com.atlassian.bamboo.util.CallableResultCache$1.load(CallableResultCache.java:48)error    05-Jun-2015 13:25:21        at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3568)error    05-Jun-2015 13:25:21        at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2350)error    05-Jun-2015 13:25:21        at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2313)error    05-Jun-2015 13:25:21        at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2228)error    05-Jun-2015 13:25:21        at com.google.common.cache.LocalCache.get(LocalCache.java:3965)error    05-Jun-2015 13:25:21        at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3969)error    05-Jun-2015 13:25:21        at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4829)error    05-Jun-2015 13:25:21        at com.atlassian.bamboo.collections.AlwaysInvalidatingCacheDecorator.get(AlwaysInvalidatingCacheDecorator.java:81)error    05-Jun-2015 13:25:21        at com.atlassian.bamboo.collections.AlwaysInvalidatingCacheDecorator.getUnchecked(AlwaysInvalidatingCacheDecorator.java:135)error    05-Jun-2015 13:25:21        ... 32 moreerror    05-Jun-2015 13:25:21    Failed to prepare the build 'Catalog Project - Catalog Build - Default Job #6 (CP-CB-JOB1-6)'simple    05-Jun-2015 13:25:21    Running on server: post build plugin 'NCover Results Collector'simple    05-Jun-2015 13:25:21    Running on server: post build plugin 'Clover Delta Calculator'simple    05-Jun-2015 13:25:21    Running on server: post build plugin 'Maven Dependencies Postprocessor'simple    05-Jun-2015 13:25:21    Running on server: post build plugin 'Build Hanging Detection Configuration'simple    05-Jun-2015 13:25:21    All post build plugins have finishedsimple    05-Jun-2015 13:25:21    Generating build results summary...simple    05-Jun-2015 13:25:21    Saving build results to disk...simple    05-Jun-2015 13:25:21    Indexing build results...simple    05-Jun-2015 13:25:22    Finished building CP-CB-JOB1-6.simple    05-Jun-2015 13:39:50    Build Catalog Project - Catalog Build - Default Job #6 (CP-CB-JOB1-6) started building on agent Default Agentsimple    05-Jun-2015 13:39:50    Build working directory is C:\Users\Avnet\bamboo-home\xml-data\build-dir\CP-CB-JOB1simple    05-Jun-2015 13:39:50    Executing build Catalog Project - Catalog Build - Default Job #6 (CP-CB-JOB1-6)simple    05-Jun-2015 13:39:50    Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'simple    05-Jun-2015 13:39:50    Updating source code to revision: dc2975f328bb4f280333e88acea170b52c7ac78asimple    05-Jun-2015 13:39:50    Fetching 'refs/heads/master' from 'ssh://git@localhost:7999/pc/catalog-project.git'.simple    05-Jun-2015 13:39:50    Could not create directory '/home/SYSTEM/.ssh'.simple    05-Jun-2015 13:39:50    Host key verification failed.simple    05-Jun-2015 13:39:50    fatal: Could not read from remote repository.simple    05-Jun-2015 13:39:50    simple    05-Jun-2015 13:39:50    Please make sure you have the correct access rightssimple    05-Jun-2015 13:39:50    and the repository exists.error    05-Jun-2015 13:39:50    Cannot fetch branch 'refs/heads/master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. command C:\cygwin64\bin\git.exe fetch ssh://191204e6-791b-4518-80a4-f9986b18b871@127.0.0.1:50808/pc/catalog-project.git +refs/heads/master:refs/heads/master --update-head-ok failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:Could not create directory '/home/SYSTEM/.ssh'.Host key verification failed.fatal: Could not read from remote repository.Please make sure you have the correct access rightsand the repository exists.simple    05-Jun-2015 13:39:50    Warning: failed to retrieve source code to cache directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6', trying to recover...simple    05-Jun-2015 13:39:50    Cleaned cache directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6', trying to fetch the code once again...simple    05-Jun-2015 13:39:50    Creating local git repository in 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6\.git'.simple    05-Jun-2015 13:39:50    Initialized empty Git repository in /cygdrive/c/Users/Avnet/bamboo-home/xml-data/build-dir/_git-repositories-cache/798db92428ac068388b10c3396d01c6bd7f8feb6/.git/simple    05-Jun-2015 13:39:50    Fetching 'refs/heads/master' from 'ssh://git@localhost:7999/pc/catalog-project.git'.simple    05-Jun-2015 13:39:50    Could not create directory '/home/SYSTEM/.ssh'.simple    05-Jun-2015 13:39:50    Host key verification failed.simple    05-Jun-2015 13:39:50    fatal: Could not read from remote repository.simple    05-Jun-2015 13:39:50    simple    05-Jun-2015 13:39:50    Please make sure you have the correct access rightssimple    05-Jun-2015 13:39:50    and the repository exists.error    05-Jun-2015 13:39:50    Cannot fetch branch 'refs/heads/master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. command C:\cygwin64\bin\git.exe fetch ssh://76647d7a-4510-49d0-b8ee-6f75f33d18ce@127.0.0.1:50808/pc/catalog-project.git +refs/heads/master:refs/heads/master --update-head-ok failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:Could not create directory '/home/SYSTEM/.ssh'.Host key verification failed.fatal: Could not read from remote repository.Please make sure you have the correct access rightsand the repository exists.simple    05-Jun-2015 13:39:50    Updating source code to revision: dc2975f328bb4f280333e88acea170b52c7ac78asimple    05-Jun-2015 13:39:50    Fetching 'refs/heads/master' from 'ssh://git@localhost:7999/pc/catalog-project.git'.simple    05-Jun-2015 13:39:51    Could not create directory '/home/SYSTEM/.ssh'.simple    05-Jun-2015 13:39:51    Host key verification failed.simple    05-Jun-2015 13:39:51    fatal: Could not read from remote repository.simple    05-Jun-2015 13:39:51    simple    05-Jun-2015 13:39:51    Please make sure you have the correct access rightssimple    05-Jun-2015 13:39:51    and the repository exists.error    05-Jun-2015 13:39:51    Cannot fetch branch 'refs/heads/master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. command C:\cygwin64\bin\git.exe fetch ssh://98d803ae-74e8-4375-9712-e59c0fe9c12a@127.0.0.1:50808/pc/catalog-project.git +refs/heads/master:refs/heads/master --update-head-ok failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:Could not create directory '/home/SYSTEM/.ssh'.Host key verification failed.fatal: Could not read from remote repository.Please make sure you have the correct access rightsand the repository exists.simple    05-Jun-2015 13:39:51    Warning: failed to retrieve source code to cache directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6', trying to recover...simple    05-Jun-2015 13:39:51    Cleaned cache directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6', trying to fetch the code once again...simple    05-Jun-2015 13:39:51    Creating local git repository in 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6\.git'.simple    05-Jun-2015 13:39:51    Initialized empty Git repository in /cygdrive/c/Users/Avnet/bamboo-home/xml-data/build-dir/_git-repositories-cache/798db92428ac068388b10c3396d01c6bd7f8feb6/.git/simple    05-Jun-2015 13:39:51    Fetching 'refs/heads/master' from 'ssh://git@localhost:7999/pc/catalog-project.git'.simple    05-Jun-2015 13:39:51    Could not create directory '/home/SYSTEM/.ssh'.simple    05-Jun-2015 13:39:51    Host key verification failed.simple    05-Jun-2015 13:39:51    fatal: Could not read from remote repository.simple    05-Jun-2015 13:39:51    simple    05-Jun-2015 13:39:51    Please make sure you have the correct access rightssimple    05-Jun-2015 13:39:51    and the repository exists.error    05-Jun-2015 13:39:51    Cannot fetch branch 'refs/heads/master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. command C:\cygwin64\bin\git.exe fetch ssh://bcfe4877-5ba5-4f4b-8d4f-6967973318df@127.0.0.1:50808/pc/catalog-project.git +refs/heads/master:refs/heads/master --update-head-ok failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:Could not create directory '/home/SYSTEM/.ssh'.Host key verification failed.fatal: Could not read from remote repository.Please make sure you have the correct access rightsand the repository exists.simple    05-Jun-2015 13:39:51    Updating source code to revision: dc2975f328bb4f280333e88acea170b52c7ac78asimple    05-Jun-2015 13:39:51    Fetching 'refs/heads/master' from 'ssh://git@localhost:7999/pc/catalog-project.git'.simple    05-Jun-2015 13:39:51    Could not create directory '/home/SYSTEM/.ssh'.simple    05-Jun-2015 13:39:51    Host key verification failed.simple    05-Jun-2015 13:39:51    fatal: Could not read from remote repository.simple    05-Jun-2015 13:39:51    simple    05-Jun-2015 13:39:51    Please make sure you have the correct access rightssimple    05-Jun-2015 13:39:51    and the repository exists.error    05-Jun-2015 13:39:51    Cannot fetch branch 'refs/heads/master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. command C:\cygwin64\bin\git.exe fetch ssh://84091f1e-9fe0-49cf-a1d1-2f1f40736a91@127.0.0.1:50808/pc/catalog-project.git +refs/heads/master:refs/heads/master --update-head-ok failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:Could not create directory '/home/SYSTEM/.ssh'.Host key verification failed.fatal: Could not read from remote repository.Please make sure you have the correct access rightsand the repository exists.simple    05-Jun-2015 13:39:51    Warning: failed to retrieve source code to cache directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6', trying to recover...simple    05-Jun-2015 13:39:51    Cleaned cache directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6', trying to fetch the code once again...simple    05-Jun-2015 13:39:51    Creating local git repository in 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6\.git'.simple    05-Jun-2015 13:39:51    Initialized empty Git repository in /cygdrive/c/Users/Avnet/bamboo-home/xml-data/build-dir/_git-repositories-cache/798db92428ac068388b10c3396d01c6bd7f8feb6/.git/simple    05-Jun-2015 13:39:51    Fetching 'refs/heads/master' from 'ssh://git@localhost:7999/pc/catalog-project.git'.simple    05-Jun-2015 13:39:51    Could not create directory '/home/SYSTEM/.ssh'.simple    05-Jun-2015 13:39:51    Host key verification failed.simple    05-Jun-2015 13:39:51    fatal: Could not read from remote repository.simple    05-Jun-2015 13:39:51    simple    05-Jun-2015 13:39:51    Please make sure you have the correct access rightssimple    05-Jun-2015 13:39:51    and the repository exists.error    05-Jun-2015 13:39:51    Cannot fetch branch 'refs/heads/master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. command C:\cygwin64\bin\git.exe fetch ssh://bee827cb-22f5-47b1-b05c-0cff72063ae3@127.0.0.1:50808/pc/catalog-project.git +refs/heads/master:refs/heads/master --update-head-ok failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:Could not create directory '/home/SYSTEM/.ssh'.Host key verification failed.fatal: Could not read from remote repository.Please make sure you have the correct access rightsand the repository exists.error    05-Jun-2015 13:39:51    Error occurred while running Task 'Checkout Default Repository(1)' of type com.atlassian.bamboo.plugins.vcs:task.vcs.checkout.error    05-Jun-2015 13:39:51    java.lang.RuntimeException: com.atlassian.bamboo.plugins.stash.repository.StashRepositoryException: com.atlassian.bamboo.repository.RepositoryException: CP-CB-JOB1-6: Cannot fetch branch 'refs/heads/master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. command C:\cygwin64\bin\git.exe fetch ssh://bee827cb-22f5-47b1-b05c-0cff72063ae3@127.0.0.1:50808/pc/catalog-project.git +refs/heads/master:refs/heads/master --update-head-ok failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:error    05-Jun-2015 13:39:51    Could not create directory '/home/SYSTEM/.ssh'.error    05-Jun-2015 13:39:51    Host key verification failed.error    05-Jun-2015 13:39:51    fatal: Could not read from remote repository.error    05-Jun-2015 13:39:51    Please make sure you have the correct access rightserror    05-Jun-2015 13:39:51    and the repository exists.error    05-Jun-2015 13:39:51        at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:132)error    05-Jun-2015 13:39:51        at com.atlassian.bamboo.executor.RetryingTaskExecutor.runTask(RetryingTaskExecutor.java:88)error    05-Jun-2015 13:39:51        at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:191)error    05-Jun-2015 13:39:51        at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:176)error    05-Jun-2015 13:39:51        at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.execute(VcsCheckoutTask.java:172)error    05-Jun-2015 13:39:51        at com.atlassian.bamboo.task.TaskExecutorImpl$3.call(TaskExecutorImpl.java:281)error    05-Jun-2015 13:39:51        at com.atlassian.bamboo.task.TaskExecutorImpl$3.call(TaskExecutorImpl.java:278)error    05-Jun-2015 13:39:51        at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:198)error    05-Jun-2015 13:39:51        at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:278)error    05-Jun-2015 13:39:51        at com.atlassian.bamboo.task.TaskExecutorImpl.executePreparationTasks(TaskExecutorImpl.java:80)error    05-Jun-2015 13:39:51        at com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.call(PrepareBuildTask.java:74)error    05-Jun-2015 13:39:51        at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:188)error    05-Jun-2015 13:39:51        at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:112)error    05-Jun-2015 13:39:51        at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:110)error    05-Jun-2015 13:39:51        at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49)error    05-Jun-2015 13:39:51        at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31)error    05-Jun-2015 13:39:51        at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20)error    05-Jun-2015 13:39:51        at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52)error    05-Jun-2015 13:39:51        at java.lang.Thread.run(Unknown Source)error    05-Jun-2015 13:39:51    Caused by: com.atlassian.bamboo.plugins.stash.repository.StashRepositoryException: com.atlassian.bamboo.repository.RepositoryException: CP-CB-JOB1-6: Cannot fetch branch 'refs/heads/master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. command C:\cygwin64\bin\git.exe fetch ssh://bee827cb-22f5-47b1-b05c-0cff72063ae3@127.0.0.1:50808/pc/catalog-project.git +refs/heads/master:refs/heads/master --update-head-ok failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:error    05-Jun-2015 13:39:51    Could not create directory '/home/SYSTEM/.ssh'.error    05-Jun-2015 13:39:51    Host key verification failed.error    05-Jun-2015 13:39:51    fatal: Could not read from remote repository.error    05-Jun-2015 13:39:51    Please make sure you have the correct access rightserror    05-Jun-2015 13:39:51    and the repository exists.error    05-Jun-2015 13:39:51        at com.atlassian.bamboo.plugins.stash.StashRepository.retrieveSourceCode(StashRepository.java:557)error    05-Jun-2015 13:39:51        at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.fillWorkingDirFromVcs(VcsCheckoutTask.java:252)error    05-Jun-2015 13:39:51        at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.access$100(VcsCheckoutTask.java:56)error    05-Jun-2015 13:39:51        at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$2.call(VcsCheckoutTask.java:177)error    05-Jun-2015 13:39:51        at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$2.call(VcsCheckoutTask.java:173)error    05-Jun-2015 13:39:51        at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:108)error    05-Jun-2015 13:39:51        ... 18 moreerror    05-Jun-2015 13:39:51    Caused by: com.atlassian.bamboo.repository.RepositoryException: CP-CB-JOB1-6: Cannot fetch branch 'refs/heads/master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. command C:\cygwin64\bin\git.exe fetch ssh://bee827cb-22f5-47b1-b05c-0cff72063ae3@127.0.0.1:50808/pc/catalog-project.git +refs/heads/master:refs/heads/master --update-head-ok failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:error    05-Jun-2015 13:39:51    Could not create directory '/home/SYSTEM/.ssh'.error    05-Jun-2015 13:39:51    Host key verification failed.error    05-Jun-2015 13:39:51    fatal: Could not read from remote repository.error    05-Jun-2015 13:39:51    Please make sure you have the correct access rightserror    05-Jun-2015 13:39:51    and the repository exists.error    05-Jun-2015 13:39:51        at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.fetch(NativeGitOperationHelper.java:425)error    05-Jun-2015 13:39:51        at com.atlassian.bamboo.plugins.git.GitRepository$3.call(GitRepository.java:408)error    05-Jun-2015 13:39:51        at com.atlassian.bamboo.plugins.git.GitRepository$3.call(GitRepository.java:395)error    05-Jun-2015 13:39:51        at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:312)error    05-Jun-2015 13:39:51        at com.atlassian.bamboo.plugins.git.GitRepository.retrieveSourceCode(GitRepository.java:394)error    05-Jun-2015 13:39:51        at com.atlassian.bamboo.plugins.stash.StashRepository.retrieveSourceCode(StashRepository.java:549)error    05-Jun-2015 13:39:51        ... 23 moreerror    05-Jun-2015 13:39:51    Caused by: com.atlassian.bamboo.plugins.git.GitCommandException: command C:\cygwin64\bin\git.exe fetch ssh://bee827cb-22f5-47b1-b05c-0cff72063ae3@127.0.0.1:50808/pc/catalog-project.git +refs/heads/master:refs/heads/master --update-head-ok failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:error    05-Jun-2015 13:39:51    Could not create directory '/home/SYSTEM/.ssh'.error    05-Jun-2015 13:39:51    Host key verification failed.error    05-Jun-2015 13:39:51    fatal: Could not read from remote repository.error    05-Jun-2015 13:39:51    Please make sure you have the correct access rightserror    05-Jun-2015 13:39:51    and the repository exists.error    05-Jun-2015 13:39:51        at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:550)error    05-Jun-2015 13:39:51        at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runFetchCommand(GitCommandProcessor.java:262)error    05-Jun-2015 13:39:51        at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.fetch(NativeGitOperationHelper.java:414)error    05-Jun-2015 13:39:51        ... 28 moreerror    05-Jun-2015 13:39:51    Failed to prepare the build 'Catalog Project - Catalog Build - Default Job #6 (CP-CB-JOB1-6)'simple    05-Jun-2015 13:39:51    Running on server: post build plugin 'NCover Results Collector'simple    05-Jun-2015 13:39:51    Running on server: post build plugin 'Clover Delta Calculator'simple    05-Jun-2015 13:39:51    Running on server: post build plugin 'Maven Dependencies Postprocessor'simple    05-Jun-2015 13:39:51    Running on server: post build plugin 'Build Hanging Detection Configuration'simple    05-Jun-2015 13:39:51    All post build plugins have finishedsimple    05-Jun-2015 13:39:51    Generating build results summary...simple    05-Jun-2015 13:39:51    Saving build results to disk...simple    05-Jun-2015 13:39:51    Indexing build results...simple    05-Jun-2015 13:39:51    Finished building CP-CB-JOB1-6.simple    09-Jun-2015 07:42:37    Build Catalog Project - Catalog Build - Default Job #6 (CP-CB-JOB1-6) started building on agent Default Agentsimple    09-Jun-2015 07:42:37    Build working directory is C:\Users\Avnet\bamboo-home\xml-data\build-dir\CP-CB-JOB1simple    09-Jun-2015 07:42:37    Executing build Catalog Project - Catalog Build - Default Job #6 (CP-CB-JOB1-6)simple    09-Jun-2015 07:42:37    Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'simple    09-Jun-2015 07:42:37    Updating source code to revision: dc2975f328bb4f280333e88acea170b52c7ac78aerror    09-Jun-2015 07:42:37    Cannot fetch branch '(unresolved) master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. com.atlassian.bamboo.plugins.git.GitCommandException: command C:\cygwin64\bin\git.exe ls-remote ssh://81b78b75-4963-4329-8b45-1c10fecabda5@127.0.0.1:50808/pc/catalog-project.git failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:[Could not create directory '/home/SYSTEM/.ssh'., Host key verification failed., fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]simple    09-Jun-2015 07:42:37    Warning: failed to retrieve source code to cache directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6', trying to recover...simple    09-Jun-2015 07:42:37    Cleaned cache directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6', trying to fetch the code once again...simple    09-Jun-2015 07:42:37    Creating local git repository in 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6\.git'.simple    09-Jun-2015 07:42:38    Initialized empty Git repository in /cygdrive/c/Users/Avnet/bamboo-home/xml-data/build-dir/_git-repositories-cache/798db92428ac068388b10c3396d01c6bd7f8feb6/.git/error    09-Jun-2015 07:42:38    Cannot fetch branch '(unresolved) master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. com.atlassian.bamboo.plugins.git.GitCommandException: command C:\cygwin64\bin\git.exe ls-remote ssh://4e9c6755-99df-4235-950d-43f3313ddc41@127.0.0.1:50808/pc/catalog-project.git failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:[Could not create directory '/home/SYSTEM/.ssh'., Host key verification failed., fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]simple    09-Jun-2015 07:42:38    Updating source code to revision: dc2975f328bb4f280333e88acea170b52c7ac78aerror    09-Jun-2015 07:42:38    Cannot fetch branch '(unresolved) master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. com.atlassian.bamboo.plugins.git.GitCommandException: command C:\cygwin64\bin\git.exe ls-remote ssh://bc8c3a99-da89-45cc-939c-8ace9ee816f5@127.0.0.1:50808/pc/catalog-project.git failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:[Could not create directory '/home/SYSTEM/.ssh'., Host key verification failed., fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]simple    09-Jun-2015 07:42:38    Warning: failed to retrieve source code to cache directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6', trying to recover...simple    09-Jun-2015 07:42:38    Cleaned cache directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6', trying to fetch the code once again...simple    09-Jun-2015 07:42:38    Creating local git repository in 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6\.git'.simple    09-Jun-2015 07:42:38    Initialized empty Git repository in /cygdrive/c/Users/Avnet/bamboo-home/xml-data/build-dir/_git-repositories-cache/798db92428ac068388b10c3396d01c6bd7f8feb6/.git/error    09-Jun-2015 07:42:38    Cannot fetch branch '(unresolved) master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. com.atlassian.bamboo.plugins.git.GitCommandException: command C:\cygwin64\bin\git.exe ls-remote ssh://612512b7-d9d5-4c79-8409-9f9524cd6448@127.0.0.1:50808/pc/catalog-project.git failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:[Could not create directory '/home/SYSTEM/.ssh'., Host key verification failed., fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]simple    09-Jun-2015 07:42:39    Updating source code to revision: dc2975f328bb4f280333e88acea170b52c7ac78aerror    09-Jun-2015 07:42:39    Cannot fetch branch '(unresolved) master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. com.atlassian.bamboo.plugins.git.GitCommandException: command C:\cygwin64\bin\git.exe ls-remote ssh://fcb68a1a-4af6-4fa1-b5a2-084910ca202b@127.0.0.1:50808/pc/catalog-project.git failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:[Could not create directory '/home/SYSTEM/.ssh'., Host key verification failed., fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]simple    09-Jun-2015 07:42:39    Warning: failed to retrieve source code to cache directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6', trying to recover...simple    09-Jun-2015 07:42:39    Cleaned cache directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6', trying to fetch the code once again...simple    09-Jun-2015 07:42:39    Creating local git repository in 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6\.git'.simple    09-Jun-2015 07:42:39    Initialized empty Git repository in /cygdrive/c/Users/Avnet/bamboo-home/xml-data/build-dir/_git-repositories-cache/798db92428ac068388b10c3396d01c6bd7f8feb6/.git/error    09-Jun-2015 07:42:39    Cannot fetch branch '(unresolved) master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. com.atlassian.bamboo.plugins.git.GitCommandException: command C:\cygwin64\bin\git.exe ls-remote ssh://67e3e688-481f-421f-96bf-df903ed25564@127.0.0.1:50808/pc/catalog-project.git failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:[Could not create directory '/home/SYSTEM/.ssh'., Host key verification failed., fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]error    09-Jun-2015 07:42:39    Error occurred while running Task 'Checkout Default Repository(1)' of type com.atlassian.bamboo.plugins.vcs:task.vcs.checkout.error    09-Jun-2015 07:42:39    java.lang.RuntimeException: com.atlassian.bamboo.plugins.stash.repository.StashRepositoryException: com.atlassian.bamboo.repository.RepositoryException: CP-CB-JOB1-6: Cannot fetch branch '(unresolved) master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. com.atlassian.bamboo.plugins.git.GitCommandException: command C:\cygwin64\bin\git.exe ls-remote ssh://67e3e688-481f-421f-96bf-df903ed25564@127.0.0.1:50808/pc/catalog-project.git failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:error    09-Jun-2015 07:42:39    [Could not create directory '/home/SYSTEM/.ssh'., Host key verification failed., fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]error    09-Jun-2015 07:42:39        at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:132)error    09-Jun-2015 07:42:39        at com.atlassian.bamboo.executor.RetryingTaskExecutor.runTask(RetryingTaskExecutor.java:88)error    09-Jun-2015 07:42:39        at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:191)error    09-Jun-2015 07:42:39        at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:176)error    09-Jun-2015 07:42:39        at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.execute(VcsCheckoutTask.java:172)error    09-Jun-2015 07:42:39        at com.atlassian.bamboo.task.TaskExecutorImpl$3.call(TaskExecutorImpl.java:281)error    09-Jun-2015 07:42:39        at com.atlassian.bamboo.task.TaskExecutorImpl$3.call(TaskExecutorImpl.java:278)error    09-Jun-2015 07:42:39        at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:198)error    09-Jun-2015 07:42:39        at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:278)error    09-Jun-2015 07:42:39        at com.atlassian.bamboo.task.TaskExecutorImpl.executePreparationTasks(TaskExecutorImpl.java:80)error    09-Jun-2015 07:42:39        at com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.call(PrepareBuildTask.java:74)error    09-Jun-2015 07:42:39        at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:188)error    09-Jun-2015 07:42:39        at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:112)error    09-Jun-2015 07:42:39        at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:110)error    09-Jun-2015 07:42:39        at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49)error    09-Jun-2015 07:42:39        at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31)error    09-Jun-2015 07:42:39        at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20)error    09-Jun-2015 07:42:39        at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52)error    09-Jun-2015 07:42:39        at java.lang.Thread.run(Unknown Source)error    09-Jun-2015 07:42:39    Caused by: com.atlassian.bamboo.plugins.stash.repository.StashRepositoryException: com.atlassian.bamboo.repository.RepositoryException: CP-CB-JOB1-6: Cannot fetch branch '(unresolved) master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. com.atlassian.bamboo.plugins.git.GitCommandException: command C:\cygwin64\bin\git.exe ls-remote ssh://67e3e688-481f-421f-96bf-df903ed25564@127.0.0.1:50808/pc/catalog-project.git failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:error    09-Jun-2015 07:42:39    [Could not create directory '/home/SYSTEM/.ssh'., Host key verification failed., fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]error    09-Jun-2015 07:42:39        at com.atlassian.bamboo.plugins.stash.StashRepository.retrieveSourceCode(StashRepository.java:557)error    09-Jun-2015 07:42:39        at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.fillWorkingDirFromVcs(VcsCheckoutTask.java:252)error    09-Jun-2015 07:42:39        at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.access$100(VcsCheckoutTask.java:56)error    09-Jun-2015 07:42:39        at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$2.call(VcsCheckoutTask.java:177)error    09-Jun-2015 07:42:39        at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$2.call(VcsCheckoutTask.java:173)error    09-Jun-2015 07:42:39        at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:108)error    09-Jun-2015 07:42:39        ... 18 moreerror    09-Jun-2015 07:42:39    Caused by: com.atlassian.bamboo.repository.RepositoryException: CP-CB-JOB1-6: Cannot fetch branch '(unresolved) master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. com.atlassian.bamboo.plugins.git.GitCommandException: command C:\cygwin64\bin\git.exe ls-remote ssh://67e3e688-481f-421f-96bf-df903ed25564@127.0.0.1:50808/pc/catalog-project.git failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:error    09-Jun-2015 07:42:39    [Could not create directory '/home/SYSTEM/.ssh'., Host key verification failed., fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]error    09-Jun-2015 07:42:39        at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.fetch(NativeGitOperationHelper.java:425)error    09-Jun-2015 07:42:39        at com.atlassian.bamboo.plugins.git.GitRepository$3.call(GitRepository.java:408)error    09-Jun-2015 07:42:39        at com.atlassian.bamboo.plugins.git.GitRepository$3.call(GitRepository.java:395)error    09-Jun-2015 07:42:39        at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:312)error    09-Jun-2015 07:42:39        at com.atlassian.bamboo.plugins.git.GitRepository.retrieveSourceCode(GitRepository.java:394)error    09-Jun-2015 07:42:39        at com.atlassian.bamboo.plugins.stash.StashRepository.retrieveSourceCode(StashRepository.java:549)error    09-Jun-2015 07:42:39        ... 23 moreerror    09-Jun-2015 07:42:39    Caused by: com.google.common.util.concurrent.UncheckedExecutionException: com.atlassian.bamboo.plugins.git.GitCommandException: command C:\cygwin64\bin\git.exe ls-remote ssh://67e3e688-481f-421f-96bf-df903ed25564@127.0.0.1:50808/pc/catalog-project.git failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:error    09-Jun-2015 07:42:39    [Could not create directory '/home/SYSTEM/.ssh'., Host key verification failed., fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]error    09-Jun-2015 07:42:39        at com.atlassian.bamboo.collections.AlwaysInvalidatingCacheDecorator.getUnchecked(AlwaysInvalidatingCacheDecorator.java:139)error    09-Jun-2015 07:42:39        at com.atlassian.bamboo.util.CallableResultCache.call(CallableResultCache.java:143)error    09-Jun-2015 07:42:39        at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.getRemoteRefs(NativeGitOperationHelper.java:500)error    09-Jun-2015 07:42:39        at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.resolveBranch(NativeGitOperationHelper.java:435)error    09-Jun-2015 07:42:39        at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.fetch(NativeGitOperationHelper.java:399)error    09-Jun-2015 07:42:39        ... 28 moreerror    09-Jun-2015 07:42:39    Caused by: com.atlassian.bamboo.plugins.git.GitCommandException: command C:\cygwin64\bin\git.exe ls-remote ssh://67e3e688-481f-421f-96bf-df903ed25564@127.0.0.1:50808/pc/catalog-project.git failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:error    09-Jun-2015 07:42:39    [Could not create directory '/home/SYSTEM/.ssh'., Host key verification failed., fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]error    09-Jun-2015 07:42:39        at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:550)error    09-Jun-2015 07:42:39        at com.atlassian.bamboo.plugins.git.GitCommandProcessor.getRemoteRefs(GitCommandProcessor.java:417)error    09-Jun-2015 07:42:39        at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper$1.call(NativeGitOperationHelper.java:488)error    09-Jun-2015 07:42:39        at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper$1.call(NativeGitOperationHelper.java:479)error    09-Jun-2015 07:42:39        at com.atlassian.bamboo.util.CallableResultCache$1.load(CallableResultCache.java:52)error    09-Jun-2015 07:42:39        at com.atlassian.bamboo.util.CallableResultCache$1.load(CallableResultCache.java:48)error    09-Jun-2015 07:42:39        at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3568)error    09-Jun-2015 07:42:39        at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2350)error    09-Jun-2015 07:42:39        at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2313)error    09-Jun-2015 07:42:39        at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2228)error    09-Jun-2015 07:42:39        at com.google.common.cache.LocalCache.get(LocalCache.java:3965)error    09-Jun-2015 07:42:39        at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3969)error    09-Jun-2015 07:42:39        at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4829)error    09-Jun-2015 07:42:39        at com.atlassian.bamboo.collections.AlwaysInvalidatingCacheDecorator.get(AlwaysInvalidatingCacheDecorator.java:81)error    09-Jun-2015 07:42:39        at com.atlassian.bamboo.collections.AlwaysInvalidatingCacheDecorator.getUnchecked(AlwaysInvalidatingCacheDecorator.java:135)error    09-Jun-2015 07:42:39        ... 32 moreerror    09-Jun-2015 07:42:39    Failed to prepare the build 'Catalog Project - Catalog Build - Default Job #6 (CP-CB-JOB1-6)'simple    09-Jun-2015 07:42:39    Running on server: post build plugin 'NCover Results Collector'simple    09-Jun-2015 07:42:39    Running on server: post build plugin 'Clover Delta Calculator'simple    09-Jun-2015 07:42:39    Running on server: post build plugin 'Maven Dependencies Postprocessor'simple    09-Jun-2015 07:42:39    Running on server: post build plugin 'Build Hanging Detection Configuration'simple    09-Jun-2015 07:42:39    All post build plugins have finishedsimple    09-Jun-2015 07:42:39    Generating build results summary...simple    09-Jun-2015 07:42:39    Saving build results to disk...simple    09-Jun-2015 07:42:39    Indexing build results...simple    09-Jun-2015 07:42:39    Finished building CP-CB-JOB1-6.simple    09-Jun-2015 07:55:25    Build Catalog Project - Catalog Build - Default Job #6 (CP-CB-JOB1-6) started building on agent Default Agentsimple    09-Jun-2015 07:55:25    Build working directory is C:\Users\Avnet\bamboo-home\xml-data\build-dir\CP-CB-JOB1simple    09-Jun-2015 07:55:25    Executing build Catalog Project - Catalog Build - Default Job #6 (CP-CB-JOB1-6)simple    09-Jun-2015 07:55:25    Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'simple    09-Jun-2015 07:55:25    Updating source code to revision: dc2975f328bb4f280333e88acea170b52c7ac78aerror    09-Jun-2015 07:55:25    Cannot fetch branch '(unresolved) master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. com.atlassian.bamboo.plugins.git.GitCommandException: command C:\cygwin64\bin\git.exe ls-remote ssh://9072c735-a4f9-49bb-a00e-d355ce792e8b@127.0.0.1:50808/pc/catalog-project.git failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:[Could not create directory '/home/SYSTEM/.ssh'., Host key verification failed., fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]simple    09-Jun-2015 07:55:25    Warning: failed to retrieve source code to cache directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6', trying to recover...simple    09-Jun-2015 07:55:25    Cleaned cache directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6', trying to fetch the code once again...simple    09-Jun-2015 07:55:25    Creating local git repository in 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6\.git'.simple    09-Jun-2015 07:55:25    Initialized empty Git repository in /cygdrive/c/Users/Avnet/bamboo-home/xml-data/build-dir/_git-repositories-cache/798db92428ac068388b10c3396d01c6bd7f8feb6/.git/error    09-Jun-2015 07:55:25    Cannot fetch branch '(unresolved) master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. com.atlassian.bamboo.plugins.git.GitCommandException: command C:\cygwin64\bin\git.exe ls-remote ssh://288177f4-7cb2-4476-ac78-b87c9b9fd100@127.0.0.1:50808/pc/catalog-project.git failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:[Could not create directory '/home/SYSTEM/.ssh'., Host key verification failed., fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]simple    09-Jun-2015 07:55:25    Updating source code to revision: dc2975f328bb4f280333e88acea170b52c7ac78aerror    09-Jun-2015 07:55:25    Cannot fetch branch '(unresolved) master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. com.atlassian.bamboo.plugins.git.GitCommandException: command C:\cygwin64\bin\git.exe ls-remote ssh://ba429b82-88c5-4d69-b731-69dc67402f6d@127.0.0.1:50808/pc/catalog-project.git failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:[Could not create directory '/home/SYSTEM/.ssh'., Host key verification failed., fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]simple    09-Jun-2015 07:55:25    Warning: failed to retrieve source code to cache directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6', trying to recover...simple    09-Jun-2015 07:55:25    Cleaned cache directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6', trying to fetch the code once again...simple    09-Jun-2015 07:55:25    Creating local git repository in 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6\.git'.simple    09-Jun-2015 07:55:25    Initialized empty Git repository in /cygdrive/c/Users/Avnet/bamboo-home/xml-data/build-dir/_git-repositories-cache/798db92428ac068388b10c3396d01c6bd7f8feb6/.git/error    09-Jun-2015 07:55:25    Cannot fetch branch '(unresolved) master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. com.atlassian.bamboo.plugins.git.GitCommandException: command C:\cygwin64\bin\git.exe ls-remote ssh://8d913247-31a4-4a97-8bbd-cbc6b4c80597@127.0.0.1:50808/pc/catalog-project.git failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:[Could not create directory '/home/SYSTEM/.ssh'., Host key verification failed., fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]simple    09-Jun-2015 07:55:26    Updating source code to revision: dc2975f328bb4f280333e88acea170b52c7ac78aerror    09-Jun-2015 07:55:26    Cannot fetch branch '(unresolved) master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. com.atlassian.bamboo.plugins.git.GitCommandException: command C:\cygwin64\bin\git.exe ls-remote ssh://1c83e2ca-61ce-4b6b-a048-2f1d69b7439c@127.0.0.1:50808/pc/catalog-project.git failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:[Could not create directory '/home/SYSTEM/.ssh'., Host key verification failed., fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]simple    09-Jun-2015 07:55:26    Warning: failed to retrieve source code to cache directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6', trying to recover...simple    09-Jun-2015 07:55:26    Cleaned cache directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6', trying to fetch the code once again...simple    09-Jun-2015 07:55:26    Creating local git repository in 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6\.git'.simple    09-Jun-2015 07:55:26    Initialized empty Git repository in /cygdrive/c/Users/Avnet/bamboo-home/xml-data/build-dir/_git-repositories-cache/798db92428ac068388b10c3396d01c6bd7f8feb6/.git/error    09-Jun-2015 07:55:26    Cannot fetch branch '(unresolved) master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. com.atlassian.bamboo.plugins.git.GitCommandException: command C:\cygwin64\bin\git.exe ls-remote ssh://59d619a7-df6d-4222-869e-a451ac6221e8@127.0.0.1:50808/pc/catalog-project.git failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:[Could not create directory '/home/SYSTEM/.ssh'., Host key verification failed., fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]error    09-Jun-2015 07:55:26    Error occurred while running Task 'Checkout Default Repository(1)' of type com.atlassian.bamboo.plugins.vcs:task.vcs.checkout.error    09-Jun-2015 07:55:26    java.lang.RuntimeException: com.atlassian.bamboo.plugins.stash.repository.StashRepositoryException: com.atlassian.bamboo.repository.RepositoryException: CP-CB-JOB1-6: Cannot fetch branch '(unresolved) master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. com.atlassian.bamboo.plugins.git.GitCommandException: command C:\cygwin64\bin\git.exe ls-remote ssh://59d619a7-df6d-4222-869e-a451ac6221e8@127.0.0.1:50808/pc/catalog-project.git failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:error    09-Jun-2015 07:55:26    [Could not create directory '/home/SYSTEM/.ssh'., Host key verification failed., fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]error    09-Jun-2015 07:55:26        at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:132)error    09-Jun-2015 07:55:26        at com.atlassian.bamboo.executor.RetryingTaskExecutor.runTask(RetryingTaskExecutor.java:88)error    09-Jun-2015 07:55:26        at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:191)error    09-Jun-2015 07:55:26        at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:176)error    09-Jun-2015 07:55:26        at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.execute(VcsCheckoutTask.java:172)error    09-Jun-2015 07:55:26        at com.atlassian.bamboo.task.TaskExecutorImpl$3.call(TaskExecutorImpl.java:281)error    09-Jun-2015 07:55:26        at com.atlassian.bamboo.task.TaskExecutorImpl$3.call(TaskExecutorImpl.java:278)error    09-Jun-2015 07:55:26        at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:198)error    09-Jun-2015 07:55:26        at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:278)error    09-Jun-2015 07:55:26        at com.atlassian.bamboo.task.TaskExecutorImpl.executePreparationTasks(TaskExecutorImpl.java:80)error    09-Jun-2015 07:55:26        at com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.call(PrepareBuildTask.java:74)error    09-Jun-2015 07:55:26        at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:188)error    09-Jun-2015 07:55:26        at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:112)error    09-Jun-2015 07:55:26        at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:110)error    09-Jun-2015 07:55:26        at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49)error    09-Jun-2015 07:55:26        at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31)error    09-Jun-2015 07:55:26        at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20)error    09-Jun-2015 07:55:26        at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52)error    09-Jun-2015 07:55:26        at java.lang.Thread.run(Unknown Source)error    09-Jun-2015 07:55:26    Caused by: com.atlassian.bamboo.plugins.stash.repository.StashRepositoryException: com.atlassian.bamboo.repository.RepositoryException: CP-CB-JOB1-6: Cannot fetch branch '(unresolved) master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. com.atlassian.bamboo.plugins.git.GitCommandException: command C:\cygwin64\bin\git.exe ls-remote ssh://59d619a7-df6d-4222-869e-a451ac6221e8@127.0.0.1:50808/pc/catalog-project.git failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:error    09-Jun-2015 07:55:26    [Could not create directory '/home/SYSTEM/.ssh'., Host key verification failed., fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]error    09-Jun-2015 07:55:26        at com.atlassian.bamboo.plugins.stash.StashRepository.retrieveSourceCode(StashRepository.java:557)error    09-Jun-2015 07:55:26        at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.fillWorkingDirFromVcs(VcsCheckoutTask.java:252)error    09-Jun-2015 07:55:26        at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.access$100(VcsCheckoutTask.java:56)error    09-Jun-2015 07:55:26        at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$2.call(VcsCheckoutTask.java:177)error    09-Jun-2015 07:55:26        at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$2.call(VcsCheckoutTask.java:173)error    09-Jun-2015 07:55:26        at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:108)error    09-Jun-2015 07:55:26        ... 18 moreerror    09-Jun-2015 07:55:26    Caused by: com.atlassian.bamboo.repository.RepositoryException: CP-CB-JOB1-6: Cannot fetch branch '(unresolved) master' from 'ssh://git@localhost:7999/pc/catalog-project.git' to source directory 'C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6'. com.atlassian.bamboo.plugins.git.GitCommandException: command C:\cygwin64\bin\git.exe ls-remote ssh://59d619a7-df6d-4222-869e-a451ac6221e8@127.0.0.1:50808/pc/catalog-project.git failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:error    09-Jun-2015 07:55:26    [Could not create directory '/home/SYSTEM/.ssh'., Host key verification failed., fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]error    09-Jun-2015 07:55:26        at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.fetch(NativeGitOperationHelper.java:425)error    09-Jun-2015 07:55:26        at com.atlassian.bamboo.plugins.git.GitRepository$3.call(GitRepository.java:408)error    09-Jun-2015 07:55:26        at com.atlassian.bamboo.plugins.git.GitRepository$3.call(GitRepository.java:395)error    09-Jun-2015 07:55:26        at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:312)error    09-Jun-2015 07:55:26        at com.atlassian.bamboo.plugins.git.GitRepository.retrieveSourceCode(GitRepository.java:394)error    09-Jun-2015 07:55:26        at com.atlassian.bamboo.plugins.stash.StashRepository.retrieveSourceCode(StashRepository.java:549)error    09-Jun-2015 07:55:26        ... 23 moreerror    09-Jun-2015 07:55:26    Caused by: com.google.common.util.concurrent.UncheckedExecutionException: com.atlassian.bamboo.plugins.git.GitCommandException: command C:\cygwin64\bin\git.exe ls-remote ssh://59d619a7-df6d-4222-869e-a451ac6221e8@127.0.0.1:50808/pc/catalog-project.git failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:error    09-Jun-2015 07:55:26    [Could not create directory '/home/SYSTEM/.ssh'., Host key verification failed., fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]error    09-Jun-2015 07:55:26        at com.atlassian.bamboo.collections.AlwaysInvalidatingCacheDecorator.getUnchecked(AlwaysInvalidatingCacheDecorator.java:139)error    09-Jun-2015 07:55:26        at com.atlassian.bamboo.util.CallableResultCache.call(CallableResultCache.java:143)error    09-Jun-2015 07:55:26        at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.getRemoteRefs(NativeGitOperationHelper.java:500)error    09-Jun-2015 07:55:26        at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.resolveBranch(NativeGitOperationHelper.java:435)error    09-Jun-2015 07:55:26        at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.fetch(NativeGitOperationHelper.java:399)error    09-Jun-2015 07:55:26        ... 28 moreerror    09-Jun-2015 07:55:26    Caused by: com.atlassian.bamboo.plugins.git.GitCommandException: command C:\cygwin64\bin\git.exe ls-remote ssh://59d619a7-df6d-4222-869e-a451ac6221e8@127.0.0.1:50808/pc/catalog-project.git failed with code 128. Working directory was [C:\Users\Avnet\bamboo-home\xml-data\build-dir\_git-repositories-cache\798db92428ac068388b10c3396d01c6bd7f8feb6]., stderr:error    09-Jun-2015 07:55:26    [Could not create directory '/home/SYSTEM/.ssh'., Host key verification failed., fatal: Could not read from remote repository., , Please make sure you have the correct access rights, and the repository exists.]error    09-Jun-2015 07:55:26        at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:550)error    09-Jun-2015 07:55:26        at com.atlassian.bamboo.plugins.git.GitCommandProcessor.getRemoteRefs(GitCommandProcessor.java:417)error    09-Jun-2015 07:55:26        at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper$1.call(NativeGitOperationHelper.java:488)error    09-Jun-2015 07:55:26        at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper$1.call(NativeGitOperationHelper.java:479)error    09-Jun-2015 07:55:26        at com.atlassian.bamboo.util.CallableResultCache$1.load(CallableResultCache.java:52)error    09-Jun-2015 07:55:26        at com.atlassian.bamboo.util.CallableResultCache$1.load(CallableResultCache.java:48)error    09-Jun-2015 07:55:26        at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3568)error    09-Jun-2015 07:55:26        at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2350)error    09-Jun-2015 07:55:26        at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2313)error    09-Jun-2015 07:55:26        at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2228)error    09-Jun-2015 07:55:26        at com.google.common.cache.LocalCache.get(LocalCache.java:3965)error    09-Jun-2015 07:55:26        at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3969)error    09-Jun-2015 07:55:26        at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4829)error    09-Jun-2015 07:55:26        at com.atlassian.bamboo.collections.AlwaysInvalidatingCacheDecorator.get(AlwaysInvalidatingCacheDecorator.java:81)error    09-Jun-2015 07:55:26        at com.atlassian.bamboo.collections.AlwaysInvalidatingCacheDecorator.getUnchecked(AlwaysInvalidatingCacheDecorator.java:135)error    09-Jun-2015 07:55:26        ... 32 moreerror    09-Jun-2015 07:55:26    Failed to prepare the build 'Catalog Project - Catalog Build - Default Job #6 (CP-CB-JOB1-6)'simple    09-Jun-2015 07:55:26    Running on server: post build plugin 'NCover Results Collector'simple    09-Jun-2015 07:55:26    Running on server: post build plugin 'Clover Delta Calculator'simple    09-Jun-2015 07:55:26    Running on server: post build plugin 'Maven Dependencies Postprocessor'simple    09-Jun-2015 07:55:26    Running on server: post build plugin 'Build Hanging Detection Configuration'simple    09-Jun-2015 07:55:26    All post build plugins have finishedsimple    09-Jun-2015 07:55:26    Generating build results summary...simple    09-Jun-2015 07:55:26    Saving build results to disk...simple    09-Jun-2015 07:55:26    Indexing build results...simple    09-Jun-2015 07:55:26    Finished building CP-CB-JOB1-6.
```


author: Robert Huet
body: Git Capability Details

- Shared Capabilities: Server capabilities

- Capability type: Git

- Executable: Git

- Path: c:\\cygwin64\\bin\\git.exe

SSH Capability Details

- Agent: Default Agent

- Capability type: Git

- Executable: SSH

- Path: c:\\cygwin64\\bin\\ssh.exe

I'm also uploading my build log.

Thanks,

Robert

comments: author: Conrad Mercer
body: Late to the party, but your issue is almost certainly because you're trying to use Git from Cygwin. You should be using Git For Windows instead. IIRC the guide said that Bamboo agents don't work with anything else.


author: Krystian Brazulewicz
body: Show us your git and ssh capabilities defined in Bamboo.


Tags: bamboo-administration