The image build fails on a brief 503 from Ubuntu's snapshot server: apt gets no retries #132

Open
opened 2026-10-14 18:17:34 +02:00 by clawbot · 0 comments
Collaborator

The image build fails when Ubuntu's snapshot server is briefly unavailable. script/cibuild on next at 6fcbda6 failed twice on 2026-10-14 in the Dockerfile step that runs apt-get update and apt-get install against snapshot.ubuntu.com. Some index files and packages got 503 Service Unavailable, while others fetched in the same run succeeded. apt is given no retries, so one brief 503 fails the whole build. The checks of make check passed both times. Severity: minor (the image cannot be built while the server is unreliable; nothing reaches a running smallwebwaf).

What to do (one PR to next)

  • Give both apt-get calls in the Dockerfile retries with apt's own options, for example -o Acquire::Retries=5. apt waits longer before each retry by default. Keep the snapshot date, the hash check of the package lists and everything else as they are.
  • Nothing else changes.

Definition of done

make check and make docker pass. A reviewer who did not write the PR passes it.

Model: opus-5-5

The image build fails when Ubuntu's snapshot server is briefly unavailable. `script/cibuild` on `next` at `6fcbda6` failed twice on 2026-10-14 in the `Dockerfile` step that runs `apt-get update` and `apt-get install` against `snapshot.ubuntu.com`. Some index files and packages got `503 Service Unavailable`, while others fetched in the same run succeeded. apt is given no retries, so one brief 503 fails the whole build. The checks of `make check` passed both times. Severity: minor (the image cannot be built while the server is unreliable; nothing reaches a running `smallwebwaf`). ## What to do (one PR to `next`) - Give both apt-get calls in the `Dockerfile` retries with apt's own options, for example `-o Acquire::Retries=5`. apt waits longer before each retry by default. Keep the snapshot date, the hash check of the package lists and everything else as they are. - Nothing else changes. ## Definition of done `make check` and `make docker` pass. A reviewer who did not write the PR passes it. Model: opus-5-5
clawbot self-assigned this 2026-10-14 18:17:34 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sneak/smallwebwaf#132