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

Issue 301853003: Make update-flaky-tests to work again and support all bots (Closed)

Created:
6 years, 6 months ago by eseidel
Modified:
6 years, 6 months ago
Reviewers:
Dirk Pranke, ojan
CC:
blink-reviews, Dirk Pranke
Visibility:
Public.

Description

Make update-flaky-tests to work again and support all bots Long ago this was added in hopes of generating a FlakyTests file. This patch finally finishes that work and adds the FlakyTests file as well as renames the command to update-flaky-tests and writes to the file instead of stdout. TestExpectationLine changed syntax a little since flaky-tests was written. I've also added support for specifying path and specifiers values so that the resulting test output looks right. I explored having it update TestExpectations directly (which we're definitely very close to being able to do) but the consensus was FlakyTests as a separate file would work better, so lets start with that. BUG=242366 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175121

Patch Set 1 #

Patch Set 2 : Generate lint-passing expectations #

Patch Set 3 : Without TestExpectations #

Patch Set 4 : Fix test-webkitpy #

Patch Set 5 : Update comments #

Total comments: 18

Patch Set 6 : Move to FlakyTests file and make run-webkit-tests use it #

Patch Set 7 : Removed use of operator.attrgetter #

Total comments: 1

Patch Set 8 : Remove commented out code and fix test-webkitpy #

Patch Set 9 : #

Patch Set 10 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+244 lines, -173 lines) Patch
M LayoutTests/FlakyTests View 1 2 3 4 5 6 7 8 9 16 chunks +223 lines, -168 lines 0 comments Download
M Tools/Scripts/webkitpy/tool/commands/flakytests.py View 1 2 3 4 5 6 7 8 9 3 chunks +21 lines, -5 lines 0 comments Download

Messages

Total messages: 46 (0 generated)
eseidel
Ready for review.
6 years, 6 months ago (2014-05-29 05:54:20 UTC) #1
Dirk Pranke
looks pretty good. I've noted a few minor questions ... https://codereview.chromium.org/301853003/diff/60001/Tools/Scripts/webkitpy/layout_tests/layout_package/bot_test_expectations.py File Tools/Scripts/webkitpy/layout_tests/layout_package/bot_test_expectations.py (right): https://codereview.chromium.org/301853003/diff/60001/Tools/Scripts/webkitpy/layout_tests/layout_package/bot_test_expectations.py#newcode139 ...
6 years, 6 months ago (2014-05-29 18:25:20 UTC) #2
ojan
https://codereview.chromium.org/301853003/diff/60001/Tools/Scripts/webkitpy/layout_tests/port/builders.py File Tools/Scripts/webkitpy/layout_tests/port/builders.py (right): https://codereview.chromium.org/301853003/diff/60001/Tools/Scripts/webkitpy/layout_tests/port/builders.py#newcode44 Tools/Scripts/webkitpy/layout_tests/port/builders.py:44: "WebKit XP": {"port_name": "win-xp", "specifiers": ['XP']}, It's a bummer ...
6 years, 6 months ago (2014-05-29 18:51:20 UTC) #3
Dirk Pranke
https://codereview.chromium.org/301853003/diff/60001/Tools/Scripts/webkitpy/layout_tests/port/builders.py File Tools/Scripts/webkitpy/layout_tests/port/builders.py (right): https://codereview.chromium.org/301853003/diff/60001/Tools/Scripts/webkitpy/layout_tests/port/builders.py#newcode44 Tools/Scripts/webkitpy/layout_tests/port/builders.py:44: "WebKit XP": {"port_name": "win-xp", "specifiers": ['XP']}, On 2014/05/29 18:51:20, ...
6 years, 6 months ago (2014-05-29 18:59:56 UTC) #4
ojan
https://codereview.chromium.org/301853003/diff/60001/Tools/Scripts/webkitpy/layout_tests/port/builders.py File Tools/Scripts/webkitpy/layout_tests/port/builders.py (right): https://codereview.chromium.org/301853003/diff/60001/Tools/Scripts/webkitpy/layout_tests/port/builders.py#newcode44 Tools/Scripts/webkitpy/layout_tests/port/builders.py:44: "WebKit XP": {"port_name": "win-xp", "specifiers": ['XP']}, On 2014/05/29 18:59:56, ...
6 years, 6 months ago (2014-05-29 19:37:03 UTC) #5
eseidel
I'm glad you agree: https://code.google.com/p/chromium/issues/detail?id=242366#c0
6 years, 6 months ago (2014-05-29 19:39:54 UTC) #6
eseidel
One problem with the FlakyTests file is that you will lose all your bug associations, ...
6 years, 6 months ago (2014-05-29 19:54:29 UTC) #7
eseidel
I believe I've answered all the review comments. I'm not sure you really want to ...
6 years, 6 months ago (2014-05-29 20:00:02 UTC) #8
eseidel
This is also using the only_show_very_flaky option to BotTestExpectations which should answer Ojan's concern about ...
6 years, 6 months ago (2014-05-29 20:00:54 UTC) #9
ojan
lgtm. Thanks for working on this. This is very exciting. In a followup patch, we ...
6 years, 6 months ago (2014-05-29 20:23:31 UTC) #10
Dirk Pranke
Somehow the threading / commenting in this review has broken down, so I'm switching to ...
6 years, 6 months ago (2014-05-29 20:40:27 UTC) #11
Dirk Pranke
On Thu, May 29, 2014 at 1:00 PM, <eseidel@chromium.org> wrote: > I believe I've answered ...
6 years, 6 months ago (2014-05-29 20:45:08 UTC) #12
eseidel
Thanks for the review! I spoke with Dirk in person. I'm not in a huge ...
6 years, 6 months ago (2014-05-29 21:00:56 UTC) #13
eseidel
On 2014/05/29 20:45:08, Dirk Pranke wrote: > On Thu, May 29, 2014 at 1:00 PM, ...
6 years, 6 months ago (2014-05-29 21:02:48 UTC) #14
eseidel
The CQ bit was checked by eseidel@chromium.org
6 years, 6 months ago (2014-05-29 21:03:08 UTC) #15
eseidel
Feel free to un-CQ if you have further comments for me to address.
6 years, 6 months ago (2014-05-29 21:03:25 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eseidel@chromium.org/301853003/80001
6 years, 6 months ago (2014-05-29 21:05:35 UTC) #17
Dirk Pranke
basically lgtm to me as well. I had a couple of nits but those can ...
6 years, 6 months ago (2014-05-29 21:06:45 UTC) #18
eseidel
On 2014/05/29 21:06:45, Dirk Pranke wrote: > basically lgtm to me as well. I had ...
6 years, 6 months ago (2014-05-29 21:11:06 UTC) #19
eseidel
The CQ bit was checked by eseidel@chromium.org
6 years, 6 months ago (2014-05-29 21:12:11 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eseidel@chromium.org/301853003/100001
6 years, 6 months ago (2014-05-29 21:14:00 UTC) #21
Dirk Pranke
On Thu, May 29, 2014 at 2:11 PM, <eseidel@chromium.org> wrote: > > https://codereview.chromium.org/301853003/diff/60001/ > Tools/Scripts/webkitpy/tool/commands/flakytests.py ...
6 years, 6 months ago (2014-05-29 21:20:27 UTC) #22
ojan
Looks like you need to update some webkitpy tests.
6 years, 6 months ago (2014-05-29 21:50:43 UTC) #23
ojan
https://codereview.chromium.org/301853003/diff/100001/Tools/Scripts/webkitpy/tool/commands/flakytests.py File Tools/Scripts/webkitpy/tool/commands/flakytests.py (right): https://codereview.chromium.org/301853003/diff/100001/Tools/Scripts/webkitpy/tool/commands/flakytests.py#newcode54 Tools/Scripts/webkitpy/tool/commands/flakytests.py:54: # lines = filter(lambda line: not current_expectations.model().has_test(line.name), lines) Why ...
6 years, 6 months ago (2014-05-29 21:53:03 UTC) #24
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_blink_dbg on tryserver.blink ...
6 years, 6 months ago (2014-05-29 22:28:52 UTC) #25
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-05-29 22:37:25 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/9461)
6 years, 6 months ago (2014-05-29 22:37:26 UTC) #27
eseidel
The CQ bit was checked by eseidel@chromium.org
6 years, 6 months ago (2014-05-29 22:54:02 UTC) #28
eseidel
The irony.
6 years, 6 months ago (2014-05-29 22:54:10 UTC) #29
eseidel
I see, I guess I made webkit_python_tests fail. I thought I had fixed all test-webkipy ...
6 years, 6 months ago (2014-05-29 22:54:52 UTC) #30
eseidel
The CQ bit was unchecked by eseidel@chromium.org
6 years, 6 months ago (2014-05-29 22:54:56 UTC) #31
ojan
On 2014/05/29 22:54:52, eseidel wrote: > I see, I guess I made webkit_python_tests fail. I ...
6 years, 6 months ago (2014-05-29 22:59:36 UTC) #32
eseidel
The CQ bit was checked by eseidel@chromium.org
6 years, 6 months ago (2014-05-29 23:19:42 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eseidel@chromium.org/301853003/110001
6 years, 6 months ago (2014-05-29 23:20:43 UTC) #34
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_blink_dbg on tryserver.blink ...
6 years, 6 months ago (2014-05-30 01:06:24 UTC) #35
eseidel
The CQ bit was checked by eseidel@chromium.org
6 years, 6 months ago (2014-05-30 05:43:36 UTC) #36
eseidel
The CQ bit was unchecked by eseidel@chromium.org
6 years, 6 months ago (2014-05-30 05:43:36 UTC) #37
eseidel
The CQ bit was checked by eseidel@chromium.org
6 years, 6 months ago (2014-05-30 05:43:44 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eseidel@chromium.org/301853003/110001
6 years, 6 months ago (2014-05-30 05:45:59 UTC) #39
eseidel
The CQ bit was checked by eseidel@chromium.org
6 years, 6 months ago (2014-05-30 07:30:08 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eseidel@chromium.org/301853003/130001
6 years, 6 months ago (2014-05-30 07:31:10 UTC) #41
eseidel
The CQ bit was unchecked by eseidel@chromium.org
6 years, 6 months ago (2014-05-30 07:31:19 UTC) #42
eseidel
The CQ bit was checked by eseidel@chromium.org
6 years, 6 months ago (2014-05-30 07:31:56 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eseidel@chromium.org/301853003/130001
6 years, 6 months ago (2014-05-30 07:32:19 UTC) #44
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: mac_blink_rel on tryserver.blink ...
6 years, 6 months ago (2014-05-30 11:58:49 UTC) #45
commit-bot: I haz the power
6 years, 6 months ago (2014-05-30 13:01:11 UTC) #46
Message was sent while issue was closed.
Change committed as 175121

Powered by Google App Engine
This is Rietveld 408576698