[infra] Describe how to download large isolate artifacts(core dumps)

File browser web interface might fail to download large files, so one needs
to use cas tool to download those.

Change-Id: I8053860f9ba443dc481319e5574ecd6d41baf8f7
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/225560
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Alexander Aprelev <aam@google.com>
This commit is contained in:
Alexander Aprelev 2022-01-29 06:21:23 +00:00 committed by Commit Bot
parent 86383dd1af
commit 65178de9d2

View file

@ -45,11 +45,25 @@ is using isolate storage. In this case you need to look for
![shard isolate out](images/isolated-out-link.png)
This link would bring you to isolate server file browser where you will be
able to download archived artifacts.
This link would bring you to isolate server file browser where you can see the artifacts you can download.
![Isolate Server Browser](images/isolated-out-browser.png)
One caveat is that file browser might fail to download large files, so you might need to use `cas` tool if you need to download those.
`cas` tool is installed using `cipd`:
```
cipd install "infra/tools/luci/cas/\${platform}" -root ~/cas_tool
```
Then you point `cas` at digest hash for the directory to be downloaded:
```
~/cas_tool/cas download -cas-instance projects/chromium-swarm/instances/default_instance -digest <digest_hash> -dir downloaded
```
where `<digest_hash>` is 'Digest' value from the isolate server browser listing.
### Cloud Storage
Other bots upload collected artifacts into a `dart-temp-crash-archive` Cloud Storage bucket. In this case you will see