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 – Policy change should cause state update #4232

Closed
rdner opened this issue Feb 9, 2024 · 2 comments
Labels
flaky-test Unstable or unreliable test cases. Team:Elastic-Agent Label for the Agent team

Comments

@rdner
Copy link
Member

rdner commented Feb 9, 2024

Failing test case

TestCoordinatorReportsInvalidPolicy

Error message

Policy change should cause state update

Build

https://buildkite.com/elastic/elastic-agent/builds/6966#018d8e42-002e-486b-980f-299f01f0c485

OS

Mac

Stacktrace and notes

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

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

@rdner
Copy link
Member Author

rdner commented Feb 23, 2024

duplicate of #4117

@rdner rdner closed this as completed Feb 23, 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
Development

No branches or pull requests

2 participants