-
Notifications
You must be signed in to change notification settings - Fork 158
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]: Multiple test cases fail because of the artifact API / CDN unavailability #4268
Comments
Pinging @elastic/elastic-agent (Team:Elastic-Agent) |
This error from the artifact API was a known outage that lasted for 4 minutes. |
Another failure due to a timeout on
https://buildkite.com/elastic/elastic-agent/builds/7268#018dc3d2-0f6e-438c-8510-835b6e4334af |
I think we should implement retries in our artifact API client to mitigate this problem. |
Another failure on
|
Another failure in pretty much all the tests that use the artifact API, this time it returned 503 https://buildkite.com/elastic/elastic-agent/builds/7305#018dc85a-fece-4c24-b9b5-ce18d1435ddc Error sample:
|
Another failure |
Another failure here https://buildkite.com/elastic/elastic-agent/builds/7480#018de2b8-47e5-4e01-843a-c294f7e3b56b
|
We added retries for the artifact API #4348 |
Download got stuck at 50.99%
https://buildkite.com/elastic/elastic-agent/builds/7573#018e12ba-1e06-4cc8-9bfd-39a99763a99a |
Another download failed:
https://buildkite.com/elastic/elastic-agent/builds/7588#018e1528-f7da-4e02-b81d-0165e3b5d780 |
Another failure of the artifact API:
https://buildkite.com/elastic/elastic-agent/builds/7588#018e159c-ee97-4fd6-899b-e378390a88e9 |
Another failure on the artifact API in https://buildkite.com/elastic/elastic-agent/builds/7753#018e3765-0a82-4e78-b265-4f8cc9024146
|
Lots of 503 responses from the artifact API in https://buildkite.com/elastic/elastic-agent/builds/7763#018e3881-3ee9-4e60-942d-51a1d0daad51 |
Another failure with 503 from the artifact API https://buildkite.com/elastic/elastic-agent/builds/7761#018e3870-a7be-4f6c-a28d-c9c7c54a4a90 |
The artifact API failed in https://buildkite.com/elastic/elastic-agent/builds/7936#018e667e-1530-4a04-ab27-9e6bc0d60d25
|
Since 2024-04-22 at 16:00 UTC we rolled out a new CDN proxy and it seems to have solved the stuck downloads. The artifact API part of the issue will be addressed by #4458 |
Well done @rdner |
Any test case that downloads artifacts (e.g.
TestStandaloneUpgrade*
,TestUpgrade*
,TestFleetManagedUpgrade*
) may fail because the artifact API or CDN server is unavailable.Here is a list with a few examples (the timestamp is recorded on the buildkite failure, so it's approximate):
Artifact API
2024-02-12T20:28:05.483Z
https://buildkite.com/elastic/elastic-agent/builds/7062#018d9ec4-9b4a-4877-b32e-4d9810e99d75
2024-02-13T21:24:31.816Z
https://buildkite.com/elastic/elastic-agent/builds/7141#018da41e-2c94-4883-a427-5120735369e5
CDN
2024-02-13T16:11:14.713Z
https://buildkite.com/elastic/elastic-agent/builds/7119#018da2fc-1a7d-443b-9ed7-89566b637e75
2024-02-14T20:02:31.839Z
https://buildkite.com/elastic/elastic-agent/builds/7183#018da8f0-9957-45fc-9622-696d327bebf7
The text was updated successfully, but these errors were encountered: