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

Failing postsubmit job for building images #70

Open
aojea opened this issue Aug 6, 2024 · 2 comments
Open

Failing postsubmit job for building images #70

aojea opened this issue Aug 6, 2024 · 2 comments
Labels
help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.

Comments

@aojea
Copy link
Contributor

aojea commented Aug 6, 2024

https://prow.k8s.io/view/gs/kubernetes-jenkins/logs/post-kube-network-policies-image/1820461457674866688

docker buildx build . \
	--platform="linux/amd64,linux/arm64" \
	--tag="gcr.io/k8s-staging-networking/kube-network-policies:v20240805-4c4d7de" \
	--push
error: multiple platforms feature is currently not supported for docker driver. Please switch to a different driver (eg. "docker buildx create --use")
make: *** [Makefile:46: image-push] Error 1
ERROR
ERROR: build step 0 "gcr.io/k8s-testimages/krte:latest-master" failed: step exited with non-zero status: 2
--------------------------------------------------------------------------------
2024/08/05 14:10:35 Failed to run some build jobs: [error running [gcloud builds submit --verbosity info --config /home/prow/go/src/github.com/kubernetes-sigs/kube-network-policies/cloudbuild.yaml --substitutions _PULL_BASE_SHA=4c4d7de2845e4ff6ccf221b2ca3fdef940567c26,_GIT_TAG=v20240805-v0.5.1-5-g4c4d7de --project k8s-staging-networking --gcs-log-dir gs://k8s-staging-networking-gcb/logs --gcs-source-staging-dir gs://k8s-staging-networking-gcb/source gs://k8s-staging-networking-gcb/source/5b41ecca-d695-4ef1-9eb1-149c0d55fdaa.tgz]: exit status 1]

/help

@liangyuanpeng in case you are interested
cc @ameukam

@k8s-ci-robot
Copy link
Contributor

@aojea:
This request has been marked as needing help from a contributor.

Guidelines

Please ensure that the issue body includes answers to the following questions:

  • Why are we solving this issue?
  • To address this issue, are there any code changes? If there are code changes, what needs to be done in the code and what places can the assignee treat as reference points?
  • Does this issue have zero to low barrier of entry?
  • How can the assignee reach out to you for help?

For more details on the requirements of such an issue, please see here and ensure that they are met.

If this request no longer meets these requirements, the label can be removed
by commenting with the /remove-help command.

In response to this:

https://prow.k8s.io/view/gs/kubernetes-jenkins/logs/post-kube-network-policies-image/1820461457674866688

docker buildx build . \
  --platform="linux/amd64,linux/arm64" \
  --tag="gcr.io/k8s-staging-networking/kube-network-policies:v20240805-4c4d7de" \
  --push
error: multiple platforms feature is currently not supported for docker driver. Please switch to a different driver (eg. "docker buildx create --use")
make: *** [Makefile:46: image-push] Error 1
ERROR
ERROR: build step 0 "gcr.io/k8s-testimages/krte:latest-master" failed: step exited with non-zero status: 2
--------------------------------------------------------------------------------
2024/08/05 14:10:35 Failed to run some build jobs: [error running [gcloud builds submit --verbosity info --config /home/prow/go/src/github.com/kubernetes-sigs/kube-network-policies/cloudbuild.yaml --substitutions _PULL_BASE_SHA=4c4d7de2845e4ff6ccf221b2ca3fdef940567c26,_GIT_TAG=v20240805-v0.5.1-5-g4c4d7de --project k8s-staging-networking --gcs-log-dir gs://k8s-staging-networking-gcb/logs --gcs-source-staging-dir gs://k8s-staging-networking-gcb/source gs://k8s-staging-networking-gcb/source/5b41ecca-d695-4ef1-9eb1-149c0d55fdaa.tgz]: exit status 1]

/help

@liangyuanpeng in case you are interested
cc @ameukam

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@k8s-ci-robot k8s-ci-robot added the help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. label Aug 6, 2024
@ameukam
Copy link
Member

ameukam commented Aug 6, 2024

Look like we should use gcr.io/k8s-staging-test-infra/gcb-docker-gcloud instead of krte of the build image.

- name: gcr.io/k8s-testimages/krte:latest-master
entrypoint: make
args: ['image-push']

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
Projects
None yet
Development

No branches or pull requests

3 participants