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

Issue 2200193002: [Android] Add ability to run deviceless tests on hosts without devices for perf tests. (Closed)

Created:
4 years, 4 months ago by rnephew (Reviews Here)
Modified:
4 years, 4 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] Add ability to run deviceless tests on hosts without devices for perf tests. Rationale: The resource_size test does not require a device to run. We want to be able to run this test on the builders, which do not have devices. This CL allows for it to be run without a device by setting the affinity to -1. We use the android test runner to run these because of the ability to send the results to the perf dashboard. BUG=609365 Committed: https://crrev.com/85867a0b2091b0bbdb2a734b41cd1e7a8a1ad610 Cr-Commit-Position: refs/heads/master@{#410429}

Patch Set 1 #

Patch Set 2 : [Android] Add ability to run deviceless tests on hosts without devices for perf tests. #

Total comments: 10

Patch Set 3 : [Android] Add ability to run deviceless tests on hosts without devices for perf tests. #

Total comments: 2

Patch Set 4 : [Android] Add ability to run deviceless tests on hosts without devices for perf tests. #

Total comments: 3

Patch Set 5 : [Android] Add ability to run deviceless tests on hosts without devices for perf tests. #

Patch Set 6 : [Android] Add ability to run deviceless tests on hosts without devices for perf tests. #

Total comments: 8

Patch Set 7 : [Android] Add ability to run deviceless tests on hosts without devices for perf tests. #

Total comments: 4

Patch Set 8 : [Android] Add ability to run deviceless tests on hosts without devices for perf tests. #

Total comments: 8

Patch Set 9 : [Android] Add ability to run deviceless tests on hosts without devices for perf tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+164 lines, -84 lines) Patch
M build/android/pylib/local/device/local_device_perf_test_run.py View 1 2 3 4 5 6 7 8 8 chunks +164 lines, -84 lines 0 comments Download

Messages

Total messages: 34 (13 generated)
rnephew (Reviews Here)
4 years, 4 months ago (2016-08-02 16:39:12 UTC) #3
jbudorick
This is essentially creating a second kind of TestShard. What if you did so explicitly?
4 years, 4 months ago (2016-08-02 17:13:40 UTC) #4
rnephew (Reviews Here)
On 2016/08/02 17:13:40, jbudorick wrote: > This is essentially creating a second kind of TestShard. ...
4 years, 4 months ago (2016-08-02 17:48:00 UTC) #5
jbudorick
https://codereview.chromium.org/2200193002/diff/20001/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/2200193002/diff/20001/build/android/pylib/local/device/local_device_perf_test_run.py#newcode65 build/android/pylib/local/device/local_device_perf_test_run.py:65: logging.info('Create host shard for the following tests:') This shouldn't ...
4 years, 4 months ago (2016-08-02 18:51:50 UTC) #6
rnephew (Reviews Here)
https://codereview.chromium.org/2200193002/diff/20001/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/2200193002/diff/20001/build/android/pylib/local/device/local_device_perf_test_run.py#newcode65 build/android/pylib/local/device/local_device_perf_test_run.py:65: logging.info('Create host shard for the following tests:') On 2016/08/02 ...
4 years, 4 months ago (2016-08-02 19:03:53 UTC) #7
jbudorick
https://codereview.chromium.org/2200193002/diff/40001/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/2200193002/diff/40001/build/android/pylib/local/device/local_device_perf_test_run.py#newcode111 build/android/pylib/local/device/local_device_perf_test_run.py:111: if self._device: If you don't want to duplicate code, ...
4 years, 4 months ago (2016-08-02 19:06:54 UTC) #8
rnephew (Reviews Here)
https://codereview.chromium.org/2200193002/diff/40001/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/2200193002/diff/40001/build/android/pylib/local/device/local_device_perf_test_run.py#newcode111 build/android/pylib/local/device/local_device_perf_test_run.py:111: if self._device: On 2016/08/02 19:06:54, jbudorick wrote: > If ...
4 years, 4 months ago (2016-08-02 20:01:42 UTC) #11
perezju
https://codereview.chromium.org/2200193002/diff/100001/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/2200193002/diff/100001/build/android/pylib/local/device/local_device_perf_test_run.py#newcode71 build/android/pylib/local/device/local_device_perf_test_run.py:71: self._index = -1 can we use "None" for no ...
4 years, 4 months ago (2016-08-04 15:10:50 UTC) #13
rnephew (Reviews Here)
On 2016/08/04 15:10:50, perezju wrote: > https://codereview.chromium.org/2200193002/diff/100001/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/2200193002/diff/100001/build/android/pylib/local/device/local_device_perf_test_run.py#newcode71 > ...
4 years, 4 months ago (2016-08-04 17:41:17 UTC) #14
jbudorick
rietveld is being weird. What about the use of -1 in RunTests?
4 years, 4 months ago (2016-08-04 17:50:54 UTC) #17
rnephew (Reviews Here)
On 2016/08/04 17:50:54, jbudorick wrote: > rietveld is being weird. > > What about the ...
4 years, 4 months ago (2016-08-04 18:14:10 UTC) #18
jbudorick
https://codereview.chromium.org/2200193002/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/2200193002/diff/180001/build/android/pylib/local/device/local_device_perf_test_run.py#newcode86 build/android/pylib/local/device/local_device_perf_test_run.py:86: test, cmd, str(self._index), timeout) This is liable to look ...
4 years, 4 months ago (2016-08-04 19:00:39 UTC) #19
rnephew (Reviews Here)
https://codereview.chromium.org/2200193002/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/2200193002/diff/180001/build/android/pylib/local/device/local_device_perf_test_run.py#newcode86 build/android/pylib/local/device/local_device_perf_test_run.py:86: test, cmd, str(self._index), timeout) On 2016/08/04 19:00:39, jbudorick wrote: ...
4 years, 4 months ago (2016-08-04 20:18:07 UTC) #20
agrieve
Just a couple super-nits. Thanks 1,000,000 for doing this! lgtm https://codereview.chromium.org/2200193002/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/2200193002/diff/200001/build/android/pylib/local/device/local_device_perf_test_run.py#newcode118 ...
4 years, 4 months ago (2016-08-05 03:37:09 UTC) #23
rnephew (Reviews Here)
https://codereview.chromium.org/2200193002/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/2200193002/diff/200001/build/android/pylib/local/device/local_device_perf_test_run.py#newcode118 build/android/pylib/local/device/local_device_perf_test_run.py:118: cmd.extend(['echo']) On 2016/08/05 03:37:09, agrieve wrote: > nit: cmd.append('echo') ...
4 years, 4 months ago (2016-08-05 04:11:56 UTC) #24
perezju
thanks! lgtm, just a few tiny nits. https://codereview.chromium.org/2200193002/diff/220001/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/2200193002/diff/220001/build/android/pylib/local/device/local_device_perf_test_run.py#newcode119 build/android/pylib/local/device/local_device_perf_test_run.py:119: cmd.extend([self._tests[test]['cmd']]) nit: ...
4 years, 4 months ago (2016-08-05 11:02:58 UTC) #25
rnephew (Reviews Here)
https://codereview.chromium.org/2200193002/diff/220001/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/2200193002/diff/220001/build/android/pylib/local/device/local_device_perf_test_run.py#newcode119 build/android/pylib/local/device/local_device_perf_test_run.py:119: cmd.extend([self._tests[test]['cmd']]) On 2016/08/05 11:02:57, perezju wrote: > nit: extend ...
4 years, 4 months ago (2016-08-05 16:57:12 UTC) #26
jbudorick
lgtm
4 years, 4 months ago (2016-08-08 17:52:25 UTC) #27
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/2200193002/240001
4 years, 4 months ago (2016-08-08 17:57:23 UTC) #30
commit-bot: I haz the power
Committed patchset #9 (id:240001)
4 years, 4 months ago (2016-08-08 20:22:11 UTC) #32
commit-bot: I haz the power
4 years, 4 months ago (2016-08-08 20:23:44 UTC) #34
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/85867a0b2091b0bbdb2a734b41cd1e7a8a1ad610
Cr-Commit-Position: refs/heads/master@{#410429}

Powered by Google App Engine
This is Rietveld 408576698