Skip to content

Retry on known flakey errors #211

Open
@tmcgilchrist

Description

@tmcgilchrist

Base image builder regularly errors on this transient issue:

failed to solve with frontend dockerfile.v0: failed to solve with frontend gateway.v0: rpc error: code = Unknown desc = ocurrent/opam-staging@sha256:90f036ba79b70d23d08aad99dcaaf9594bc953c9b9a16dd0aa7cee4894939512: failed to do request: Head "https://registry-1.docker.io/v2/ocurrent/opam-staging/manifests/sha256:90f036ba79b70d23d08aad99dcaaf9594bc953c9b9a16dd0aa7cee4894939512": dial tcp: lookup registry-1.docker.io: Temporary failure in name resolution
docker-build failed with exit-code 1
2023-03-02 15:27.29: Job failed: Failed: Build failed

It would be useful to immediately retry on known flakey errors.

Prerequisite

Known flakey errors

Flakey errors on docker-build:

Flakey errors on docker-push:

  • error parsing HTTP 400 response body: invalid character '<' looking for beginning of value: "<html><body><h1>400 Bad request</h1>\nYour browser sent an invalid request.\n</body></html>\n\n" @ Retry on known flakey errors #211 (comment)

Flakey errors on docker authentication:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions