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

Issue 2320153002: GN: Android perf/tests (Closed)

Created:
4 years, 3 months ago by mtklein_C
Modified:
4 years, 3 months ago
Reviewers:
jcgregorio, borenet, mtklein
CC:
reviews_skia.org
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

GN: Android perf/tests Just to take inventory of which old problems still linger and which are now moot, I've gone out of my way to have this stand alone. All of gn_android_flavor's logic is self contained, without any dependency on the platform_tools scripts. The tricky bits turn out to be, copying directories containing symlinks---or really any copying involving more than one file---and getting the exit code back from adb shell. Luckily the ADB I've got on my desktop and my Nexus 5x seems to handle this all without the awkward workarounds you see here, so there's hope that One Day Soon the weird parts (basically, anything with inline python) can go away. Once we've got these bots landed green, I'll go see whether the fixes are due to ADB updates, Android updates, or perhaps something else like hardware. The parts marked TEMPORARY are a nod to the fact that the devices are used by gn_android_flavor and android_flavor both today. It's mostly about not stepping on each other's toes or leaving anything laying around that might confuse each other. The marked parts can go away when bots are either gn_ or non-gn_ but not both. I have omitted a few steps that may be important, but which are easy independent follow-ups: - running as root - locking clocks - waiting on battery levels - fancier wait-for-ready than adb wait-for-usb-device It'd be nice to, e.g., reaffirm that locking clocks helps perf stability, and that we're locking to the best policy. I've tried to keep this CL as trim as possible, leaving any of these vaguely optional steps for later. As of PS 41 or so, it looks like the trybots are all behaving as expected. We should expect no new images in Gold. Can we see trybots in Perf yet? BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2320153002 CQ_INCLUDE_TRYBOTS=master.client.skia.android:Perf-Android-Clang-AndroidOne-CPU-MT6582-arm-Debug-GN_Android-Trybot,Perf-Android-Clang-AndroidOne-CPU-MT6582-arm-Release-GN_Android-Trybot,Perf-Android-Clang-AndroidOne-GPU-Mali400MP2-arm-Debug-GN_Android-Trybot,Perf-Android-Clang-AndroidOne-GPU-Mali400MP2-arm-Release-GN_Android-Trybot,Test-Android-Clang-AndroidOne-CPU-MT6582-arm-Debug-GN_Android-Trybot,Test-Android-Clang-AndroidOne-CPU-MT6582-arm-Release-GN_Android-Trybot,Test-Android-Clang-AndroidOne-GPU-Mali400MP2-arm-Debug-GN_Android-Trybot,Test-Android-Clang-AndroidOne-GPU-Mali400MP2-arm-Release-GN_Android-Trybot Committed: https://skia.googlesource.com/skia/+/df5df81084a9b8652e6ed0987c2454c62d787188

Patch Set 1 #

Patch Set 2 : adb direct #

Patch Set 3 : directory push #

Patch Set 4 : fix? #

Patch Set 5 : ok? #

Patch Set 6 : try easy thing again #

Patch Set 7 : another approach #

Patch Set 8 : root #

Patch Set 9 : try tar #

Patch Set 10 : order matters #

Patch Set 11 : remove tar, list /data/local/tmp #

Patch Set 12 : refine #

Patch Set 13 : drat #

Patch Set 14 : oy #

Patch Set 15 : one RM, ensure mkdir -p #

Patch Set 16 : run it? #

Patch Set 17 : small stuff #

Patch Set 18 : run.sh #

Patch Set 19 : no time #

Patch Set 20 : wtf #

Patch Set 21 : snazz #

Patch Set 22 : fewer mkdir -p #

Patch Set 23 : streamlining #

Patch Set 24 : refine run.sh #

Patch Set 25 : yet better run.sh #

Patch Set 26 : separate pushes #

Patch Set 27 : tweak #

Patch Set 28 : back, to, commas #

Patch Set 29 : Android text gammas. #

Patch Set 30 : add adb-wrapper #

Patch Set 31 : use adb-wrapper #

Patch Set 32 : try inline py #

Patch Set 33 : duh #

Patch Set 34 : fix device path #

Patch Set 35 : more #

Patch Set 36 : list2cmdline #

Patch Set 37 : paths #

Patch Set 38 : os.walk #

Patch Set 39 : . is ok #

Patch Set 40 : /tmp/ #

Patch Set 41 : check rc #

Patch Set 42 : rebase #

Patch Set 43 : print getting swallowed with the , #

Patch Set 44 : skip some bench configs on AndroidOne #

Total comments: 11

Patch Set 45 : eric #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+753 lines, -16 lines) Patch
M infra/bots/recipe_modules/flavor/gn_android_flavor.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 2 chunks +102 lines, -7 lines 0 comments Download
M infra/bots/recipes/swarm_perf.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 2 chunks +7 lines, -4 lines 0 comments Download
M infra/bots/recipes/swarm_test.py View 1 2 4 chunks +9 lines, -5 lines 0 comments Download
A infra/bots/recipes/swarm_test.expected/Test-Android-Clang-AndroidOne-CPU-MT6582-arm-Release-GN_Android.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 1 chunk +635 lines, -0 lines 1 comment Download

Messages

Total messages: 65 (44 generated)
mtklein_C
4 years, 3 months ago (2016-09-09 21:50:16 UTC) #18
borenet
https://codereview.chromium.org/2320153002/diff/820001/infra/bots/recipe_modules/flavor/gn_android_flavor.py File infra/bots/recipe_modules/flavor/gn_android_flavor.py (right): https://codereview.chromium.org/2320153002/diff/820001/infra/bots/recipe_modules/flavor/gn_android_flavor.py#newcode29 infra/bots/recipe_modules/flavor/gn_android_flavor.py:29: title = subprocess.list2cmdline(cmd) This generates bad step names, eg. ...
4 years, 3 months ago (2016-09-12 13:10:13 UTC) #26
mtklein
https://codereview.chromium.org/2320153002/diff/820001/infra/bots/recipe_modules/flavor/gn_android_flavor.py File infra/bots/recipe_modules/flavor/gn_android_flavor.py (right): https://codereview.chromium.org/2320153002/diff/820001/infra/bots/recipe_modules/flavor/gn_android_flavor.py#newcode29 infra/bots/recipe_modules/flavor/gn_android_flavor.py:29: title = subprocess.list2cmdline(cmd) On 2016/09/12 13:10:12, borenet wrote: > ...
4 years, 3 months ago (2016-09-12 14:12:12 UTC) #28
borenet
https://codereview.chromium.org/2320153002/diff/820001/infra/bots/recipe_modules/flavor/gn_android_flavor.py File infra/bots/recipe_modules/flavor/gn_android_flavor.py (right): https://codereview.chromium.org/2320153002/diff/820001/infra/bots/recipe_modules/flavor/gn_android_flavor.py#newcode29 infra/bots/recipe_modules/flavor/gn_android_flavor.py:29: title = subprocess.list2cmdline(cmd) On 2016/09/12 14:12:12, mtklein wrote: > ...
4 years, 3 months ago (2016-09-12 14:32:00 UTC) #31
borenet
LGTM per live conversation
4 years, 3 months ago (2016-09-12 15:11:10 UTC) #32
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/2320153002/840001
4 years, 3 months ago (2016-09-12 15:14:38 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: Perf-Android-Clang-AndroidOne-CPU-MT6582-arm-Debug-GN_Android-Trybot on master.client.skia.android (JOB_FAILED, http://build.chromium.org/p/client.skia.android/builders/Perf-Android-Clang-AndroidOne-CPU-MT6582-arm-Debug-GN_Android-Trybot/builds/6)
4 years, 3 months ago (2016-09-12 15:45:25 UTC) #37
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/2320153002/840001
4 years, 3 months ago (2016-09-12 15:51:49 UTC) #39
commit-bot: I haz the power
Try jobs failed on following builders: Perf-Android-Clang-AndroidOne-GPU-Mali400MP2-arm-Debug-GN_Android-Trybot on master.client.skia.android (JOB_FAILED, http://build.chromium.org/p/client.skia.android/builders/Perf-Android-Clang-AndroidOne-GPU-Mali400MP2-arm-Debug-GN_Android-Trybot/builds/6) Test-Android-Clang-AndroidOne-GPU-Mali400MP2-arm-Debug-GN_Android-Trybot on master.client.skia.android (JOB_FAILED, ...
4 years, 3 months ago (2016-09-12 16:07:12 UTC) #41
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/2320153002/840001
4 years, 3 months ago (2016-09-12 16:17:33 UTC) #43
commit-bot: I haz the power
Try jobs failed on following builders: Test-Android-Clang-AndroidOne-GPU-Mali400MP2-arm-Release-GN_Android-Trybot on master.client.skia.android (JOB_FAILED, http://build.chromium.org/p/client.skia.android/builders/Test-Android-Clang-AndroidOne-GPU-Mali400MP2-arm-Release-GN_Android-Trybot/builds/23)
4 years, 3 months ago (2016-09-12 16:26:40 UTC) #45
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/2320153002/840001
4 years, 3 months ago (2016-09-12 16:32:43 UTC) #47
commit-bot: I haz the power
Try jobs failed on following builders: Test-Android-Clang-AndroidOne-GPU-Mali400MP2-arm-Debug-GN_Android-Trybot on master.client.skia.android (JOB_FAILED, http://build.chromium.org/p/client.skia.android/builders/Test-Android-Clang-AndroidOne-GPU-Mali400MP2-arm-Debug-GN_Android-Trybot/builds/7)
4 years, 3 months ago (2016-09-12 16:34:15 UTC) #49
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/2320153002/840001
4 years, 3 months ago (2016-09-12 16:38:37 UTC) #51
commit-bot: I haz the power
Try jobs failed on following builders: Test-Android-Clang-AndroidOne-GPU-Mali400MP2-arm-Debug-GN_Android-Trybot on master.client.skia.android (JOB_FAILED, http://build.chromium.org/p/client.skia.android/builders/Test-Android-Clang-AndroidOne-GPU-Mali400MP2-arm-Debug-GN_Android-Trybot/builds/8)
4 years, 3 months ago (2016-09-12 16:53:45 UTC) #53
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/2320153002/840001
4 years, 3 months ago (2016-09-12 16:54:36 UTC) #55
commit-bot: I haz the power
Try jobs failed on following builders: Test-Android-Clang-AndroidOne-GPU-Mali400MP2-arm-Debug-GN_Android-Trybot on master.client.skia.android (JOB_FAILED, http://build.chromium.org/p/client.skia.android/builders/Test-Android-Clang-AndroidOne-GPU-Mali400MP2-arm-Debug-GN_Android-Trybot/builds/9)
4 years, 3 months ago (2016-09-12 17:09:12 UTC) #57
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/2320153002/840001
4 years, 3 months ago (2016-09-12 17:10:49 UTC) #59
commit-bot: I haz the power
Try jobs failed on following builders: Perf-Android-Clang-AndroidOne-GPU-Mali400MP2-arm-Release-GN_Android-Trybot on master.client.skia.android (JOB_FAILED, http://build.chromium.org/p/client.skia.android/builders/Perf-Android-Clang-AndroidOne-GPU-Mali400MP2-arm-Release-GN_Android-Trybot/builds/9)
4 years, 3 months ago (2016-09-12 17:17:39 UTC) #61
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/2320153002/840001
4 years, 3 months ago (2016-09-12 17:19:18 UTC) #63
commit-bot: I haz the power
4 years, 3 months ago (2016-09-12 19:24:42 UTC) #65
Message was sent while issue was closed.
Committed patchset #45 (id:840001) as
https://skia.googlesource.com/skia/+/df5df81084a9b8652e6ed0987c2454c62d787188

Powered by Google App Engine
This is Rietveld 408576698