Skip to content

ci: retry Kurtosis CLI installation - #23288

Draft
yperbasis wants to merge 1 commit into
mainfrom
ci/retry-kurtosis-cli-install
Draft

ci: retry Kurtosis CLI installation#23288
yperbasis wants to merge 1 commit into
mainfrom
ci/retry-kurtosis-cli-install

Conversation

@yperbasis

Copy link
Copy Markdown
Member

Problem

The merge-group run for #23271 failed before any Kurtosis test ran. The assertoor_glamsterdam_serial_test runner timed out while refreshing apt.fury.io; apt-get update continued with a warning, then apt-get install failed because kurtosis-cli was unavailable.

The workflow already retried engine startup, but CLI installation had only one attempt. A transient package-repository failure therefore failed ci-gate and removed the PR from the merge queue.

Root-cause job: https://github.com/erigontech/erigon/actions/runs/31792302050/job/94743279070

Fix

  • Retry the complete apt-get update and pinned kurtosis-cli installation pair up to three times.
  • Use 10- and 20-second backoff delays between attempts.
  • Apply the same behavior to the Assertoor and GLOAS Kurtosis workflows.
  • Preserve a hard failure after the third attempt so a persistent setup problem still blocks the gate.

The update and install commands are retried together because APT may return success from the update while reporting an unavailable repository as a warning; the following install is the command that exposes the failure.

Validation

  • actionlint .github/workflows/test-kurtosis-assertoor.yml .github/workflows/test-kurtosis-gloas.yml
  • make lint repeatedly, all clean
  • make erigon integration

No TDD cycle: this is a mechanical CI workflow change with no application behavior change.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Retries Kurtosis CLI installation to prevent transient APT repository failures from blocking CI.

Changes:

  • Retries update and pinned installation three times.
  • Adds 10- and 20-second backoff delays.
  • Applies identical behavior to Assertoor and GLOAS workflows.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/test-kurtosis-assertoor.yml Adds bounded CLI installation retries.
.github/workflows/test-kurtosis-gloas.yml Adds matching CLI installation retries.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

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.

2 participants