Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UT failure with case "TestStartSecurityPolicyController/Start_SecurityPolicy_Controller" #967

Open
wenyingd opened this issue Dec 13, 2024 · 0 comments

Comments

@wenyingd
Copy link
Contributor

A flaky UT failure is hit.

https://github.com/vmware-tanzu/nsx-operator/actions/runs/12314138259/job/34369620866?pr=948

=== RUN   TestStartSecurityPolicyController/Start_SecurityPolicy_Controller
fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0x1 pc=0x4191fa]

goroutine 163 gp=0xc000648700 m=3 mp=0xc00008ee08 [running]:
runtime.throw({0x20c95ca?, 0x412e85?})
	/opt/hostedtoolcache/go/1.23.1/x64/src/runtime/panic.go:1067 +0x48 fp=0xc000087d68 sp=0xc000087d38 pc=0x47ff88
runtime.sigpanic()
	/opt/hostedtoolcache/go/1.23.1/x64/src/runtime/signal_unix.go:884 +0x285 fp=0xc000087d98 sp=0xc000087d68 pc=0x482545
runtime.typedmemclr(0xc00064b230?, 0x2?)
	/opt/hostedtoolcache/go/1.23.1/x64/src/runtime/mbarrier.go:375 +0x5a fp=0xc000087dc8 sp=0xc000087d98 pc=0x4191fa
runtime.selectgo(0xc000087f70, 0xc000087f50, 0x0?, 0x0, 0x0?, 0x1)
	/opt/hostedtoolcache/go/1.23.1/x64/src/runtime/select.go:449 +0x667 fp=0xc000087f18 sp=0xc000087dc8 pc=0x459e07
github.com/vmware-tanzu/nsx-operator/pkg/controllers/common.GenericGarbageCollector(0xc00064b1e0, 0x8bb2c9e000, 0xc0003c3350)
	/home/runner/work/nsx-operator/nsx-operator/pkg/controllers/common/utils.go:157 +0x145 fp=0xc000087fb8 sp=0xc000087f18 pc=0x1960be5
github.com/vmware-tanzu/nsx-operator/pkg/controllers/securitypolicy.StartSecurityPolicyController.gowrap1()
	/home/runner/work/nsx-operator/nsx-operator/pkg/controllers/securitypolicy/securitypolicy_controller.go:497 +0x2e fp=0xc000087fe0 sp=0xc000087fb8 pc=0x19e146e
runtime.goexit({})
	/opt/hostedtoolcache/go/1.23.1/x64/src/runtime/asm_amd64.s:1700 +0x1 fp=0xc000087fe8 sp=0xc000087fe0 pc=0x4884e1
created by github.com/vmware-tanzu/nsx-operator/pkg/controllers/securitypolicy.StartSecurityPolicyController in goroutine 149
	/home/runner/work/nsx-operator/nsx-operator/pkg/controllers/securitypolicy/securitypolicy_controller.go:497 +0x4cc

goroutine 1 gp=0xc0000061c0 m=nil [chan receive]:
runtime.gopark(0x21b11e0, 0xc00063ff00, 0xe, 0x7, 0x2)
	/opt/hostedtoolcache/go/1.23.1/x64/src/runtime/proc.go:424 +0xfc fp=0xc0001a9ad8 sp=0xc0001a9aa8 pc=0x4800dc
runtime.chanrecv(0xc00063fea0, 0xc0001a9bbf, 0x1)
	/opt/hostedtoolcache/go/1.23.1/x64/src/runtime/chan.go:639 +0x2ef fp=0xc0001a9b50 sp=0xc0001a9ad8 pc=0x40cf6f
runtime.chanrecv1(0x1cdf460?, 0x1b751e0?)
	/opt/hostedtoolcache/go/1.23.1/x64/src/runtime/chan.go:489 +0x12 fp=0xc0001a9b78 sp=0xc0001a9b50 pc=0x40cc52
testing.(*T).Run(0xc000686b60, {0x20ae215, 0x21}, 0x21b0dc0)
	/opt/hostedtoolcache/go/1.23.1/x64/src/testing/testing.go:1751 +0x3c5 fp=0xc0001a9c38 sp=0xc0001a9b78 pc=0x5b1b65
testing.runTests.func1(0xc000686b60)
	/opt/hostedtoolcache/go/1.23.1/x64/src/testing/testing.go:2168 +0x37 fp=0xc0001a9c78 sp=0xc0001a9c38 pc=0x5b3bf7
testing.tRunner(0xc000686b60, 0xc0001a9d60)
	/opt/hostedtoolcache/go/1.23.1/x64/src/testing/testing.go:1690 +0xf4 fp=0xc0001a9cc8 sp=0xc0001a9c78 pc=0x5b0d14
testing.runTests(0xc000680b40, {0x330d5a0, 0x18, 0x18}, {0x41a73c?, 0x203000?, 0x3327c80?})
	/opt/hostedtoolcache/go/1.23.1/x64/src/testing/testing.go:2166 +0x36f fp=0xc0001a9d90 sp=0xc0001a9cc8 pc=0x5b3aef
testing.(*M).Run(0xc0006b2460)
	/opt/hostedtoolcache/go/1.23.1/x64/src/testing/testing.go:2034 +0x4c5 fp=0xc0001a9ef8 sp=0xc0001a9d90 pc=0x5b25e5
main.main()
	_testmain.go:101 +0x9b fp=0xc0001a9f78 sp=0xc0001a9ef8 pc=0x19ef87b
runtime.main()
	/opt/hostedtoolcache/go/1.23.1/x64/src/runtime/proc.go:272 +0x247 fp=0xc0001a9fe0 sp=0xc0001a9f78 pc=0x447a07
runtime.goexit({})
	/opt/hostedtoolcache/go/1.23.1/x64/src/runtime/asm_amd64.s:1700 +0x1 fp=0xc0001a9fe8 sp=0xc0001a9fe0 pc=0x4884e1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant