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

[Flaky Test] Heartbeat active http monitor panics #9987

Closed
ruflin opened this issue Jan 10, 2019 · 2 comments
Closed

[Flaky Test] Heartbeat active http monitor panics #9987

ruflin opened this issue Jan 10, 2019 · 2 comments
Assignees
Labels
flaky-test Unstable or unreliable test cases. Heartbeat Team:obs-ds-hosted-services Label for the Observability Hosted Services team

Comments

@ruflin
Copy link
Contributor

ruflin commented Jan 10, 2019

Flaky Test

Stack Trace

command [go test -race -tags integration -cover -coverprofile /tmp/gotestcover-460649162 github.com/elastic/beats/heartbeat/monitors/active/http]: exit status 1
22:10:50 panic: runtime error: invalid memory address or nil pointer dereference
22:10:50 [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xbaabd5]
22:10:50 
22:10:50 goroutine 429 [running]:
22:10:50 github.com/elastic/beats/heartbeat/monitors/active/http.(*SimpleTransport).readResponse(0xc000457380, 0xd9d460, 0xc000142088, 0xc0004e3100, 0xc000457300, 0xd9d460, 0xc000142080, 0xc0004e2d00)
22:10:50 	/go/src/github.com/elastic/beats/heartbeat/monitors/active/http/simple_transp.go:187 +0x235
22:10:50 github.com/elastic/beats/heartbeat/monitors/active/http.(*SimpleTransport).RoundTrip.func2(0xc000457380, 0xd9d460, 0xc000142088, 0xc0004e3100, 0xc0004e3100, 0xc000358720)
22:10:50 	/go/src/github.com/elastic/beats/heartbeat/monitors/active/http/simple_transp.go:111 +0x82
22:10:50 created by github.com/elastic/beats/heartbeat/monitors/active/http.(*SimpleTransport).RoundTrip
22:10:50 	/go/src/github.com/elastic/beats/heartbeat/monitors/active/http/simple_transp.go:110 +0x397
22:10:50 FAIL	github.com/elastic/beats/heartbeat/monitors/active/http	18.447s
@ruflin ruflin added Heartbeat flaky-test Unstable or unreliable test cases. Team:obs-ds-hosted-services Label for the Observability Hosted Services team labels Jan 10, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/uptime

@andrewvc
Copy link
Contributor

This was fixed in #10082

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flaky-test Unstable or unreliable test cases. Heartbeat Team:obs-ds-hosted-services Label for the Observability Hosted Services team
Projects
None yet
Development

No branches or pull requests

3 participants