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

Issue 1880333002: Use is_valid_dump to check for valid dumps in telemetry exceptions. (Closed)

Created:
4 years, 8 months ago by David Yen
Modified:
4 years, 8 months ago
CC:
chromium-reviews, telemetry-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use is_valid_dump to check for valid dumps in telemetry exceptions. Now that we have a property which stores whether or not a stack trace is valid, we can use that to test for valid minidumps instead of looking for platform dependent strings. This test should also work in Android now so we can enable it on all platforms except for chromeos. This CL also fixes an issue where asserts raised within an assertRaises block would be eaten, so tests were not failing as expected. R=nednguyen@google.com TBR=jochen@chromium.org BUG=561763 Committed: https://crrev.com/c6be24867adfaa4159909e2072778fbe3fc341fd Cr-Commit-Position: refs/heads/master@{#387386}

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : rebase #

Patch Set 4 : Fix mac symbol generation, disable windows temporarily #

Patch Set 5 : Improve bad breakpad test, enable windows again #

Patch Set 6 : Removed old comment #

Total comments: 6

Patch Set 7 : Disable windows again #

Patch Set 8 : Disable windows for testValidDump #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -22 lines) Patch
M components/crash/content/tools/generate_breakpad_symbols.py View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M tools/perf/core/stacktrace_unittest.py View 1 2 3 4 5 6 7 2 chunks +19 lines, -21 lines 0 comments Download

Messages

Total messages: 21 (6 generated)
David Yen
4 years, 8 months ago (2016-04-12 23:01:24 UTC) #1
David Yen
On 2016/04/12 23:01:24, David Yen wrote: Hmm... it looks like some tests are not working, ...
4 years, 8 months ago (2016-04-13 16:35:04 UTC) #2
David Yen
On 2016/04/13 16:35:04, David Yen wrote: > On 2016/04/12 23:01:24, David Yen wrote: > > ...
4 years, 8 months ago (2016-04-13 18:37:07 UTC) #3
David Yen
+jochen@ for generate_breakpad_symbols.py review, I found a bug in how I'm splitting the header. Split ...
4 years, 8 months ago (2016-04-13 22:59:59 UTC) #5
David Yen
It looks like the windows mojo crash has been fixed, so I'm re-enabling it. PTAL. ...
4 years, 8 months ago (2016-04-14 00:18:39 UTC) #6
nednguyen
tools/perf lgtm https://codereview.chromium.org/1880333002/diff/100001/tools/perf/core/stacktrace_unittest.py File tools/perf/core/stacktrace_unittest.py (left): https://codereview.chromium.org/1880333002/diff/100001/tools/perf/core/stacktrace_unittest.py#oldcode60 tools/perf/core/stacktrace_unittest.py:60: # A single symbol file should still ...
4 years, 8 months ago (2016-04-14 00:35:41 UTC) #7
David Yen
https://codereview.chromium.org/1880333002/diff/100001/tools/perf/core/stacktrace_unittest.py File tools/perf/core/stacktrace_unittest.py (left): https://codereview.chromium.org/1880333002/diff/100001/tools/perf/core/stacktrace_unittest.py#oldcode60 tools/perf/core/stacktrace_unittest.py:60: # A single symbol file should still exist here. ...
4 years, 8 months ago (2016-04-14 00:38:13 UTC) #8
jochen (gone - plz use gerrit)
https://codereview.chromium.org/1880333002/diff/100001/components/crash/content/tools/generate_breakpad_symbols.py File components/crash/content/tools/generate_breakpad_symbols.py (right): https://codereview.chromium.org/1880333002/diff/100001/components/crash/content/tools/generate_breakpad_symbols.py#newcode148 components/crash/content/tools/generate_breakpad_symbols.py:148: # header info is of the form "MODULE $PLATFORM ...
4 years, 8 months ago (2016-04-14 13:30:09 UTC) #9
David Yen
https://codereview.chromium.org/1880333002/diff/100001/components/crash/content/tools/generate_breakpad_symbols.py File components/crash/content/tools/generate_breakpad_symbols.py (right): https://codereview.chromium.org/1880333002/diff/100001/components/crash/content/tools/generate_breakpad_symbols.py#newcode148 components/crash/content/tools/generate_breakpad_symbols.py:148: # header info is of the form "MODULE $PLATFORM ...
4 years, 8 months ago (2016-04-14 16:46:06 UTC) #10
David Yen
Ugh, I had to disable windows again. It is literally regressing between try jobs.
4 years, 8 months ago (2016-04-14 17:11:15 UTC) #11
David Yen
I will TBR jochen@ since it's a pretty trivial change and this test is allowing ...
4 years, 8 months ago (2016-04-14 19:00:41 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1880333002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1880333002/140001
4 years, 8 months ago (2016-04-14 19:01:59 UTC) #16
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 8 months ago (2016-04-14 19:12:17 UTC) #18
commit-bot: I haz the power
Failed to apply the patch.
4 years, 8 months ago (2016-04-14 19:12:48 UTC) #19
commit-bot: I haz the power
4 years, 8 months ago (2016-04-14 19:13:53 UTC) #21
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/c6be24867adfaa4159909e2072778fbe3fc341fd
Cr-Commit-Position: refs/heads/master@{#387386}

Powered by Google App Engine
This is Rietveld 408576698