************************************************************
***** 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
What steps will reproduce the problem?
1. Set up replication to a remote that does not support ssh shell, for example gitlab.
2. Create a new project on the master
3. Observe the logs
What is the expected output? What do you see instead?
With [1] I can see that the replication plugin "successfully" creates the new repository on the remote. However the repository is not actually created. Then on the next replication it tries to create again, but doesn't find it, and tries again to create. This goes on indefinitely.
On the command line opening an ssh connection to the gitlab instance fails with an error message that the TTY connection was not possible, but the process exits with 0 status indicating no error. That's probably why the replication plugins assumes success.
Maybe it would be better to add a step afterwards to verify that it was created.
[1] https://gerrit-review.googlesource.com/#/c/53992/
Please provide any additional information below.