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

Issue 688903002: Do not save finder options in PossibleApp/PossibleBrowser. (Closed)

Created:
6 years, 1 month ago by slamm
Modified:
6 years, 1 month ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org, extensions-reviews_chromium.org, oshima+watch_chromium.org, telemetry+watch_chromium.org, scottmg
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Do not save finder options in PossibleApp/PossibleBrowser. Without this, the browser may get created with old finder_options because FindBrowser has a caching decorator. This should fix flakiness of telemetry/page/page_runner_unittest/PageRunnerTests/testUserAgent. http://build.chromium.org/f/chromium/flakiness/ [test type: telemetry_unittests] BUG=428967 Committed: https://crrev.com/94a58f5df2d08032c866dbdd5e35d62cb7f5250b Cr-Commit-Position: refs/heads/master@{#302504}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Update PossibleBrowser.__init__ and Create callers. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -80 lines) Patch
M chrome/test/telemetry/chromeos/login_unittest.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/examples/telemetry_perf_test.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/core/android_app.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/core/app.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/core/backends/chrome/android_browser_finder.py View 2 chunks +14 lines, -15 lines 0 comments Download
M tools/telemetry/telemetry/core/backends/chrome/cros_browser_finder.py View 2 chunks +10 lines, -11 lines 0 comments Download
M tools/telemetry/telemetry/core/backends/chrome/cros_test_case.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/core/backends/chrome/desktop_browser_finder.py View 3 chunks +11 lines, -11 lines 0 comments Download
M tools/telemetry/telemetry/core/backends/chrome/ios_browser_finder.py View 1 chunk +6 lines, -7 lines 0 comments Download
M tools/telemetry/telemetry/core/backends/form_based_credentials_backend_unittest_base.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/core/backends/remote/trybot_browser_finder.py View 1 2 1 chunk +3 lines, -4 lines 0 comments Download
M tools/telemetry/telemetry/core/backends/webdriver/webdriver_desktop_browser_finder.py View 1 chunk +1 line, -1 line 1 comment Download
M tools/telemetry/telemetry/core/browser.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/core/browser_unittest.py View 2 chunks +7 lines, -6 lines 0 comments Download
M tools/telemetry/telemetry/core/extension_unittest.py View 1 2 4 chunks +4 lines, -4 lines 0 comments Download
M tools/telemetry/telemetry/core/possible_app.py View 3 chunks +2 lines, -7 lines 0 comments Download
M tools/telemetry/telemetry/core/possible_browser.py View 2 chunks +3 lines, -5 lines 0 comments Download
M tools/telemetry/telemetry/page/page_runner.py View 1 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/unittest/browser_test_case.py View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 26 (6 generated)
slamm
6 years, 1 month ago (2014-10-30 21:02:15 UTC) #2
nednguyen
On 2014/10/30 21:02:15, slamm wrote: LGTM
6 years, 1 month ago (2014-10-30 21:14:42 UTC) #3
nednguyen
On 2014/10/30 21:02:15, slamm wrote: LGTM
6 years, 1 month ago (2014-10-30 21:14:44 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/688903002/1
6 years, 1 month ago (2014-10-30 21:18:37 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/21352)
6 years, 1 month ago (2014-10-30 21:27:43 UTC) #8
slamm
A chromeos test needs a chromeos owner.
6 years, 1 month ago (2014-10-30 21:31:44 UTC) #10
slamm
Rebase
6 years, 1 month ago (2014-10-30 21:47:23 UTC) #11
slamm
Update PossibleBrowser.__init__ and Create callers.
6 years, 1 month ago (2014-10-30 21:54:19 UTC) #12
achuithb
On 2014/10/30 21:54:19, slamm wrote: > Update PossibleBrowser.__init__ and Create callers. owner lgtm
6 years, 1 month ago (2014-10-31 08:38:43 UTC) #13
achuithb
Actually, I'm sorry, but not lgtm. This will break chromeos autotests since the public signature ...
6 years, 1 month ago (2014-10-31 08:43:49 UTC) #14
chromium-reviews
Okay. I will be in 43 today for a Telemetry Hackathon — Berbera in the ...
6 years, 1 month ago (2014-10-31 15:40:31 UTC) #15
achuithb
On 2014/10/31 15:40:31, chromium-reviews wrote: > Okay. I will be in 43 today for a ...
6 years, 1 month ago (2014-10-31 20:36:07 UTC) #16
achuithb
On 2014/10/31 20:36:07, achuithb wrote: > On 2014/10/31 15:40:31, chromium-reviews wrote: > > Okay. I ...
6 years, 1 month ago (2014-10-31 20:47:42 UTC) #17
achuithb
https://chromium-review.googlesource.com/#/c/226815/
6 years, 1 month ago (2014-10-31 21:09:20 UTC) #18
achuithb
On 2014/10/31 21:09:20, achuithb wrote: > https://chromium-review.googlesource.com/#/c/226815/ Change should land in a few hours. lgtm.
6 years, 1 month ago (2014-11-03 19:41:22 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/688903002/40001
6 years, 1 month ago (2014-11-03 21:52:17 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years, 1 month ago (2014-11-03 22:40:00 UTC) #22
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/94a58f5df2d08032c866dbdd5e35d62cb7f5250b Cr-Commit-Position: refs/heads/master@{#302504}
6 years, 1 month ago (2014-11-03 22:41:29 UTC) #23
Sébastien Marchand
One comment as this is breaking the Windows PGO builder (http://build.chromium.org/p/chromium.fyi/builders/Chromium%20Win%20PGO%20Builder/builds/2848/steps/Telemetry%20benchmark%3A%20jsgamebench/logs/stdio) https://codereview.chromium.org/688903002/diff/40001/tools/telemetry/telemetry/core/backends/webdriver/webdriver_desktop_browser_finder.py File tools/telemetry/telemetry/core/backends/webdriver/webdriver_desktop_browser_finder.py (right): ...
6 years, 1 month ago (2014-11-04 20:58:41 UTC) #25
slamm
6 years, 1 month ago (2014-11-05 00:42:30 UTC) #26
Message was sent while issue was closed.
On 2014/11/04 20:58:41, Sébastien Marchand wrote:
> One comment as this is breaking the Windows PGO builder
>
(http://build.chromium.org/p/chromium.fyi/builders/Chromium%20Win%20PGO%20Buil...)
> 
>
https://codereview.chromium.org/688903002/diff/40001/tools/telemetry/telemetr...
> File
>
tools/telemetry/telemetry/core/backends/webdriver/webdriver_desktop_browser_finder.py
> (right):
> 
>
https://codereview.chromium.org/688903002/diff/40001/tools/telemetry/telemetr...
>
tools/telemetry/telemetry/core/backends/webdriver/webdriver_desktop_browser_finder.py:31:
> super(PossibleWebDriverBrowser, self).__init__(browser_type, target_os,
> You also need to remove finder_options from here, as you removed this argument
> from possible_browser.py

A created a new CL with a fix: https://codereview.chromium.org/705693002

Powered by Google App Engine
This is Rietveld 408576698