Skip to content

Fails to delete CRD testclusters.test.cluster.x-k8s.io in TestReconcile/skip_all #12757

@arshadd-b

Description

@arshadd-b

Which jobs are flaking?

capi-test-main
https://prow.k8s.io/view/gs/kubernetes-ci-logs/logs/periodic-cluster-api-test-main/1965630494284451840

Which tests are flaking?

TestReconcile/skip_all
sigs.k8s.io/cluster-api/controllers/crdmigrator: TestReconcile/skip_all

Since when has it been flaking?

8/28/2025 I can see firstoccurrence
https://storage.googleapis.com/k8s-triage/index.html?date=2025-09-11&text=testclusters.test.cluster.x-k8s.io%20is%20not%20being%20deleted%20from%20the%20testenv%20client%20cache&job=.*cluster-api.*(test%7Ce2e)-(mink8s-)*main&xjob=.*-provider-.*

Testgrid link

https://testgrid.k8s.io/cluster-api-core-main#capi-test-main

Reason for failure (if possible)

while cleaning up at the end of the test, it fails to delete this crd testclusters.test.cluster.x-k8s.io

    Expected success, but got an error:
        <errors.aggregate | len:1, cap:1>: 
        key /, Kind=, /testclusters.test.cluster.x-k8s.io is not being deleted from the testenv client cache: timed out waiting for the condition
        [
            <*errors.withStack | 0xc002552648>{
                error: <*errors.withMessage | 0xc002a4c420>{
                    cause: <wait.errInterrupted>{
                        cause: <*errors.errorString | 0xc0003383e0>{
                            s: "timed out waiting for the condition",
                        },
                    },
                    msg: "key /, Kind=, /testclusters.test.cluster.x-k8s.io is not being deleted from the testenv client cache",
                },
                stack: [0x3162376, 0x317410b, 0x3172d6a, 0x623c46, 0x4be5c1],
            },
        ]

Anything else we need to know?

No response

Label(s) to be applied

/kind flake
One or more /area label. See https://github.com/kubernetes-sigs/cluster-api/labels?q=area for the list of labels.

Metadata

Metadata

Assignees

Labels

kind/flakeCategorizes issue or PR as related to a flaky test.priority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next release.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions