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

Issue 2176183004: [Android] Nuke the test server port lockfile explicitly. (Closed)

Created:
4 years, 4 months ago by jbudorick
Modified:
4 years, 4 months ago
CC:
chromium-reviews, jbudorick+watch_chromium.org, mikecase+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Android] Nuke the test server port lockfile explicitly. ports.ResetTestServerPortAllocation is called in two locations, once in a multithreaded context in which it's holding the lock file and once in a singlethreaded context in which it isn't. It currently nukes the lock file, which is fine in a singlethreaded context but can cause duplicate port allocation in a multithreaded context. This CL will allow that function to stop nuking the lock file in a subsequent CL to fix that issue. BUG=631018 Committed: https://crrev.com/fdec47a6f1b4e7db662796344a115a72b6c0805f Cr-Commit-Position: refs/heads/master@{#407791}

Patch Set 1 #

Total comments: 2

Patch Set 2 : mikecase comment #

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

Messages

Total messages: 11 (4 generated)
jbudorick
4 years, 4 months ago (2016-07-26 02:27:44 UTC) #2
mikecase (wrong mikecase)
https://codereview.chromium.org/2176183004/diff/1/build/android/test_runner.py File build/android/test_runner.py (right): https://codereview.chromium.org/2176183004/diff/1/build/android/test_runner.py#newcode823 build/android/test_runner.py:823: os.unlink(ports._TEST_SERVER_PORT_LOCKFILE) # pylint: disable=protected-access do you have to add ...
4 years, 4 months ago (2016-07-26 03:07:06 UTC) #4
jbudorick
https://codereview.chromium.org/2176183004/diff/1/build/android/test_runner.py File build/android/test_runner.py (right): https://codereview.chromium.org/2176183004/diff/1/build/android/test_runner.py#newcode823 build/android/test_runner.py:823: os.unlink(ports._TEST_SERVER_PORT_LOCKFILE) # pylint: disable=protected-access On 2016/07/26 03:07:06, mikecase (wrong ...
4 years, 4 months ago (2016-07-26 03:24:31 UTC) #5
mikecase (wrong mikecase)
lgtm
4 years, 4 months ago (2016-07-26 13:41:05 UTC) #6
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/2176183004/20001
4 years, 4 months ago (2016-07-26 13:42:06 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-07-26 14:36:18 UTC) #9
commit-bot: I haz the power
4 years, 4 months ago (2016-07-26 14:40:49 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/fdec47a6f1b4e7db662796344a115a72b6c0805f
Cr-Commit-Position: refs/heads/master@{#407791}

Powered by Google App Engine
This is Rietveld 408576698