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

Issue 2815573003: Fix force stop using wrong "ps" cmd. (Closed)

Created:
3 years, 8 months ago by mikecase (-- gone --)
Modified:
3 years, 8 months ago
Reviewers:
perezju, jbudorick, agrieve
CC:
catapult-reviews_chromium.org, shenghuazhang
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

Fix force stop using wrong "ps" cmd. ps command was changed for devices with sdk level greater than Nougat N-MR1. Fixing the usage of ps in ForceStop for these devices. BUG=chromium:707319 Review-Url: https://codereview.chromium.org/2815573003 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/8cea3a22656a0b60d48e530cc5f7259dd762c873

Patch Set 1 #

Patch Set 2 : Fix force stop using wrong "ps" cmd. #

Total comments: 2

Patch Set 3 : Fix a bunch of really bad indenting. #

Patch Set 4 : Fix force stop using wrong "ps" cmd. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -6 lines) Patch
M devil/devil/android/device_utils.py View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M devil/devil/android/device_utils_test.py View 1 2 3 1 chunk +10 lines, -3 lines 0 comments Download
M devil/devil/android/sdk/adb_wrapper.py View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 16 (5 generated)
mikecase (-- gone --)
3 years, 8 months ago (2017-04-11 23:36:56 UTC) #2
jbudorick
https://codereview.chromium.org/2815573003/diff/20001/devil/devil/android/device_utils.py File devil/devil/android/device_utils.py (right): https://codereview.chromium.org/2815573003/diff/20001/devil/devil/android/device_utils.py#newcode1184 devil/devil/android/device_utils.py:1184: cmd = ('p=%s;if [[ "$(%s)" = *$p* ]]; then ...
3 years, 8 months ago (2017-04-11 23:47:24 UTC) #3
mikecase (-- gone --)
Briefly experimented with... ## Current way time (adb shell '(p=chrome; if [[ "$(ps)" = *$p* ...
3 years, 8 months ago (2017-04-12 00:09:32 UTC) #4
jbudorick
+agrieve in case he has opinions about un-hotrolling this.
3 years, 8 months ago (2017-04-12 00:13:29 UTC) #6
agrieve
On 2017/04/12 00:13:29, jbudorick wrote: > +agrieve in case he has opinions about un-hotrolling this. ...
3 years, 8 months ago (2017-04-12 00:27:29 UTC) #7
perezju
https://codereview.chromium.org/2815573003/diff/20001/devil/devil/android/device_utils.py File devil/devil/android/device_utils.py (right): https://codereview.chromium.org/2815573003/diff/20001/devil/devil/android/device_utils.py#newcode1184 devil/devil/android/device_utils.py:1184: cmd = ('p=%s;if [[ "$(%s)" = *$p* ]]; then ...
3 years, 8 months ago (2017-04-12 09:13:20 UTC) #8
mikecase (-- gone --)
updated to remove hand-rolled script. I didnt use PersistentShell (for now) since all of our ...
3 years, 8 months ago (2017-04-12 16:33:44 UTC) #9
jbudorick
lgtm +shenghuazhang (cc) is starting to look at using PersistentShell more broadly for performance reasons, ...
3 years, 8 months ago (2017-04-12 16:38:56 UTC) #10
perezju
lgtm
3 years, 8 months ago (2017-04-12 16:40:24 UTC) #11
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/2815573003/60001
3 years, 8 months ago (2017-04-12 16:41:47 UTC) #13
commit-bot: I haz the power
3 years, 8 months ago (2017-04-12 17:12:20 UTC) #16
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/external/github.com/catapult-project/catapu...

Powered by Google App Engine
This is Rietveld 408576698