Skip to content

test/env: retry pulling containers;#1238

Draft
ajscholl wants to merge 2 commits into
mainfrom
retry-pulling-containers
Draft

test/env: retry pulling containers;#1238
ajscholl wants to merge 2 commits into
mainfrom
retry-pulling-containers

Conversation

@ajscholl

@ajscholl ajscholl commented May 7, 2025

Copy link
Copy Markdown
Contributor

If you run a lot of tests in parallel, you can get this error:

could not pull image "yourImage:yourTag": API error (500): toomanyrequests: Too Many Requests (HAP429).

This currently kills the test, throwing away any work done before. To avoid this, we now retry pulling the image after 10 seconds with exponential backoff.

The backoff settings can be configured with the test.images prefix:

test:
  images:
    backoff:
      type: default

ajscholl added 2 commits June 5, 2025 13:40
If you run a lot of tests in parallel, you can get this error:

    could not pull image "yourImage:yourTag": API error (500): toomanyrequests: Too Many Requests (HAP429).

This currently kills the test, throwing away any work done before. To
avoid this, we now retry pulling the image after 10 seconds with
exponential backoff.

The backoff settings can be configured with the `test.images` prefix:

```yaml
test:
  images:
    backoff:
      type: default
```
@ajscholl ajscholl force-pushed the retry-pulling-containers branch from c4b22f8 to ff25ffe Compare June 5, 2025 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant