Last modified: 2013-12-17 14:32:30 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T59483, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57483 - gerrit git remote update yields 'hash mismatch' errors
gerrit git remote update yields 'hash mismatch' errors
Status: RESOLVED DUPLICATE of bug 53895
Product: Wikimedia
Classification: Unclassified
Git/Gerrit (Other open bugs)
unspecified
All All
: Unprioritized major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-23 16:52 UTC by Bartosz Dziewoński
Modified: 2013-12-17 14:32 UTC (History)
8 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
git exit status != 0 error in zuul.log (11.73 KB, text/plain)
2013-11-26 13:10 UTC, Antoine "hashar" Musso (WMF)
Details

Description Bartosz Dziewoński 2013-11-23 16:52:44 UTC
jenkins will sometimes claim that "This change was unable to be automatically merged with the current state of the repository." and vote V-1 when the change is mergeable. I've seen this happen a few times in the recent weeks, most recently on PS14 of https://gerrit.wikimedia.org/r/#/c/96810/ just now.

The change shows "Can Merge: Yes", forcing a recheck or rebasing via gerrit results in V+1/2.
Comment 1 Antoine "hashar" Musso (WMF) 2013-11-26 13:09:36 UTC
Looking at Zuul logs on gallium in /var/log/zuul/ the rebase failed when doing git remote update origin:


 GitCommandError: 'git remote update origin' returned exit status 1: hash mismatch^M
 key_verify failed for server_host_key^M
 fatal: The remote end hung up unexpectedly
 error: Could not fetch origin

That happens from time to time, wondering whether that is an issue with Gerrit.
Comment 2 Antoine "hashar" Musso (WMF) 2013-11-26 13:10:43 UTC
Created attachment 13910 [details]
git exit status != 0 error in zuul.log

Attached is:

 grep 'returned exit status' /var/log/zuul/zuul.log*

The earliest log file is zuul.log.2013-10-27
Comment 3 Antoine "hashar" Musso (WMF) 2013-11-26 13:12:43 UTC
Redirecting bug to git/gerrit. Git commands over ssh seems to yield hash mismatch from time to time, suspecting it comes from Gerrit.

See attachment for a summary of the errors for the last 30 days or so.


Note the issue happens on random repositories.
Comment 4 Bartosz Dziewoński 2013-12-16 12:22:21 UTC
This has just happened to me locally, too, and worked when I retried. Maybe jenkins should just retry as well, as this is getting more and more annoying?

F:\mediawiki\core\maintenance>git review -d 100378
Downloading refs/changes/78/100378/1 from gerrit
Cannot fetch patchset contents

Does specified change number belong to this project?

The following command failed with exit code 128
    "git fetch gerrit refs/changes/78/100378/1"
-----------------------
hash mismatch
key_verify failed for server_host_key
fatal: The remote end hung up unexpectedly
-----------------------
Comment 5 Antoine "hashar" Musso (WMF) 2013-12-17 14:32:30 UTC
Marking as duplicate of an older bug report.

*** This bug has been marked as a duplicate of bug 53895 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links