Skip to content

Retry downloads #182

@schneems

Description

@schneems

CI hit an intermediate failure, restarting the test fixed the issue. Adding retries on failures would ease these situations (for all CNBs):

note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

---- smoke::smoke_test_php_getting_started stdout ----

thread 'smoke::smoke_test_php_getting_started' panicked at /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libcnb-test-0.28.1/src/test_runner.rs:163:17:
Error performing pack build:

pack command failed with exit code 1!

## stderr:


[Error: A download error occurred during bootstrapping]
https://lang-php.s3.us-east-1.amazonaws.com/dist-heroku-24-arm64-cnb/php-min-8.3.7.tar.gz: Dns Failed: resolve dns name 'lang-php.s3.us-east-1.amazonaws.com:443': failed to lookup address information: Try again

This is most likely a transient internal error; you should re-try the operation.

Please make sure that you are not running an outdated version of the buildpack.

If the problem persists, open a support ticket and include the full log output of this build.
ERROR: failed to build: executing lifecycle: failed with status code: 51

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions