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]: TestCoordinatorReportsInvalidPolicy – Vars change should cause state update #4117

Closed
cmacknz opened this issue Jan 22, 2024 · 4 comments · Fixed by #4358 or #4402
Closed
Assignees
Labels
flaky-test Unstable or unreliable test cases. Team:Elastic-Agent Label for the Agent team

Comments

@cmacknz
Copy link
Member

cmacknz commented Jan 22, 2024

Failing test case

TestCoordinatorReportsInvalidPolicy

Error message

Vars change should cause state update

Build

https://buildkite.com/elastic/elastic-agent/builds/6447#018d322c-0022-432b-971f-7a2eabc3fb5d

2024-02-22: https://buildkite.com/elastic/elastic-agent/builds/7395#018dd0cc-694f-401c-bbf1-23a3aa70d353

OS

Mac

Stacktrace and notes

2024-01-22 12:39:10 EST	=== Failed
2024-01-22 12:39:10 EST	=== FAIL: internal/pkg/agent/application/coordinator TestCoordinatorReportsInvalidPolicy (1.17s)
2024-01-22 12:39:10 EST	    coordinator_unit_test.go:416:
2024-01-22 12:39:10 EST	        	Error Trace:	/Users/admin/builds/bk-agent-prod-orka-1705943780109969315/elastic/elastic-agent/internal/pkg/agent/application/coordinator/coordinator_unit_test.go:416
2024-01-22 12:39:10 EST	        	Error:      	Vars change should cause state update
2024-01-22 12:39:10 EST	        	Test:       	TestCoordinatorReportsInvalidPolicy
2024-01-22 12:39:10 EST	    coordinator_unit_test.go:426:
2024-01-22 12:39:10 EST	        	Error Trace:	/Users/admin/builds/bk-agent-prod-orka-1705943780109969315/elastic/elastic-agent/internal/pkg/agent/application/coordinator/coordinator_unit_test.go:426
2024-01-22 12:39:10 EST	        	Error:      	Received unexpected error:
2024-01-22 12:39:10 EST	        	            	failed to reload upgrade manager configuration: invalid config: can not convert 'object' into 'string' accessing 'agent.download.sourceURI' accessing 'agent.download'
2024-01-22 12:39:10 EST	        	Test:       	TestCoordinatorReportsInvalidPolicy
2024-01-22 12:39:10 EST	        	Messages:   	Valid policy change should clear configErr
2024-01-22 12:39:10 EST	    coordinator_unit_test.go:432:
2024-01-22 12:39:10 EST	        	Error Trace:	/Users/admin/builds/bk-agent-prod-orka-1705943780109969315/elastic/elastic-agent/internal/pkg/agent/application/coordinator/coordinator_unit_test.go:432
2024-01-22 12:39:10 EST	        	Error:      	Policy change should cause state update
2024-01-22 12:39:10 EST	        	Test:       	TestCoordinatorReportsInvalidPolicy
@cmacknz cmacknz added Team:Elastic-Agent Label for the Agent team flaky-test Unstable or unreliable test cases. labels Jan 22, 2024
@elasticmachine
Copy link
Contributor

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

@pchila
Copy link
Member

pchila commented Mar 8, 2024

@rdner
Copy link
Member

rdner commented Mar 21, 2024

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
Projects
None yet
5 participants