[debugsyms] Add retries for transient errors during upload

If we encounter a 500 or 502 when writing to GCS, retry the operation up
to 3 times before giving up.

Test: Ran against a local .build-id directory. I didn't reproduce any
transient errors however, so I only tested that the happy path did not
regress.

Bug: 69677
Change-Id: I88e94254a8b52a8a262df1df7e44a231a4911885
Reviewed-on: https://fuchsia-review.googlesource.com/c/tools/+/489441
Fuchsia-Auto-Submit: Anthony Fandrianto <atyfto@google.com>
Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com>
Reviewed-by: Oliver Newman <olivernewman@google.com>
3 files changed
tree: 75f6daf69caee138e3ee7cebbf652cd2e36f401b
  1. buildidtool/
  2. debugsyms/
  3. gndoc/
  4. godepfile/
  5. .gitignore
  6. go.mod
  7. go.sum
  8. manifest
  9. README.md
README.md

tools

All tools have been moved to fuchsia.git at https://fuchsia.googlesource.com/fuchsia/+/refs/heads/master/tools.