Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(467)

Issue 2328313002: Skip apply_gerrit rebase when there is a rebase failure (Closed)

Created:
4 years, 3 months ago by rmistry
Modified:
4 years, 3 months ago
CC:
chromium-reviews, dpranke+depot_tools_chromium.org, iannucci+depot_tools_chromium.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Skip apply_gerrit rebase when there is a rebase failure. Not doing so causes a failure in the 'git checkout $base_rev' step as visible here: https://build.chromium.org/p/client.skia.fyi/builders/Infra-PerCommit-Trybot/builds/4995 This causes the checkout to remain in the "rebase in progress" state. BUG=chromium:645955 BUG=skia:5749 Committed: https://chromium.googlesource.com/chromium/tools/depot_tools/+/9736fe8938e67337bb45dccf79ae8699b9625fa6 Committed: https://chromium.googlesource.com/chromium/tools/depot_tools/+/ea9e93f28c8d432445acc8208a6b885ffc5a803c

Patch Set 1 : Initial upload #

Total comments: 2

Patch Set 2 : Use abort #

Patch Set 3 : Put in except not finally block #

Total comments: 3

Patch Set 4 : Reraise #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -1 line) Patch
M recipe_modules/bot_update/resources/bot_update.py View 1 2 3 1 chunk +6 lines, -1 line 0 comments Download

Messages

Total messages: 44 (23 generated)
rmistry
4 years, 3 months ago (2016-09-12 14:31:06 UTC) #9
rmistry
4 years, 3 months ago (2016-09-12 14:31:21 UTC) #11
Bons
This looks good to me but I’d like to have Aaron take a look since ...
4 years, 3 months ago (2016-09-12 15:47:52 UTC) #13
agable
https://codereview.chromium.org/2328313002/diff/1/recipe_modules/bot_update/resources/bot_update.py File recipe_modules/bot_update/resources/bot_update.py (right): https://codereview.chromium.org/2328313002/diff/1/recipe_modules/bot_update/resources/bot_update.py#newcode611 recipe_modules/bot_update/resources/bot_update.py:611: git('rebase', '--skip', cwd=root) I would use --abort instead of ...
4 years, 3 months ago (2016-09-12 16:25:11 UTC) #14
rmistry
https://codereview.chromium.org/2328313002/diff/1/recipe_modules/bot_update/resources/bot_update.py File recipe_modules/bot_update/resources/bot_update.py (right): https://codereview.chromium.org/2328313002/diff/1/recipe_modules/bot_update/resources/bot_update.py#newcode611 recipe_modules/bot_update/resources/bot_update.py:611: git('rebase', '--skip', cwd=root) On 2016/09/12 16:25:11, agable wrote: > ...
4 years, 3 months ago (2016-09-12 17:55:28 UTC) #15
agable
lgtm
4 years, 3 months ago (2016-09-12 17:57:29 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2328313002/20001
4 years, 3 months ago (2016-09-12 18:03:59 UTC) #18
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/tools/depot_tools/+/9736fe8938e67337bb45dccf79ae8699b9625fa6
4 years, 3 months ago (2016-09-12 18:07:17 UTC) #20
rmistry
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/2331103002/ by rmistry@google.com. ...
4 years, 3 months ago (2016-09-12 18:45:28 UTC) #21
agable
On 2016/09/12 at 18:45:28, rmistry wrote: > A revert of this CL (patchset #2 id:20001) ...
4 years, 3 months ago (2016-09-12 18:56:29 UTC) #22
rmistry
On 2016/09/12 18:56:29, agable wrote: > On 2016/09/12 at 18:45:28, rmistry wrote: > > A ...
4 years, 3 months ago (2016-09-12 19:06:10 UTC) #24
agable
https://codereview.chromium.org/2328313002/diff/40001/recipe_modules/bot_update/resources/bot_update.py File recipe_modules/bot_update/resources/bot_update.py (right): https://codereview.chromium.org/2328313002/diff/40001/recipe_modules/bot_update/resources/bot_update.py#newcode609 recipe_modules/bot_update/resources/bot_update.py:609: except SubprocessFailed: No, because this will catch the exception ...
4 years, 3 months ago (2016-09-12 21:00:16 UTC) #29
agable
(P.S., we generally prefer to reland by opening a new CL. That way the commit ...
4 years, 3 months ago (2016-09-12 21:01:09 UTC) #30
rmistry
https://codereview.chromium.org/2328313002/diff/40001/recipe_modules/bot_update/resources/bot_update.py File recipe_modules/bot_update/resources/bot_update.py (right): https://codereview.chromium.org/2328313002/diff/40001/recipe_modules/bot_update/resources/bot_update.py#newcode609 recipe_modules/bot_update/resources/bot_update.py:609: except SubprocessFailed: On 2016/09/12 21:00:16, agable wrote: > No, ...
4 years, 3 months ago (2016-09-12 21:06:31 UTC) #31
rmistry
On 2016/09/12 21:01:09, agable wrote: > (P.S., we generally prefer to reland by opening a ...
4 years, 3 months ago (2016-09-12 21:08:58 UTC) #32
rmistry
https://codereview.chromium.org/2328313002/diff/40001/recipe_modules/bot_update/resources/bot_update.py File recipe_modules/bot_update/resources/bot_update.py (right): https://codereview.chromium.org/2328313002/diff/40001/recipe_modules/bot_update/resources/bot_update.py#newcode609 recipe_modules/bot_update/resources/bot_update.py:609: except SubprocessFailed: On 2016/09/12 21:06:31, rmistry wrote: > On ...
4 years, 3 months ago (2016-09-12 21:12:39 UTC) #33
agable
lgtm
4 years, 3 months ago (2016-09-12 21:38:34 UTC) #38
rmistry
On 2016/09/12 21:38:34, agable wrote: > lgtm Thanks for the review. I'll submit this early ...
4 years, 3 months ago (2016-09-12 21:43:44 UTC) #39
tandrii(chromium)
perfect, thanks. LGTM
4 years, 3 months ago (2016-09-12 21:45:43 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2328313002/60001
4 years, 3 months ago (2016-09-13 11:24:34 UTC) #42
commit-bot: I haz the power
4 years, 3 months ago (2016-09-13 11:27:31 UTC) #44
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/tools/depot_tools/+/ea9e93f28c8d43...

Powered by Google App Engine
This is Rietveld 408576698