Issue 2447: Integration tests fail when user has a password protected ~/.ssh/id_rsa
Status:  New
Owner: ----
Reported by halcyon1...@gmail.com, Feb 1, 2014
************************************************************
***** NOTE: THIS BUG TRACKER IS FOR GERRIT CODE REVIEW *****
***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, INTERNAL *****
***** ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC.    *****
***** THOSE ISSUE BELONG IN DIFFERENT ISSUE TRACKERS!  *****
************************************************************

Affected Version:
2.8.1+ (probably prior versions as well)

What steps will reproduce the problem?
1. Place a password protected private key file in ~/.ssh/id_rsa
2. Run buck test --all

What is the expected output? What do you see instead?

The expected output is the IT tests passing, but instead the JGit clone operations produce the following failure messages:

FAILURE getRelatedReorder: ssh://admin@127.0.0.1:35142/p: USERAUTH fail
org.eclipse.jgit.api.errors.TransportException: ssh://admin@127.0.0.1:35142/p: USERAUTH fail
        at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:137)
        at org.eclipse.jgit.api.CloneCommand.fetch(CloneCommand.java:178)
        at org.eclipse.jgit.api.CloneCommand.call(CloneCommand.java:125)
        at com.google.gerrit.acceptance.git.GitUtil.cloneProject(GitUtil.java:112)

Please provide any additional information below.

Removing ~/.ssh/id_rsa solves the problem, but this is pretty annoying for developers.