Skip to content

Flake: docker hub requiring authentication #5342

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
briandealwis opened this issue Feb 3, 2021 · 2 comments
Open

Flake: docker hub requiring authentication #5342

briandealwis opened this issue Feb 3, 2021 · 2 comments

Comments

@briandealwis
Copy link
Member

Suddenly having a rash of failures on Travis trying to pull images from Docker Hub. Assuming they're transient.

--- FAIL: TestRun (679.14s)
/integration/TestRun/buildpacks_Go
time="2021-02-03T17:49:24Z" level=info msg="Namespace: skaffoldk44vr"
time="2021-02-03T17:49:24Z" level=info msg="Running [skaffold run --namespace skaffoldk44vr --default-repo gcr.io/k8s-skaffold] in examples/buildpacks"
    helper.go:229: skaffold run: exit status 1, Generating tags...
         - skaffold-buildpacks -> gcr.io/k8s-skaffold/skaffold-buildpacks:c2040d5
        Checking cache...
         - skaffold-buildpacks: Not found. Building
        Found [k3d-k3s-default] context, using local docker daemon.
[...]
        v1: Pulling from buildpacks/gcp/run
        9f2825a1003a: Already exists
        7e79098fe9b4: Already exists
        3c2cba919283: Already exists
        261de18b35a6: Already exists
        c26187d600b1: Already exists
        Digest: sha256:578631b17d0db25f29d6157d0390e84e657446f908a26dc1fe70ee161eb8f7b5
        Status: Downloaded newer image for gcr.io/buildpacks/gcp/run:v1
        0.9.3: Pulling from buildpacksio/lifecycle
    panic.go:617: failed to build: fetching lifecycle image: unauthorized: authentication required
    --- FAIL: TestRun/buildpacks_Go (26.61s)
/integration/TestRun/kustomize
time="2021-02-03T17:52:58Z" level=info msg="Namespace: skaffoldnrdn7"
time="2021-02-03T17:52:58Z" level=info msg="Running [skaffold run --namespace skaffoldnrdn7 --default-repo gcr.io/k8s-skaffold] in examples/getting-started-kustomize"
    helper.go:229: skaffold run: exit status 1, Generating tags...
         - skaffold-kustomize -> gcr.io/k8s-skaffold/skaffold-kustomize:c2040d5
        Checking cache...
         - skaffold-kustomize: Error checking cache.
    panic.go:617: failed to build: getting hash for artifact "skaffold-kustomize": getting dependencies for "skaffold-kustomize": parsing ONBUILD instructions: retrieving image "alpine:3.10": GET https://index.docker.io/v2/library/alpine/manifests/3.10: UNAUTHORIZED: authentication required; [map[Action:pull Class: Name:library/alpine Type:repository]]
    --- FAIL: TestRun/kustomize (1.21s)

and

    panic.go:617: executing build: getting hash for artifact "skaffold-example": getting dependencies for "skaffold-example": parsing ONBUILD instructions: retrieving image "golang:1.15": GET https://index.docker.io/v2/library/golang/manifests/1.15: UNAUTHORIZED: authentication required; [map[Action:pull Class: Name:library/golang Type:repository]]
@briandealwis
Copy link
Member Author

This seems to happen only with k3d… k3d would fail when I tried bringing in the travis registry-mirror mirroring. Will take a look again.

@briandealwis
Copy link
Member Author

On Kokoro too.

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

No branches or pull requests

1 participant