Skip to content
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

Nithtly Tekton tests fail with short-name resolution enforced but cannot prompt without a TTY #1308

Closed
mgencur opened this issue May 10, 2021 · 0 comments · Fixed by #1307
Closed
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@mgencur
Copy link
Contributor

mgencur commented May 10, 2021

Bug report

Buildah/Podman now enforce specifying the full image names unless disabled in a global Podman configuration file on the host. The error is as follows:

buildah --storage-driver=overlay bud --format=docker --tls-verify=true --no-cache -f ./test/test_images/helloworld/Dockerfile -t gcr.io/knative-boskos-90/kn-tekton-e2e-img/18859/helloworld:tkn .
        [pod/buildah-build-kn-create-2ghs7-buildah-build-tl6zk-pod-6zl4g/step-build] STEP 1: FROM golang:1.13 AS builder
        [pod/buildah-build-kn-create-2ghs7-buildah-build-tl6zk-pod-6zl4g/step-build] STEP 2: FROM alpine:3
        [pod/buildah-build-kn-create-2ghs7-buildah-build-tl6zk-pod-6zl4g/step-build] error creating build container: short-name resolution enforced but cannot prompt without a TTY
        [pod/buildah-build-kn-create-2ghs7-buildah-build-tl6zk-pod-6zl4g/step-build] Resolved "alpine" as an alias (/etc/containers/registries.conf.d/000-shortnames.conf)
        [pod/buildah-build-kn-create-2ghs7-buildah-build-tl6zk-pod-6zl4g/step-digest-to-results] 2021/05/09 13:11:23 Skipping step because a previous step failed

The error can be seen here: https://prow.knative.dev/view/gs/knative-prow/logs/ci-knative-client-tekton/1391377492714983424

Expected behavior

The Tekton tests run successfully.

Steps to reproduce the problem

See the nightly job at https://testgrid.k8s.io/r/knative-own-testgrid/client#tekton

@mgencur mgencur added the kind/bug Categorizes issue or PR as related to a bug. label May 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant