Repository navigation
Stop the no_std CI job hanging on apt - #18
Draft
richardanaya wants to merge 3 commits into
Draft
richardanaya wants to merge 3 commits into
richardanaya wants to merge 3 commits into
Conversation
GitHub runners prefer azure.archive.ubuntu.com. When that mirror ignores InRelease, apt can stall forever in mirror failover and never reach the build or QEMU. Use archive.ubuntu.com only, bound apt and QEMU with timeout, and cap the job at 15 minutes. Co-authored-by: richardanaya2_2048b.Q6_K_M.gguf <richardanaya@users.noreply.github.com>
Co-authored-by: richardanaya2_2048b.Q6_K_M.gguf <richardanaya@users.noreply.github.com>
Co-authored-by: richardanaya2_2048b.Q6_K_M.gguf <richardanaya@users.noreply.github.com>
This branch has not been deployed
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.
The no_std job on master commit
b3c0332(run 37679549289, job 112991706416) never built or booted QEMU. GitHub cancelled it at the 6-hour limit. The same job passed on PR #17 (67074c3).Root cause
sudo apt-get updatehung. GitHub's Ubuntu image lists mirrors in/etc/apt/apt-mirrors.txt:http://azure.archive.ubuntu.com/ubuntu/(priority 1)https://archive.ubuntu.com/ubuntu/(priority 2)On the cancelled run, Azure ignored
InRelease(Ignat 20:07:07Z). Apt then loggedIgnfornoble-updatespackage indexes on that same host (20:07:09Z) and printed nothing else until the cancel at 02:07Z. It did not fail over, even thoughhttps://archive.ubuntu.comhad already returnedInReleasein that run. The passing run used Azure too, and Azure answered, so this is the mirror stall, not the harness.Fix
https://archive.ubuntu.comonly, so the broken failover path is not used.apt-getafter 180s with a message.timeout-minutes: 15on the job.timeout(60s). A guest that never semihost-exits fails immediately instead of holding the runner.No library changes.
CI
Three separate runs, each with every job green, including
no_std build and qemu:ff5811c)ef300aa)8b6ead2)The first run's apt log fetched only from
https://archive.ubuntu.com(mirror list was 46 bytes, not the 144-byte Azure list) and QEMU printedexecutor nostd tests ok.