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

Issue 2430123002: Use signal.SIGTERM instead of signal.SIGKILL to kill process. (Closed)

Created:
4 years, 2 months ago by Yoshisato Yanagisawa
Modified:
4 years, 2 months ago
Reviewers:
ukai, tikuta, shinyak
CC:
chromium-reviews, infra-reviews+build_chromium.org, kjellander-cc_chromium.org
Target Ref:
refs/heads/master
Project:
build
Visibility:
Public.

Description

Use signal.SIGTERM instead of signal.SIGKILL to kill process. Since Windows does not have signal.SIGKILL, we need to use signal.SIGTERM to use the same code in both posix and Windows. Additional changes: - minimize scope file handler is opened. - make more chatty for ease of understanding what happens in where. - ignore exceptions caused in wait_terminate. I believe making the service running is more important than completely killing cloudtail the way we thought. BUG=656846 Committed: https://chromium.googlesource.com/chromium/tools/build/+/4f6540ce526f62da04741be7d86861db8550705e

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -7 lines) Patch
M scripts/slave/recipe_modules/goma/resources/cloudtail_utils.py View 2 chunks +12 lines, -7 lines 2 comments Download

Messages

Total messages: 9 (4 generated)
Yoshisato Yanagisawa
4 years, 2 months ago (2016-10-19 02:51:20 UTC) #2
ukai
lgtm https://codereview.chromium.org/2430123002/diff/1/scripts/slave/recipe_modules/goma/resources/cloudtail_utils.py File scripts/slave/recipe_modules/goma/resources/cloudtail_utils.py (right): https://codereview.chromium.org/2430123002/diff/1/scripts/slave/recipe_modules/goma/resources/cloudtail_utils.py#newcode126 scripts/slave/recipe_modules/goma/resources/cloudtail_utils.py:126: os.kill(pid, signal.SIGTERM) cloudtail doesn't handle SIGTERM to process ...
4 years, 2 months ago (2016-10-19 04:16:27 UTC) #4
Yoshisato Yanagisawa
https://codereview.chromium.org/2430123002/diff/1/scripts/slave/recipe_modules/goma/resources/cloudtail_utils.py File scripts/slave/recipe_modules/goma/resources/cloudtail_utils.py (right): https://codereview.chromium.org/2430123002/diff/1/scripts/slave/recipe_modules/goma/resources/cloudtail_utils.py#newcode126 scripts/slave/recipe_modules/goma/resources/cloudtail_utils.py:126: os.kill(pid, signal.SIGTERM) On 2016/10/19 04:16:27, ukai wrote: > cloudtail ...
4 years, 2 months ago (2016-10-19 04:27:24 UTC) #5
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/2430123002/1
4 years, 2 months ago (2016-10-19 04:37:13 UTC) #7
commit-bot: I haz the power
4 years, 2 months ago (2016-10-19 04:46:51 UTC) #9
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/tools/build/+/4f6540ce526f62da0474...

Powered by Google App Engine
This is Rietveld 408576698