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

Issue 1329703003: V8 Buildbot: Auto-tag recipe. (Closed)

Created:
5 years, 3 months ago by Michael Achenbach
Modified:
5 years, 3 months ago
CC:
chromium-reviews, infra-reviews+build_chromium.org, kjellander-cc_chromium.org, stip+watch_chromium.org, luqui, iannucci
Target Ref:
refs/heads/master
Project:
build
Visibility:
Public.

Description

V8 Buildbot: Auto-tag recipe. Automatically advances an lkgr ref for release branches. Initially it always advances to HEAD. BUG=v8:4408 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=296542

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 1

Patch Set 5 : Tag on head + test #

Patch Set 6 : Missing file #

Total comments: 3

Patch Set 7 : Work only with remote #

Patch Set 8 : Create on missing #

Total comments: 2

Patch Set 9 : Review #

Total comments: 2

Patch Set 10 : Review #

Patch Set 11 : Whitespace #

Patch Set 12 : Prints #

Patch Set 13 : Moar #

Patch Set 14 : Moar #

Patch Set 15 : Well, now it's kinda obvious... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+205 lines, -97 lines) Patch
A scripts/slave/recipes/v8/auto_tag.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +113 lines, -0 lines 0 comments Download
A + scripts/slave/recipes/v8/auto_tag.expected/missing.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +31 lines, -32 lines 0 comments Download
A + scripts/slave/recipes/v8/auto_tag.expected/missing_branch.json View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
A + scripts/slave/recipes/v8/auto_tag.expected/same_lkgr.json View 1 2 3 4 5 6 3 chunks +29 lines, -32 lines 0 comments Download
A + scripts/slave/recipes/v8/auto_tag.expected/update.json View 1 2 3 4 5 6 3 chunks +31 lines, -32 lines 0 comments Download

Messages

Total messages: 46 (17 generated)
Michael Achenbach
PTAL - initial version without sanity checks
5 years, 3 months ago (2015-09-02 12:57:25 UTC) #2
Michael Hablich
Looks straigh-forward https://codereview.chromium.org/1329703003/diff/60001/scripts/slave/recipes/v8/auto_tag.py File scripts/slave/recipes/v8/auto_tag.py (right): https://codereview.chromium.org/1329703003/diff/60001/scripts/slave/recipes/v8/auto_tag.py#newcode69 scripts/slave/recipes/v8/auto_tag.py:69: local_lkgr_ref = 'refs/remotes/branch-heads/%s-lkgr' % branch I agree ...
5 years, 3 months ago (2015-09-02 13:43:57 UTC) #3
Michael Achenbach
PTAL - now with heads
5 years, 3 months ago (2015-09-02 14:04:49 UTC) #4
Michael Achenbach
+ committer
5 years, 3 months ago (2015-09-02 14:05:55 UTC) #6
tandrii(chromium)
the tag part is bit confusing, IMO, because tags aren't pushed into typical tags space, ...
5 years, 3 months ago (2015-09-02 14:50:52 UTC) #8
Michael Achenbach
Yea - this is not yet about tags. Later the script will also set tags ...
5 years, 3 months ago (2015-09-03 08:52:54 UTC) #9
Michael Achenbach
PTAL at patch 8. I radically changed a few things. Now, reading and pushing the ...
5 years, 3 months ago (2015-09-03 09:30:57 UTC) #10
Michael Hablich
https://codereview.chromium.org/1329703003/diff/140001/scripts/slave/recipes/v8/auto_tag.py File scripts/slave/recipes/v8/auto_tag.py (right): https://codereview.chromium.org/1329703003/diff/140001/scripts/slave/recipes/v8/auto_tag.py#newcode64 scripts/slave/recipes/v8/auto_tag.py:64: new_lkgr = GetRef(api, repo, branch_ref) GetRef is misleading. How ...
5 years, 3 months ago (2015-09-03 10:46:52 UTC) #11
Michael Achenbach
https://codereview.chromium.org/1329703003/diff/140001/scripts/slave/recipes/v8/auto_tag.py File scripts/slave/recipes/v8/auto_tag.py (right): https://codereview.chromium.org/1329703003/diff/140001/scripts/slave/recipes/v8/auto_tag.py#newcode64 scripts/slave/recipes/v8/auto_tag.py:64: new_lkgr = GetRef(api, repo, branch_ref) On 2015/09/03 10:46:52, Hablich ...
5 years, 3 months ago (2015-09-03 11:16:08 UTC) #12
Michael Hablich
On 2015/09/03 11:16:08, Michael Achenbach wrote: > https://codereview.chromium.org/1329703003/diff/140001/scripts/slave/recipes/v8/auto_tag.py > File scripts/slave/recipes/v8/auto_tag.py (right): > > https://codereview.chromium.org/1329703003/diff/140001/scripts/slave/recipes/v8/auto_tag.py#newcode64 ...
5 years, 3 months ago (2015-09-03 11:20:01 UTC) #13
tandrii(chromium)
lgtm % nit https://codereview.chromium.org/1329703003/diff/100001/scripts/slave/recipes/v8/auto_tag.py File scripts/slave/recipes/v8/auto_tag.py (right): https://codereview.chromium.org/1329703003/diff/100001/scripts/slave/recipes/v8/auto_tag.py#newcode47 scripts/slave/recipes/v8/auto_tag.py:47: 'push', repo, '%s:%s' % (local_ref, remote_ref), ...
5 years, 3 months ago (2015-09-03 11:37:31 UTC) #14
Michael Achenbach
https://codereview.chromium.org/1329703003/diff/160001/scripts/slave/recipes/v8/auto_tag.py File scripts/slave/recipes/v8/auto_tag.py (right): https://codereview.chromium.org/1329703003/diff/160001/scripts/slave/recipes/v8/auto_tag.py#newcode66 scripts/slave/recipes/v8/auto_tag.py:66: # If the lkgr_ref doesn't exists, it's an empty ...
5 years, 3 months ago (2015-09-03 12:08:25 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1329703003/170001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1329703003/170001
5 years, 3 months ago (2015-09-03 12:08:39 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: build_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/build_presubmit/builds/1484)
5 years, 3 months ago (2015-09-03 12:13:29 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1329703003/190001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1329703003/190001
5 years, 3 months ago (2015-09-03 12:18:17 UTC) #23
tandrii(chromium)
hm, what does "Exception: Can't start step Uncaught Exception while in step git ls-remote 3.4-lkgr." ...
5 years, 3 months ago (2015-09-03 12:19:15 UTC) #24
Michael Achenbach
On 2015/09/03 12:19:15, tandrii(chromium) wrote: > hm, what does "Exception: Can't start step Uncaught Exception ...
5 years, 3 months ago (2015-09-03 12:19:56 UTC) #25
Michael Achenbach
On 2015/09/03 12:19:56, Michael Achenbach wrote: > On 2015/09/03 12:19:15, tandrii(chromium) wrote: > > hm, ...
5 years, 3 months ago (2015-09-03 12:20:48 UTC) #26
Michael Achenbach
On 2015/09/03 12:20:48, Michael Achenbach wrote: > On 2015/09/03 12:19:56, Michael Achenbach wrote: > > ...
5 years, 3 months ago (2015-09-03 12:21:24 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: build_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/build_presubmit/builds/1486)
5 years, 3 months ago (2015-09-03 12:23:19 UTC) #29
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1329703003/210001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1329703003/210001
5 years, 3 months ago (2015-09-03 14:05:03 UTC) #31
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: build_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/build_presubmit/builds/1490)
5 years, 3 months ago (2015-09-03 14:09:43 UTC) #33
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1329703003/230001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1329703003/230001
5 years, 3 months ago (2015-09-03 14:14:03 UTC) #35
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: build_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/build_presubmit/builds/1492)
5 years, 3 months ago (2015-09-03 14:18:45 UTC) #37
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1329703003/250001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1329703003/250001
5 years, 3 months ago (2015-09-03 14:21:33 UTC) #39
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: build_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/build_presubmit/builds/1494)
5 years, 3 months ago (2015-09-03 14:26:25 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1329703003/270001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1329703003/270001
5 years, 3 months ago (2015-09-03 14:28:14 UTC) #44
commit-bot: I haz the power
Committed patchset #15 (id:270001) as http://src.chromium.org/viewvc/chrome?view=rev&revision=296542
5 years, 3 months ago (2015-09-03 14:30:58 UTC) #45
Michael Achenbach
5 years, 3 months ago (2015-09-05 09:10:07 UTC) #46
Message was sent while issue was closed.
FYI recipe folks. There was a bug in this CL and the recipe engine didn't do a
great job in helping finding it.

In patch 10, recipe simulation failed on the bot. Surprisingly, I couldn't repro
the same error locally. There all tests passed (can't explain why).

The error message from the bot and the stack trace could have been more helpful:
 Exception: Can't start step Uncaught Exception while in step git ls-remote
3.4-lkgr.

I added some prints in the engine until my error got really obvious. Both my
error and the fix in patch 15 were trivial.

Would be nice if the original exception could be printed by the engine in all
cases.

Powered by Google App Engine
This is Rietveld 408576698