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

Issue 859293002: Fix report symbolization on swarming bots. (Closed)

Created:
5 years, 11 months ago by Alexander Potapenko
Modified:
5 years, 10 months ago
CC:
chromium-reviews, glider+watch_chromium.org, timurrrr+watch_chromium.org, bruening+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix report symbolization on swarming bots. According to issue 444835 there were at least two problems with debug info on the swarming bots: - the .dSYM bundles for the test binaries and other applications weren't uploaded to swarming servers; - for some binaries (e.g. Chromium Framework) their names were replaced with SHA-1 hashes that confused llvm-symbolizer and made finding the .dSYM bundles impossible. This CL adds the necessary .dSYM paths to .isolate files for the tests currently being ran on swarming bots (for other tests their .dSYM paths will be added as needed). It also extends tools/valgrind/asan/asan_symbolize.py with a binary name filter that replaces the hashes with the corresponding file names in the product directory. BUG=444835 R=earthdok@chromium.org,maruel@chromium.org,csharp@chromium.org Committed: https://crrev.com/9d9193404a307ba7cf79db460a0f988bc349bc4e Cr-Commit-Position: refs/heads/master@{#315059}

Patch Set 1 #

Total comments: 14

Patch Set 2 : Addressed review comments #

Patch Set 3 : Fixed code comments #

Patch Set 4 : rebase #

Patch Set 5 : Added --executable-path back #

Patch Set 6 : Temporarily enable debugging #

Patch Set 7 : more debugging #

Patch Set 8 : rebase #

Patch Set 9 : more debugging #

Patch Set 10 : Pass executable_path to asan_symbolize.py for real #

Patch Set 11 : Revert debugging #

Patch Set 12 : Add .dSYM files to isolate configs for swarmed tests #

Patch Set 13 : Fix trailing slash #

Total comments: 1

Patch Set 14 : rebase #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+154 lines, -7 lines) Patch
M base/base_unittests.isolate View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser_tests.isolate View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/chrome.isolate View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/interactive_ui_tests.isolate View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/unit_tests.isolate View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +7 lines, -0 lines 0 comments Download
M content/content_browsertests.isolate View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +12 lines, -0 lines 0 comments Download
M content/content_unittests.isolate View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +7 lines, -0 lines 0 comments Download
M net/net_unittests.isolate View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +7 lines, -0 lines 0 comments Download
M testing/test_env.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +8 lines, -4 lines 0 comments Download
M tools/valgrind/asan/asan_symbolize.py View 1 2 7 8 9 5 chunks +81 lines, -3 lines 1 comment Download

Messages

Total messages: 27 (7 generated)
Alexander Potapenko
Please take a look.
5 years, 11 months ago (2015-01-23 12:09:32 UTC) #1
earthdok
https://codereview.chromium.org/859293002/diff/1/tools/valgrind/asan/asan_symbolize.py File tools/valgrind/asan/asan_symbolize.py (right): https://codereview.chromium.org/859293002/diff/1/tools/valgrind/asan/asan_symbolize.py#newcode54 tools/valgrind/asan/asan_symbolize.py:54: match = re.match('[0-9a-f]+', name) Note that re.match() matches at ...
5 years, 11 months ago (2015-01-23 15:41:50 UTC) #2
Alexander Potapenko
https://codereview.chromium.org/859293002/diff/1/tools/valgrind/asan/asan_symbolize.py File tools/valgrind/asan/asan_symbolize.py (right): https://codereview.chromium.org/859293002/diff/1/tools/valgrind/asan/asan_symbolize.py#newcode54 tools/valgrind/asan/asan_symbolize.py:54: match = re.match('[0-9a-f]+', name) On 2015/01/23 15:41:50, earthdok wrote: ...
5 years, 11 months ago (2015-01-23 16:37:55 UTC) #3
Alexander Potapenko
This CL depends on https://codereview.chromium.org/878923002/
5 years, 11 months ago (2015-01-27 14:21:08 UTC) #4
Alexander Potapenko
Sergey, can you please take another look? Looks like everything works now.
5 years, 10 months ago (2015-02-05 09:15:51 UTC) #5
Alexander Potapenko
On 2015/02/05 09:15:51, Alexander Potapenko wrote: > Sergey, can you please take another look? Looks ...
5 years, 10 months ago (2015-02-05 09:18:37 UTC) #7
earthdok
On 2015/02/05 09:18:37, Alexander Potapenko wrote: > On 2015/02/05 09:15:51, Alexander Potapenko wrote: > > ...
5 years, 10 months ago (2015-02-05 17:55:50 UTC) #8
earthdok
https://codereview.chromium.org/859293002/diff/240001/testing/test_env.py File testing/test_env.py (right): https://codereview.chromium.org/859293002/diff/240001/testing/test_env.py#newcode194 testing/test_env.py:194: get_sanitizer_symbolize_command(executable_path=cmd[0]), cmd[0] is not guaranteed to be the test ...
5 years, 10 months ago (2015-02-05 17:56:00 UTC) #9
Alexander Potapenko
On 2015/02/05 17:56:00, earthdok wrote: > https://codereview.chromium.org/859293002/diff/240001/testing/test_env.py > File testing/test_env.py (right): > > https://codereview.chromium.org/859293002/diff/240001/testing/test_env.py#newcode194 > ...
5 years, 10 months ago (2015-02-06 09:35:11 UTC) #10
Alexander Potapenko
+csharp Chris, in the case you're really the person in charge of .isolate files, can ...
5 years, 10 months ago (2015-02-06 09:38:13 UTC) #11
earthdok
On 2015/02/06 09:38:13, Alexander Potapenko wrote: > +csharp > Chris, in the case you're really ...
5 years, 10 months ago (2015-02-06 10:17:04 UTC) #12
Alexander Potapenko
On 2015/02/06 10:17:04, earthdok wrote: > On 2015/02/06 09:38:13, Alexander Potapenko wrote: > > +csharp ...
5 years, 10 months ago (2015-02-06 14:04:19 UTC) #13
csharp
Current set of *.isolate files lgtm
5 years, 10 months ago (2015-02-06 14:34:14 UTC) #15
M-A Ruel
On 2015/02/06 14:34:14, csharp wrote: > Current set of *.isolate files lgtm Thanks Chris. I ...
5 years, 10 months ago (2015-02-06 14:35:56 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/859293002/240001
5 years, 10 months ago (2015-02-06 14:44:51 UTC) #18
commit-bot: I haz the power
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/31532)
5 years, 10 months ago (2015-02-06 16:18:57 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/859293002/260001
5 years, 10 months ago (2015-02-06 16:28:04 UTC) #23
commit-bot: I haz the power
Committed patchset #14 (id:260001)
5 years, 10 months ago (2015-02-06 17:42:38 UTC) #24
commit-bot: I haz the power
Patchset 14 (id:??) landed as https://crrev.com/9d9193404a307ba7cf79db460a0f988bc349bc4e Cr-Commit-Position: refs/heads/master@{#315059}
5 years, 10 months ago (2015-02-06 17:43:38 UTC) #25
Timur Iskhodzhanov
5 years, 10 months ago (2015-02-11 21:36:16 UTC) #27
Message was sent while issue was closed.
https://codereview.chromium.org/859293002/diff/260001/tools/valgrind/asan/asa...
File tools/valgrind/asan/asan_symbolize.py (right):

https://codereview.chromium.org/859293002/diff/260001/tools/valgrind/asan/asa...
tools/valgrind/asan/asan_symbolize.py:251: if os.uname()[0] == 'Darwin':
this asserts on Windows, again.

Powered by Google App Engine
This is Rietveld 408576698