Skip to content

Conversation

@DenzelPenzel
Copy link
Contributor

@DenzelPenzel DenzelPenzel commented Dec 9, 2025

Description

Add retry logic with exponential backoff to zombienet SDK tests #10583

This commit adds configurable retry logic to the zombienet-sdk GitHub action to handle infra test issues.

Key changes include:

  • Add max-retries and initial-delay-seconds input parameters to the action (defaults: 3 retries, 10s initial delay)
  • Implement exponential backoff retry logic in test execution with grouped output for each attempt
  • Increase log processing sleep time from 60s to 240s to allow more time for log forwarding

Example of retrying the test https://github.com/paritytech/polkadot-sdk/actions/runs/20070112519/job/57571339539?pr=10584

@DenzelPenzel DenzelPenzel self-assigned this Dec 9, 2025
@DenzelPenzel DenzelPenzel requested review from a team as code owners December 9, 2025 16:06
@DenzelPenzel DenzelPenzel added R0-no-crate-publish-required The change does not require any crates to be re-published. T10-tests This PR/Issue is related to tests. labels Dec 9, 2025
@DenzelPenzel DenzelPenzel force-pushed the zombienet-zombienet-sdk-tests-retry branch from 5c7fd6d to 328f011 Compare December 9, 2025 17:02
@pepoviola
Copy link
Contributor

Hey @DenzelPenzel, looks good but most of the infra issues in the tests are downloading the artifacts we need to make the retry logic there too.

@DenzelPenzel
Copy link
Contributor Author

DenzelPenzel commented Dec 9, 2025

Implemented retry logic for artifact downloads in the zombienet CI infra #10588
cc @pepoviola

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

Labels

R0-no-crate-publish-required The change does not require any crates to be re-published. T10-tests This PR/Issue is related to tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants