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

Issue 7461012: Update bisect-builds.py to support bisecting at better granularity (Closed)

Created:
9 years, 5 months ago by jbates
Modified:
9 years, 5 months ago
Reviewers:
Robert Sesek, Nico
CC:
chromium-reviews, pam+watch_chromium.org, Nirnimesh, Vangelis Kokkevis
Visibility:
Public.

Description

This change adds a --recent option to bisect-builds that tells it to use the build.chromium.org/f/chromium build listings which have much better granularity, but only 2-3 months of history. One minor bug was also fixed that caused bisect-builds to report a bigger revision range than necessary. BUG=82421 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=93257

Patch Set 1 #

Patch Set 2 : . #

Total comments: 14

Patch Set 3 : . #

Patch Set 4 : . #

Total comments: 2

Patch Set 5 : . #

Total comments: 2

Patch Set 6 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -20 lines) Patch
M tools/bisect-builds.py View 1 2 3 4 5 12 chunks +44 lines, -20 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
jbates
Please review.. a couple updates to our awesome bisect-builds tool to possibly make it a ...
9 years, 5 months ago (2011-07-20 00:47:17 UTC) #1
Robert Sesek
http://codereview.chromium.org/7461012/diff/2001/tools/bisect-builds.py File tools/bisect-builds.py (right): http://codereview.chromium.org/7461012/diff/2001/tools/bisect-builds.py#newcode47 tools/bisect-builds.py:47: def __init__(self, platform, good_revision, bad_revision, is_recent): |is_recent| sounds like ...
9 years, 5 months ago (2011-07-20 19:05:11 UTC) #2
jbates
Thanks for the feedback, fixed it up. http://codereview.chromium.org/7461012/diff/2001/tools/bisect-builds.py File tools/bisect-builds.py (right): http://codereview.chromium.org/7461012/diff/2001/tools/bisect-builds.py#newcode47 tools/bisect-builds.py:47: def __init__(self, ...
9 years, 5 months ago (2011-07-20 21:08:42 UTC) #3
Robert Sesek
http://codereview.chromium.org/7461012/diff/6001/tools/bisect-builds.py File tools/bisect-builds.py (right): http://codereview.chromium.org/7461012/diff/6001/tools/bisect-builds.py#newcode203 tools/bisect-builds.py:203: return re.findall(r"\"\d+/\">(\d+)/</a>", document) Maybe for some extra sanity, pattern-match ...
9 years, 5 months ago (2011-07-20 21:12:50 UTC) #4
jbates
http://codereview.chromium.org/7461012/diff/6001/tools/bisect-builds.py File tools/bisect-builds.py (right): http://codereview.chromium.org/7461012/diff/6001/tools/bisect-builds.py#newcode203 tools/bisect-builds.py:203: return re.findall(r"\"\d+/\">(\d+)/</a>", document) On 2011/07/20 21:12:51, rsesek wrote: > ...
9 years, 5 months ago (2011-07-20 21:25:12 UTC) #5
Robert Sesek
LGTM with nit http://codereview.chromium.org/7461012/diff/5002/tools/bisect-builds.py File tools/bisect-builds.py (right): http://codereview.chromium.org/7461012/diff/5002/tools/bisect-builds.py#newcode195 tools/bisect-builds.py:195: nit: two blank lines between top-level ...
9 years, 5 months ago (2011-07-20 21:29:17 UTC) #6
jbates
http://codereview.chromium.org/7461012/diff/5002/tools/bisect-builds.py File tools/bisect-builds.py (right): http://codereview.chromium.org/7461012/diff/5002/tools/bisect-builds.py#newcode195 tools/bisect-builds.py:195: On 2011/07/20 21:29:17, rsesek wrote: > nit: two blank ...
9 years, 5 months ago (2011-07-20 21:32:10 UTC) #7
Nico
post-commit drive-by (sorry!): Why didn't you let the tool transparently use the better-granularity repo for ...
9 years, 5 months ago (2011-07-20 21:50:46 UTC) #8
jbates
On 2011/07/20 21:50:46, Nico wrote: > post-commit drive-by (sorry!): Why didn't you let the tool ...
9 years, 5 months ago (2011-07-20 21:59:25 UTC) #9
Nico
9 years, 5 months ago (2011-07-20 22:03:08 UTC) #10
On Wed, Jul 20, 2011 at 2:59 PM,  <jbates@chromium.org> wrote:
> On 2011/07/20 21:50:46, Nico wrote:
>>
>> post-commit drive-by (sorry!): Why didn't you let the tool transparently
>> use
>
> the
>>
>> better-granularity repo for recent revisions? Then no flag would be
>> necessary.
>
>> (I'm mostly curious and don't want to complain about you improving this
>
> script!
>>
>> I'm happy with "that'd be awkward to code")
>
> I wanted to do it that way first actually. It just got slightly awkward as
> you
> guessed (also I'm a bit of a python novice). I'm open to a followup patch
> though. Here is what I was thinking:
>
> - bisect with the low granularity server.
> - if the resulting range is within the recent builds, continue bisecting the
> recent builds.
>
> How does that sound?

Sounds great, thanks!

>
> http://codereview.chromium.org/7461012/
>

Powered by Google App Engine
This is Rietveld 408576698