Joe McDonnell has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/18918 )
Change subject: IMPALA-11226: Add script to simplify resolving minidumps ...................................................................... IMPALA-11226: Add script to simplify resolving minidumps This adds the resolve_minidumps.py script to simplify resolving minidumps under ideal circumstances. This is designed to handle cases where the binary and libraries are in identical locations to when the minidump was created. This is true for developer environments and at the end of Jenkins jobs. This uses Breakpad's minidump_dump utility to get a list of the binaries/libraries that the minidump references. It uses that list to dump all the symbols to a temporary directory. Then it uses the symbols to resolve the minidump. Since it is dumping symbols for all referenced libraries, it resolves symbols to the maximum extent possible. This adds a step to bin/jenkins/finalize.sh to use this new script to resolve minidumps. The old method can be removed in a subsequent change. Testing: - Ran locally on a minidump generated by sending SIGUSR1 to local impalad - Tested with a Centos 7 job using Python 3.6 and verified the minidump output - Tested resolving a minidump from a binary with compressed debug info Change-Id: I0f8fdcb8ca89d0904dc8ec69337e3d5dfdd54adf Reviewed-on: http://gerrit.cloudera.org:8080/18918 Reviewed-by: Wenzhe Zhou <[email protected]> Tested-by: Impala Public Jenkins <[email protected]> --- M bin/jenkins/finalize.sh A bin/resolve_minidumps.py 2 files changed, 395 insertions(+), 0 deletions(-) Approvals: Wenzhe Zhou: Looks good to me, approved Impala Public Jenkins: Verified -- To view, visit http://gerrit.cloudera.org:8080/18918 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I0f8fdcb8ca89d0904dc8ec69337e3d5dfdd54adf Gerrit-Change-Number: 18918 Gerrit-PatchSet: 7 Gerrit-Owner: Joe McDonnell <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Joe McDonnell <[email protected]> Gerrit-Reviewer: Wenzhe Zhou <[email protected]>
