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

Issue 2380173002: Change update_test_expectations to not require builders for all configurations. (Closed)

Created:
4 years, 2 months ago by qyearsley
Modified:
4 years, 2 months ago
Reviewers:
bokan
CC:
blink-reviews, chromium-reviews, Dirk Pranke, jeffcarp, ojan
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Change update_test_expectations to not require builders for all configurations. This makes the update-test-expectations script less conservative. The rationale is that there are some configurations for which we don't have any builders, which are checked. Specifically: [icecreamsandwich, x86, debug] [icecreamsandwich, x86, release] [mac10.10, x86, debug] [mac10.9, x86, debug] [retina, x86, debug] [trusty, x86_64, debug] [win10, x86, debug] But if a test that's marked as flaky appears to be non-flaky on all builders that actually do exist, this seems like it might be adequate reason to remove the line. Also in this CL: Add more logging and a --verbose option, so that: (1) by default when running the script would log what it's deleting. (2) if --verbose is passed it will also log more information about why. BUG=595414 Committed: https://crrev.com/89ff824cd7a145611011394e0bf8a90957cee81e Cr-Commit-Position: refs/heads/master@{#421983}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Change one log line to warning, update docstring for test method #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -31 lines) Patch
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/update_test_expectations.py View 1 4 chunks +15 lines, -7 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/update_test_expectations_unittest.py View 1 4 chunks +51 lines, -24 lines 0 comments Download

Messages

Total messages: 19 (10 generated)
qyearsley
https://codereview.chromium.org/2380173002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/update_test_expectations.py File third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/update_test_expectations.py (right): https://codereview.chromium.org/2380173002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/update_test_expectations.py#newcode39 third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/update_test_expectations.py:39: logging.basicConfig(level=logging.DEBUG if args.verbose else logging.INFO, format="%(levelname)s: %(message)s") This could ...
4 years, 2 months ago (2016-09-29 20:36:14 UTC) #5
qyearsley
On 2016/09/29 at 20:36:14, qyearsley wrote: > https://codereview.chromium.org/2380173002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/update_test_expectations.py > File third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/update_test_expectations.py (right): > > https://codereview.chromium.org/2380173002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/update_test_expectations.py#newcode39 ...
4 years, 2 months ago (2016-09-29 20:39:01 UTC) #6
bokan
Minor comments but lgtm once they're addressed. Thanks for carrying this forward! https://codereview.chromium.org/2380173002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/update_test_expectations.py File third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/update_test_expectations.py ...
4 years, 2 months ago (2016-09-29 21:55:21 UTC) #9
bokan
By the way, it looks like this is at least basically usable now, can I ...
4 years, 2 months ago (2016-09-29 21:58:34 UTC) #10
qyearsley
https://codereview.chromium.org/2380173002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/update_test_expectations.py File third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/update_test_expectations.py (right): https://codereview.chromium.org/2380173002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/update_test_expectations.py#newcode39 third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/update_test_expectations.py:39: logging.basicConfig(level=logging.DEBUG if args.verbose else logging.INFO, format="%(levelname)s: %(message)s") On 2016/09/29 ...
4 years, 2 months ago (2016-09-29 23:07:51 UTC) #11
qyearsley
On 2016/09/29 at 21:58:34, bokan wrote: > By the way, it looks like this is ...
4 years, 2 months ago (2016-09-29 23:09:41 UTC) #12
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/2380173002/20001
4 years, 2 months ago (2016-09-29 23:12:19 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-09-29 23:58:57 UTC) #17
commit-bot: I haz the power
4 years, 2 months ago (2016-09-30 00:01:10 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/89ff824cd7a145611011394e0bf8a90957cee81e
Cr-Commit-Position: refs/heads/master@{#421983}

Powered by Google App Engine
This is Rietveld 408576698