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

Issue 2590623002: [Telemetry] Migrate browser_test_runner to use typ as the test runner (Closed)

Created:
4 years ago by nednguyen
Modified:
3 years, 10 months ago
CC:
catapult-reviews_chromium.org, telemetry-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 3

Patch Set 2 : Keep all the sharding logic #

Patch Set 3 : Reformat to make diff more similar #

Patch Set 4 : Reformat to make diff more similar #

Patch Set 5 : Add missing options for typ #

Total comments: 10

Patch Set 6 : update #

Patch Set 7 : Update unittests #

Total comments: 4

Patch Set 8 : Expand test suffixes to include '_tests' and 'unittests' #

Patch Set 9 : typo #

Patch Set 10 : Add client_configs to the context #

Total comments: 1

Patch Set 11 : Making sure browser_test_runner does not pick up unittest #

Total comments: 9

Patch Set 12 : Rebase #

Patch Set 13 : Address Ken's nits #

Patch Set 14 : Rebase & fix TestLoadAllTestModules.testLoadAllTestsInModule #

Unified diffs Side-by-side diffs Delta from patch set Stats (+432 lines, -532 lines) Patch
M telemetry/bin/run_browser_tests View 1 chunk +1 line, -2 lines 0 comments Download
M telemetry/examples/browser_tests/failed_tests.py View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
A telemetry/examples/browser_tests/sample_unittest.py View 1 2 3 4 5 6 7 8 9 10 1 chunk +12 lines, -0 lines 0 comments Download
A telemetry/telemetry/testing/browser_test_context.py View 1 2 3 4 5 6 7 8 9 1 chunk +74 lines, -0 lines 0 comments Download
M telemetry/telemetry/testing/browser_test_runner.py View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +32 lines, -308 lines 0 comments Download
M telemetry/telemetry/testing/browser_test_runner_unittest.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 10 chunks +145 lines, -105 lines 0 comments Download
A + telemetry/telemetry/testing/run_browser_tests.py View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +151 lines, -109 lines 0 comments Download
M telemetry/telemetry/testing/serially_executed_browser_test_case.py View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +15 lines, -6 lines 0 comments Download

Messages

Total messages: 63 (28 generated)
nednguyen
./telemetry/bin/run_browser_tests SimpleShardingTest -v is now working with this CL However, I still need to port ...
4 years ago (2016-12-19 20:37:43 UTC) #2
Ken Russell (switch to Gerrit)
Thanks for pushing this forward Ned. Supporting (3) when switching to typ is a hard ...
4 years ago (2016-12-19 22:29:35 UTC) #3
nednguyen
https://codereview.chromium.org/2590623002/diff/1/telemetry/telemetry/testing/serially_executed_browser_test_case.py File telemetry/telemetry/testing/serially_executed_browser_test_case.py (right): https://codereview.chromium.org/2590623002/diff/1/telemetry/telemetry/testing/serially_executed_browser_test_case.py#newcode150 telemetry/telemetry/testing/serially_executed_browser_test_case.py:150: continue On 2016/12/19 22:29:34, Ken Russell wrote: > What's ...
4 years ago (2016-12-19 22:54:17 UTC) #4
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/2590623002/diff/1/telemetry/telemetry/testing/serially_executed_browser_test_case.py File telemetry/telemetry/testing/serially_executed_browser_test_case.py (right): https://codereview.chromium.org/2590623002/diff/1/telemetry/telemetry/testing/serially_executed_browser_test_case.py#newcode150 telemetry/telemetry/testing/serially_executed_browser_test_case.py:150: continue On 2016/12/19 22:54:17, nednguyen wrote: > On 2016/12/19 ...
4 years ago (2016-12-19 22:56:22 UTC) #5
Dirk Pranke
This basically lgtm . I didn't sweat the details of the review, as I figured ...
4 years ago (2016-12-20 03:08:41 UTC) #6
Ken Russell (switch to Gerrit)
On 2016/12/20 03:08:41, Dirk Pranke wrote: > This basically lgtm . I didn't sweat the ...
4 years ago (2016-12-20 05:52:21 UTC) #7
nednguyen
On 2016/12/20 05:52:21, Ken Russell wrote: > On 2016/12/20 03:08:41, Dirk Pranke wrote: > > ...
4 years ago (2016-12-20 12:41:16 UTC) #8
nednguyen
PTAL again, this patch keeps all the sharding logic in run_browser_test.py instead of delegate to ...
4 years ago (2016-12-20 16:00:03 UTC) #9
Ken Russell (switch to Gerrit)
Thanks, Ned, this looks much better than before. Thumbs up on the overall direction. I ...
4 years ago (2016-12-21 00:12:59 UTC) #10
Ken Russell (switch to Gerrit)
Also, Ned, it's difficult for me/us to add the boilerplate logic you describe in https://codereview.chromium.org/2562913003 ...
4 years ago (2016-12-21 00:14:19 UTC) #11
nednguyen
On 2016/12/21 00:12:59, Ken Russell wrote: > Thanks, Ned, this looks much better than before. ...
4 years ago (2016-12-21 02:08:18 UTC) #12
nednguyen
On 2016/12/21 00:14:19, Ken Russell wrote: > Also, Ned, it's difficult for me/us to add ...
4 years ago (2016-12-21 02:13:19 UTC) #13
nednguyen
https://codereview.chromium.org/2590623002/diff/80001/telemetry/telemetry/testing/browser_test_context.py File telemetry/telemetry/testing/browser_test_context.py (right): https://codereview.chromium.org/2590623002/diff/80001/telemetry/telemetry/testing/browser_test_context.py#newcode22 telemetry/telemetry/testing/browser_test_context.py:22: _ test_cases_ids_to_run: the ids of the test cases to ...
4 years ago (2016-12-21 20:29:05 UTC) #14
nednguyen
All the unittests are passing now, except the two tests about error in setUp & ...
4 years ago (2016-12-22 02:29:03 UTC) #15
Dirk Pranke
https://codereview.chromium.org/2590623002/diff/120001/telemetry/telemetry/testing/browser_test_runner_unittest.py File telemetry/telemetry/testing/browser_test_runner_unittest.py (right): https://codereview.chromium.org/2590623002/diff/120001/telemetry/telemetry/testing/browser_test_runner_unittest.py#newcode86 telemetry/telemetry/testing/browser_test_runner_unittest.py:86: def testJsonOutputWhenSetupClassFailed(self): On 2016/12/22 02:29:03, nednguyen wrote: > Dirk: ...
4 years ago (2016-12-22 21:21:17 UTC) #16
nednguyen
https://codereview.chromium.org/2590623002/diff/120001/telemetry/telemetry/testing/browser_test_runner_unittest.py File telemetry/telemetry/testing/browser_test_runner_unittest.py (right): https://codereview.chromium.org/2590623002/diff/120001/telemetry/telemetry/testing/browser_test_runner_unittest.py#newcode86 telemetry/telemetry/testing/browser_test_runner_unittest.py:86: def testJsonOutputWhenSetupClassFailed(self): On 2016/12/22 21:21:17, Dirk Pranke wrote: > ...
4 years ago (2016-12-23 01:17:57 UTC) #17
nednguyen
On 2016/12/23 01:17:57, nednguyen wrote: > https://codereview.chromium.org/2590623002/diff/120001/telemetry/telemetry/testing/browser_test_runner_unittest.py > File telemetry/telemetry/testing/browser_test_runner_unittest.py (right): > > https://codereview.chromium.org/2590623002/diff/120001/telemetry/telemetry/testing/browser_test_runner_unittest.py#newcode86 > ...
3 years, 11 months ago (2017-01-04 13:33:36 UTC) #30
nednguyen
On 2017/01/04 13:33:36, nednguyen wrote: > On 2016/12/23 01:17:57, nednguyen wrote: > > > https://codereview.chromium.org/2590623002/diff/120001/telemetry/telemetry/testing/browser_test_runner_unittest.py ...
3 years, 11 months ago (2017-01-06 14:31:54 UTC) #31
Ken Russell (switch to Gerrit)
On 2017/01/06 14:31:54, nednguyen wrote: > On 2017/01/04 13:33:36, nednguyen wrote: > > On 2016/12/23 ...
3 years, 11 months ago (2017-01-06 19:26:37 UTC) #32
Dirk Pranke
As I noted in https://codereview.chromium.org/2616253002/#msg4 , I think I need to actually review this, since ...
3 years, 11 months ago (2017-01-09 03:17:15 UTC) #33
nednguyen
On 2017/01/09 03:17:15, Dirk Pranke wrote: > As I noted in https://codereview.chromium.org/2616253002/#msg4 , I think ...
3 years, 11 months ago (2017-01-09 14:34:50 UTC) #34
Ken Russell (switch to Gerrit)
Just for the record, https://codereview.chromium.org/2616253002/ has the typ boilerplate added to the GPU correctness tests, ...
3 years, 11 months ago (2017-01-09 22:16:21 UTC) #35
nednguyen
https://codereview.chromium.org/2590623002/diff/180001/telemetry/telemetry/testing/run_browser_tests.py File telemetry/telemetry/testing/run_browser_tests.py (right): https://codereview.chromium.org/2590623002/diff/180001/telemetry/telemetry/testing/run_browser_tests.py#newcode24 telemetry/telemetry/testing/run_browser_tests.py:24: TEST_SUFFIXES = ['*_test.py', '*_tests.py', '*_unittest.py', '*_unittests.py'] Ken, Dirk: I ...
3 years, 11 months ago (2017-01-09 22:25:00 UTC) #36
Ken Russell (switch to Gerrit)
On 2017/01/09 22:25:00, nednguyen wrote: > https://codereview.chromium.org/2590623002/diff/180001/telemetry/telemetry/testing/run_browser_tests.py > File telemetry/telemetry/testing/run_browser_tests.py (right): > > https://codereview.chromium.org/2590623002/diff/180001/telemetry/telemetry/testing/run_browser_tests.py#newcode24 > ...
3 years, 11 months ago (2017-01-09 22:31:19 UTC) #37
nednguyen
On 2017/01/09 22:31:19, Ken Russell wrote: > On 2017/01/09 22:25:00, nednguyen wrote: > > > ...
3 years, 11 months ago (2017-01-11 21:03:55 UTC) #38
Ken Russell (switch to Gerrit)
On 2017/01/11 21:03:55, nednguyen wrote: > On 2017/01/09 22:31:19, Ken Russell wrote: > > On ...
3 years, 11 months ago (2017-01-12 00:10:02 UTC) #39
nednguyen
On 2017/01/12 00:10:02, Ken Russell wrote: > On 2017/01/11 21:03:55, nednguyen wrote: > > On ...
3 years, 11 months ago (2017-01-19 22:28:57 UTC) #40
Ken Russell (switch to Gerrit)
Thanks for pushing this forward Ned. It LGTM overall now, but I haven't tried running ...
3 years, 11 months ago (2017-01-20 02:50:28 UTC) #45
Ken Russell (switch to Gerrit)
Note: I'd prefer to wait until a couple of days after http://crbug.com/682819 is fixed and ...
3 years, 11 months ago (2017-01-20 02:51:39 UTC) #46
nednguyen
https://codereview.chromium.org/2590623002/diff/200001/telemetry/telemetry/testing/run_browser_tests.py File telemetry/telemetry/testing/run_browser_tests.py (right): https://codereview.chromium.org/2590623002/diff/200001/telemetry/telemetry/testing/run_browser_tests.py#newcode223 telemetry/telemetry/testing/run_browser_tests.py:223: # Do not pick up tests that are not ...
3 years, 10 months ago (2017-01-30 20:38:22 UTC) #51
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/2590623002/240001
3 years, 10 months ago (2017-01-31 13:06:02 UTC) #54
commit-bot: I haz the power
Try jobs failed on following builders: Catapult Presubmit on master.tryserver.client.catapult (JOB_FAILED, https://build.chromium.org/p/tryserver.client.catapult/builders/Catapult%20Presubmit/builds/5894)
3 years, 10 months ago (2017-01-31 13:08:12 UTC) #56
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/2590623002/260001
3 years, 10 months ago (2017-01-31 13:17:57 UTC) #59
commit-bot: I haz the power
Committed patchset #14 (id:260001) as https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/34e664ad6a6e3fc23f06db94ab55f0e94b8027a6
3 years, 10 months ago (2017-01-31 13:38:29 UTC) #62
nednguyen
3 years, 10 months ago (2017-01-31 17:03:43 UTC) #63
Message was sent while issue was closed.
A revert of this CL (patchset #14 id:260001) has been created in
https://codereview.chromium.org/2662193004/ by nednguyen@google.com.

The reason for reverting is: This is not ready to land yet. Revert to unblock
rolling out other catapult commits..

Powered by Google App Engine
This is Rietveld 408576698