Flake: vSphere `TestReconcilerReconcileControlPlaneFailure`
- Dominant language
- Go
- Stars
- 2.1k
- Forks
- 328
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 9
Description
```
--- FAIL: TestReconcilerReconcileControlPlaneFailure (0.10s)
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:330:
Unexpected error:
<*errors.withStack | 0xc00046ad98>: {
error: <*errors.withMessage | 0xc000faf840>{
cause: <*errors.StatusError | 0xc0022af180>{
ErrStatus: {
TypeMeta: {Kind: "", APIVersion: ""},
ListMeta: {
SelfLink: "",
Failed to retrieve log lines: couldn't read requested bytes: error reading from artifact: EOF
},
stack: [0x15670c5, 0x156b336, 0x1d7795e, 0x1d75029, 0x52d54b, 0x470241],
}
building Config from a cluster client: VSphereMachineConfig.anywhere.eks.amazonaws.com "worker-machine-config" not found
occurred
FAIL
coverage: 85.2% of statements
Stopping the test environment
FAIL github.com/aws/eks-anywhere/pkg/providers/vsphere/reconciler 18.688s
```
https://prow.eks.amazonaws.com/view/s3/prowpresubmitsdataclusterstack-prowbucket7c73355c-vfwwxd2eb4gp/pr-logs/pull/aws_eks-anywhere/5170/eks-anywhere-presubmit/1632848831844454400
Contributor guide
Research direction
Start with the Prow presubmit log and read pkg/providers/vsphere/reconciler/reconciler_test.go around line 330, along with client.go around line 91. Reproduce TestReconcilerReconcileControlPlaneFailure and trace the missing VSphereMachineConfig and status-update errors. Done means the test passes reliably without the reported failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, kubernetes
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100