diff options
author | George Burgess IV <gbiv@google.com> | 2020-10-05 16:32:36 -0700 |
---|---|---|
committer | George Burgess <gbiv@chromium.org> | 2020-10-07 07:19:07 +0000 |
commit | 6d9e457d1841b6086c51719ee43a56f2ee550c7c (patch) | |
tree | 65503c9666e02d60bf1bd67f0ab0aa9ab1fcae2b /llvm_tools/README.md | |
parent | 92d7005475c73345f1367892d4e28c618137ffc5 (diff) | |
download | toolchain-utils-6d9e457d1841b6086c51719ee43a56f2ee550c7c.tar.gz |
llvm_tools: add a lexan crash autouploader
This CL adds an autouploader for crashes that land in Lexan's bucket.
This autouploader uploads them to 4c, much like how
`bisect_clang_crashes.py` does. The intent is to run this regularly on
chrotomation.
BUG=None
TEST=Ran it
Change-Id: I7cfbe463d89994f6ed3f750c9e8277e1fad0738e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2451306
Reviewed-by: Jian Cai <jiancai@google.com>
Tested-by: George Burgess <gbiv@chromium.org>
Diffstat (limited to 'llvm_tools/README.md')
-rw-r--r-- | llvm_tools/README.md | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/llvm_tools/README.md b/llvm_tools/README.md index d7c20164..783ec22d 100644 --- a/llvm_tools/README.md +++ b/llvm_tools/README.md @@ -555,7 +555,7 @@ PYTHONPATH=../ ./nightly_revert_checker.py \ ### `bisect_clang_crashes.py` This script downloads clang crash diagnoses from -gs://chromeos-toolchain-artifacts/clang-crash-diagnoses and send them to 4c for +gs://chromeos-toolchain-artifacts/clang-crash-diagnoses and sends them to 4c for bisection. Usage example: @@ -569,3 +569,26 @@ to 4c server for bisection. The summary of submitted jobs will be saved in output/state.json under the current path. The output directory will be created automatically if it does not exist yet. To get more information of the submitted jobs, please refer to go/4c-cli. + +### `upload_lexan_crashes_to_forcey.py` + +This script downloads clang crash diagnoses from Lexan's bucket and sends them +to 4c for bisection. + +Usage example: + +``` +$ ./upload_lexan_crashes_to_forcey.py --4c 4c-cli \ + --state_file ./output/state.json +``` + +The above command downloads the artifacts of clang crash diagnoses and send them +to 4c server for bisection. The summary of submitted jobs will be saved in +output/state.json under the current path. The output directory will be created +automatically if it does not exist yet. To get more information of the submitted +jobs, please refer to go/4c-cli. + +Note that it's recommended to 'seed' the state file with a most recent upload +date. This can be done by running this tool *once* with a `--last_date` flag. +This flag has the script override whatever's in the state file (if anything) and +start submitting all crashes uploaded starting at the given day. |