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

TestProvider panics a couple of times #2113

Closed
Xunzhuo opened this issue Oct 30, 2023 · 0 comments · Fixed by #2114
Closed

TestProvider panics a couple of times #2113

Xunzhuo opened this issue Oct 30, 2023 · 0 comments · Fixed by #2114
Assignees
Labels
kind/bug Something isn't working

Comments

@Xunzhuo
Copy link
Member

Xunzhuo commented Oct 30, 2023

--- FAIL: TestProvider (11.56s)
    --- FAIL: TestProvider/gatewayclass_with_parameters_ref (0.05s)
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x2f3d316]

goroutine 616 [running]:
testing.tRunner.func1.2({0x31c3e80, 0x50924e0})
	/opt/hostedtoolcache/go/1.20.10/x64/src/testing/testing.go:1526 +0x372
testing.tRunner.func1()
	/opt/hostedtoolcache/go/1.20.10/x64/src/testing/testing.go:1529 +0x650
panic({0x31c3e80, 0x50924e0})
	/opt/hostedtoolcache/go/1.20.10/x64/src/runtime/panic.go:890 +0x263
github.com/envoyproxy/gateway/internal/provider/kubernetes.testGatewayClassWithParamRef({0x3a7e6c0?, 0xc00063c820}, 0xc00114b1e0, 0xc000f36f40, 0xc0005beb00)
	/home/runner/work/gateway/gateway/internal/provider/kubernetes/kubernetes_test.go:201 +0xa96
github.com/envoyproxy/gateway/internal/provider/kubernetes.TestProvider.func3(0x0?)
	/home/runner/work/gateway/gateway/internal/provider/kubernetes/kubernetes_test.go:80 +0x88
testing.tRunner(0xc00114b1e0, 0xc00128f4a0)
	/opt/hostedtoolcache/go/1.20.10/x64/src/testing/testing.go:1576 +0x217
created by testing.(*T).Run
	/opt/hostedtoolcache/go/1.20.10/x64/src/testing/testing.go:1629 +0x806
@Xunzhuo Xunzhuo added the kind/bug Something isn't working label Oct 30, 2023
@Xunzhuo Xunzhuo self-assigned this Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant