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

Issue 902763002: Parallelize telemetry unit tests on Android bots (Closed)

Created:
5 years, 10 months ago by Zhen Wang
Modified:
5 years, 10 months ago
CC:
chromium-reviews, telemetry-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Parallelize telemetry unit tests on Android bots BUG=379378 Committed: https://crrev.com/ac997d3fdca4aff32e9c80779c87dfd1e1a8e69b Cr-Commit-Position: refs/heads/master@{#317621}

Patch Set 1 #

Total comments: 4

Patch Set 2 : review fix #

Patch Set 3 : fix test failures #

Patch Set 4 : rebase #

Patch Set 5 : update fyi bot config #

Total comments: 6

Patch Set 6 : review fix #

Patch Set 7 : remove fyi bot config (will create another CL for it) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -48 lines) Patch
M tools/profile_chrome/main.py View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M tools/telemetry/telemetry/core/backends/android_command_line_backend_unittest.py View 1 2 3 4 5 3 chunks +7 lines, -2 lines 0 comments Download
M tools/telemetry/telemetry/core/browser_finder.py View 1 2 3 4 5 2 chunks +2 lines, -7 lines 0 comments Download
M tools/telemetry/telemetry/core/browser_options.py View 1 2 3 4 5 2 chunks +5 lines, -8 lines 0 comments Download
M tools/telemetry/telemetry/core/device_finder.py View 1 2 3 4 5 1 chunk +13 lines, -14 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler.py View 1 2 2 chunks +11 lines, -8 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler_unittest.py View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M tools/telemetry/telemetry/page/record_wpr_unittest.py View 1 2 3 chunks +5 lines, -2 lines 0 comments Download
M tools/telemetry/telemetry/unittest_util/browser_test_case.py View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M tools/telemetry/telemetry/unittest_util/run_tests.py View 1 2 3 4 5 3 chunks +10 lines, -4 lines 0 comments Download

Messages

Total messages: 20 (4 generated)
Zhen Wang
ptal. If you do not specify "--device=ID" and if you have multiple Android devices connected, ...
5 years, 10 months ago (2015-02-05 02:19:25 UTC) #2
nednguyen
I defer to Dirk & Dave for reviewing this patch.
5 years, 10 months ago (2015-02-05 17:55:32 UTC) #4
dtu
https://codereview.chromium.org/902763002/diff/1/tools/telemetry/telemetry/unittest_util/run_tests.py File tools/telemetry/telemetry/unittest_util/run_tests.py (right): https://codereview.chromium.org/902763002/diff/1/tools/telemetry/telemetry/unittest_util/run_tests.py#newcode109 tools/telemetry/telemetry/unittest_util/run_tests.py:109: runner.args.jobs = len(android_device.FindAllAvailableDevices(args)) Isn't it len(GetSpecifiedDevices) if --device is ...
5 years, 10 months ago (2015-02-05 23:11:22 UTC) #5
Dirk Pranke
https://codereview.chromium.org/902763002/diff/1/tools/telemetry/telemetry/unittest_util/run_tests.py File tools/telemetry/telemetry/unittest_util/run_tests.py (right): https://codereview.chromium.org/902763002/diff/1/tools/telemetry/telemetry/unittest_util/run_tests.py#newcode183 tools/telemetry/telemetry/unittest_util/run_tests.py:183: args.device = android_devices[child.worker_num-1].guid This part looks at least plausible ...
5 years, 10 months ago (2015-02-06 02:20:56 UTC) #7
Zhen Wang
https://codereview.chromium.org/902763002/diff/1/tools/telemetry/telemetry/unittest_util/run_tests.py File tools/telemetry/telemetry/unittest_util/run_tests.py (right): https://codereview.chromium.org/902763002/diff/1/tools/telemetry/telemetry/unittest_util/run_tests.py#newcode109 tools/telemetry/telemetry/unittest_util/run_tests.py:109: runner.args.jobs = len(android_device.FindAllAvailableDevices(args)) We need to clarify the --device ...
5 years, 10 months ago (2015-02-06 17:54:20 UTC) #8
Zhen Wang
review fix according to https://code.google.com/p/chromium/issues/detail?id=435723#c14 ptal
5 years, 10 months ago (2015-02-09 23:47:19 UTC) #9
Zhen Wang
I also updated some unit tests to make them work with the parallel unit testing. ...
5 years, 10 months ago (2015-02-11 21:35:06 UTC) #10
Zhen Wang
Hi Dave, can you take a look?
5 years, 10 months ago (2015-02-13 16:56:40 UTC) #11
Zhen Wang
Hi Dave, I have updated the config for FYI bot "Android Tests (K N5, user ...
5 years, 10 months ago (2015-02-17 23:44:18 UTC) #12
fmeawad
On 2015/02/17 23:44:18, Zhen Wang wrote: > Hi Dave, I have updated the config for ...
5 years, 10 months ago (2015-02-17 23:50:35 UTC) #13
dtu
https://codereview.chromium.org/902763002/diff/80001/tools/telemetry/telemetry/core/backends/android_command_line_backend_unittest.py File tools/telemetry/telemetry/core/backends/android_command_line_backend_unittest.py (right): https://codereview.chromium.org/902763002/diff/80001/tools/telemetry/telemetry/core/backends/android_command_line_backend_unittest.py#newcode27 tools/telemetry/telemetry/core/backends/android_command_line_backend_unittest.py:27: self._device_serial = options.device I think I'd prefer to move ...
5 years, 10 months ago (2015-02-18 20:12:09 UTC) #14
Zhen Wang
https://codereview.chromium.org/902763002/diff/80001/tools/telemetry/telemetry/core/backends/android_command_line_backend_unittest.py File tools/telemetry/telemetry/core/backends/android_command_line_backend_unittest.py (right): https://codereview.chromium.org/902763002/diff/80001/tools/telemetry/telemetry/core/backends/android_command_line_backend_unittest.py#newcode27 tools/telemetry/telemetry/core/backends/android_command_line_backend_unittest.py:27: self._device_serial = options.device On 2015/02/18 20:12:09, dtu wrote: > ...
5 years, 10 months ago (2015-02-18 23:50:56 UTC) #15
dtu
lgtm
5 years, 10 months ago (2015-02-23 19:17:29 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/902763002/120001
5 years, 10 months ago (2015-02-23 19:30:12 UTC) #18
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 10 months ago (2015-02-23 19:34:55 UTC) #19
commit-bot: I haz the power
5 years, 10 months ago (2015-02-23 19:35:24 UTC) #20
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/ac997d3fdca4aff32e9c80779c87dfd1e1a8e69b
Cr-Commit-Position: refs/heads/master@{#317621}

Powered by Google App Engine
This is Rietveld 408576698