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

Issue 14440005: Rework how bots get the version of Blink. (Closed)

Created:
7 years, 8 months ago by Dirk Pranke
Modified:
7 years, 8 months ago
Reviewers:
iannucci, szager1
CC:
chromium-reviews, xusydoc+watch_chromium.org, cmp-cc_chromium.org, ilevy+cc_chromium.org, kjellander+cc_chromium.org
Visibility:
Public.

Description

Rework how bots get the version of Blink. The current buildbot code uses a number of hacks to try and get the correct version of Blink, and has a number of bugs. This patch completely reworks things. We will now set a 'blink_config' factory property to determine which version of blink to use, and pass that to the GClient object. If 'blink_config' is set to 'chromium' (or None, or anything other than 'blink'), we'll use the stock gclient spec and the version of Blink as set in the DEPS file. If 'blink_config' is set to 'blink', then we will use a custom version of Blink. If the patch contains a "trunk" branch, then we use the revision in the patch (as the change came from the Blink poller). Otherwise, we will set the custom "webkit_revision" gclient variable to "", which is equivalent to HEAD (meaning we'll get the tip-of-tree for Blink). This replaces the way we used "WK_REV" previously. The code previously also supported a means to specify a fixed version of Blink via the revision specified in the patch as uploaded through the svn poller to Rietveld (in trychange and git-wktry). This code path was also a hack and we're currently discouraging git-wktry altogether, so I'm removing this support for now (although I think trychange should still work properly). A lot of trouble was caused by us using "inheritance" in different ChromiumWebKit* helper functions in ChromiumFactory. We should've been using a parameter instead. This change removes all of the *ChromiumWebKit* methods and updates all of the bot configs accordingly to use the "blink_config" parameter as described above. The net result of all of this is that a bot will now be either a "Blink tip of tree" bot, or not, and that is independent of the patch being tried or applied. R=szager@chromium.org, iannucci@chromium.org BUG=233412 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=196054

Patch Set 1 #

Patch Set 2 : remove unrelated changes to the try_job scripts #

Patch Set 3 : test, switch to using blink_config parameter to GClient #

Total comments: 2

Patch Set 4 : only replace "webkit_trunk", not custom_vars":"webkit_trunk" #

Patch Set 5 : fix typo in devtools master.cfg #

Unified diffs Side-by-side diffs Delta from patch set Stats (+232 lines, -196 lines) Patch
M masters/master.chromium.webkit/master_android_contentshell_latest_cfg.py View 2 chunks +2 lines, -1 line 0 comments Download
M masters/master.chromium.webkit/master_android_latest_cfg.py View 2 chunks +4 lines, -2 lines 0 comments Download
M masters/master.chromium.webkit/master_android_webkit_latest_cfg.py View 2 chunks +4 lines, -2 lines 0 comments Download
M masters/master.chromium.webkit/master_chromiumos_latest_cfg.py View 2 chunks +3 lines, -2 lines 0 comments Download
M masters/master.chromium.webkit/master_linux_contentshell_latest_cfg.py View 2 chunks +2 lines, -1 line 0 comments Download
M masters/master.chromium.webkit/master_linux_gpu_latest_cfg.py View 4 chunks +4 lines, -2 lines 0 comments Download
M masters/master.chromium.webkit/master_linux_latest_cfg.py View 6 chunks +9 lines, -5 lines 0 comments Download
M masters/master.chromium.webkit/master_linux_webkit_latest_cfg.py View 6 chunks +7 lines, -4 lines 0 comments Download
M masters/master.chromium.webkit/master_mac_contentshell_latest_cfg.py View 2 chunks +2 lines, -1 line 0 comments Download
M masters/master.chromium.webkit/master_mac_gpu_latest_cfg.py View 4 chunks +4 lines, -2 lines 0 comments Download
M masters/master.chromium.webkit/master_mac_latest_cfg.py View 5 chunks +11 lines, -5 lines 0 comments Download
M masters/master.chromium.webkit/master_mac_webkit_latest_cfg.py View 10 chunks +12 lines, -6 lines 0 comments Download
M masters/master.chromium.webkit/master_win_contentshell_latest_cfg.py View 2 chunks +2 lines, -1 line 0 comments Download
M masters/master.chromium.webkit/master_win_gpu_latest_cfg.py View 4 chunks +16 lines, -10 lines 0 comments Download
M masters/master.chromium.webkit/master_win_latest_cfg.py View 7 chunks +29 lines, -19 lines 0 comments Download
M masters/master.chromium.webkit/master_win_webkit_latest_cfg.py View 5 chunks +12 lines, -6 lines 0 comments Download
M masters/master.devtools/master.cfg View 1 2 3 4 6 chunks +11 lines, -11 lines 0 comments Download
M masters/master.tryserver.chromium/master.cfg View 9 chunks +36 lines, -18 lines 0 comments Download
M scripts/master/chromium_step.py View 1 2 3 5 chunks +46 lines, -35 lines 0 comments Download
M scripts/master/factory/chromium_factory.py View 4 chunks +10 lines, -60 lines 0 comments Download
M scripts/master/factory/commands.py View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M scripts/master/factory/gclient_factory.py View 1 2 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
Dirk Pranke
7 years, 8 months ago (2013-04-24 01:03:29 UTC) #1
iannucci
https://chromiumcodereview.appspot.com/14440005/diff/4001/scripts/master/chromium_step.py File scripts/master/chromium_step.py (right): https://chromiumcodereview.appspot.com/14440005/diff/4001/scripts/master/chromium_step.py#newcode71 scripts/master/chromium_step.py:71: # should figure out how to generalize this to ...
7 years, 8 months ago (2013-04-24 02:36:46 UTC) #2
Dirk Pranke
On 2013/04/24 02:36:46, iannucci wrote: > https://chromiumcodereview.appspot.com/14440005/diff/4001/scripts/master/chromium_step.py > File scripts/master/chromium_step.py (right): > > https://chromiumcodereview.appspot.com/14440005/diff/4001/scripts/master/chromium_step.py#newcode71 > ...
7 years, 8 months ago (2013-04-24 02:55:37 UTC) #3
iannucci
On 2013/04/24 02:55:37, Dirk Pranke wrote: > On 2013/04/24 02:36:46, iannucci wrote: > > > ...
7 years, 8 months ago (2013-04-24 04:16:30 UTC) #4
Dirk Pranke
ok. please take another look?
7 years, 8 months ago (2013-04-24 04:55:56 UTC) #5
iannucci
lgtm
7 years, 8 months ago (2013-04-24 05:32:40 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dpranke@chromium.org/14440005/11001
7 years, 8 months ago (2013-04-24 06:21:27 UTC) #7
commit-bot: I haz the power
Presubmit check for 14440005-11001 failed and returned exit status 1. INFO:root:Found 22 file(s). INFO:PRESUBMIT:Running pylint ...
7 years, 8 months ago (2013-04-24 06:22:22 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dpranke@chromium.org/14440005/18001
7 years, 8 months ago (2013-04-24 06:25:44 UTC) #9
commit-bot: I haz the power
7 years, 8 months ago (2013-04-24 06:26:47 UTC) #10
Message was sent while issue was closed.
Change committed as 196054

Powered by Google App Engine
This is Rietveld 408576698