Skip to content

CI: Chromium install times out when the hosted runner's apt mirror stalls on font packages #3703

Closed

Description

@integry

Problem

On 2026-11-18 between 10:07 and 10:57 UTC, Validate Changes failed on GitHub-hosted runners with "Chromium install timed out on every attempt" on three runs in a row (#3697 twice, #3699 once). scripts/ci-install-chromium.sh gives npx playwright install --with-deps chromium two attempts of 3 minutes. In the failing runs the browser download is not the problem: apt stalls while downloading font packages (fonts-ipafont-gothic, fonts-freefont-ttf, fonts-unifont, fonts-wqy-zenhei, about 32 MB) from the runner's default mirror (us-east-2.ec2.archive.ubuntu.com), on both attempts, so the second attempt repeats the same stalled fetch. The 30-second Acquire::http::Timeout drop-in does not help when the mirror keeps the connection open and sends slowly.

Evidence: run 44288180457 attempt 2, job 134748686933, step "Run ./scripts/ci-install-chromium.sh" (10:50:44–10:56:49 UTC).

Expected / acceptance criteria

  • A slow or stalled default apt mirror no longer fails the step: the second attempt uses a different source (for example archive.ubuntu.com / azure.archive.ubuntu.com via the runner's apt-mirrors.txt, or a minimum-speed limit so apt gives up on a slow mirror and moves on) rather than repeating the same fetch.
  • Consider whether the font packages are needed at all for the browser tests; if the suites pass without --with-deps fonts on ubuntu-24.04, install only the libraries Chromium needs.
  • The step still fails clearly (not skips the browser tests) when the install really cannot complete, and the total time stays bounded (no hour-long hang, which CI robustness: stop the Chromium install from hanging for an hour on GitHub-hosted runners. Check current upstream main first. #3411 fixed).
  • The script's existing tests are extended for the new retry behaviour.

Notes

  • Self-hosted runners are unaffected (they do not apt-install) and must stay that way.
  • Check current upstream main first.

Activity

  1. propr-dev commented on Nov 18, 2026

    @propr-dev
    Contributor

    🤖 AI processing has started for this issue using claude agent with claude-opus-5-5 model.

    I'll analyze the problem and work on a solution. This may take a few minutes.

    Processing Details:

    • Agent: claude
    • Model: claude-opus-5-5
    • Branch: 3703/claude-opus-5-5-ci-chromium-install-times-20261118-1101-hz1
    • Base Branch: main
    • Worktree: issue-3703-20261118-1101-claude-opus-5-5-hz1

    🔍 Track Task Execution

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions