radius-project / radius

Radius is a cloud-native, portable application platform that makes app development easier for teams building cloud-native apps.
https://radapp.io
Apache License 2.0
1.44k stars 90 forks source link

Harden `rad bicep download` in CI/CD #3082

Open rynowak opened 2 years ago

rynowak commented 2 years ago

A test run for one of our PRs failed here https://dev.azure.com/azure-octo/Incubations/_build/results?buildId=34219&view=logs&j=4b2e8509-34d5-53da-a1f6-67bf3fd840d5&t=79605e6e-69bb-51cb-f4a2-cbb61ef31a1e

Error: failed to download bicep: Get "[https://radiuspublic.blob.core.windows.net/tools/bicep-extensibility/edge/linux-x64/rad-bicep"](https://radiuspublic.blob.core.windows.net/tools/bicep-extensibility/edge/linux-x64/rad-bicep%22): read tcp 10.1.0.8:35840->52.239.237.36:443: read: connection reset by peer

This is a normal-looking connection/network hiccup. We should probably add retries to this (in the CI/CD pipeline), not in Radius.

AB#4736

emily-potyraj commented 2 years ago

triage note: test infra improvement to fix a once-every-50 (<- super official, measured occurrence rate) runs issue. Proposed for v0.13. Not a product issue. It's a CI/CD issue.

amanbha commented 2 years ago

This would be a change in the pipeline to retry.