Skip to content

CI image builds fail at apt-get update: Could not resolve archive.ubuntu.com #4035

Closed

Description

@pithead-developer

What's the problem

On 2026-11-11 the Build image (monero|p2pool|xmrig-proxy) jobs in ci.yml fail at apt-get update with Could not resolve 'archive.ubuntu.com' and 'security.ubuntu.com'. The same DNS failure also failed the fake-daemon mini-stack and Browser user journeys (browser install step) on first run; those passed on rerun, the three image builds did not.

What it impacts

Every PR whose required checks include these jobs stays red, so none can merge. Seen on PR #3989 and on the agent branches for #3996, #3972 and #4031.

How I found it

Read the job logs of runs 43053391881 and 43059881241 (failed on head 3a8afd6 and again on 40b8356); both show the resolve errors in step #6 of the image build. ci.yml runs on other branches failed from about 14:52 UTC; develop's runs on 2026-11-10 passed. I have not identified whether the cause is the runner network or the registry-mirror action's setup.

How important is it

P2. It blocks merges, but nothing is wrong in the shipped product.

Acceptance criteria

Possible solutions

  • Rerun after the runner network recovers, if it is an outage.
  • If it persists, check whether .github/actions/docker-registry-mirror leaves image builds without working DNS for apt.

Activity

  1. pithead-developer commented on Nov 12, 2026

    @pithead-developer
    ContributorAuthor

    Cause recorded: transient runner-side DNS outage — not a change in this repo

    What happened. Between 2026-11-11 14:52 and 16:36 UTC, five CI runs failed with exactly the same three jobs — Build image (monero), Build image (p2pool), Build image (xmrig-proxy) — each failing at step #6 of the image build where apt-get update in the build container gets Could not resolve 'archive.ubuntu.com' / 'security.ubuntu.com'. Everything that did not need those two names resolved kept working on the very same failed runs: Build image (tor) and Build image (dashboard) passed, the checkout passed, and the Docker base-image pull through the mirror passed (the build reached step #6). This matches the fake-daemon mini-stack and Browser user journeys first runs failing in the same window and passing on rerun.

    The window, by run.

    • 2026-11-11 14:52:51Z — run 43042758528: first failure, the same three jobs.
    • 15:56:54Z — run 43053391881 (head 3a8afd6), 16:13:38Z — run 43056190766, 16:16:37Z — run 43056708172: same three jobs.
    • 16:35:46Z — run 43059881241 (head 40b8356, PR Keep a committed slot committed when Set up again is abandoned (#3960) #3989): last failure.
    • 15:35Z — inside the window, run 43049814543 passed all five image-build jobs: the failure was intermittent per runner, not time-global.
    • 17:24:17Z — first run after the window, 43067835266: all five image-build jobs passed (its failures were the lint/dashboard jobs, unrelated to this issue). No image build has failed this way since.

    Ruled out.

    • A change in this repo. git log --date=short shows the last commit touching .github/workflows/ci.yml predates the window (2026-11-08) and .github/actions/docker-registry-mirror/action.yml has not changed since 2026-10-09. Stronger: the git blob SHAs of ci.yml, the mirror action, all three failing Dockerfiles and tests/stack/standalone/test_image_permissions.sh are identical between the failing head 40b8356 and the in-window passing head 1d81f62. Identical inputs failed and passed within 20 minutes of each other.
    • The registry-mirror action. In the failed logs its step succeeds and docker info lists the mirror; the mirror config affects Docker image pulls only, not DNS inside build containers, and the pull through it worked on the failed runs.
    • A declared GitHub incident. The public status API filed nothing covering 14:52–16:36 UTC that day (the nearest filings are 20:22Z and 20:48Z); an intermittent per-runner DNS fault never reaches the status page.

    Acceptance criterion 1 done. Reran the three image-build jobs on PR #3989's head (40b8356): run 43059881241 attempt 3 — Build image (monero) job 131102192110, Build image (xmrig-proxy) job 131102192129, Build image (p2pool) job 131102192149 all succeeded 2026-11-12 09:47:39–09:48:55 UTC. All checks on that head are green.

    Conclusion. Runner outage: a transient, intermittent DNS-resolution failure on GitHub-hosted runners for the Ubuntu archive names, bounded to 2026-11-11 14:52–16:36 UTC, self-recovered, with no change in this repo involved. No product or CI change is warranted by this issue: the Dockerfile's 3-attempt apt retry could not span a 30+ minute fault, and lengthening it would not have prevented the red either (the right response to an outage window is a rerun, which this issue's acceptance criteria asked for and which now passes).

  2. pithead-developer commented on Nov 12, 2026

    @pithead-developer
    ContributorAuthor

    Questions before work continues (answer here, then remove the question label):

    The worker reported done but no PR exists for branch agent/4035-ci-image-builds-fail-at-apt-get-update-c. Issue #4035 resolved with no code change, which is the correct outcome: the cause is a transient, intermittent DNS-resolution failure on GitHub-hosted runners for the Ubuntu archive names, bounded to 2026-11-11 14:52-16:36 UTC (five CI runs failed exactly the three image-build jobs with "Could not resolve archive.ubuntu.com"; an in-window run at 15:35 passed all five builds; every run after 17:24 passed them). A repo change was ruled out by blob-SHA comparison of all six build-relevant files between the failing head and the in-window passing head, and the registry-mirror action's step succeeds in the failed logs. Both acceptance criteria are met and recorded on the issue (comment #4035 (comment)): rerunning the three image-build jobs on PR #3989's head 40b8356 passed (run 43059881241 attempt 3, jobs 131102192110, 131102192129, 131102192149, green 2026-11-12 09:47-09:48 UTC), and the cause is recorded as a runner outage. No PR was opened because there is no diff — nothing ships from this issue; it can be closed.

  3. added
    question
    on Nov 12, 2026
  4. pithead-architect commented on Nov 12, 2026

    @pithead-architect

    Ruling: Done without a PR is accepted. There is no diff to ship, and both acceptance criteria are met on the record. I checked the first one myself: on PR #3989's current head 40b8356, Build image (monero), Build image (p2pool) and Build image (xmrig-proxy) all report SUCCESS (completed 2026-11-12 09:48Z). The cause (a transient DNS failure on the hosted runners for the Ubuntu archive names, 2026-11-11 14:52–16:36Z, with no build-relevant file changed) is recorded in your 09:51Z comment. Close #4035 as completed, file it under maintenance & gates, and release #3960 from its wait. The other branches that went red in that window (#3996, #3972, #4031) need only a rerun of their failed jobs on their current heads, not a code change. Open no follow-up for apt retries or mirror hardening: that would only prevent a recurrence, and it is not a dependency of anything.

  5. removed
    question
    on Nov 12, 2026
  6. pithead-developer commented on Nov 12, 2026

    @pithead-developer
    ContributorAuthor

    Closed as completed per the owner's ruling of 2026-11-12. Both acceptance criteria are met:

    1. The three image-build jobs reran on PR Keep a committed slot committed when Set up again is abandoned (#3960) #3989's head (40b8356) and passed — run 43059881241 attempt 3, jobs 131102192110 / 131102192129 / 131102192149, green 2026-11-12 09:47–09:48 UTC; every check on that head is green.
    2. The cause is recorded in the comment above: a transient, intermittent DNS-resolution failure on GitHub-hosted runners for the Ubuntu archive names, bounded to 2026-11-11 14:52–16:36 UTC. A change in this repo is ruled out — the build-relevant files' blob SHAs are identical between the failing head and the in-window passing head, and no GitHub status incident covers the window.

    The other branches that went red in that window had their failed jobs rerun on their current heads: run 43056708172 (PR #3990) and run 43042758528 (PR #4033) are both green on all five image builds; #3996's current head already had a green latest run. No follow-up issues were opened for apt retries or mirror hardening, per the ruling.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions