You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your task related to a problem? Please describe
Trying to run tests locally in macOS I noticed that some tests did not even run with the following error:
[FAILED] Unexpected error:
<*fmt.wrapError | 0xc0003ea340>:
unable to start control plane itself: failed to start the controlplane. retried 5 times: fork/exec ../../../bin/k8s/1.24.2-linux-amd64/etcd: no such file or directory
{
msg: "unable to start control plane itself: failed to start the controlplane. retried 5 times: fork/exec ../../../bin/k8s/1.24.2-linux-amd64/etcd: no such file or directory",
err: <*fmt.wrapError | 0xc0003ea320>{
msg: "failed to start the controlplane. retried 5 times: fork/exec ../../../bin/k8s/1.24.2-linux-amd64/etcd: no such file or directory",
err: <*fs.PathError | 0xc0003e77a0>{
Op: "fork/exec",
Path: "../../../bin/k8s/1.24.2-linux-amd64/etcd",
Err: <syscall.Errno>0x2,
},
},
}
occurred
Is your task related to a problem? Please describe
Trying to run tests locally in macOS I noticed that some tests did not even run with the following error:
I think it is because of the
envtest
configuration which points to the wrong location for the macOS users: https://github.com/devfile/devworkspace-operator/blob/main/controllers/controller/devworkspacerouting/suite_test.go#L89.The correct location should contain
1.24.2-darwin-amd64
instead.Describe the solution you'd like
Configure
envtest
according to the OS on which the tests will run.The text was updated successfully, but these errors were encountered: