Closed vasiliy-t closed 2 years ago
macos monterey, go 17.2
got an error when running tests:
go test -v . === RUN TestRunsSuite fixture.go:115: error starting apiserver: timeout waiting for process etcd to start
To problem cause is etcd - it is not starting:
V:cert-manager-webhook-vkcloud v$ _test/kubebuilder/bin/etcd fatal error: runtime: bsdthread_register error runtime stack: runtime.throw(0x1bed3fa, 0x21) /usr/local/go/src/runtime/panic.go:616 +0x81 fp=0x7ff7bfeff718 sp=0x7ff7bfeff6f8 pc=0x102a871 runtime.goenvs() /usr/local/go/src/runtime/os_darwin.go:129 +0x83 fp=0x7ff7bfeff748 sp=0x7ff7bfeff718 pc=0x10283f3 runtime.schedinit() /usr/local/go/src/runtime/proc.go:501 +0xd6 fp=0x7ff7bfeff7b0 sp=0x7ff7bfeff748 pc=0x102d166 runtime.rt0_go(0x7ff7bfeff7e8, 0x1, 0x7ff7bfeff7e8, 0x0, 0x1000000, 0x1, 0x7ff7bfeff970, 0x0, 0x7ff7bfeff98b, 0x7ff7bfeff9a7, ...) /usr/local/go/src/runtime/asm_amd64.s:252 +0x1f4 fp=0x7ff7bfeff7b8 sp=0x7ff7bfeff7b0 pc=0x1056474
After some investigation I've found this issue https://github.com/golang/go/wiki/MacOS12BSDThreadRegisterIssue, installed etcd manually, etcd starts but now I got kube-apiserver start timeout error.
Problem
macos monterey, go 17.2
got an error when running tests:
To problem cause is etcd - it is not starting:
After some investigation I've found this issue https://github.com/golang/go/wiki/MacOS12BSDThreadRegisterIssue, installed etcd manually, etcd starts but now I got kube-apiserver start timeout error.