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

Issue 11348217: [telemetry] Removing flake in wpr_server.py caused by static port assignment from chrome/test/funct… (Closed)

Created:
8 years, 1 month ago by hartmanng
Modified:
7 years, 10 months ago
Reviewers:
bulach, tonyg, nduca
CC:
chromium-reviews, chrome-speed-team+watch_google.com, anantha, pam+watch_chromium.org, dyu1, dennis_jeffrey, telemetry+watch_chromium.org
Visibility:
Public.

Description

[telemetry] Removing flake in wpr_server.py caused by static port assignment from chrome/test/functional/webpagereplay.py Also fixes a small temporary_http_server bug where the ports would get passed in the wrong order on cros. NOTRY=true BUG=157459 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=179144

Patch Set 1 : #

Total comments: 3

Patch Set 2 : #

Patch Set 3 : Rebase #

Patch Set 4 : android fix #

Total comments: 2

Patch Set 5 : Move away from pylib #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -41 lines) Patch
M tools/telemetry/telemetry/adb_commands.py View 1 2 1 chunk +2 lines, -6 lines 0 comments Download
M tools/telemetry/telemetry/android_browser_backend.py View 1 2 4 1 chunk +3 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/browser.py View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M tools/telemetry/telemetry/browser_backend.py View 1 2 3 4 4 chunks +12 lines, -5 lines 0 comments Download
M tools/telemetry/telemetry/cros_browser_backend.py View 1 2 3 4 3 chunks +11 lines, -14 lines 0 comments Download
M tools/telemetry/telemetry/cros_interface.py View 2 chunks +9 lines, -1 line 0 comments Download
M tools/telemetry/telemetry/cros_interface_unittest.py View 1 3 chunks +16 lines, -1 line 0 comments Download
M tools/telemetry/telemetry/temporary_http_server.py View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M tools/telemetry/telemetry/wpr_server.py View 1 2 chunks +12 lines, -11 lines 0 comments Download

Messages

Total messages: 27 (0 generated)
hartmanng
tonyg, please take a look after the weekend.
8 years, 1 month ago (2012-11-23 19:50:51 UTC) #1
bulach
https://codereview.chromium.org/11348217/diff/2001/chrome/test/functional/webpagereplay.py File chrome/test/functional/webpagereplay.py (right): https://codereview.chromium.org/11348217/diff/2001/chrome/test/functional/webpagereplay.py#newcode22 chrome/test/functional/webpagereplay.py:22: def GetRandomOpenPort(): drive-by: can we re-use / improve this? ...
8 years ago (2012-11-26 13:53:46 UTC) #2
nduca
A few things stand out as nasty to me: 1. This port pair magic is ...
8 years ago (2012-11-26 17:56:30 UTC) #3
tonyg
+1 to the other comments raised.
8 years ago (2012-11-26 19:05:54 UTC) #4
nduca
glenn, if you have time while you're visiting, it might be good to chat with ...
8 years ago (2012-12-11 02:50:11 UTC) #5
hartmanng
On 2012/12/11 02:50:11, nduca wrote: > We're hitting this flake on bots. ugh great... Sorry ...
8 years ago (2012-12-11 04:57:27 UTC) #6
tonyg
https://codereview.chromium.org/11348217/diff/2001/tools/telemetry/telemetry/wpr_server.py File tools/telemetry/telemetry/wpr_server.py (right): https://codereview.chromium.org/11348217/diff/2001/tools/telemetry/telemetry/wpr_server.py#newcode27 tools/telemetry/telemetry/wpr_server.py:27: (https_port or webpagereplay.HTTPS_PORT, webpagereplay.HTTPS_PORT)) Can you explain the motivation ...
8 years ago (2012-12-11 16:55:14 UTC) #7
hartmanng
https://codereview.chromium.org/11348217/diff/2001/tools/telemetry/telemetry/wpr_server.py File tools/telemetry/telemetry/wpr_server.py (right): https://codereview.chromium.org/11348217/diff/2001/tools/telemetry/telemetry/wpr_server.py#newcode27 tools/telemetry/telemetry/wpr_server.py:27: (https_port or webpagereplay.HTTPS_PORT, webpagereplay.HTTPS_PORT)) On 2012/12/11 16:55:14, tonyg wrote: ...
8 years ago (2012-12-11 17:14:26 UTC) #8
tonyg
I'm having trouble seeing a way to clean this patch up. Nat, do you have ...
8 years ago (2012-12-20 21:20:59 UTC) #9
nduca
I think we need cleanup patch or two here, or at least as part of ...
8 years ago (2012-12-21 00:52:42 UTC) #10
hartmanng
On 2012/12/21 00:52:42, nduca wrote: > I think we need cleanup patch or two here, ...
7 years, 11 months ago (2013-01-02 18:40:15 UTC) #11
tonyg
On 2013/01/02 18:40:15, hartmanng wrote: > On 2012/12/21 00:52:42, nduca wrote: > > I think ...
7 years, 11 months ago (2013-01-02 22:47:32 UTC) #12
nduca
+1 to what tonyg said
7 years, 11 months ago (2013-01-03 20:09:34 UTC) #13
hartmanng
Now that https://codereview.chromium.org/11740020/ and https://codereview.chromium.org/11744007/ have landed, this patch is ready for another try. I've ...
7 years, 11 months ago (2013-01-07 14:46:24 UTC) #14
tonyg
lgtm
7 years, 11 months ago (2013-01-17 00:06:52 UTC) #15
hartmanng
Thanks tony!
7 years, 11 months ago (2013-01-17 14:27:58 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hartmanng@chromium.org/11348217/24001
7 years, 11 months ago (2013-01-17 14:28:16 UTC) #17
commit-bot: I haz the power
Failed to apply patch for tools/telemetry/telemetry/browser.py: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 11 months ago (2013-01-17 14:28:27 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hartmanng@chromium.org/11348217/26002
7 years, 11 months ago (2013-01-17 15:14:36 UTC) #19
hartmanng
In my previous patch android could fail sometimes with the wpr_server because of the way ...
7 years, 11 months ago (2013-01-17 19:06:33 UTC) #20
bulach
quick drive by below: https://chromiumcodereview.appspot.com/11348217/diff/30015/tools/telemetry/telemetry/android_browser_backend.py File tools/telemetry/telemetry/android_browser_backend.py (left): https://chromiumcodereview.appspot.com/11348217/diff/30015/tools/telemetry/telemetry/android_browser_backend.py#oldcode30 tools/telemetry/telemetry/android_browser_backend.py:30: adb_commands.ResetTestServerPortAllocation() drive-by: when we're sharding, ...
7 years, 11 months ago (2013-01-17 19:24:53 UTC) #21
hartmanng
https://chromiumcodereview.appspot.com/11348217/diff/30015/tools/telemetry/telemetry/android_browser_backend.py File tools/telemetry/telemetry/android_browser_backend.py (left): https://chromiumcodereview.appspot.com/11348217/diff/30015/tools/telemetry/telemetry/android_browser_backend.py#oldcode30 tools/telemetry/telemetry/android_browser_backend.py:30: adb_commands.ResetTestServerPortAllocation() On 2013/01/17 19:24:53, bulach wrote: > drive-by: when ...
7 years, 11 months ago (2013-01-17 19:29:14 UTC) #22
bulach
ahn, right.. :) sorry, I didn't see the other file, my bad.. yes, build/android/bb_run_sharded_steps.py takes ...
7 years, 11 months ago (2013-01-17 19:33:22 UTC) #23
hartmanng
Nat doesn't like using pylib for non-android ports (see https://codereview.chromium.org/12052024/#msg2). I didn't realize pylib was ...
7 years, 11 months ago (2013-01-23 16:30:15 UTC) #24
tonyg
lgtm
7 years, 11 months ago (2013-01-25 00:11:20 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hartmanng@chromium.org/11348217/47014
7 years, 10 months ago (2013-01-28 14:29:11 UTC) #26
commit-bot: I haz the power
7 years, 10 months ago (2013-01-28 14:29:28 UTC) #27
Message was sent while issue was closed.
Change committed as 179144

Powered by Google App Engine
This is Rietveld 408576698