Closed rifelpet closed 1 week ago
/approve /lgtm
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: dims, rifelpet
The full list of commands accepted by this bot can be found here.
The pull request process is described here
@rifelpet: Updated the job-config
configmap in namespace default
at cluster test-infra-trusted
using the following files:
kops-periodics-conformance.yaml
using file config/jobs/kubernetes/kops/kops-periodics-conformance.yaml
kops-periodics-distros.yaml
using file config/jobs/kubernetes/kops/kops-periodics-distros.yaml
kops-periodics-grid.yaml
using file config/jobs/kubernetes/kops/kops-periodics-grid.yaml
kops-periodics-misc2.yaml
using file config/jobs/kubernetes/kops/kops-periodics-misc2.yaml
kops-periodics-network-plugins.yaml
using file config/jobs/kubernetes/kops/kops-periodics-network-plugins.yaml
kops-periodics-pipeline.yaml
using file config/jobs/kubernetes/kops/kops-periodics-pipeline.yaml
kops-periodics-versions.yaml
using file config/jobs/kubernetes/kops/kops-periodics-versions.yaml
kops-presubmits-distros.yaml
using file config/jobs/kubernetes/kops/kops-presubmits-distros.yaml
kops-presubmits-e2e.yaml
using file config/jobs/kubernetes/kops/kops-presubmits-e2e.yaml
kops-presubmits-network-plugins.yaml
using file config/jobs/kubernetes/kops/kops-presubmits-network-plugins.yaml
kops-presubmits-scale.yaml
using file config/jobs/kubernetes/kops/kops-presubmits-scale.yaml
Fixes https://github.com/kubernetes/kops/issues/16938 (hopefully)
Those jobs are failing with this error:
Error: error building complete spec: failed to get bucket details for "s3://k8s-kops-ci-prow/discovery/e2e-e2e-ci-kubernetes-e2e-al2023-aws-conformance-canary.test-cncf-aws.k8s.io": Could not retrieve location for AWS bucket k8s-kops-ci-prow
We've seen this happen when the job is running with a different AWS account than the bucket's account.
According to https://github.com/kubernetes/test-infra/issues/29722#issue-1746821972 the
eks-prow-build-cluster
is for jobs "that do not depend on external cloud assets"These kubtest2-kops jobs depend on an existing S3 bucket for kops to function properly, so we'll move these jobs to the same prow cluster that other kops jobs use so that they share the same AWS account.
Eventually when kubetest2-kops supports boskos for AWS accounts (https://github.com/kubernetes/kops/pull/15542) and it supports creating ephemeral s3 buckets (https://github.com/kubernetes/kops/issues/16880), then it wont matter which AWS account these jobs run in. Until then these jobs can share the kops AWS account.
/cc @dims @ameukam