Last modified: 2014-03-01 17:10:48 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 T61213, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 59213 - Implement retry in make-wmf-branch
Implement retry in make-wmf-branch
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Deployment systems (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-02 15:51 UTC by Sam Reed (reedy)
Modified: 2014-03-01 17:10 UTC (History)
4 users (show)

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


Attachments

Description Sam Reed (reedy) 2014-01-02 15:51:02 UTC
When touching a lot of repos it's likely you'll get an error or 2.

When you're cloning 163 to make branches, chances are you'll hit an error. And you'll have to start again

e.g.

'git' 'clone' '-q' 'ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Echo.git' 'Echo'
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
git exit with status 128



It would be useful if in the cases of certain errors (128 for example!) that we pause for a few seconds, then try again. In 99.9% of cases, this second attempt should work fine...
Comment 1 Gerrit Notification Bot 2014-01-02 15:59:17 UTC
Change 104970 had a related patch set uploaded by Reedy:
WIP Retry commands if failed

https://gerrit.wikimedia.org/r/104970
Comment 2 Sam Reed (reedy) 2014-01-02 16:07:53 UTC
Perfect example:

'git' 'clone' '-q' 'ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ZeroRatedMobileAccess.git' 'ZeroRatedMobileAccess'
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
sleeping for 5
'git' 'clone' '-q' 'ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ZeroRatedMobileAccess.git' 'ZeroRatedMobileAccess'
Total 2551 (delta 1554), reused 2459 (delta 1546)
cd ZeroRatedMobileAccess
'git' 'branch' 'wmf/1.23wmf9'
'git' 'commit' '-a' '-q' '-m' 'Creating new wmf/1.23wmf9 branch'
'git' 'push' 'origin' 'wmf/1.23wmf9'
hash mismatch
key_verify failed for server_host_key
fatal: The remote end hung up unexpectedly
sleeping for 5
'git' 'push' 'origin' 'wmf/1.23wmf9'
Total 0 (delta 0), reused 0 (delta 0)
remote: Processing changes: closed: 516, refs: 1, done
To ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ZeroRatedMobileAccess.git
 * [new branch]      wmf/1.23wmf9 -> wmf/1.23wmf9
Comment 3 Gerrit Notification Bot 2014-01-09 16:15:19 UTC
Change 104970 merged by jenkins-bot:
Retry commands if failed

https://gerrit.wikimedia.org/r/104970
Comment 4 Andre Klapper 2014-02-28 16:26:20 UTC
Assuming this bug is FIXED.  If that is not the case: Please reopen and elaborate what is left to do here to get this report fixed.

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


Navigation
Links