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

[libbeat] race deted in output elasticsearch api_integration_test #12170

Closed
simitt opened this issue May 10, 2019 · 4 comments
Closed

[libbeat] race deted in output elasticsearch api_integration_test #12170

simitt opened this issue May 10, 2019 · 4 comments
Labels
bug libbeat Stalled Team:Integrations Label for the Integrations team

Comments

@simitt
Copy link
Contributor

simitt commented May 10, 2019

Flaky Test

Stack Trace

15:23:38 command [go test -race -tags integration -cover -coverprofile /tmp/gotestcover-991687420 github.com/elastic/beats/libbeat/outputs/elasticsearch]: exit status 1
15:23:38 --- FAIL: TestIndex (0.58s)
15:23:38     api_integration_test.go:75: SearchUri() returns an error: 400 Bad Request: {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"request [/beats-test-index-17555/test/_search] contains unrecognized parameter: [q]"}],"type":"illegal_argument_exception","reason":"request [/beats-test-index-17555/test/_search] contains unrecognized parameter: [q]"},"status":400}
15:23:38 panic: runtime error: invalid memory address or nil pointer dereference [recovered]
15:23:38 	panic: runtime error: invalid memory address or nil pointer dereference
15:23:38 [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xe9fa32]
15:23:38 
15:23:38 goroutine 5 [running]:
15:23:38 testing.tRunner.func1(0xc00011c100)
15:23:38 	/usr/local/go/src/testing/testing.go:830 +0x69d
15:23:38 panic(0xf89ca0, 0x1843ee0)
15:23:38 	/usr/local/go/src/runtime/panic.go:522 +0x1b5
15:23:38 github.com/elastic/beats/libbeat/outputs/elasticsearch.TestIndex(0xc00011c100)
15:23:38 	/go/src/github.com/elastic/beats/libbeat/outputs/elasticsearch/api_integration_test.go:77 +0x8f2
15:23:38 testing.tRunner(0xc00011c100, 0x10561d8)
15:23:38 	/usr/local/go/src/testing/testing.go:865 +0x164
15:23:38 created by testing.(*T).Run
15:23:38 	/usr/local/go/src/testing/testing.go:916 +0x65b
15:23:38 FAIL	github.com/elastic/beats/libbeat/outputs/elasticsearch	0.634s
@simitt simitt added flaky-test Unstable or unreliable test cases. libbeat labels May 10, 2019
@simitt
Copy link
Contributor Author

simitt commented May 10, 2019

Also happened on #12160

@simitt
Copy link
Contributor Author

simitt commented May 10, 2019

update: happened on master for the first time here

@simitt simitt removed the flaky-test Unstable or unreliable test cases. label May 10, 2019
@ph
Copy link
Contributor

ph commented Jan 3, 2020

This might still be possible, I've labeled this as a bug and we need more investigation.
I haven't seen this in test suite or any test failling reports.

@ph ph closed this as completed Jan 3, 2020
@ph ph reopened this Jan 3, 2020
@andresrc andresrc added Team:Integrations Label for the Integrations team and removed Team:Beats labels Mar 6, 2020
@botelastic
Copy link

botelastic bot commented Feb 4, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@botelastic botelastic bot added the Stalled label Feb 4, 2021
@botelastic botelastic bot closed this as completed Mar 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug libbeat Stalled Team:Integrations Label for the Integrations team
Projects
None yet
Development

No branches or pull requests

3 participants