On Wed, Jan 22, 2014 at 10:07 AM, Will DeBerry <willd...@gmail.com> wrote:
> This happens on random patch sets and doesn't seem to be narrowed down to
> how the end user is uploading to the gerrit instance. When you try to pick
> the patch set you get the following:
>
> [rainbow manifests]$ git fetch
> refs/changes/38/15438/1 && git cherry-pick FETCH_HEAD
> Corrupted MAC on input.
>
> I have checked the SSH and Error logs on gerrit and neither is producing
> anything helpful or anything at all at times. At this point I have
> reindexed, ran gc on the projects and restarted gerrit. I saw that this was
> resolved back in 2.1.x days by updating the version of jsch being used, but
> looks like the master branch is already using the latest revision out.
>
> Any other recommendations for this would be welcome.
This is a disagreement between the SSH client, and the MINA SSHD
software in the server. It has nothing to do with the version of JSch
used by Gerrit. Its possible/probable there is a bug in the MINA SSHD
server library that miscomputes a packet to the client, resulting in
the client seeing a MAC error and aborting the transfer.
:-(
Quickest workaround is to use HTTPS rather than SSH, but we may need
to look at updating MINA SSHD again. Perhaps there is an upstream bug
fixed. Or maybe the bug isn't fixed...
This happens on random patch sets and doesn't seem to be narrowed down to how the end user is uploading to the gerrit instance. When you try to pick the patch set you get the following:
[rainbow manifests]$ git fetch ssh://hillbillyhacker86@gerrit.aokp.co:29418/AOKP/platform_manifest refs/changes/38/15438/1 && git cherry-pick FETCH_HEADCorrupted MAC on input.