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

Issue 282223004: [Telemetry] Ensure we try to get browser crash stacks everywhere. (Closed)

Created:
6 years, 7 months ago by tonyg
Modified:
6 years, 6 months ago
CC:
chromium-reviews, telemetry+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

[Telemetry] Ensure we try to get browser crash stacks everywhere. There were several places we could crash but not try to get a stack. This should take care of everything. BUG=371613, 373385 R=achuith@chromium.org, dtu@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270884

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -57 lines) Patch
M tools/telemetry/telemetry/core/backends/chrome/android_browser_backend.py View 2 chunks +3 lines, -2 lines 1 comment Download
M tools/telemetry/telemetry/core/backends/chrome/chrome_browser_backend.py View 2 chunks +5 lines, -3 lines 0 comments Download
M tools/telemetry/telemetry/core/backends/chrome/cros_browser_backend.py View 1 chunk +3 lines, -3 lines 1 comment Download
M tools/telemetry/telemetry/core/backends/chrome/inspector_backend.py View 3 chunks +7 lines, -7 lines 0 comments Download
M tools/telemetry/telemetry/core/exceptions.py View 1 chunk +35 lines, -10 lines 2 comments Download
M tools/telemetry/telemetry/page/page_runner.py View 6 chunks +15 lines, -30 lines 0 comments Download
M tools/telemetry/telemetry/page/page_runner_unittest.py View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
tonyg
6 years, 7 months ago (2014-05-15 08:35:45 UTC) #1
achuithb
lgtm https://codereview.chromium.org/282223004/diff/1/tools/telemetry/telemetry/core/backends/chrome/cros_browser_backend.py File tools/telemetry/telemetry/core/backends/chrome/cros_browser_backend.py (right): https://codereview.chromium.org/282223004/diff/1/tools/telemetry/telemetry/core/backends/chrome/cros_browser_backend.py#newcode272 tools/telemetry/telemetry/core/backends/chrome/cros_browser_backend.py:272: logging.warning('TabCrashException/TimeoutException in ' Turns out both warn and ...
6 years, 7 months ago (2014-05-15 18:10:22 UTC) #2
dtu
lgtm I know there are outstanding comments, but I want to see this landed for ...
6 years, 7 months ago (2014-05-15 21:56:45 UTC) #3
dtu
The CQ bit was checked by dtu@chromium.org
6 years, 7 months ago (2014-05-15 21:57:00 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tonyg@chromium.org/282223004/1
6 years, 7 months ago (2014-05-15 21:58:18 UTC) #5
achuithb
On 2014/05/15 21:56:45, dtu wrote: > lgtm > > I know there are outstanding comments, ...
6 years, 7 months ago (2014-05-15 21:59:16 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-15 23:28:41 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-16 00:40:58 UTC) #8
commit-bot: I haz the power
Failed to apply patch for @master/tools/telemetry/telemetry/core/backends/chrome/android_browser_backend.py: While running svn add @master --force --config-dir /b/infra_internal/commit_queue/subversion_config --non-interactive; ...
6 years, 7 months ago (2014-05-16 00:40:59 UTC) #9
dtu
The CQ bit was checked by dtu@chromium.org
6 years, 7 months ago (2014-05-16 00:46:05 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tonyg@chromium.org/282223004/1
6 years, 7 months ago (2014-05-16 00:47:37 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-16 00:50:03 UTC) #12
commit-bot: I haz the power
Failed to apply patch for @master/tools/telemetry/telemetry/core/backends/chrome/android_browser_backend.py: While running svn add @master --force --config-dir /b/infra_internal/commit_queue/subversion_config --non-interactive; ...
6 years, 7 months ago (2014-05-16 00:50:03 UTC) #13
dtu
Committed patchset #1 manually as r270884 (presubmit successful).
6 years, 7 months ago (2014-05-16 01:01:30 UTC) #14
Primiano Tucci (use gerrit)
6 years, 6 months ago (2014-06-02 09:22:47 UTC) #15
Message was sent while issue was closed.
https://codereview.chromium.org/282223004/diff/1/tools/telemetry/telemetry/co...
File tools/telemetry/telemetry/core/backends/chrome/android_browser_backend.py
(right):

https://codereview.chromium.org/282223004/diff/1/tools/telemetry/telemetry/co...
tools/telemetry/telemetry/core/backends/chrome/android_browser_backend.py:169:
raise exceptions.BrowserGoneException(self.browser,
Uhm, not WebviewBackendSettings nor its parent (AndroidBrowserBackendSettings)
seem to have a |browser| field.

(Out of curiosity, how come pylint didn't get this?)

This is causing now the following in the WebView telemetry bot (in cases of
timeout):

Traceback (most recent call last):
  <module> at tools/perf/run_benchmark:25
    sys.exit(test_runner.main())
  main at tools/telemetry/telemetry/test_runner.py:285
    return command().Run(options)
  Run at tools/telemetry/telemetry/test_runner.py:164
    return min(255, self._test().Run(args))
  Run at tools/telemetry/telemetry/test.py:84
    results = page_runner.Run(test, ps, expectations, args)
  Run at tools/telemetry/telemetry/page/page_runner.py:405
    page, credentials_path, possible_browser, results, state)
  _PrepareAndRunPage at tools/telemetry/telemetry/page/page_runner.py:253
    credentials_path, page.archive_path)
  StartBrowserIfNeeded at tools/telemetry/telemetry/page/page_runner.py:59
    self.browser.Start()
  Start at tools/telemetry/telemetry/core/browser.py:302
    self._browser_backend.Start()
  Start at
tools/telemetry/telemetry/core/backends/chrome/android_browser_backend.py:293
    self._backend_settings.GetDevtoolsRemotePort())
  GetDevtoolsRemotePort at
tools/telemetry/telemetry/core/backends/chrome/android_browser_backend.py:169
    raise exceptions.BrowserGoneException(self.browser,
AttributeError: 'WebviewBackendSettings' object has no attribute 'browser'

Powered by Google App Engine
This is Rietveld 408576698