Skip to content

ci: the ublk lane retries the package install with public resolvers - #1792

Merged
nikhilunni merged 2 commits into
mainfrom
ci/ublk-apt-mirror-fallback
Nov 11, 2026
Merged

nikhilunni merged 2 commits into
mainfrom
ci/ublk-apt-mirror-fallback

Conversation

@nikhilunni

@nikhilunni nikhilunni commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Problem

tests (ublk source, root) failed four times in a row on an unrelated pull request. No test ran: apt-get install could not resolve the package hosts on the runner and stopped after six minutes.

This is the one CI lane on a GitHub-hosted runner (the lane needs a kernel with ublk_drv). The other lanes use a different runner, so they passed.

Change

After a failed install, the step prints the resolver state of the default link, sets public resolvers (1.1.1.1, 8.8.8.8) on that link, and tries one more time. A second failure still fails the lane.

The first commit tried the main archive in place of the regional mirror. That host did not resolve either, so the second commit replaces it.

Validation

  • This pull request's run met the failure: the first install failed, the retry passed, and the lane's tests ran and passed.
  • The log shows the runner's own resolver was slow, not dead: a lookup of three names took 40 s and then answered. So the run does not prove whether the public resolvers or the second attempt made the install pass.
  • Cost: the first attempt takes about six minutes to fail. A healthy runner does not pay it.
  • actionlint: no finding on the changed step.

🤖 Generated with Claude Code

…r fails

The ublk lane is the one CI lane on a GitHub-hosted runner. That runner
reads packages through a regional mirror list. When the mirror's name
did not resolve, apt-get install failed after six minutes and the gate
failed on every rerun, although no test had run.

The install step now tries the mirror list first. If that fails, it
points apt at archive.ubuntu.com and tries one more time.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

The latest Buf updates on your PR. Results from workflow CI / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed⏩ skipped⏩ skipped✅ passedNov 11, 2026, 4:28 PM

The main archive did not resolve on the runner either, so a different
package host is not the fix. After a failed install the step now prints
the resolver state of the default link, sets public resolvers on that
link, and tries one more time.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@nikhilunni nikhilunni changed the title ci: the ublk lane reads packages from the main archive when the mirror fails ci: the ublk lane retries the package install with public resolvers Nov 11, 2026
@nikhilunni
nikhilunni merged commit c0e2112 into main Nov 11, 2026
28 checks passed
@nikhilunni
nikhilunni deleted the ci/ublk-apt-mirror-fallback branch November 11, 2026 16:51
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