Description
How to categorize this issue?
/area testing
/kind bug
What happened:
All integration tests are failing because the Seed kubeconfig is no longer present:
2024-09-16T09:19:47.57088658Z stdout F ShootDNS test Create and delete echoheaders service with type LoadBalancer
2024-09-16T09:19:47.570892677Z stdout F /go/pkg/mod/github.com/gardener/gardener@v1.102.0/test/framework/gingko_utils.go:16
2024-09-16T09:19:47.570897383Z stdout F [FAILED] in [BeforeEach] - /src/test/system/shootdns_test.go:83 @ 09/16/24 09:19:47.565
2024-09-16T09:19:47.570903357Z stdout F • [FAILED] [0.001 seconds]
2024-09-16T09:19:47.57090778Z stdout F ShootDNS test [BeforeEach] Create and delete echoheaders service with type LoadBalancer
2024-09-16T09:19:47.570912389Z stdout F [BeforeEach] /src/test/system/shootdns_test.go:160
2024-09-16T09:19:47.570917453Z stdout F [It] /go/pkg/mod/github.com/gardener/gardener@v1.102.0/test/framework/gingko_utils.go:16
2024-09-16T09:19:47.570921596Z stdout F
2024-09-16T09:19:47.570926133Z stdout F [FAILED] Unexpected error:
2024-09-16T09:19:47.570932356Z stdout F <*fs.PathError | 0xc00001ab10>:
2024-09-16T09:19:47.570936958Z stdout F stat /tmp/tm/kubeconfig/seed.config: no such file or directory
2024-09-16T09:19:47.570941479Z stdout F {
2024-09-16T09:19:47.570946054Z stdout F Op: "stat",
2024-09-16T09:19:47.570950594Z stdout F Path: "/tmp/tm/kubeconfig/seed.config",
2024-09-16T09:19:47.57095689Z stdout F Err: <syscall.Errno>0x2,
2024-09-16T09:19:47.57096156Z stdout F }
2024-09-16T09:19:47.57096614Z stdout F occurred
2024-09-16T09:19:47.570971138Z stdout F In [BeforeEach] at: /src/test/system/shootdns_test.go:83 @ 09/16/24 09:19:47.565
It looks like the Seed kubeconfig is no being downloaded to /tmp/tm/kubeconfig/seed.config
after https://github.com/gardener/gardener/pull/8833/files#diff-0c5fc2d4d1cea0541004c8163ef28b926d4ba2702fdc4c143115ecfa992127adL437-L446 (cc @acumino).
The GetSeed
func can be used instead to construct a seedClient: https://github.com/gardener/gardener/blob/db06a3ac88c23e212242d65d1f47418ad1e141d6/test/framework/gardener_utils.go#L40
What you expected to happen:
Integration tests to pass successfully.
How to reproduce it (as minimally and precisely as possible):
N/A
Anything else we need to know?:
Environment:
- Gardener version (if relevant):
- Extension version: v1.52.1
- Kubernetes version (use
kubectl version
): - Cloud provider or hardware configuration:
- Others: