estafette / estafette-gke-preemptible-killer

Kubernetes controller to spread preemption for preemtible VMs in GKE to avoid mass deletion after 24 hours

Home Page:https://helm.estafette.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Observed a panic: sync: WaitGroup is reused before previous Wait has returned goroutine 1

PascalBourdier opened this issue · comments

E0126 11:08:40.081575       1 runtime.go:76] Observed a panic: sync: WaitGroup is reused before previous Wait has returned
goroutine 1 [running]:
k8s.io/apimachinery/pkg/util/runtime.logPanic(0x1998fe0, 0x1f270b0)
	/go/pkg/mod/k8s.io/apimachinery@v0.21.0/pkg/util/runtime/runtime.go:74 +0x95
k8s.io/apimachinery/pkg/util/runtime.HandleCrash(0x0, 0x0, 0x0)
	/go/pkg/mod/k8s.io/apimachinery@v0.21.0/pkg/util/runtime/runtime.go:48 +0x89
panic(0x1998fe0, 0x1f270b0)
	/usr/local/go/src/runtime/panic.go:969 +0x175
sync.(*WaitGroup).Wait(0xc00034df80)
	/usr/local/go/src/sync/waitgroup.go:132 +0xae
github.com/estafette/estafette-foundation.HandleGracefulShutdown(0xc0006d80c0, 0xc00034df80, 0x0, 0x0, 0x0)
	/go/pkg/mod/github.com/estafette/estafette-foundation@v0.0.69/foundation.go:50 +0x11e
main.main()
	/estafette-work/main.go:197 +0x474
panic: sync: WaitGroup is reused before previous Wait has returned [recovered]
	panic: sync: WaitGroup is reused before previous Wait has returned

goroutine 1 [running]:
k8s.io/apimachinery/pkg/util/runtime.HandleCrash(0x0, 0x0, 0x0)
	/go/pkg/mod/k8s.io/apimachinery@v0.21.0/pkg/util/runtime/runtime.go:55 +0x10c
panic(0x1998fe0, 0x1f270b0)
	/usr/local/go/src/runtime/panic.go:969 +0x175
sync.(*WaitGroup).Wait(0xc00034df80)
	/usr/local/go/src/sync/waitgroup.go:132 +0xae
github.com/estafette/estafette-foundation.HandleGracefulShutdown(0xc0006d80c0, 0xc00034df80, 0x0, 0x0, 0x0)
	/go/pkg/mod/github.com/estafette/estafette-foundation@v0.0.69/foundation.go:50 +0x11e
main.main()
	/estafette-work/main.go:197 +0x474