Repository navigation
ci: the ublk lane retries the package install with public resolvers - #1792
Merged
Merged
Conversation
…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>
|
The latest Buf updates on your PR. Results from workflow CI / buf (pull_request).
|
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
tests (ublk source, root)failed four times in a row on an unrelated pull request. No test ran:apt-get installcould 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
actionlint: no finding on the changed step.🤖 Generated with Claude Code