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

Issue 2112133002: Greatly simplify buildbot module and remove usage of master name. (Closed)

Created:
4 years, 5 months ago by qyearsley
Modified:
4 years, 5 months ago
CC:
blink-reviews, cbentzel+watch_chromium.org, chromium-reviews, dcampb, raikiri
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Greatly simplify buildbot module and remove usage of master name. It looks like most of the functionality in the buildbot module was unused, dead code. This also means that master name is not required for anything, since actual fetching of layout test results don't use master name (because the Google Storage directory layout doesn't include master name). Use of master name was added in http://crrev.com/2009603004 because at that time, getting a Build object required making a request to build.chromium.org which required a master name. But now this is not the case. Committed: https://crrev.com/b0c5ab03643d15a7388ff214226df35a5d125f55 Cr-Commit-Position: refs/heads/master@{#403614}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Rebased #

Messages

Total messages: 27 (10 generated)
qyearsley
4 years, 5 months ago (2016-06-30 23:29:46 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2112133002/1
4 years, 5 months ago (2016-06-30 23:30:09 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-07-01 00:48:06 UTC) #7
wkorman
lgtm https://codereview.chromium.org/2112133002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot.py File third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot.py (left): https://codereview.chromium.org/2112133002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot.py#oldcode241 third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot.py:241: builder['is_green'] = not re.search('fail', cell.renderContents()) or \ There's ...
4 years, 5 months ago (2016-07-01 19:00:20 UTC) #8
qyearsley
https://codereview.chromium.org/2112133002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot.py File third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot.py (left): https://codereview.chromium.org/2112133002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot.py#oldcode241 third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot.py:241: builder['is_green'] = not re.search('fail', cell.renderContents()) or \ On 2016/07/01 ...
4 years, 5 months ago (2016-07-01 19:08:06 UTC) #9
Dirk Pranke
lgtm, nice improvements!
4 years, 5 months ago (2016-07-01 22:50:21 UTC) #10
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/2112133002/1
4 years, 5 months ago (2016-07-02 16:41:14 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/30451) ios-device-gn on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years, 5 months ago (2016-07-02 16:42:40 UTC) #14
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/2112133002/20001
4 years, 5 months ago (2016-07-02 17:14:43 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-07-02 18:38:59 UTC) #18
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-02 18:39:02 UTC) #19
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/b0c5ab03643d15a7388ff214226df35a5d125f55 Cr-Commit-Position: refs/heads/master@{#403614}
4 years, 5 months ago (2016-07-02 18:40:32 UTC) #21
falken
I can no longer run-webkit-tests after this patch: $ third_party/WebKit/Tools/Scripts/run-webkit-tests --target=Default ... AttributeError: 'module' object ...
4 years, 5 months ago (2016-07-04 02:05:39 UTC) #23
falken
On 2016/07/04 02:05:39, falken wrote: > I can no longer run-webkit-tests after this patch: > ...
4 years, 5 months ago (2016-07-04 03:12:42 UTC) #24
lfg
On 2016/07/04 03:12:42, falken wrote: > On 2016/07/04 02:05:39, falken wrote: > > I can ...
4 years, 5 months ago (2016-07-05 15:19:59 UTC) #25
Dirk Pranke
On 2016/07/05 15:19:59, lfg wrote: > On 2016/07/04 03:12:42, falken wrote: > > On 2016/07/04 ...
4 years, 5 months ago (2016-07-05 16:32:36 UTC) #26
qyearsley
4 years, 5 months ago (2016-07-05 18:35:34 UTC) #27
Message was sent while issue was closed.
On 2016/07/05 at 16:32:36, dpranke wrote:
> On 2016/07/05 15:19:59, lfg wrote:
> > On 2016/07/04 03:12:42, falken wrote:
> > > On 2016/07/04 02:05:39, falken wrote:
> > > > I can no longer run-webkit-tests after this patch:
> > > > 
> > > > $ third_party/WebKit/Tools/Scripts/run-webkit-tests --target=Default
> > > > ...
> > > > AttributeError: 'module' object has no attribute 'chromium_buildbot_url'
> > > 
> > > It turns out removing *.pyc files fixes it.
> > 
> > I had the same issue. Also couldn't run 'git cl upload'. Is there any way we
> > could have automated this cleanup with the patch?
> 
> We have presubmit checks and hooks that clean up stale .pyc files in various
> places in the repo. We should check and make sure we have one for webkitpy
> as well (I thought we did, but I don't remember for sure).

Filed http://crbug.com/625877 for the task of making sure that stale .pyc files
are cleaned up for webkitpy.

Powered by Google App Engine
This is Rietveld 408576698