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

Issue 2868703002: Retry browser startup in desktop_browser_finder. (Closed)

Created:
3 years, 7 months ago by Ken Russell (switch to Gerrit)
Modified:
3 years, 7 months ago
Reviewers:
nednguyen
CC:
catapult-reviews_chromium.org, telemetry-reviews_chromium.org, eyaich1, eakuefner, ashleymarie1
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

Retry browser startup in desktop_browser_finder. Intermittently, the browser appears to hang upon startup on multiple platforms, including while running performance tests. Make desktop_browser_finder retry starting the browser up to three times. Tested by injecting random "crashes" and hangs to the browser's main loop, and ensuring that the browser was started reliably. Also tested having the browser fail to start 3 times in a row, and ensured that the fall-through failure case works as expected. BUG=chromium:718300 Review-Url: https://codereview.chromium.org/2868703002 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/030963fb8869548243807cdb0a2dafe5c76495fa

Patch Set 1 #

Total comments: 6

Patch Set 2 : Addressed review feedback from nednguyen. #

Total comments: 1

Patch Set 3 : Stop fetching tab. Clarify retry messages. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -6 lines) Patch
M telemetry/telemetry/internal/backends/chrome/desktop_browser_finder.py View 1 2 1 chunk +30 lines, -6 lines 0 comments Download

Messages

Total messages: 17 (8 generated)
Ken Russell (switch to Gerrit)
Note: this was mainly ported straight from the code eyaich@ added some time ago here: ...
3 years, 7 months ago (2017-05-07 19:50:24 UTC) #2
nednguyen
lgtm with some nits to reduce the log. https://codereview.chromium.org/2868703002/diff/1/telemetry/telemetry/internal/backends/chrome/desktop_browser_finder.py File telemetry/telemetry/internal/backends/chrome/desktop_browser_finder.py (right): https://codereview.chromium.org/2868703002/diff/1/telemetry/telemetry/internal/backends/chrome/desktop_browser_finder.py#newcode68 telemetry/telemetry/internal/backends/chrome/desktop_browser_finder.py:68: restart ...
3 years, 7 months ago (2017-05-07 23:47:44 UTC) #3
nednguyen
On 2017/05/07 23:47:44, nednguyen wrote: > lgtm with some nits to reduce the log. > ...
3 years, 7 months ago (2017-05-07 23:49:26 UTC) #4
Ken Russell (switch to Gerrit)
> Also after this, I think we can clean up > https://cs.chromium.org/chromium/src/content/test/gpu/gpu_tests/gpu_integration_test.py?rcl=3209ebcc6b2239b1f9cb806665d60a1096fcf53b&l=28 > ? Yes, ...
3 years, 7 months ago (2017-05-08 20:44:11 UTC) #5
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/2868703002/20001
3 years, 7 months ago (2017-05-08 20:44:23 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: Catapult Mac Tryserver on master.tryserver.client.catapult (JOB_FAILED, https://build.chromium.org/p/tryserver.client.catapult/builders/Catapult%20Mac%20Tryserver/builds/7430)
3 years, 7 months ago (2017-05-08 20:58:12 UTC) #10
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/2868703002/diff/20001/telemetry/telemetry/internal/backends/chrome/desktop_browser_finder.py File telemetry/telemetry/internal/backends/chrome/desktop_browser_finder.py (right): https://codereview.chromium.org/2868703002/diff/20001/telemetry/telemetry/internal/backends/chrome/desktop_browser_finder.py#newcode79 telemetry/telemetry/internal/backends/chrome/desktop_browser_finder.py:79: _ = returned_browser.tabs[0] The fetching of the zeroth tab ...
3 years, 7 months ago (2017-05-08 21:22:02 UTC) #11
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/2868703002/40001
3 years, 7 months ago (2017-05-08 21:26:51 UTC) #14
commit-bot: I haz the power
3 years, 7 months ago (2017-05-08 21:50:55 UTC) #17
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/external/github.com/catapult-project/catapu...

Powered by Google App Engine
This is Rietveld 408576698