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

Issue 2431223008: Make os.waitpid timeout on Windows. (Closed)

Created:
4 years, 2 months ago by Yoshisato Yanagisawa
Modified:
4 years, 1 month ago
Reviewers:
Vadim Sh., 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

Make os.waitpid timeout on Windows. If a process does not finish, os.waitpid won't also finish, and stop cloudtail blocks until recipe timeout. To avoid the situation, let me make os.waitpid timeout in 10 seconds. BUG=656846

Patch Set 1 #

Total comments: 2

Patch Set 2 : fix indent. #

Patch Set 3 : rebased. #

Total comments: 1

Patch Set 4 : starts with lower case. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -6 lines) Patch
M scripts/slave/recipe_modules/goma/resources/cloudtail_utils.py View 1 2 3 3 chunks +31 lines, -6 lines 0 comments Download

Messages

Total messages: 17 (3 generated)
Yoshisato Yanagisawa
4 years, 2 months ago (2016-10-21 02:22:01 UTC) #2
tikuta
lgtm https://codereview.chromium.org/2431223008/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/2431223008/diff/1/scripts/slave/recipe_modules/goma/resources/cloudtail_utils.py#newcode61 scripts/slave/recipe_modules/goma/resources/cloudtail_utils.py:61: Exception: if something raised in os.waitpid. nit: I ...
4 years, 2 months ago (2016-10-21 02:35:04 UTC) #3
Yoshisato Yanagisawa
https://codereview.chromium.org/2431223008/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/2431223008/diff/1/scripts/slave/recipe_modules/goma/resources/cloudtail_utils.py#newcode61 scripts/slave/recipe_modules/goma/resources/cloudtail_utils.py:61: Exception: if something raised in os.waitpid. On 2016/10/21 02:35:04, ...
4 years, 2 months ago (2016-10-21 02:38:15 UTC) #4
ukai
lgtm
4 years, 2 months ago (2016-10-21 02:46:58 UTC) #5
shinyak
lgtm
4 years, 2 months ago (2016-10-21 02:53:35 UTC) #6
Vadim Sh.
I've got access to Windows machine for development. It appears this script is mostly broken ...
4 years, 2 months ago (2016-10-21 03:01:48 UTC) #8
Vadim Sh.
Alternatively, we can just kill cloudtail with SIGKILL (and possibly loose some logs, usually their ...
4 years, 2 months ago (2016-10-21 03:25:05 UTC) #9
Yoshisato Yanagisawa
Goal of using cloudtail is keeping on tracking compiler_proxy.INFO under sudden death of buildbot slave. ...
4 years, 2 months ago (2016-10-21 04:33:32 UTC) #10
Vadim Sh.
On 2016/10/21 04:33:32, Yoshisato Yanagisawa wrote: > Goal of using cloudtail is keeping on tracking ...
4 years, 2 months ago (2016-10-21 04:40:07 UTC) #11
Yoshisato Yanagisawa
If there is strong QPS requirement, we can only choose graceful shutdown. Is it possible ...
4 years, 2 months ago (2016-10-21 06:03:55 UTC) #12
Yoshisato Yanagisawa
s/requirement/limitation/.
4 years, 2 months ago (2016-10-21 06:04:23 UTC) #13
Vadim Sh.
On 2016/10/21 06:04:23, Yoshisato Yanagisawa wrote: > s/requirement/limitation/. There's a requirement of 500 QPS globally ...
4 years, 2 months ago (2016-10-21 17:20:07 UTC) #14
Yoshisato Yanagisawa
On 2016/10/21 17:20:07, Vadim Sh. wrote: > There's a requirement of 500 QPS globally for ...
4 years, 2 months ago (2016-10-24 09:42:13 UTC) #15
Yoshisato Yanagisawa
4 years, 1 month ago (2016-10-25 05:39:26 UTC) #16
This change has been taken over by https://codereview.chromium.org/2444233002/.

Powered by Google App Engine
This is Rietveld 408576698