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 2012323002: [Android] Implement perf tests to platform mode. (Closed)

Created:
4 years, 6 months ago by rnephew (Reviews Here)
Modified:
4 years, 5 months ago
CC:
chromium-reviews, jbudorick+watch_chromium.org, mikecase+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Android] Implement perf tests to platform mode. BUG=615157, 590229 Committed: https://crrev.com/8db92cc2828e9757b91662a1ed7057f17f8024ed Cr-Commit-Position: refs/heads/master@{#404978}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : now tracking origin/master #

Patch Set 4 : fix reabse issue in test_runner.py #

Patch Set 5 : add retry logic and some clean up #

Total comments: 40

Patch Set 6 : bug fixes and shuffling #

Total comments: 25

Patch Set 7 : address comments in ps5 #

Total comments: 5

Patch Set 8 : #

Patch Set 9 : Unify RunTestsInPlatformMode and move adbd restart #

Total comments: 61

Patch Set 10 : #

Patch Set 11 : do not run as default and rebase #

Total comments: 56

Patch Set 12 : Johns comments #

Patch Set 13 : Created subclasses for perf test run #

Total comments: 45

Patch Set 14 : [Android] Implement perf tests to platform mode. #

Total comments: 12

Patch Set 15 : [Android] Implement perf tests to platform mode. #

Total comments: 28

Patch Set 16 : [Android] Implement perf tests to platform mode. #

Total comments: 25

Patch Set 17 : cases comments and rebase #

Patch Set 18 : johns comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+687 lines, -9 lines) Patch
M build/android/pylib/base/test_instance_factory.py View 1 2 3 4 5 6 2 chunks +3 lines, -0 lines 0 comments Download
M build/android/pylib/base/test_run_factory.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +17 lines, -1 line 0 comments Download
M build/android/pylib/local/device/local_device_environment.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +4 lines, -0 lines 0 comments Download
A build/android/pylib/local/device/local_device_perf_test_run.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +386 lines, -0 lines 0 comments Download
M build/android/pylib/local/device/local_device_test_run.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +4 lines, -0 lines 0 comments Download
A build/android/pylib/perf/perf_test_instance.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +237 lines, -0 lines 0 comments Download
M build/android/test_runner.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 5 chunks +29 lines, -8 lines 0 comments Download
M build/android/test_runner.pydeps View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 4 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 50 (14 generated)
rnephew (Reviews Here)
https://codereview.chromium.org/2012323002/diff/40001/build/android/test_runner.py File build/android/test_runner.py (left): https://codereview.chromium.org/2012323002/diff/40001/build/android/test_runner.py#oldcode856 build/android/test_runner.py:856: # TODO(jbudorick): Rewrite results handling. Note: I did not ...
4 years, 6 months ago (2016-05-26 22:41:10 UTC) #1
rnephew (Reviews Here)
Should mostly be ready for review. I might shuffle things around and make small edits; ...
4 years, 6 months ago (2016-05-31 23:29:03 UTC) #8
mikecase (-- gone --)
https://codereview.chromium.org/2012323002/diff/180001/build/android/pylib/base/test_instance_factory.py File build/android/pylib/base/test_instance_factory.py (right): https://codereview.chromium.org/2012323002/diff/180001/build/android/pylib/base/test_instance_factory.py#newcode22 build/android/pylib/base/test_instance_factory.py:22: elif args.command == 'perf': suuuuuuuper nit: alphabetize maybe https://codereview.chromium.org/2012323002/diff/180001/build/android/pylib/base/test_run_factory.py ...
4 years, 6 months ago (2016-06-01 17:40:28 UTC) #9
jbudorick
PS5 comments, starting to review PS6 https://codereview.chromium.org/2012323002/diff/180001/build/android/pylib/base/test_instance_factory.py File build/android/pylib/base/test_instance_factory.py (right): https://codereview.chromium.org/2012323002/diff/180001/build/android/pylib/base/test_instance_factory.py#newcode22 build/android/pylib/base/test_instance_factory.py:22: elif args.command == ...
4 years, 6 months ago (2016-06-01 17:44:11 UTC) #10
rnephew (Reviews Here)
https://codereview.chromium.org/2012323002/diff/180001/build/android/pylib/base/test_instance_factory.py File build/android/pylib/base/test_instance_factory.py (right): https://codereview.chromium.org/2012323002/diff/180001/build/android/pylib/base/test_instance_factory.py#newcode22 build/android/pylib/base/test_instance_factory.py:22: elif args.command == 'perf': On 2016/06/01 17:40:27, mikecase wrote: ...
4 years, 6 months ago (2016-06-01 20:32:05 UTC) #11
jbudorick
PS6 comments, still not complete https://codereview.chromium.org/2012323002/diff/180001/build/android/pylib/local/device/local_device_perf_test_run.py File build/android/pylib/local/device/local_device_perf_test_run.py (right): https://codereview.chromium.org/2012323002/diff/180001/build/android/pylib/local/device/local_device_perf_test_run.py#newcode184 build/android/pylib/local/device/local_device_perf_test_run.py:184: cwd = os.path.abspath(os.path.join(host_paths.DIR_SOURCE_ROOT, os.pardir)) ...
4 years, 6 months ago (2016-06-01 20:46:06 UTC) #12
rnephew (Reviews Here)
https://codereview.chromium.org/2012323002/diff/200001/build/android/pylib/local/device/local_device_perf_test_run.py File build/android/pylib/local/device/local_device_perf_test_run.py (right): https://codereview.chromium.org/2012323002/diff/200001/build/android/pylib/local/device/local_device_perf_test_run.py#newcode41 build/android/pylib/local/device/local_device_perf_test_run.py:41: """A file-like class for keeping the buildbot alive.""" On ...
4 years, 6 months ago (2016-06-01 21:01:40 UTC) #13
jbudorick
https://codereview.chromium.org/2012323002/diff/200001/build/android/pylib/local/device/local_device_perf_test_run.py File build/android/pylib/local/device/local_device_perf_test_run.py (right): https://codereview.chromium.org/2012323002/diff/200001/build/android/pylib/local/device/local_device_perf_test_run.py#newcode110 build/android/pylib/local/device/local_device_perf_test_run.py:110: def _WriteBuildBotJson(self): On 2016/06/01 21:01:39, rnephew (Reviews Here) wrote: ...
4 years, 6 months ago (2016-06-01 21:03:20 UTC) #14
rnephew (Reviews Here)
https://codereview.chromium.org/2012323002/diff/200001/build/android/pylib/local/device/local_device_perf_test_run.py File build/android/pylib/local/device/local_device_perf_test_run.py (right): https://codereview.chromium.org/2012323002/diff/200001/build/android/pylib/local/device/local_device_perf_test_run.py#newcode110 build/android/pylib/local/device/local_device_perf_test_run.py:110: def _WriteBuildBotJson(self): On 2016/06/01 21:03:20, jbudorick wrote: > On ...
4 years, 6 months ago (2016-06-01 21:12:13 UTC) #15
jbudorick
https://codereview.chromium.org/2012323002/diff/200001/build/android/pylib/local/device/local_device_perf_test_run.py File build/android/pylib/local/device/local_device_perf_test_run.py (right): https://codereview.chromium.org/2012323002/diff/200001/build/android/pylib/local/device/local_device_perf_test_run.py#newcode110 build/android/pylib/local/device/local_device_perf_test_run.py:110: def _WriteBuildBotJson(self): On 2016/06/01 21:12:13, rnephew (Reviews Here) wrote: ...
4 years, 6 months ago (2016-06-01 21:16:09 UTC) #16
rnephew (Reviews Here)
https://codereview.chromium.org/2012323002/diff/200001/build/android/pylib/local/device/local_device_perf_test_run.py File build/android/pylib/local/device/local_device_perf_test_run.py (right): https://codereview.chromium.org/2012323002/diff/200001/build/android/pylib/local/device/local_device_perf_test_run.py#newcode110 build/android/pylib/local/device/local_device_perf_test_run.py:110: def _WriteBuildBotJson(self): On 2016/06/01 21:16:09, jbudorick wrote: > On ...
4 years, 6 months ago (2016-06-01 21:23:17 UTC) #17
rnephew (Reviews Here)
Addressed most comments up til now, except for the ones I commented on saying that ...
4 years, 6 months ago (2016-06-01 22:14:15 UTC) #18
rnephew (Reviews Here)
https://codereview.chromium.org/2012323002/diff/200001/build/android/pylib/local/device/local_device_perf_test_run.py File build/android/pylib/local/device/local_device_perf_test_run.py (right): https://codereview.chromium.org/2012323002/diff/200001/build/android/pylib/local/device/local_device_perf_test_run.py#newcode126 build/android/pylib/local/device/local_device_perf_test_run.py:126: self._device.RestartAdbd() On 2016/06/01 21:01:39, rnephew (Reviews Here) wrote: > ...
4 years, 6 months ago (2016-06-02 18:43:26 UTC) #20
jbudorick
https://codereview.chromium.org/2012323002/diff/280001/build/android/pylib/local/device/local_device_perf_test_run.py File build/android/pylib/local/device/local_device_perf_test_run.py (right): https://codereview.chromium.org/2012323002/diff/280001/build/android/pylib/local/device/local_device_perf_test_run.py#newcode5 build/android/pylib/local/device/local_device_perf_test_run.py:5: import io ? https://codereview.chromium.org/2012323002/diff/280001/build/android/pylib/local/device/local_device_perf_test_run.py#newcode9 build/android/pylib/local/device/local_device_perf_test_run.py:9: import pickle uh oh ...
4 years, 6 months ago (2016-06-07 15:29:28 UTC) #22
rnephew (Reviews Here)
https://codereview.chromium.org/2012323002/diff/280001/build/android/pylib/local/device/local_device_perf_test_run.py File build/android/pylib/local/device/local_device_perf_test_run.py (right): https://codereview.chromium.org/2012323002/diff/280001/build/android/pylib/local/device/local_device_perf_test_run.py#newcode5 build/android/pylib/local/device/local_device_perf_test_run.py:5: import io On 2016/06/07 15:29:27, jbudorick wrote: > ? ...
4 years, 6 months ago (2016-06-09 22:06:39 UTC) #23
rnephew (Reviews Here)
4 years, 6 months ago (2016-06-09 22:06:43 UTC) #24
rnephew (Reviews Here)
On 2016/06/09 22:06:43, rnephew (Reviews Here) wrote: ping
4 years, 6 months ago (2016-06-23 21:50:15 UTC) #25
rnephew (Reviews Here)
https://codereview.chromium.org/2012323002/diff/280001/build/android/test_runner.py File build/android/test_runner.py (right): https://codereview.chromium.org/2012323002/diff/280001/build/android/test_runner.py#newcode790 build/android/test_runner.py:790: _DEFAULT_PLATFORM_MODE_TESTS = [' gtest', 'instrumentation', 'perf'] On 2016/06/09 22:06:39, ...
4 years, 5 months ago (2016-06-27 20:23:25 UTC) #27
jbudorick
https://codereview.chromium.org/2012323002/diff/320001/build/android/pylib/base/test_run_factory.py File build/android/pylib/base/test_run_factory.py (right): https://codereview.chromium.org/2012323002/diff/320001/build/android/pylib/base/test_run_factory.py#newcode36 build/android/pylib/base/test_run_factory.py:36: return local_device_perf_test_run.LocalDevicePerfTestRun(env, nit: move env down & tweak indentation ...
4 years, 5 months ago (2016-06-28 10:27:33 UTC) #28
rnephew (Reviews Here)
https://codereview.chromium.org/2012323002/diff/320001/build/android/pylib/base/test_run_factory.py File build/android/pylib/base/test_run_factory.py (right): https://codereview.chromium.org/2012323002/diff/320001/build/android/pylib/base/test_run_factory.py#newcode36 build/android/pylib/base/test_run_factory.py:36: return local_device_perf_test_run.LocalDevicePerfTestRun(env, On 2016/06/28 10:27:32, jbudorick (EMEA til June ...
4 years, 5 months ago (2016-06-29 22:27:20 UTC) #29
rnephew (Reviews Here)
https://codereview.chromium.org/2012323002/diff/320001/build/android/pylib/local/device/local_device_perf_test_run.py File build/android/pylib/local/device/local_device_perf_test_run.py (right): https://codereview.chromium.org/2012323002/diff/320001/build/android/pylib/local/device/local_device_perf_test_run.py#newcode289 build/android/pylib/local/device/local_device_perf_test_run.py:289: if self._test_instance.output_json_list: On 2016/06/29 22:27:19, rnephew (Reviews Here) wrote: ...
4 years, 5 months ago (2016-06-30 19:10:36 UTC) #30
jbudorick
https://codereview.chromium.org/2012323002/diff/320001/build/android/pylib/local/device/local_device_perf_test_run.py File build/android/pylib/local/device/local_device_perf_test_run.py (right): https://codereview.chromium.org/2012323002/diff/320001/build/android/pylib/local/device/local_device_perf_test_run.py#newcode81 build/android/pylib/local/device/local_device_perf_test_run.py:81: forwarder.Forwarder.UnmapAllDevicePorts(self._device) On 2016/06/29 22:27:19, rnephew (Reviews Here) wrote: > ...
4 years, 5 months ago (2016-07-01 14:20:11 UTC) #31
rnephew (Reviews Here)
https://codereview.chromium.org/2012323002/diff/360001/build/android/pylib/base/test_run_factory.py File build/android/pylib/base/test_run_factory.py (right): https://codereview.chromium.org/2012323002/diff/360001/build/android/pylib/base/test_run_factory.py#newcode26 build/android/pylib/base/test_run_factory.py:26: def CreatePerfTestRun(args, env, test_instance): On 2016/07/01 14:20:10, jbudorick wrote: ...
4 years, 5 months ago (2016-07-01 22:09:32 UTC) #33
mikecase (-- gone --)
only a few comments https://codereview.chromium.org/2012323002/diff/400001/build/android/pylib/local/device/local_device_perf_test_run.py File build/android/pylib/local/device/local_device_perf_test_run.py (right): https://codereview.chromium.org/2012323002/diff/400001/build/android/pylib/local/device/local_device_perf_test_run.py#newcode76 build/android/pylib/local/device/local_device_perf_test_run.py:76: self._TestTearDown() I think* since self.TestSetUp ...
4 years, 5 months ago (2016-07-01 23:29:45 UTC) #34
rnephew (Reviews Here)
https://codereview.chromium.org/2012323002/diff/400001/build/android/pylib/local/device/local_device_perf_test_run.py File build/android/pylib/local/device/local_device_perf_test_run.py (right): https://codereview.chromium.org/2012323002/diff/400001/build/android/pylib/local/device/local_device_perf_test_run.py#newcode76 build/android/pylib/local/device/local_device_perf_test_run.py:76: self._TestTearDown() On 2016/07/01 23:29:44, mikecase wrote: > I think* ...
4 years, 5 months ago (2016-07-06 15:32:39 UTC) #35
jbudorick
https://codereview.chromium.org/2012323002/diff/320001/build/android/pylib/local/device/local_device_perf_test_run.py File build/android/pylib/local/device/local_device_perf_test_run.py (right): https://codereview.chromium.org/2012323002/diff/320001/build/android/pylib/local/device/local_device_perf_test_run.py#newcode81 build/android/pylib/local/device/local_device_perf_test_run.py:81: forwarder.Forwarder.UnmapAllDevicePorts(self._device) On 2016/07/01 14:20:09, jbudorick wrote: > On 2016/06/29 ...
4 years, 5 months ago (2016-07-06 19:12:11 UTC) #36
rnephew (Reviews Here)
https://codereview.chromium.org/2012323002/diff/420001/build/android/pylib/base/test_run_factory.py File build/android/pylib/base/test_run_factory.py (right): https://codereview.chromium.org/2012323002/diff/420001/build/android/pylib/base/test_run_factory.py#newcode31 build/android/pylib/base/test_run_factory.py:31: return local_device_perf_test_run.LocalDevicePerfTestRunOutputJsonList( On 2016/07/06 19:12:10, jbudorick wrote: > nit: ...
4 years, 5 months ago (2016-07-06 21:47:06 UTC) #37
rnephew (Reviews Here)
ping.
4 years, 5 months ago (2016-07-11 22:43:29 UTC) #38
mikecase (-- gone --)
lgtm with nits, but probably want John to give it one more look https://codereview.chromium.org/2012323002/diff/440001/build/android/pylib/local/device/local_device_perf_test_run.py File ...
4 years, 5 months ago (2016-07-12 18:33:14 UTC) #39
jbudorick
https://codereview.chromium.org/2012323002/diff/440001/build/android/pylib/local/device/local_device_perf_test_run.py File build/android/pylib/local/device/local_device_perf_test_run.py (right): https://codereview.chromium.org/2012323002/diff/440001/build/android/pylib/local/device/local_device_perf_test_run.py#newcode245 build/android/pylib/local/device/local_device_perf_test_run.py:245: if steps['version'] != 1: Nit: constify this version since ...
4 years, 5 months ago (2016-07-12 18:45:10 UTC) #40
rnephew (Reviews Here)
https://codereview.chromium.org/2012323002/diff/440001/build/android/pylib/local/device/local_device_perf_test_run.py File build/android/pylib/local/device/local_device_perf_test_run.py (right): https://codereview.chromium.org/2012323002/diff/440001/build/android/pylib/local/device/local_device_perf_test_run.py#newcode218 build/android/pylib/local/device/local_device_perf_test_run.py:218: On 2016/07/12 18:33:14, mikecase wrote: > nit: consider factoring ...
4 years, 5 months ago (2016-07-12 18:55:26 UTC) #41
rnephew (Reviews Here)
https://codereview.chromium.org/2012323002/diff/440001/build/android/pylib/local/device/local_device_perf_test_run.py File build/android/pylib/local/device/local_device_perf_test_run.py (right): https://codereview.chromium.org/2012323002/diff/440001/build/android/pylib/local/device/local_device_perf_test_run.py#newcode245 build/android/pylib/local/device/local_device_perf_test_run.py:245: if steps['version'] != 1: On 2016/07/12 18:45:10, jbudorick wrote: ...
4 years, 5 months ago (2016-07-12 21:05:47 UTC) #42
jbudorick
lgtm
4 years, 5 months ago (2016-07-12 23:43:06 UTC) #43
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/2012323002/480001
4 years, 5 months ago (2016-07-13 01:46:37 UTC) #46
commit-bot: I haz the power
Committed patchset #18 (id:480001)
4 years, 5 months ago (2016-07-13 03:46:32 UTC) #48
commit-bot: I haz the power
4 years, 5 months ago (2016-07-13 03:48:19 UTC) #50
Message was sent while issue was closed.
Patchset 18 (id:??) landed as
https://crrev.com/8db92cc2828e9757b91662a1ed7057f17f8024ed
Cr-Commit-Position: refs/heads/master@{#404978}

Powered by Google App Engine
This is Rietveld 408576698