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

Issue 25574002: 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
Reviewers:
craigdh, navabi1, navabi, 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, rmcilroy
Visibility:
Public.

Description

Android perf tests: kill adbd on the device after running a test. 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= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=226762

Patch Set 1 #

Total comments: 6

Patch Set 2 : Move to android_commands #

Total comments: 2

Patch Set 3 : Move try..except #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -0 lines) Patch
M build/android/pylib/android_commands.py View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M build/android/pylib/perf/test_runner.py View 1 2 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
bulach
this pushes armand's idea of just waiting at the end of the test to something ...
7 years, 2 months ago (2013-10-01 18:44:43 UTC) #1
craigdh
https://codereview.chromium.org/25574002/diff/1/build/android/pylib/perf/test_runner.py File build/android/pylib/perf/test_runner.py (right): https://codereview.chromium.org/25574002/diff/1/build/android/pylib/perf/test_runner.py#newcode165 build/android/pylib/perf/test_runner.py:165: adb = android_commands.AndroidCommands(self.device) An adb object should already exists ...
7 years, 2 months ago (2013-10-01 18:56:44 UTC) #2
navabi
I like trying this out. Though, I should note that while my tests show that ...
7 years, 2 months ago (2013-10-01 22:55:10 UTC) #3
bulach
thanks both! comments addressed, ptal.. https://codereview.chromium.org/25574002/diff/1/build/android/pylib/perf/test_runner.py File build/android/pylib/perf/test_runner.py (right): https://codereview.chromium.org/25574002/diff/1/build/android/pylib/perf/test_runner.py#newcode165 build/android/pylib/perf/test_runner.py:165: adb = android_commands.AndroidCommands(self.device) On ...
7 years, 2 months ago (2013-10-02 08:53:43 UTC) #4
navabi
On 2013/10/02 08:53:43, bulach wrote: > thanks both! comments addressed, ptal.. > > https://codereview.chromium.org/25574002/diff/1/build/android/pylib/perf/test_runner.py > ...
7 years, 2 months ago (2013-10-02 17:28:10 UTC) #5
craigdh
It will be interesting to see if this helps... lgtm w/ comment. https://codereview.chromium.org/25574002/diff/6001/build/android/pylib/android_commands.py File build/android/pylib/android_commands.py ...
7 years, 2 months ago (2013-10-02 17:36:53 UTC) #6
bulach
thanks all! landing this, keep your fingers crossed :) https://codereview.chromium.org/25574002/diff/6001/build/android/pylib/android_commands.py File build/android/pylib/android_commands.py (right): https://codereview.chromium.org/25574002/diff/6001/build/android/pylib/android_commands.py#newcode470 build/android/pylib/android_commands.py:470: ...
7 years, 2 months ago (2013-10-03 08:26:13 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bulach@chromium.org/25574002/13001
7 years, 2 months ago (2013-10-03 08:26:53 UTC) #8
commit-bot: I haz the power
Change committed as 226762
7 years, 2 months ago (2013-10-03 15:24:39 UTC) #9
bulach
7 years, 2 months ago (2013-10-04 12:17:08 UTC) #10
Message was sent while issue was closed.
turns out this made the bots flakier and ross reverted here:
http://src.chromium.org/viewvc/chrome?view=rev&revision=226980

it looks like it was due to the forwarder, so here's another try:
https://codereview.chromium.org/25982005/

Powered by Google App Engine
This is Rietveld 408576698