pulumi / ci-mgmt

Configuration for all things CI
Apache License 2.0
11 stars 4 forks source link

Retry go builds #810

Open t0yv0 opened 9 months ago

t0yv0 commented 9 months ago

A go cache miss may break the build

Error: ../../../../go/pkg/mod/github.com/hashicorp/go-plugin@v1.6.0/internal/plugin/grpc_broker_grpc.pb.go:14:2: google.golang.org/grpc@v1.61.0: read "https:/proxy.golang.org/@v/v1.61.0.zip": stream error: stream ID 101; INTERNAL_ERROR; received from peer
Error: ../../../../go/pkg/mod/github.com/hashicorp/go-plugin@v1.6.0/internal/plugin/grpc_broker_grpc.pb.go:15:2: google.golang.org/grpc@v1.61.0: read "https:/proxy.golang.org/@v/v1.61.0.zip": stream error: stream ID 101; INTERNAL_ERROR; received from peer
Error: ../../../../go/pkg/mod/github.com/hashicorp/go-plugin@v1.6.0/internal/plugin/grpc_broker_grpc.pb.go:16:2: google.golang.org/grpc@v1.61.0: read "https:/proxy.golang.org/@v/v1.61.0.zip": stream error: stream ID 101; INTERNAL_ERROR; received from peer

FAILED https://github.com/pulumi/pulumi-akamai/pull/423

A rare condition, but retrying Go builds with backoff can make these builds more reliable.

t0yv0 commented 9 months ago

Another one https://github.com/pulumi/pulumi-mongodbatlas/issues/385