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

Issue 548233002: Add a module to fetch builds from different types of builders. (Closed)

Created:
6 years, 3 months ago by qyearsley
Modified:
6 years, 2 months ago
CC:
ojan, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add a module to fetch builds from different types of builders. This module and its contents will replace the following functions and methods in bisect-perf-regression.py: Most of DownloadCurrentBuild GetBuildArchiveForRevision GetRemoteBuildPath GetGSRootFolderName GetZipFileName FetchFromCloudStorage ExtractZip MaybeMakeDirectory In this module, we want to be able to support downloading from different places with possibly different naming conventions in a clean way. As-is, this module works for downloading and extracting full builds that are archived by the builders on the main waterfall. Example invocation: $ python fetch_build.py full 9f11d3bc7c31cc4c10efa15e4bfddf12705908ed outdir BUG=402669 Committed: https://crrev.com/0d9779113ad21ce858abdaaefe240bab950e435a Cr-Commit-Position: refs/heads/master@{#297669}

Patch Set 1 #

Total comments: 12

Patch Set 2 : Respond to comments. #

Total comments: 24

Patch Set 3 : Updated comments #

Total comments: 22

Patch Set 4 : Respond to comments (including: use dicts to select bucket/dirname) #

Patch Set 5 : #

Patch Set 6 : Remove mock_wrapper (mock should be in sys.path when run by builder) #

Patch Set 7 : mock should also be PYTHONPATH on builder; import mock directly and add it to PYTHONPATH for run_te… #

Patch Set 8 : Rebased #

Total comments: 4

Patch Set 9 : Remove print in run_tests and move changes to sys.path into main. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+559 lines, -48 lines) Patch
M tools/auto_bisect/PRESUBMIT.py View 1 2 3 4 5 6 7 2 chunks +6 lines, -1 line 0 comments Download
M tools/auto_bisect/bisect_utils.py View 1 2 3 4 5 6 7 3 chunks +8 lines, -45 lines 0 comments Download
A tools/auto_bisect/fetch_build.py View 1 2 3 4 5 6 1 chunk +357 lines, -0 lines 0 comments Download
A tools/auto_bisect/fetch_build_test.py View 1 2 3 4 5 6 1 chunk +182 lines, -0 lines 0 comments Download
M tools/auto_bisect/run_tests View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -2 lines 0 comments Download

Messages

Total messages: 26 (4 generated)
qyearsley
Tony and Prasad PTAL and give advice :-) Ojan, could you also take a look ...
6 years, 3 months ago (2014-09-08 05:53:21 UTC) #2
qyearsley
On 2014/09/08 05:53:21, qyearsley wrote: > Tony and Prasad PTAL and give advice :-) > ...
6 years, 3 months ago (2014-09-11 16:31:57 UTC) #4
prasadv
https://codereview.chromium.org/548233002/diff/1/tools/auto_bisect/fetch_build.py File tools/auto_bisect/fetch_build.py (right): https://codereview.chromium.org/548233002/diff/1/tools/auto_bisect/fetch_build.py#newcode39 tools/auto_bisect/fetch_build.py:39: revision: Revision string, e.g. a git commit hash. Before ...
6 years, 3 months ago (2014-09-11 17:04:11 UTC) #5
qyearsley
https://codereview.chromium.org/548233002/diff/1/tools/auto_bisect/fetch_build.py File tools/auto_bisect/fetch_build.py (right): https://codereview.chromium.org/548233002/diff/1/tools/auto_bisect/fetch_build.py#newcode39 tools/auto_bisect/fetch_build.py:39: revision: Revision string, e.g. a git commit hash. On ...
6 years, 3 months ago (2014-09-11 23:05:44 UTC) #6
ojan
+some infra folks who may be able to suggest a more general way to map ...
6 years, 3 months ago (2014-09-12 00:36:28 UTC) #8
qyearsley
Thanks for the review :-) I think I probably have an tendency to over-comment, because ...
6 years, 3 months ago (2014-09-12 03:21:14 UTC) #9
qyearsley
Hi, does anyone else have any comments about this CL? This CL doesn't yet affect ...
6 years, 3 months ago (2014-09-16 17:38:39 UTC) #10
ghost stip (do not use)
generally lg with a few comments. I'd remove the wrappers and ignore pylint for now ...
6 years, 3 months ago (2014-09-17 00:12:08 UTC) #11
qyearsley
Thanks for the review stip! Made some changes to fetch_build.py, and I plan to try ...
6 years, 3 months ago (2014-09-18 22:58:59 UTC) #12
ghost stip (do not use)
https://chromiumcodereview.appspot.com/548233002/diff/40001/tools/auto_bisect/mock_wrapper.py File tools/auto_bisect/mock_wrapper.py (right): https://chromiumcodereview.appspot.com/548233002/diff/40001/tools/auto_bisect/mock_wrapper.py#newcode1 tools/auto_bisect/mock_wrapper.py:1: # Copyright 2014 The Chromium Authors. All rights reserved. ...
6 years, 3 months ago (2014-09-18 23:05:53 UTC) #13
agable
On 2014/09/18 23:05:53, stip wrote: > https://chromiumcodereview.appspot.com/548233002/diff/40001/tools/auto_bisect/mock_wrapper.py > File tools/auto_bisect/mock_wrapper.py (right): > > https://chromiumcodereview.appspot.com/548233002/diff/40001/tools/auto_bisect/mock_wrapper.py#newcode1 > ...
6 years, 3 months ago (2014-09-23 12:40:44 UTC) #14
qyearsley
https://chromiumcodereview.appspot.com/548233002/diff/40001/tools/auto_bisect/mock_wrapper.py File tools/auto_bisect/mock_wrapper.py (right): https://chromiumcodereview.appspot.com/548233002/diff/40001/tools/auto_bisect/mock_wrapper.py#newcode1 tools/auto_bisect/mock_wrapper.py:1: # Copyright 2014 The Chromium Authors. All rights reserved. ...
6 years, 2 months ago (2014-09-24 03:34:32 UTC) #15
qyearsley
On 2014/09/23 12:40:44, agable wrote: > > http://xkcd.com/927/ > > have you talked with hinoka@ ...
6 years, 2 months ago (2014-09-24 03:35:48 UTC) #16
agable
On 2014/09/24 03:35:48, qyearsley wrote: > On 2014/09/23 12:40:44, agable wrote: > > > > ...
6 years, 2 months ago (2014-09-24 09:06:40 UTC) #17
qyearsley
On 2014/09/18 23:05:53, stip wrote: > https://chromiumcodereview.appspot.com/548233002/diff/40001/tools/auto_bisect/mock_wrapper.py > File tools/auto_bisect/mock_wrapper.py (right): > > https://chromiumcodereview.appspot.com/548233002/diff/40001/tools/auto_bisect/mock_wrapper.py#newcode1 > ...
6 years, 2 months ago (2014-09-25 23:02:52 UTC) #18
agable
On 2014/09/25 23:02:52, qyearsley wrote: > On 2014/09/18 23:05:53, stip wrote: > > > https://chromiumcodereview.appspot.com/548233002/diff/40001/tools/auto_bisect/mock_wrapper.py ...
6 years, 2 months ago (2014-09-26 10:24:54 UTC) #19
qyearsley
On 2014/09/26 10:24:54, agable wrote: > Or you can wrap the tests and pylint in ...
6 years, 2 months ago (2014-09-26 16:26:08 UTC) #20
ojan
lgtm IMO, nearly all of the one-line docstring comments in this patch are redundant with ...
6 years, 2 months ago (2014-09-29 23:53:43 UTC) #21
qyearsley
https://codereview.chromium.org/548233002/diff/140001/tools/auto_bisect/fetch_build.py File tools/auto_bisect/fetch_build.py (right): https://codereview.chromium.org/548233002/diff/140001/tools/auto_bisect/fetch_build.py#newcode266 tools/auto_bisect/fetch_build.py:266: sevenzip_path = r'C:\Program Files\7-Zip\7z.exe' On 2014/09/29 23:53:42, ojan-only-code-yellow-reviews wrote: ...
6 years, 2 months ago (2014-09-30 00:19:11 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/548233002/160001
6 years, 2 months ago (2014-10-01 16:44:14 UTC) #24
commit-bot: I haz the power
Committed patchset #9 (id:160001) as 7927fb78eb719ae17cbd41b15bd2b3bf4750ec3b
6 years, 2 months ago (2014-10-01 17:29:11 UTC) #25
commit-bot: I haz the power
6 years, 2 months ago (2014-10-01 17:29:43 UTC) #26
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/0d9779113ad21ce858abdaaefe240bab950e435a
Cr-Commit-Position: refs/heads/master@{#297669}

Powered by Google App Engine
This is Rietveld 408576698