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

Issue 2144873004: In rebaseline, include build number information with "test_prefix_list" dicts. (Closed)

Created:
4 years, 5 months ago by qyearsley
Modified:
4 years, 5 months ago
Reviewers:
Dirk Pranke, wkorman
CC:
blink-reviews, chromium-reviews, Dirk Pranke
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

In rebaseline, include build number information with "test_prefix_list" dicts. When rebaselining, the main argument passed to the rebaseline method is a "test_prefix_list", which is currently a dict mapping test prefixes to builder names to baseline file suffixes. If we want to change _suffixes_for_actual_failures to fetch actual failures for try jobs, then that method needs to know the build number as well. This CL would replace the builder in all "test_prefix_list" dicts with a Build object, which includes builder name and build number, but build number is optional. Planned follow-up: changing build_data() to use a method to fetch and cache results for particular builds, and change _suffixes_for_actual_failures fetch results for particular builds using that method as well. This would make the "skip_checking_actual_results" workaround unnecessary. I could also include that change in this CL. Committed: https://crrev.com/e5830ddcf7cc0fc87decede44a0a0baa4d5e8c61 Cr-Commit-Position: refs/heads/master@{#405783}

Patch Set 1 #

Patch Set 2 : - #

Total comments: 9

Patch Set 3 : Use a Build object instead of pair to represent a build; add docstring, remove print #

Total comments: 6

Patch Set 4 : Update comments; extract helper function; add TODO notes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+182 lines, -122 lines) Patch
M third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline.py View 1 2 3 13 chunks +86 lines, -29 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_from_try_jobs.py View 1 2 4 chunks +14 lines, -12 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_from_try_jobs_unittest.py View 1 2 2 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_unittest.py View 1 2 35 chunks +76 lines, -75 lines 0 comments Download

Messages

Total messages: 16 (6 generated)
qyearsley
4 years, 5 months ago (2016-07-14 00:23:20 UTC) #3
wkorman
I'm supportive of small stepwise iterative changes so if you'd like to land this and ...
4 years, 5 months ago (2016-07-14 01:01:46 UTC) #4
qyearsley
https://codereview.chromium.org/2144873004/diff/20001/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline.py File third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline.py (left): https://codereview.chromium.org/2144873004/diff/20001/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline.py#oldcode290 third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline.py:290: def builder_data(self): On 2016/07/14 at 01:01:45, wkorman wrote: > ...
4 years, 5 months ago (2016-07-14 23:53:29 UTC) #5
wkorman
lgtm Reminder to also update the CL description. https://codereview.chromium.org/2144873004/diff/20001/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_unittest.py File third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_unittest.py (right): https://codereview.chromium.org/2144873004/diff/20001/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_unittest.py#newcode366 third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_unittest.py:366: self.command._rebaseline(options, ...
4 years, 5 months ago (2016-07-15 00:12:14 UTC) #6
qyearsley
https://codereview.chromium.org/2144873004/diff/40001/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline.py File third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline.py (right): https://codereview.chromium.org/2144873004/diff/40001/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline.py#newcode58 third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline.py:58: TODO(qyearsley): Move this somewhere else; note it's very similar ...
4 years, 5 months ago (2016-07-15 16:28:47 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/2144873004/60001
4 years, 5 months ago (2016-07-15 16:29:33 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 5 months ago (2016-07-15 17:42:05 UTC) #12
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-15 17:42:21 UTC) #13
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/e5830ddcf7cc0fc87decede44a0a0baa4d5e8c61 Cr-Commit-Position: refs/heads/master@{#405783}
4 years, 5 months ago (2016-07-15 17:43:14 UTC) #15
wjmaclean
4 years, 5 months ago (2016-07-15 18:49:03 UTC) #16
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:60001) has been created in
https://codereview.chromium.org/2151253004/ by wjmaclean@chromium.org.

The reason for reverting is: Seems to be causing failures in webkit_python_tests
on multiple bots (e.g.
https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Mac10.10/build....

Powered by Google App Engine
This is Rietveld 408576698