commit | dd3bd77c6bb000d4318b94b206d88b98a1833b07 | [log] [tgz] |
---|---|---|
author | Kevin Lubick <kjlubick@google.com> | Mon Nov 28 15:23:27 2022 -0500 |
committer | Kevin Lubick <kjlubick@google.com> | Tue Nov 29 15:01:56 2022 +0000 |
tree | 59c018507aceb585bb45be0280c3de1d6a902f6e | |
parent | 152802f4aa718d322165c3c2a9cf57d333ad0a84 [diff] |
[infra] Revive symbolize_stack_trace wrapper script. This stopped working and was removed in: https://skia-review.googlesource.com/c/skia/+/538636 due to lack of resources to fix it. This brings it back and fixes it, requiring a downgrade to DWARF 4 symbols (gn/skia/BUILD.gn) and some Python 3 changes (encoding='utf-8'). As it did before, this should stream the output to stdout (tests can take a long time to run) and then processes the last 500 lines looking for a stacktrace. This uses the system addr2line binary to process that output into human-readable file/function/line. Example output: https://logs.chromium.org/logs/skia/5ed8b4dff8d56f11/+/steps/symbolized_dm/0/stdout Change-Id: I12187118c4b09394baea54ac795ebcedf50451e8 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/610659 Reviewed-by: Ravi Mistry <rmistry@google.com>