Flank / flank

:speedboat: Massively parallel Android and iOS test runner for Firebase Test Lab
https://firebase.community/
Apache License 2.0
677 stars 115 forks source link

Retry apk uploads on connectivity issues #2340

Open pbreault opened 1 year ago

pbreault commented 1 year ago

I've observed gcloud timeouts in a CI job that runs fladle on multiple modules in parallel. Most apk uploads succeeded but a few failed. Could be a transient error on gcloud or a temporary connectivity hiccup.

Error on uploading my-test-apk.apk
Cause: com.google.cloud.storage.StorageException: Read timed out

We could work around these errors by retrying the upload when there is a connectivity error.

schnecle commented 1 year ago

Added retry configuration to the Google Cloud Storage client in https://github.com/Flank/flank/pull/2437

It's present in https://github.com/Flank/flank/releases/tag/v23.10.0

Let us know if that helps with the issue you were experiencing.