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

Issue 2649433002: When killing wptserve, use Executive.interrupt on non-Windows platforms. (Closed)

Created:
3 years, 11 months ago by qyearsley
Modified:
3 years, 11 months ago
Reviewers:
tkent, Dirk Pranke
CC:
blink-reviews, chromium-reviews, Dirk Pranke, foolip, jeffcarp
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

When killing wptserve, use Executive.interrupt on non-Windows platforms. Before http://crrev.com/2624093003, the test runner would hang in a busy loop while trying to kill wptserve. After that CL, though, when running run-webkit-tests locally on Linux, wptserve wouldn't be effectively killed before the next run. This CL is meant to make it so that it behaves more like it did before (using interrupt instead of kill for non-Windows platforms), but still only tries to kill wptserve for 20 seconds, with 1-second sleeps between attempts. I tried locally to see what would happen if I undid the change in http://crrev.com/2624093003 but only changed _stop_running_server to use kill_process on all platforms (not just Windows), and confirmed that this apparently doesn't kill the process properly on my workstation. BUG=669802, 682711 Review-Url: https://codereview.chromium.org/2649433002 Cr-Commit-Position: refs/heads/master@{#444933} Committed: https://chromium.googlesource.com/chromium/src/+/896b0f4ea756385f66de7b31c52fccf728a02cb6

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -0 lines) Patch
M third_party/WebKit/Tools/Scripts/webkitpy/common/system/executive_mock.py View 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/servers/wptserve.py View 2 chunks +35 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (6 generated)
qyearsley
3 years, 11 months ago (2017-01-19 22:16:46 UTC) #2
tkent
lgtm
3 years, 11 months ago (2017-01-19 23:04:33 UTC) #3
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/2649433002/1
3 years, 11 months ago (2017-01-19 23:08:45 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/2649433002/1
3 years, 11 months ago (2017-01-20 00:58:05 UTC) #8
commit-bot: I haz the power
3 years, 11 months ago (2017-01-20 01:46:51 UTC) #11
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/896b0f4ea756385f66de7b31c52f...

Powered by Google App Engine
This is Rietveld 408576698