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

Issue 14721005: [Testing] Be more aggressive when killing android processes via ADB. (Closed)

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

Description

[Testing] Be more aggressive when killing android processes via ADB. Without -9, this was not killing the forwarder. BUG=237820 NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=198212

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M build/android/pylib/android_commands.py View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
Ted C
michaelbai|pilard - PTAL This was failing for me locally while trying to repro a build ...
7 years, 7 months ago (2013-05-03 16:47:53 UTC) #1
craigdh
lgtm.
7 years, 7 months ago (2013-05-03 16:53:40 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tedchoc@chromium.org/14721005/1
7 years, 7 months ago (2013-05-03 17:38:46 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tedchoc@chromium.org/14721005/1
7 years, 7 months ago (2013-05-03 22:10:52 UTC) #4
commit-bot: I haz the power
Change committed as 198212
7 years, 7 months ago (2013-05-03 22:13:04 UTC) #5
Philippe
On 2013/05/03 22:13:04, I haz the power (commit-bot) wrote: > Change committed as 198212 I ...
7 years, 7 months ago (2013-05-06 16:56:55 UTC) #6
craigdh
On 2013/05/06 16:56:55, Philippe wrote: > On 2013/05/03 22:13:04, I haz the power (commit-bot) wrote: ...
7 years, 7 months ago (2013-05-06 17:07:51 UTC) #7
Ted C
7 years, 7 months ago (2013-05-06 17:08:24 UTC) #8
Message was sent while issue was closed.
On 2013/05/06 16:56:55, Philippe wrote:
> On 2013/05/03 22:13:04, I haz the power (commit-bot) wrote:
> > Change committed as 198212
> 
> I think this might cause us some problems soon if it's not already the case.
> Some processes including forwarder need to do some work when they get killed.
If
> there is a problem with forwarder I can look into it but I don't think we
should
> move to a SIGKILL behavior by default. To me this should only be done in last
> resort (after a failed SIGTERM attempt).

I think it would be fine to move to a attempt to shut it down more gracefully,
but then force it if that fails.

Seems like we could just parameterize these two methods with a force kill flag
and leave it up to the caller to do as they choose.  In the case of the
forwarder that was giving me problems, I'd still rather it force kill the app
internally acknowledging a unclean shutdown than me having to dig into the phone
myself and kill it manually.

> 
> What do you guys think?

Powered by Google App Engine
This is Rietveld 408576698