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

Issue 2282563004: Do not exclude the last revision in the range returned by gitiles. (Closed)

Created:
4 years, 3 months ago by robertocn1
Modified:
4 years, 3 months ago
Reviewers:
sullivan, RobertoCN, dtu, prasadv
CC:
chromium-reviews, infra-reviews+build_chromium.org, kjellander-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/tools/build.git@master
Target Ref:
refs/heads/master
Project:
build
Visibility:
Public.

Description

Do not exclude the last revision in the range returned by gitiles. Originally we excluded the last revision in the range, because that operation included the revision given as the end. When expanding the revision range the 'bad' revision is the end revision, and we don't want to instantiate it again, since we already do that when starting the bisect jobs. When reusing this code for expanding rolls, we ended up also discarding the end revision, which makes for one-revision rolls to break and also excludes the last revision in the roll. BUG=641133 R=prasadv,dtu,sullivan Committed: https://chromium.googlesource.com/chromium/tools/build/+/59a238ef7b257e8a6bbe1583774cc2d84b4ced72

Patch Set 1 #

Total comments: 6

Patch Set 2 : Adding docco. #

Total comments: 4

Patch Set 3 : typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -59 lines) Patch
M scripts/slave/recipe_modules/auto_bisect/bisector.py View 1 2 2 chunks +16 lines, -4 lines 0 comments Download
M scripts/slave/recipe_modules/auto_bisect/example.py View 1 chunk +1 line, -1 line 0 comments Download
M scripts/slave/recipe_modules/auto_bisect/example.expected/android_arm64_bisector.json View 1 chunk +4 lines, -0 lines 0 comments Download
M scripts/slave/recipe_modules/auto_bisect/example.expected/android_bisector.json View 1 chunk +4 lines, -0 lines 0 comments Download
M scripts/slave/recipe_modules/auto_bisect/example.expected/basic.json View 1 chunk +4 lines, -0 lines 0 comments Download
M scripts/slave/recipe_modules/auto_bisect/example.expected/basic_bisect_script.json View 1 chunk +4 lines, -0 lines 0 comments Download
M scripts/slave/recipe_modules/auto_bisect/example.expected/delayed_build_test.json View 1 chunk +6 lines, -1 line 0 comments Download
M scripts/slave/recipe_modules/auto_bisect/example.expected/failed_build_test.json View 1 chunk +6 lines, -1 line 0 comments Download
M scripts/slave/recipe_modules/auto_bisect/example.expected/failed_test.json View 1 chunk +4 lines, -0 lines 0 comments Download
M scripts/slave/recipe_modules/auto_bisect/example.expected/mac_bisector.json View 1 chunk +4 lines, -0 lines 0 comments Download
M scripts/slave/recipe_modules/auto_bisect/example.expected/missing_metric_test.json View 1 chunk +6 lines, -1 line 0 comments Download
M scripts/slave/recipe_modules/auto_bisect/example.expected/reversed_basic.json View 1 chunk +4 lines, -0 lines 0 comments Download
M scripts/slave/recipe_modules/auto_bisect/example.expected/windows_bisector.json View 1 chunk +4 lines, -0 lines 0 comments Download
M scripts/slave/recipe_modules/auto_bisect/example.expected/windows_x64_bisector.json View 1 chunk +4 lines, -0 lines 0 comments Download
M scripts/slave/recipe_modules/auto_bisect/resources/fetch_intervening_revisions.py View 1 2 chunks +3 lines, -3 lines 0 comments Download
M scripts/slave/recipe_modules/auto_bisect/resources/fetch_intervening_revisions_test.py View 2 chunks +3 lines, -1 line 0 comments Download
M scripts/slave/recipes/bisect.py View 1 chunk +1 line, -1 line 0 comments Download
M scripts/slave/recipes/bisect.expected/basic.json View 1 chunk +4 lines, -0 lines 0 comments Download
M scripts/slave/recipes/bisect.expected/basic_return_code_test.json View 1 chunk +4 lines, -0 lines 0 comments Download
M scripts/slave/recipes/bisect.expected/broken_bad_revision_test.json View 1 chunk +4 lines, -0 lines 0 comments Download
M scripts/slave/recipes/bisect.expected/broken_good_revision_test.json View 1 chunk +4 lines, -0 lines 0 comments Download
M scripts/slave/recipes/bisection/android_bisect.expected/local_basic_recipe_basic_device.json View 2 chunks +0 lines, -12 lines 0 comments Download
M scripts/slave/recipes/bisection/android_bisect.expected/local_basic_recipe_disconnected_device.json View 3 chunks +0 lines, -23 lines 0 comments Download
M scripts/slave/recipes/bisection/android_bisect.expected/local_basic_recipe_failed_device.json View 1 chunk +0 lines, -11 lines 0 comments Download

Messages

Total messages: 20 (6 generated)
robertocn1
4 years, 3 months ago (2016-08-25 23:10:52 UTC) #1
sullivan
lgtm https://codereview.chromium.org/2282563004/diff/1/scripts/slave/recipe_modules/auto_bisect/bisector.py File scripts/slave/recipe_modules/auto_bisect/bisector.py (right): https://codereview.chromium.org/2282563004/diff/1/scripts/slave/recipe_modules/auto_bisect/bisector.py#newcode397 scripts/slave/recipe_modules/auto_bisect/bisector.py:397: A list of RevisionState objects, not including the ...
4 years, 3 months ago (2016-08-25 23:26:56 UTC) #2
dtu
Oh, I totally thought this was intentional, because the last revision in the roll is ...
4 years, 3 months ago (2016-08-26 00:52:11 UTC) #3
dtu
https://codereview.chromium.org/2282563004/diff/1/scripts/slave/recipe_modules/auto_bisect/bisector.py File scripts/slave/recipe_modules/auto_bisect/bisector.py (right): https://codereview.chromium.org/2282563004/diff/1/scripts/slave/recipe_modules/auto_bisect/bisector.py#newcode386 scripts/slave/recipe_modules/auto_bisect/bisector.py:386: step_name=None, exclude_end=False): The skeleton has a similar parameter, but ...
4 years, 3 months ago (2016-08-26 01:16:56 UTC) #4
RobertoCN
Done. https://codereview.chromium.org/2282563004/diff/1/scripts/slave/recipe_modules/auto_bisect/bisector.py File scripts/slave/recipe_modules/auto_bisect/bisector.py (right): https://codereview.chromium.org/2282563004/diff/1/scripts/slave/recipe_modules/auto_bisect/bisector.py#newcode386 scripts/slave/recipe_modules/auto_bisect/bisector.py:386: step_name=None, exclude_end=False): On 2016/08/26 01:16:56, dtu wrote: > ...
4 years, 3 months ago (2016-08-26 18:17:36 UTC) #6
prasadv
lgtm with nits https://codereview.chromium.org/2282563004/diff/20001/scripts/slave/recipe_modules/auto_bisect/bisector.py File scripts/slave/recipe_modules/auto_bisect/bisector.py (right): https://codereview.chromium.org/2282563004/diff/20001/scripts/slave/recipe_modules/auto_bisect/bisector.py#newcode401 scripts/slave/recipe_modules/auto_bisect/bisector.py:401: exclude_end (boold): Whether to exclude the ...
4 years, 3 months ago (2016-08-29 18:04:22 UTC) #7
RobertoCN
https://codereview.chromium.org/2282563004/diff/20001/scripts/slave/recipe_modules/auto_bisect/bisector.py File scripts/slave/recipe_modules/auto_bisect/bisector.py (right): https://codereview.chromium.org/2282563004/diff/20001/scripts/slave/recipe_modules/auto_bisect/bisector.py#newcode401 scripts/slave/recipe_modules/auto_bisect/bisector.py:401: exclude_end (boold): Whether to exclude the last revision in ...
4 years, 3 months ago (2016-08-29 18:14:13 UTC) #8
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/2282563004/40001
4 years, 3 months ago (2016-08-29 18:14:58 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: Build Presubmit on luci.infra.try (JOB_FAILED, https://luci-milo.appspot.com/swarming/task/30f05490c445a310)
4 years, 3 months ago (2016-08-29 18:23:08 UTC) #13
sullivan
Why don't Roberto/Prasad have OWNERS for these files? Missing LGTM from an OWNER for these ...
4 years, 3 months ago (2016-08-29 18:26:43 UTC) #14
RobertoCN
On 2016/08/29 18:26:43, sullivan wrote: > Why don't Roberto/Prasad have OWNERS for these files? > ...
4 years, 3 months ago (2016-08-29 18:44:24 UTC) #15
dtu
lgtm fwiw
4 years, 3 months ago (2016-08-29 18:44:26 UTC) #16
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/2282563004/40001
4 years, 3 months ago (2016-08-29 18:44:42 UTC) #18
commit-bot: I haz the power
4 years, 3 months ago (2016-08-29 18:50:37 UTC) #20
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/tools/build/+/59a238ef7b257e8a6bbe...

Powered by Google App Engine
This is Rietveld 408576698