kubernetes / test-infra

Test infrastructure for the Kubernetes project.
Apache License 2.0
3.82k stars 2.64k forks source link

use boskos for containerd presubmit jobs #32834

Closed akhilerm closed 3 months ago

akhilerm commented 3 months ago

As part of moving to community infra for presubmit jobs, we dont want to pin to cri-c8d-pr-node-e2e project for containerd presubmit jobs.

The following error occurs when cri-c8d-pr-node-e2e is used.

Activated service account credentials for: [prow-build@k8s-infra-prow-build.iam.gserviceaccount.com]
2024/06/25 16:15:25 process.go:155: Step 'gcloud auth activate-service-account --key-file=/etc/service-account/service-account.json' finished in 1.229127739s
2024/06/25 16:15:25 process.go:153: Running: gcloud config set project cri-c8d-pr-node-e2e
WARNING: You do not appear to have access to project [cri-c8d-pr-node-e2e] or it does not exist.
Updated property [core/project].
2024/06/25 16:15:26 process.go:155: Step 'gcloud config set project cri-c8d-pr-node-e2e' finished in 1.473634501s
2024/06/25 16:15:26 main.go:795: Checking existing of GCP ssh keys...
2024/06/25 16:15:26 main.go:805: Checking presence of public key in cri-c8d-pr-node-e2e
2024/06/25 16:15:26 process.go:153: Running: gcloud compute --project=cri-c8d-pr-node-e2e project-info describe
ERROR: (gcloud.compute.project-info.describe) Could not fetch resource:
 - Required 'compute.projects.get' permission for 'projects/cri-c8d-pr-node-e2e'
2024/06/25 16:15:28 process.go:155: Step 'gcloud compute --project=cri-c8d-pr-node-e2e project-info describe' finished in 1.837849597s
2024/06/25 16:15:28 process.go:96: Saved XML output to /logs/artifacts/junit_runner.xml.
akhilerm commented 3 months ago

/cc @dims

dims commented 3 months ago

/approve /lgtm

k8s-ci-robot commented 3 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: akhilerm, dims

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[config/jobs/containerd/containerd/OWNERS](https://github.com/kubernetes/test-infra/blob/master/config/jobs/containerd/containerd/OWNERS)~~ [dims] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
k8s-ci-robot commented 3 months ago

@akhilerm: Updated the job-config configmap in namespace default at cluster test-infra-trusted using the following files:

In response to [this](https://github.com/kubernetes/test-infra/pull/32834): >As part of moving to community infra for presubmit jobs, we dont want to pin to `cri-c8d-pr-node-e2e` project for containerd presubmit jobs. > > The following error occurs when `cri-c8d-pr-node-e2e` is used. >``` >Activated service account credentials for: [prow-build@k8s-infra-prow-build.iam.gserviceaccount.com] >2024/06/25 16:15:25 process.go:155: Step 'gcloud auth activate-service-account --key-file=/etc/service-account/service-account.json' finished in 1.229127739s >2024/06/25 16:15:25 process.go:153: Running: gcloud config set project cri-c8d-pr-node-e2e >WARNING: You do not appear to have access to project [cri-c8d-pr-node-e2e] or it does not exist. >Updated property [core/project]. >2024/06/25 16:15:26 process.go:155: Step 'gcloud config set project cri-c8d-pr-node-e2e' finished in 1.473634501s >2024/06/25 16:15:26 main.go:795: Checking existing of GCP ssh keys... >2024/06/25 16:15:26 main.go:805: Checking presence of public key in cri-c8d-pr-node-e2e >2024/06/25 16:15:26 process.go:153: Running: gcloud compute --project=cri-c8d-pr-node-e2e project-info describe >ERROR: (gcloud.compute.project-info.describe) Could not fetch resource: > - Required 'compute.projects.get' permission for 'projects/cri-c8d-pr-node-e2e' >2024/06/25 16:15:28 process.go:155: Step 'gcloud compute --project=cri-c8d-pr-node-e2e project-info describe' finished in 1.837849597s >2024/06/25 16:15:28 process.go:96: Saved XML output to /logs/artifacts/junit_runner.xml. >``` Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes-sigs/prow](https://github.com/kubernetes-sigs/prow/issues/new?title=Prow%20issue:) repository.