aws / eks-anywhere

Run Amazon EKS on your own infrastructure 🚀
https://anywhere.eks.amazonaws.com
Apache License 2.0
1.94k stars 277 forks source link

Flake: vSphere `TestReconcilerReconcileControlPlaneSuccess` #5094

Open chrisdoherty4 opened 1 year ago

chrisdoherty4 commented 1 year ago

Description

The TestReconcilerReconcileControlPlaneSuccess test failed with a 404 on the v0.14 release branch during a stage build run. A re-run saw the test disappear highlighting a flaky test.

Logging

 --- FAIL: TestReconcilerReconcileControlPlaneSuccess (0.12s)
    client.go:91: Try updating status but failed with a 404 error for [distro.eks.amazonaws.com/v1alpha1, Kind=Release name=test namespace=eksa-system] object, most probably because it doesn't have a defined status subresource
    reconciler_test.go:268: 
        Unexpected error:
            <*errors.withStack | 0xc001eab260>: {
                error: <*errors.withMessage | 0xc001e830c0>{
                    cause: <*errors.StatusError | 0xc001dfbae0>{
                        ErrStatus: {
                            TypeMeta: {Kind: "", APIVersion: ""},
                            ListMeta: {
                                SelfLink: "",
Failed to retrieve log lines: couldn't read requested bytes: error reading from artifact: EOF
                },
                stack: [0x1505765, 0x15094fa, 0x1ce881e, 0x1ce55a9, 0x5267c2, 0x46d6a1],
            }
            building Config from a cluster client: VSphereMachineConfig.anywhere.eks.amazonaws.com "worker-machine-config" not found
        occurred
FAIL

Prow Job (logs may not survive)

https://prow.eks.amazonaws.com/view/s3/prowpresubmitsdataclusterstack-prowbucket7c73355c-vfwwxd2eb4gp/pr-logs/pull/aws_eks-anywhere/5093/eks-anywhere-presubmit/1630625632943607808

chrisdoherty4 commented 1 year ago

Another occurrence.

https://prow.eks.amazonaws.com/view/s3/prowpresubmitsdataclusterstack-prowbucket7c73355c-vfwwxd2eb4gp/pr-logs/pull/aws_eks-anywhere/5163/eks-anywhere-presubmit/1632796286992257024