[roll] Roll infra/recipes [cache] Don't override errors if purging fails

If an exception happens within the cache context, but purging the cache
fails, still propagate the original exception to the build's
summary_markdown instead of overriding it with the cache purge
exception.

It's not the end of the world if the cache purge fails since it will get
cleaned up at the start of the next build due to the guardfile still
existing, and certainly not worth overriding the actual root failure
reason.

With the old behavior, the cache purge failure would mask the original
error. This was rare, but it did happen if there was a timeout of the
context wrapping the guard clause, which would first cause the wrapped
step to fail and then cause the cache purging to fail. For example:
https://screenshot.googleplex.com/A544hB4jsaQq5Q8

Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/infra/recipes/+/1249305
Original-Revision: 41041d08de51765ee7942770b7f34650ca06a06b
GitOrigin-RevId: eea76680ed9cf6e9a42a163973fcad8dff965c62
Change-Id: I71d7e18b7923a7d5b0456762adfc5f9b4bc77d88
1 file changed
tree: 39fb465a9358877db6e912ed95245fb3af7627bd
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cts
  6. firmware
  7. flower
  8. jiri.lock
  9. MILESTONE
  10. minimal
  11. prebuilts
  12. README.md
  13. stem
  14. test_durations
  15. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance in one of the communication channels documented at get involved.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.