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

Issue 22854004: Android: first step into making "perf tests" reuse the functional test infra. (Closed)

Created:
7 years, 4 months ago by bulach
Modified:
7 years, 4 months ago
Reviewers:
frankf
CC:
chromium-reviews, craigdh+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, ilevy-cc_chromium.org, klundberg+watch_chromium.org, frankf+watch_chromium.org, tonyg
Visibility:
Public.

Description

Android: first step into making "perf tests" reuse the functional test infra. Perf tests are currently using build/android/bb_run_sharded_steps.py, which lacks a lot of functionality to retry on different devices on failure, plus it adds an entirely separate hierarchy for running tests. This patch is the first step to deprecate it and reuse the same mechanism as all other functional tests. BUG=270165, 268450 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=217550

Patch Set 1 #

Total comments: 44

Patch Set 2 : Comments #

Total comments: 5

Patch Set 3 : Nits #

Patch Set 4 : copyright notice #

Unified diffs Side-by-side diffs Delta from patch set Stats (+304 lines, -0 lines) Patch
M build/android/pylib/base/test_dispatcher.py View 1 1 chunk +1 line, -1 line 0 comments Download
A + build/android/pylib/perf/__init__.py View 1 2 3 0 chunks +-1 lines, --1 lines 0 comments Download
A build/android/pylib/perf/setup.py View 1 2 1 chunk +74 lines, -0 lines 0 comments Download
A build/android/pylib/perf/test_options.py View 1 chunk +13 lines, -0 lines 0 comments Download
A build/android/pylib/perf/test_runner.py View 1 1 chunk +154 lines, -0 lines 0 comments Download
M build/android/test_runner.py View 1 2 5 chunks +63 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
bulach
frankf, ptal (tonyg@, just FYI). some quick background: * sharding for perf tests happens in ...
7 years, 4 months ago (2013-08-12 15:28:38 UTC) #1
frankf
Thanks Marcus, this is much cleaner. https://codereview.chromium.org/22854004/diff/1/build/android/pylib/perf/setup.py File build/android/pylib/perf/setup.py (right): https://codereview.chromium.org/22854004/diff/1/build/android/pylib/perf/setup.py#newcode22 build/android/pylib/perf/setup.py:22: pids = cmd_helper.GetCmdOutput(['pgrep', ...
7 years, 4 months ago (2013-08-12 23:09:52 UTC) #2
frankf
https://codereview.chromium.org/22854004/diff/1/build/android/pylib/perf/setup.py File build/android/pylib/perf/setup.py (right): https://codereview.chromium.org/22854004/diff/1/build/android/pylib/perf/setup.py#newcode60 build/android/pylib/perf/setup.py:60: return test_runner.TestPrinter(test_options, device, shard_index) Also, it's really weird to ...
7 years, 4 months ago (2013-08-13 00:43:11 UTC) #3
bulach
thanks frank! this is indeed much cleaner, I'm very glad to reuse all the retry ...
7 years, 4 months ago (2013-08-13 08:58:19 UTC) #4
craigdh
https://codereview.chromium.org/22854004/diff/8001/build/android/pylib/perf/setup.py File build/android/pylib/perf/setup.py (right): https://codereview.chromium.org/22854004/diff/8001/build/android/pylib/perf/setup.py#newcode30 build/android/pylib/perf/setup.py:30: # Restart the adb server with taskset to set ...
7 years, 4 months ago (2013-08-13 16:58:46 UTC) #5
bulach
https://codereview.chromium.org/22854004/diff/8001/build/android/pylib/perf/setup.py File build/android/pylib/perf/setup.py (right): https://codereview.chromium.org/22854004/diff/8001/build/android/pylib/perf/setup.py#newcode30 build/android/pylib/perf/setup.py:30: # Restart the adb server with taskset to set ...
7 years, 4 months ago (2013-08-13 17:06:52 UTC) #6
frankf
lgtm with nit https://codereview.chromium.org/22854004/diff/8001/build/android/test_runner.py File build/android/test_runner.py (right): https://codereview.chromium.org/22854004/diff/8001/build/android/test_runner.py#newcode605 build/android/test_runner.py:605: tests, runner_factory, False, None, shard=True) Disable ...
7 years, 4 months ago (2013-08-13 18:55:02 UTC) #7
craigdh
https://codereview.chromium.org/22854004/diff/8001/build/android/pylib/perf/setup.py File build/android/pylib/perf/setup.py (right): https://codereview.chromium.org/22854004/diff/8001/build/android/pylib/perf/setup.py#newcode30 build/android/pylib/perf/setup.py:30: # Restart the adb server with taskset to set ...
7 years, 4 months ago (2013-08-13 19:03:45 UTC) #8
bulach
thanks both! all addressed, CQing. I'll start ripping out bb_sharded_steps.py to just delegate to this ...
7 years, 4 months ago (2013-08-14 08:14:12 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bulach@chromium.org/22854004/22001
7 years, 4 months ago (2013-08-14 08:15:02 UTC) #10
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=20494
7 years, 4 months ago (2013-08-14 08:30:51 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bulach@chromium.org/22854004/37001
7 years, 4 months ago (2013-08-14 10:09:02 UTC) #12
commit-bot: I haz the power
7 years, 4 months ago (2013-08-14 14:39:52 UTC) #13
Message was sent while issue was closed.
Change committed as 217550

Powered by Google App Engine
This is Rietveld 408576698