aws / aws/eks-anywhere

Flake: vSphere `TestReconcilerInstallStorageClassInstall`

Open
#5,173 0 comments 0 reactions 0 assignees View on GitHub
area/controller area/providers/capv area/testing flake stale
Dominant language
Go
Stars
2.1k
Forks
328
Avg merge
1d 4h
Merged PRs (30d)
9

Description

```
--- FAIL: TestReconcilerInstallStorageClassInstall (0.15s)
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:344:
Unexpected error:
<*errors.withStack | 0xc000a849c0>: {
error: <*errors.withMessage | 0xc00051dac0>{
cause: <*errors.StatusError | 0xc0003ae5a0>{
ErrStatus: {
TypeMeta: {Kind: "", APIVersion: ""},
ListMeta: {
SelfLink: "",
...
},
stack: [0x1567265, 0x156b4d6, 0x1d77afe, 0x1d75565, 0x52d54b, 0x470241],
}
building Config from a cluster client: VSphereMachineConfig.anywhere.eks.amazonaws.com "cp-machine-config" not found
occurred
FAIL
coverage: 86.4% of statements
Stopping the test environment
FAIL github.com/aws/eks-anywhere/pkg/providers/vsphere/reconciler 17.928s
```

Contributor guide

Open the contributing guide

Research direction

Reproduce TestReconcilerInstallStorageClassInstall in pkg/providers/vsphere/reconciler and inspect the failure at reconciler_test.go:344, along with the status update reported from client.go:91. Determine why the test cannot find the VSphereMachineConfig and ensure the test completes reliably without the reported errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
infrastructure, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.