-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
I took a look at testgrid (https://testgrid.k8s.io/sig-api-machinery-kubebuilder#controller-runtime-periodic-main). In general, I think we're in a good state. But we have a few flakes that we should ideally fix.
*when context is cancelled
(The failures are not all at the same location, but I think the issues are similar)
Expected an error to have occurred. Got:
<nil>: nil
[FAILED] Expected an error to have occurred. Got:
<nil>: nil
In [It] at: /home/prow/go/src/github.com/kubernetes-sigs/controller-runtime/pkg/cache/cache_test.go:2097 @ 08/11/25 11:53:22.239
8/18/2025, 7:48:54 AM periodic-controller-runtime-test Cache Suite [It] Informer Cache without global DeepCopy Cache test as an Informer with structured objects should allow getting an informer by group/version/kind to be cancelled
8/15/2025, 7:48:51 PM periodic-controller-runtime-test Cache Suite [It] Informer Cache Cache test as a Reader with structured objects should return an error when context is cancelled
8/11/2025, 1:46:47 PM periodic-controller-runtime-test Cache Suite [It] Informer Cache without global DeepCopy Cache test as an Informer with structured objects should allow for get informer to be cancelled
8/6/2025, 7:44:38 AM periodic-controller-runtime-test Cache Suite [It] Informer Cache without global DeepCopy Cache test as a Reader with structured objects should return an error when context is cancelled
A few others that occured only once in periodics in the last 2 weeks
https://storage.googleapis.com/k8s-triage/index.html?job=periodic-controller-runtime-test