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

Issue 985503004: Removing the implicit delete from Terminate and Kill. (Closed)

Created:
5 years, 9 months ago by Mike Meade
Modified:
5 years, 9 months ago
Reviewers:
M-A Ruel
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Removing the implicit delete from Terminate and Kill. This is due to the fact that after calling these methods the calling code is not able to read the buffered stdout and stderr output since the process has been removed completely. I ran into this in a few testing scenarios where I needed to kill Chrome after some timeout period but wasn't able to read the output after the call. BUG= Committed: https://crrev.com/a125b85c466b619591fb1b079c2c25747884a180 Cr-Commit-Position: refs/heads/master@{#319902}

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Patch Set 3 : Merging in some overall changes to the subprocess operations due to real world usage experience. #

Patch Set 4 : Removing unused import #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -16 lines) Patch
M testing/legion/examples/subprocess/subprocess_test.py View 1 2 3 chunks +12 lines, -6 lines 0 comments Download
M testing/legion/rpc_methods.py View 1 2 3 5 chunks +72 lines, -9 lines 4 comments Download
M testing/legion/run_task.py View 1 2 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 9 (2 generated)
Mike Meade
https://codereview.chromium.org/985503004/diff/1/testing/legion/examples/subprocess/subprocess_test.py File testing/legion/examples/subprocess/subprocess_test.py (right): https://codereview.chromium.org/985503004/diff/1/testing/legion/examples/subprocess/subprocess_test.py#newcode35 testing/legion/examples/subprocess/subprocess_test.py:35: dimensions={'os': 'Ubuntu-14.04', 'pool': 'Chromoting'}, We merged the Legion machines ...
5 years, 9 months ago (2015-03-06 17:18:43 UTC) #2
M-A Ruel
https://codereview.chromium.org/985503004/diff/60001/testing/legion/rpc_methods.py File testing/legion/rpc_methods.py (right): https://codereview.chromium.org/985503004/diff/60001/testing/legion/rpc_methods.py#newcode128 testing/legion/rpc_methods.py:128: def SetCwd(cls, key, cwd): Why not set it at ...
5 years, 9 months ago (2015-03-09 19:50:35 UTC) #3
Mike Meade
https://codereview.chromium.org/985503004/diff/60001/testing/legion/rpc_methods.py File testing/legion/rpc_methods.py (right): https://codereview.chromium.org/985503004/diff/60001/testing/legion/rpc_methods.py#newcode128 testing/legion/rpc_methods.py:128: def SetCwd(cls, key, cwd): On 2015/03/09 19:50:35, M-A Ruel ...
5 years, 9 months ago (2015-03-09 20:24:36 UTC) #4
M-A Ruel
Ok, lgtm
5 years, 9 months ago (2015-03-09 20:32:17 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/985503004/60001
5 years, 9 months ago (2015-03-10 16:21:24 UTC) #7
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 9 months ago (2015-03-10 16:56:33 UTC) #8
commit-bot: I haz the power
5 years, 9 months ago (2015-03-10 16:57:19 UTC) #9
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/a125b85c466b619591fb1b079c2c25747884a180
Cr-Commit-Position: refs/heads/master@{#319902}

Powered by Google App Engine
This is Rietveld 408576698