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

Issue 1498633003: Added unit test for stack traces in telemetry crashes. (Closed)

Created:
5 years ago by David Yen
Modified:
4 years, 11 months ago
Reviewers:
nednguyen
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

Added unit test for stack traces in telemetry crashes. This CL also fixes an issue on Mac where telemetry does not know how to locate chromium_framework for the symbols. R=nednguyen@google.com BUG=563716 TEST=ran unit test locally Committed: https://crrev.com/a20e03ee6906c50bdfaf8fb34fe684b4a89db852 Cr-Commit-Position: refs/heads/master@{#368997}

Patch Set 1 #

Patch Set 2 : Moved test to tools/perf/core, made stack trace a property of AppCrashException #

Patch Set 3 : Changed exception to DevtoolsTargetCrashException #

Patch Set 4 : bad upload? #

Patch Set 5 : stack trace is in a list form #

Patch Set 6 : Search for framework file #

Total comments: 6

Patch Set 7 : Changed to use assertIn and run isolated. #

Patch Set 8 : upload crashdump #

Patch Set 9 : Add logging for crash reports found #

Patch Set 10 : Modify symbol directory to include sha1 version of the name #

Patch Set 11 : Use relative symbolic link instead #

Patch Set 12 : Test android instead #

Patch Set 13 : Add different unit test to just test stack traces are present. #

Patch Set 14 : Use Disabled(all) #

Patch Set 15 : Removed debug code #

Patch Set 16 : Revert unnecessary changes #

Patch Set 17 : Just enable for mac for now, focus on one platform #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -1 line) Patch
A tools/perf/core/stacktrace_unittest.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +27 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/core/exceptions.py View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +4 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/internal/backends/chrome/desktop_browser_backend.py View 1 2 3 4 5 8 9 10 11 12 13 14 15 2 chunks +19 lines, -1 line 0 comments Download

Messages

Total messages: 37 (12 generated)
David Yen
I know in the other CL you told me to add this into tools/perf but ...
5 years ago (2015-12-02 23:59:35 UTC) #3
nednguyen
On 2015/12/02 23:59:35, David Yen wrote: > I know in the other CL you told ...
5 years ago (2015-12-03 00:20:03 UTC) #4
David Yen
git cl upload is giving me errors when uploading but it looks like it is ...
5 years ago (2015-12-03 00:37:49 UTC) #5
nednguyen
On 2015/12/03 00:37:49, David Yen wrote: > git cl upload is giving me errors when ...
5 years ago (2015-12-03 02:42:02 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1498633003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1498633003/80001
5 years ago (2015-12-03 04:09:49 UTC) #8
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/149269)
5 years ago (2015-12-03 05:21:32 UTC) #10
nednguyen
On 2015/12/03 05:21:32, commit-bot: I haz the power wrote: > Dry run: Try jobs failed ...
5 years ago (2015-12-03 16:44:15 UTC) #11
David Yen
On 2015/12/03 16:44:15, nednguyen wrote: > On 2015/12/03 05:21:32, commit-bot: I haz the power wrote: ...
5 years ago (2015-12-17 01:05:08 UTC) #13
nednguyen
Looks like the test is still failing https://codereview.chromium.org/1498633003/diff/100001/tools/perf/core/stacktrace_unittest.py File tools/perf/core/stacktrace_unittest.py (right): https://codereview.chromium.org/1498633003/diff/100001/tools/perf/core/stacktrace_unittest.py#newcode18 tools/perf/core/stacktrace_unittest.py:18: self.assertTrue('CrashIntentionally' in ...
5 years ago (2015-12-17 01:52:45 UTC) #14
nednguyen
I download the isolated to my mac & run the test and it also passes. ...
5 years ago (2015-12-17 02:26:54 UTC) #15
David Yen
Multiple crashes at once is most likely the issue here, there could be multiple crash ...
5 years ago (2015-12-21 17:47:50 UTC) #16
nednguyen
On 2015/12/21 17:47:50, David Yen wrote: > Multiple crashes at once is most likely the ...
5 years ago (2015-12-21 17:59:39 UTC) #17
nednguyen
On 2015/12/21 17:59:39, nednguyen wrote: > On 2015/12/21 17:47:50, David Yen wrote: > > Multiple ...
5 years ago (2015-12-21 18:24:07 UTC) #18
David Yen
On 2015/12/21 18:24:07, nednguyen wrote: > On 2015/12/21 17:59:39, nednguyen wrote: > > On 2015/12/21 ...
4 years, 11 months ago (2016-01-12 19:09:01 UTC) #19
nednguyen
On 2016/01/12 19:09:01, David Yen wrote: > On 2015/12/21 18:24:07, nednguyen wrote: > > On ...
4 years, 11 months ago (2016-01-12 19:27:51 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1498633003/320001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1498633003/320001
4 years, 11 months ago (2016-01-12 19:33:05 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/158241)
4 years, 11 months ago (2016-01-12 20:23:28 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1498633003/320001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1498633003/320001
4 years, 11 months ago (2016-01-12 21:03:05 UTC) #28
commit-bot: I haz the power
Committed patchset #17 (id:320001)
4 years, 11 months ago (2016-01-12 22:06:58 UTC) #30
commit-bot: I haz the power
Patchset 17 (id:??) landed as https://crrev.com/a20e03ee6906c50bdfaf8fb34fe684b4a89db852 Cr-Commit-Position: refs/heads/master@{#368997}
4 years, 11 months ago (2016-01-12 22:08:08 UTC) #32
Ken Russell (switch to Gerrit)
On 2016/01/12 19:09:01, David Yen wrote: > On 2015/12/21 18:24:07, nednguyen wrote: > > On ...
4 years, 11 months ago (2016-01-13 00:38:19 UTC) #33
David Yen
On 2016/01/13 00:38:19, Ken Russell wrote: > On 2016/01/12 19:09:01, David Yen wrote: > > ...
4 years, 11 months ago (2016-01-13 00:49:30 UTC) #34
David Yen
A revert of this CL (patchset #17 id:320001) has been created in https://codereview.chromium.org/1580313002/ by dyen@chromium.org. ...
4 years, 11 months ago (2016-01-13 00:49:54 UTC) #35
nednguyen
On 2016/01/13 00:49:54, David Yen wrote: > A revert of this CL (patchset #17 id:320001) ...
4 years, 11 months ago (2016-01-13 14:18:12 UTC) #36
David Yen
4 years, 11 months ago (2016-01-13 21:41:07 UTC) #37
Message was sent while issue was closed.
On 2016/01/13 14:18:12, nednguyen wrote:
> On 2016/01/13 00:49:54, David Yen wrote:
> > A revert of this CL (patchset #17 id:320001) has been created in
> > https://codereview.chromium.org/1580313002/ by mailto:dyen@chromium.org.
> > 
> > The reason for reverting is: Test fails on some bots..
> 
> Which are the Mac bots that this test fails on? We will soon remove the
support
> for Mac below 10.8, so we can just reland this by skipping tests on the failed
> Mac platform. See:
> http://chrome.blogspot.com/2015/11/updates-to-chrome-platform-support.html

The failure I saw was on 10.6, but it doesn't really make sense why the mac
version would matter. It seems more plausible that we are not building
minidump_stackwalk for some build configurations.

Powered by Google App Engine
This is Rietveld 408576698