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]: Test_runDispatcher/gateway_actions_passed – Should be empty, but was <insert address here> #4777

Closed
pchila opened this issue May 20, 2024 · 2 comments · Fixed by #5405
Assignees
Labels
flaky-test Unstable or unreliable test cases. Team:Elastic-Agent Label for the Agent team Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team

Comments

@pchila
Copy link
Member

pchila commented May 20, 2024

Failing test case

Test_runDispatcher/gateway_actions_passed

Error message

It seems that not all actions are consumed by the dispatcher

Build

https://buildkite.com/elastic/elastic-agent/builds/9019#018f95f5-03b8-40db-a485-bca1453b370a

OS

Windows

Stacktrace and notes

=== FAIL: internal/pkg/agent/application Test_runDispatcher/gateway_actions_passed (0.26s)
2024-05-20 14:48:16 CEST	    managed_mode_test.go:136:
2024-05-20 14:48:16 CEST	        	Error Trace:	C:/buildkite-agent/builds/bk-agent-prod-gcp-1716207830301475858/elastic/elastic-agent/internal/pkg/agent/application/managed_mode_test.go:136
2024-05-20 14:48:16 CEST	        	Error:      	Should be empty, but was 0xc000480360
2024-05-20 14:48:16 CEST	        	Test:       	Test_runDispatcher/gateway_actions_passed
2024-05-20 14:48:16 CEST	    managed_mode_test.go:139: FAIL:	Dispatch(string,string,string,string)
2024-05-20 14:48:16 CEST	        		at: [C:/buildkite-agent/builds/bk-agent-prod-gcp-1716207830301475858/elastic/elastic-agent/internal/pkg/agent/application/managed_mode_test.go:101 C:/buildkite-agent/builds/bk-agent-prod-gcp-1716207830301475858/elastic/elastic-agent/internal/pkg/agent/application/managed_mode_test.go:129]
2024-05-20 14:48:16 CEST	    managed_mode_test.go:139: FAIL: 0 out of 1 expectation(s) were met.
2024-05-20 14:48:16 CEST	        	The code you are testing needs to make 1 more call(s).
2024-05-20 14:48:16 CEST	        	at: [C:/buildkite-agent/builds/bk-agent-prod-gcp-1716207830301475858/elastic/elastic-agent/internal/pkg/agent/application/managed_mode_test.go:139]
2024-05-20 14:48:16 CEST	
2024-05-20 14:48:16 CEST	=== FAIL: internal/pkg/agent/application Test_runDispatcher (0.48s)
@pchila pchila added Team:Elastic-Agent Label for the Agent team flaky-test Unstable or unreliable test cases. labels May 20, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/elastic-agent (Team:Elastic-Agent)

@ycombinator ycombinator added the Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team label May 20, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)

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 Label for the Agent team Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants