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

Issue 2446463002: Fetch retry summary and use it to determine what tests to rebaseline. (Closed)

Created:
4 years, 2 months ago by qyearsley
Modified:
4 years, 1 month ago
Reviewers:
Dirk Pranke, wkorman
CC:
blink-reviews, cbentzel+watch_chromium.org, chromium-reviews, Dirk Pranke, jeffcarp
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fetch retry summary and use it to determine what tests to rebaseline. This CL changes RebaselineCL._tests_to_rebaseline so that after it fetches the layout test results and extracts a list of failing tests to rebaseline, it also tries to fetch the retry summary from Google Storage; if this is available, then it filters the tests to rebaseline to only include tests that failed with the patch but not without. To support this, this CL also adds a method in the BuildBot and BuildBotMock classes. BUG=642980 Committed: https://crrev.com/f9833f761d7bd907e91fcfbc669aaa5235a5a471 Cr-Commit-Position: refs/heads/master@{#427536}

Patch Set 1 #

Patch Set 2 : Mark helper method as protected #

Patch Set 3 : Rebase #

Total comments: 5

Patch Set 4 : Add test for case where no retry summary can be downloaded #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -24 lines) Patch
M third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot.py View 1 2 3 3 chunks +16 lines, -5 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot_mock.py View 2 chunks +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot_unittest.py View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_cl.py View 1 2 3 4 chunks +27 lines, -5 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_cl_unittest.py View 1 2 3 4 chunks +44 lines, -13 lines 0 comments Download

Messages

Total messages: 22 (14 generated)
qyearsley
This CL contains the changes in rebaseline-cl to fetch and use the retry_summary.json uploaded by ...
4 years, 2 months ago (2016-10-21 22:39:22 UTC) #4
wkorman
lgtm https://codereview.chromium.org/2446463002/diff/40001/third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot.py File third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot.py (right): https://codereview.chromium.org/2446463002/diff/40001/third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot.py#newcode84 third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot.py:84: with and without a patch without a patch ...
4 years, 1 month ago (2016-10-24 21:47:38 UTC) #9
qyearsley
https://codereview.chromium.org/2446463002/diff/40001/third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot.py File third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot.py (right): https://codereview.chromium.org/2446463002/diff/40001/third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot.py#newcode84 third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot.py:84: with and without a patch without a patch in ...
4 years, 1 month ago (2016-10-25 21:53:53 UTC) #12
wkorman
lgtm https://codereview.chromium.org/2446463002/diff/40001/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_cl_unittest.py File third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_cl_unittest.py (right): https://codereview.chromium.org/2446463002/diff/40001/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_cl_unittest.py#newcode151 third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_cl_unittest.py:151: def test_execute_with_flaky_test_that_fails_on_retry(self): On 2016/10/25 21:53:52, qyearsley wrote: > ...
4 years, 1 month ago (2016-10-25 23:15:34 UTC) #15
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/2446463002/60001
4 years, 1 month ago (2016-10-25 23:18:02 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 1 month ago (2016-10-25 23:43:39 UTC) #19
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/f9833f761d7bd907e91fcfbc669aaa5235a5a471 Cr-Commit-Position: refs/heads/master@{#427536}
4 years, 1 month ago (2016-10-25 23:46:18 UTC) #21
Dirk Pranke
4 years, 1 month ago (2016-10-26 18:47:29 UTC) #22
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698