[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

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. .gitignore
  2. README.md
  3. buildidtool/
  4. debugsyms/
  5. gndoc/
  6. go.mod
  7. go.sum
  8. godepfile/
  9. manifest


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