8000 e2e: the hostname-allowlist skopeo check fails when Docker Hub serves blobs from an S3 host the allowlist does not name · Issue #3491 · gominimal/minimal · GitHub
[go: up one dir, main page]

Skip to content

e2e: the hostname-allowlist skopeo check fails when Docker Hub serves blobs from an S3 host the allowlist does not name #3491

Closed

Description

@mitodrummer

What fails. The hostname-allowlist toolchain check in the session e2e runs skopeo against Docker Hub in a box with a hostname-only allowlist. It now exits 1:

##[error]skopeo did not complete (exit 1) — a hostname-only allowlist must admit every host the tool touches; the window above names the hosts it did, so a host missing from it is the one to add to the declaration

The daemon log just before it shows the host that was refused:

WARN minimald::net::dns_gate: answered NXDOMAIN for a name the box's allow_dns_hosts does not match; the query was not forwarded name=docker-images-prod.s3.dualstack.us-east-1.amazonaws.com

registry-1.docker.io and auth.docker.io are admitted. Docker Hub then sends the client to docker-images-prod.s3.dualstack.us-east-1.amazonaws.com, which the check's allowlist does not name, so the DNS gate answers NXDOMAIN as designed. The product behaves correctly; the check's declared host list no longer covers where Docker Hub serves from.

Where it was seen.

Effect. The release workflow moves unstable only when every smoke job passes, so this blocks the nightly. unstable is still 0.8.0-dev.549.ga42a9d6d from 2026-11-14. It also ejects PRs from the merge queue when Docker Hub picks that host.

Not the same as #3171. The nightlies of 2026-11-15 and 2026-11-16 failed in smoke-linux-amd64 on the first-lookup flake tracked there (e2e-nnat-a.min.internal did not answer A on the first lookup).

Options.

  1. Add the S3 host (or the pattern Docker Hub uses for blobs) to the check's allowlist. Simple, but it breaks again when Docker Hub changes its storage host.
  2. Point the check at a registry whose hosts are fixed and under our control.
  3. Keep Docker Hub but pull an image whose blobs are served from a host already on the list, if one exists.

Not verified: whether #3396's two queue ejections (2026-11-16 23:21Z and 2026-11-17 05:53Z) had this cause.

Activity

  1. added a commit that references this issue on Nov 17, 2026
    920b0e9
  2. added a commit that references this issue on Nov 17, 2026
    893eedd
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

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0