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]: TestStandaloneUpgrade – failed to detect remote snapshot repo #5047

Open
rdner opened this issue Jul 3, 2024 · 5 comments
Open
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

@rdner
Copy link
Member

rdner commented Jul 3, 2024

Failing test case

TestStandaloneUpgrade

Error message

failed to detect remote snapshot repo

Build

Observed only when updating from 7.17.x to 8.x.

OS

Linux

Stacktrace and notes

upgrade_standalone_test.go:77: 
        	Error Trace:	/home/ubuntu/agent/testing/integration/upgrade_standalone_test.go:77
        	            				/home/ubuntu/agent/testing/integration/upgrade_standalone_test.go:43
        	Error:      	Received unexpected error:
        	            	failed to start agent upgrade to version "8.15.0": exit status 1
        	            	Error: Failed trigger upgrade of daemon: initiating fetcher: failed to detect remote snapshot repo, proceeding with configured: invalid character '<' looking for beginning of value
        	            	For help, please see our troubleshooting guide at https://www.elastic.co/guide/en/fleet/7.17/fleet-troubleshooting.html
        	Test:       	TestStandaloneUpgrade/Upgrade_7.17.23-SNAPSHOT_to_8.15.0-SNAPSHOT_(privileged)
@rdner rdner added Team:Elastic-Agent Label for the Agent team flaky-test Unstable or unreliable test cases. labels Jul 3, 2024
@elasticmachine
Copy link
Collaborator

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

@rdner rdner added the Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team label Jul 3, 2024
@elasticmachine
Copy link
Collaborator

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

@rdner
Copy link
Member Author

rdner commented Jul 31, 2024

@ycombinator we might want to prioritize this based on the amount of failed builds.

@cmacknz
Copy link
Member

cmacknz commented Jul 31, 2024

I suspect the < is the beginning of an XML response that would probably tell us we are being rate limited if we could see it. We should update the code to dump out the raw response when we can't parse it to confirm.

@ycombinator
Copy link
Contributor

Another build that failed on this test: https://buildkite.com/elastic/elastic-agent-extended-testing/builds/2087#01917b0e-94c4-495a-a21a-e027d743f289. Added to list in issue description.

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

No branches or pull requests

7 participants