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

Issue 32163002: Relands Android perf tests: kill adbd on the device after running a test. (Closed)

Created:
7 years, 2 months ago by bulach
Modified:
7 years, 2 months ago
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
Visibility:
Public.

Description

Relands Android perf tests: kill adbd on the device after running a test. Third retry on crrev.com/226762. Adds "wait-for-device". There's some data indicating that adbd on the device sometimes spontaneously restores its connection. After running a test, let's kill adbd and wait for bit. This is a speculative change to try to make the bots healthier. BUG=268450 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=229931

Patch Set 1 #

Patch Set 2 : Diff from original #

Total comments: 6

Patch Set 3 : forwarder2 #

Total comments: 6

Patch Set 4 : pliard's comments #

Total comments: 6

Patch Set 5 : Comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -4 lines) Patch
M build/android/pylib/android_commands.py View 1 2 3 4 3 chunks +17 lines, -3 lines 0 comments Download
M build/android/pylib/perf/test_runner.py View 1 2 3 4 2 chunks +8 lines, -0 lines 0 comments Download
M tools/android/forwarder2/host_forwarder_main.cc View 1 2 3 3 chunks +31 lines, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
bulach
ptal, perhaps third time lucky :) major differences: - use wait-for-device - kill adbd before ...
7 years, 2 months ago (2013-10-21 10:26:29 UTC) #1
rmcilroy
https://codereview.chromium.org/32163002/diff/40001/build/android/pylib/android_commands.py File build/android/pylib/android_commands.py (right): https://codereview.chromium.org/32163002/diff/40001/build/android/pylib/android_commands.py#newcode461 build/android/pylib/android_commands.py:461: def KillAdbdDevice(self): Nit - how about RestartAdbdOnDevice()? https://codereview.chromium.org/32163002/diff/40001/build/android/pylib/android_commands.py#newcode466 build/android/pylib/android_commands.py:466: ...
7 years, 2 months ago (2013-10-21 11:33:13 UTC) #2
bulach
+pliard, I found the issue :) what happens: - kill adb on the device - ...
7 years, 2 months ago (2013-10-21 15:30:13 UTC) #3
Philippe
Nice Marcus, thanks! LGTM modulo the question I have on line 232. https://codereview.chromium.org/32163002/diff/100001/tools/android/forwarder2/host_forwarder_main.cc File tools/android/forwarder2/host_forwarder_main.cc ...
7 years, 2 months ago (2013-10-21 15:44:58 UTC) #4
Philippe
https://codereview.chromium.org/32163002/diff/100001/tools/android/forwarder2/host_forwarder_main.cc File tools/android/forwarder2/host_forwarder_main.cc (right): https://codereview.chromium.org/32163002/diff/100001/tools/android/forwarder2/host_forwarder_main.cc#newcode232 tools/android/forwarder2/host_forwarder_main.cc:232: if (others->first.find_first_of(prefix) == 0U) On 2013/10/21 15:44:58, Philippe wrote: ...
7 years, 2 months ago (2013-10-21 15:53:20 UTC) #5
bulach
thanks pliard! another look please? https://codereview.chromium.org/32163002/diff/100001/tools/android/forwarder2/host_forwarder_main.cc File tools/android/forwarder2/host_forwarder_main.cc (right): https://codereview.chromium.org/32163002/diff/100001/tools/android/forwarder2/host_forwarder_main.cc#newcode232 tools/android/forwarder2/host_forwarder_main.cc:232: if (others->first.find_first_of(prefix) == 0U) ...
7 years, 2 months ago (2013-10-21 17:19:59 UTC) #6
Philippe
Thanks Marcus! Still LGTM! https://codereview.chromium.org/32163002/diff/100001/tools/android/forwarder2/host_forwarder_main.cc File tools/android/forwarder2/host_forwarder_main.cc (right): https://codereview.chromium.org/32163002/diff/100001/tools/android/forwarder2/host_forwarder_main.cc#newcode232 tools/android/forwarder2/host_forwarder_main.cc:232: if (others->first.find_first_of(prefix) == 0U) On ...
7 years, 2 months ago (2013-10-21 17:25:23 UTC) #7
rmcilroy
Nice, lgtm with one nit. https://codereview.chromium.org/32163002/diff/210001/build/android/pylib/perf/test_runner.py File build/android/pylib/perf/test_runner.py (right): https://codereview.chromium.org/32163002/diff/210001/build/android/pylib/perf/test_runner.py#newcode49 build/android/pylib/perf/test_runner.py:49: import time I think ...
7 years, 2 months ago (2013-10-21 17:34:43 UTC) #8
tonyg
lgtm https://codereview.chromium.org/32163002/diff/210001/build/android/pylib/android_commands.py File build/android/pylib/android_commands.py (right): https://codereview.chromium.org/32163002/diff/210001/build/android/pylib/android_commands.py#newcode464 build/android/pylib/android_commands.py:464: if adb_pids: Should we assert adb_pids? There is ...
7 years, 2 months ago (2013-10-21 17:48:38 UTC) #9
bulach
thanks everyone! all comments addressed, I'll put this through the CQ so hopefully by tomorrow ...
7 years, 2 months ago (2013-10-21 18:49:39 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bulach@chromium.org/32163002/310001
7 years, 2 months ago (2013-10-21 18:50:51 UTC) #11
commit-bot: I haz the power
7 years, 2 months ago (2013-10-21 21:56:00 UTC) #12
Message was sent while issue was closed.
Change committed as 229931

Powered by Google App Engine
This is Rietveld 408576698