-
Story
-
Resolution: Done
-
Normal
-
None
-
False
-
-
False
-
Unset
-
No
-
-
When I tried running kuttl tests with a mocked control plane for the frontend operator for the first time in a while they didn't work. I used the kuttl test script in the repo. It did all the prep work and then failed on the tests not being able to connect to the mocked control plane:
# Run kuttl tests make kuttl + make kuttl /home/adamdrew/Development/frontend-operator/testbin/bin/controller-gen rbac:roleName=manager-role crd webhook paths="./..." output:crd:artifacts:config=config/crd/bases /home/adamdrew/Development/frontend-operator/testbin/bin/controller-gen object:headerFile="hack/boilerplate.go.txt" paths="./..." go fmt ./... go vet ./... KUBEBUILDER_ASSETS="/home/adamdrew/.local/share/kubebuilder-envtest/k8s/1.23.5-linux-amd64" kubectl kuttl test --config kuttl-config.yml ./tests/e2e 2023/08/16 08:14:44 kutt-test config testdirs is overridden with args: [ ./tests/e2e ] === RUN kuttl harness.go:460: starting setup harness.go:245: running tests with a mocked control plane (kube-apiserver and etcd). harness.go:511: cleaning up harness.go:568: removing temp folder: "" harness.go:593: fatal error getting client: failed to start the controlplane. retried 5 times: timeout waiting for process etcd to start --- FAIL: kuttl (100.00s) FAIL make: *** [Makefile:119: kuttl] Error 1