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

Issue 634803002: Make host port availability detection more robust. (Closed)

Created:
6 years, 2 months ago by tonyg
Modified:
6 years, 2 months ago
Reviewers:
jbudorick
CC:
chromium-reviews, klundberg+watch_chromium.org, yfriedman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Make host port availability detection more robust. Previously, it only detected ports that were bound to *, localhost or 127.0.0.1. This detects ports bound to any interface. I noticed this while investigating 294878, and it could certainly be a source of flake, but I don't think it's the main one. BUG=294878 Committed: https://crrev.com/da7e64810f0305512cd20f0301c2ac1b21d8bc70 Cr-Commit-Position: refs/heads/master@{#299379}

Patch Set 1 #

Total comments: 1

Patch Set 2 : close port and fix other callsites #

Patch Set 3 : Allow reuseaddr before binding #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -29 lines) Patch
M build/android/pylib/chrome_test_server_spawner.py View 1 4 chunks +9 lines, -12 lines 0 comments Download
M build/android/pylib/ports.py View 1 2 4 chunks +13 lines, -17 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
tonyg
6 years, 2 months ago (2014-10-07 01:34:21 UTC) #2
jbudorick
lgtm w/ nits You need to change the call to IsHostPortUsed in b/a/pylib/chrome_test_server_spawner.py https://codereview.chromium.org/634803002/diff/1/build/android/pylib/ports.py File ...
6 years, 2 months ago (2014-10-07 08:37:09 UTC) #3
tonyg
> You need to change the call to IsHostPortUsed in > b/a/pylib/chrome_test_server_spawner.py Thanks, good catch. ...
6 years, 2 months ago (2014-10-07 16:25:26 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/634803002/20001
6 years, 2 months ago (2014-10-07 16:27:02 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_tests_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_tests_recipe/builds/16067)
6 years, 2 months ago (2014-10-07 18:34:49 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/634803002/40001
6 years, 2 months ago (2014-10-13 21:02:30 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years, 2 months ago (2014-10-13 22:33:17 UTC) #11
commit-bot: I haz the power
6 years, 2 months ago (2014-10-13 22:34:16 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/da7e64810f0305512cd20f0301c2ac1b21d8bc70
Cr-Commit-Position: refs/heads/master@{#299379}

Powered by Google App Engine
This is Rietveld 408576698