commit | 563cdd918ee69f744934c3782a28d0da178ac5d1 | [log] [tgz] |
---|---|---|
author | George Burgess IV <gbiv@google.com> | Tue Sep 15 12:29:02 2020 -0700 |
committer | George Burgess <gbiv@chromium.org> | Tue Sep 15 23:30:16 2020 +0000 |
tree | 99ff2ec76cc42acea84d8ec4dca4a9bb953d3cb1 | |
parent | c1e7b46ea3d6616f3844c30e89f5014d0c3d6926 [diff] |
llvm_tools: save intermediate state even if a step fails When uploading multiple crashes, a network error may happen (or anything else, really). This isn't going to save us from SIGKILLs or power-offs (it's impossible to save us 100% from either of those, since there's always going to be a race between writing the JSON file and submitting the test-case), but it should keep us from submitting duplicate crash reports in most cases. This also has us sort results from `gsutil ls`, since that may not always print things in a deterministic order. BUG=None TEST=Ran the script; ^C'ed it in the middle. Change-Id: I9695d83db6fb8161dc6fce16b13980c8eacf219d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2412482 Reviewed-by: Jian Cai <jiancai@google.com> Tested-by: George Burgess <gbiv@chromium.org>
toolchain-utils
Various utilities used by the Chrome OS toolchain team.
To run Python scripts in this directory, first run:
export PYTHONPATH=$(readlink -f .):$PYTHONPATH
from this directory.
Then you can run any script.
To get help on any script, type in python <script> --help
, or refer to the header of the script for more information.