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: TestProduceConsumer/flush #31916

Closed
taylor-swanson opened this issue Jun 13, 2022 · 6 comments
Closed

Flaky Test: TestProduceConsumer/flush #31916

taylor-swanson opened this issue Jun 13, 2022 · 6 comments
Assignees
Labels
flaky-test Unstable or unreliable test cases. Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team v8.4.0

Comments

@taylor-swanson
Copy link
Contributor

Flaky Test

Here are the test results: https://beats-ci.elastic.co/blue/organizations/jenkins/Beats%2Fbeats/detail/PR-31798/10/tests

Stack Trace

=== RUN   TestProduceConsumer/flush
panic: Fail in goroutine after TestProduceConsumer/direct has completed
goroutine 217 [running]:
testing.(*common).Fail(0xc00033a9c0)
	/var/lib/jenkins/workspace/PR-31798-10-cf96cd6a-9844-4712-9d1f-b06a76777b42/.gvm/versions/go1.17.10.linux.amd64/src/testing/testing.go:710 +0xe5
testing.(*common).Fail(0xc00033b040)
	/var/lib/jenkins/workspace/PR-31798-10-cf96cd6a-9844-4712-9d1f-b06a76777b42/.gvm/versions/go1.17.10.linux.amd64/src/testing/testing.go:704 +0x47
testing.(*common).Fail(0xc000356b60)
	/var/lib/jenkins/workspace/PR-31798-10-cf96cd6a-9844-4712-9d1f-b06a76777b42/.gvm/versions/go1.17.10.linux.amd64/src/testing/testing.go:704 +0x47
testing.(*common).Errorf(0xc000416d38, {0xabf265, 0x40c890}, {0xc0001f13e0, 0x203000, 0xaf2440})
	/var/lib/jenkins/workspace/PR-31798-10-cf96cd6a-9844-4712-9d1f-b06a76777b42/.gvm/versions/go1.17.10.linux.amd64/src/testing/testing.go:818 +0x56
github.com/stretchr/testify/assert.Fail({0xb8c940, 0xc000356b60}, {0xac8119, 0xe}, {0x0, 0x0, 0x0})
	/var/lib/jenkins/workspace/PR-31798-10-cf96cd6a-9844-4712-9d1f-b06a76777b42/pkg/mod/github.com/stretchr/[email protected]/assert/assertions.go:262 +0x384
github.com/stretchr/testify/assert.True({0xb8c940, 0xc000356b60}, 0xc0, {0x0, 0x0, 0x0})
	/var/lib/jenkins/workspace/PR-31798-10-cf96cd6a-9844-4712-9d1f-b06a76777b42/pkg/mod/github.com/stretchr/[email protected]/assert/assertions.go:657 +0x8e
github.com/elastic/beats/v7/libbeat/publisher/queue/queuetest.testFetchMetrics(0x0, {0xba3258, 0xc00013c3f0})
	/var/lib/jenkins/workspace/PR-31798-10-cf96cd6a-9844-4712-9d1f-b06a76777b42/src/github.com/elastic/beats/libbeat/publisher/queue/queuetest/queuetest.go:234 +0x176
created by github.com/elastic/beats/v7/libbeat/publisher/queue/queuetest.runTestCases.func1
	/var/lib/jenkins/workspace/PR-31798-10-cf96cd6a-9844-4712-9d1f-b06a76777b42/src/github.com/elastic/beats/libbeat/publisher/queue/queuetest/queuetest.go:216 +0x25a
@taylor-swanson taylor-swanson added flaky-test Unstable or unreliable test cases. Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team labels Jun 13, 2022
@elasticmachine
Copy link
Collaborator

Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane)

@taylor-swanson taylor-swanson changed the title Flaky Test: TestProduceConsumer Flaky Test: TestProduceConsumer/flush Jun 13, 2022
@cmacknz cmacknz added the v8.4.0 label Jun 13, 2022
@cmacknz
Copy link
Member

cmacknz commented Jun 13, 2022

Possibly related to the changes for #31703 but it doesn't actually touch this test.

@cmacknz
Copy link
Member

cmacknz commented Jun 15, 2022

@fearful-symmetry can you see if you can find the cause here? You were the last one to touch the files involved so might have been a side effect of #31703

@fearful-symmetry
Copy link
Contributor

Yah, I think it might be best to remove that test, since afterwards I created some more in-depth memory tests, so I'm not sure that hacked-on test is actually doing much. Will create a PR in a bit.

@fearful-symmetry
Copy link
Contributor

Fix merged!

@jlind23
Copy link
Collaborator

jlind23 commented Jun 20, 2022

Closing this as @fearful-symmetry merged a fix.

@jlind23 jlind23 closed this as completed Jun 20, 2022
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. Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team v8.4.0
Projects
None yet
Development

No branches or pull requests

5 participants