-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Failing test: X-Pack EPM API Integration Tests.x-pack/test/fleet_api_integration/apis/epm/setup·ts - Fleet Endpoints EPM Endpoints setup api setup performs upgrades upgrades the endpoint package from 0.13.0 to the latest version available #118479
Comments
Pinging @elastic/fleet (Team:Fleet) |
I tried to reproduce it locally and couldn't. Also checked the subsequent runs on buildkite and it didn't fail anymore after this occurrence (Sat, Nov 13th). I think this was a one-off. |
We also just made some changes in #117552 that may have impacted this. This was merged after this test failure. If we don't get any more failures in a week, let's close it. |
New failure: CI Build - main |
Logs from most recent failure:
@paul-tavares Could this be related to Endpoint's |
@joshdover , Looks like maybe the install/upgrade failed? or maybe a concurrent run condition? |
Wondering if this line: await supertest.post(`/api/fleet/setup`).set('kbn-xsrf', 'xxxx').expect(200); could actually return |
New failure: CI Build - main |
Skipped. main: 1a215ba |
latest failure:
Kibana error:
|
@joshdover I'm not sure how to proceed here. I've run a couple of flaky test runner jobs for this test and they passed fine: I've been trying to find where the error came from, it looks like it's coming from elastic based on another issue I found with the same message (here is the search I used). So it looks like it may be something to do with the cluster health? In the logs we do see the health go from yellow to green after the error:
I can't think of any debug we would want to add to get more info, and if we re-enable the test I think it's likely to eventually fail again. |
One thing that would at least help improve the UX here is to have a more specific error message so we know this is failing during transform creation. We could also check the cluster health before starting the install process and bail early if it's yellow? |
@sophiec20 Hi, we just mentioned an error we were seeing on the fleet side potentially while installing a transform, theres more detail in my comment above, but here is the error we see:
I only suspected that it was from transform creation based on a slightly similar SDH I found . The endpoint package creates 2 transforms defined here One has source index "metrics-endpoint.metadata-*" and dest index "metrics-endpoint.metadata_current_default". In the logs above I can see that
Would the index being yellow/not having shards started potentially cause this error? |
@pzl interesting comments above re: transform☝️ |
@hop-dev The
The best way to troubleshoot this would be to check the output from calling I suspect that using a source index wildcard might avoid issues with timing if the source index is not yet available. Can you try this? |
Also, is it possible to get the whole error response.. on reflection, I would think that there is more information returned in |
Closing due to inactivity / lack of additional failures. |
New failure: kibana-es-forward-compatibility-testing - 7.17 |
A test failed on a tracked branch
First failure: CI Build - 8.0
The text was updated successfully, but these errors were encountered: