-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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: API Integration Tests.test/api_integration/apis/data_views/fields_for_wildcard_route/response·ts - apis index_patterns index_patterns/_fields_for_wildcard route fields_for_wildcard_route response returns 200 when index is closed #199413
Comments
Pinging @elastic/kibana-data-discovery (Team:DataDiscovery) |
New failure: kibana-elasticsearch-snapshot-verify - 8.x |
New failure: kibana-elasticsearch-snapshot-verify - main |
New failure: kibana-elasticsearch-snapshot-verify - main |
@elastic/kibana-data-discovery - This is not flakiness, this is due to a new ES snapshot. Can you help us triage if this is something we need to adjust to on the Kibana side? |
It does not look like the ES response for a closed index changed. I tested with the following and it's the same on older version.
Maybe it takes longer in some cases to create an index. |
New failure: kibana-elasticsearch-snapshot-verify - 8.x |
New failure: kibana-elasticsearch-snapshot-verify - 8.x |
New failure: kibana-elasticsearch-snapshot-verify - main |
New failure: kibana-elasticsearch-snapshot-verify - main |
New failure: kibana-elasticsearch-snapshot-verify - main |
New failure: kibana-elasticsearch-snapshot-verify - 8.x |
New failure: kibana-elasticsearch-snapshot-verify - main |
New failure: kibana-elasticsearch-snapshot-verify - 8.x |
New failure: kibana-elasticsearch-snapshot-verify - main |
New failure: kibana-elasticsearch-snapshot-verify - 8.x |
New failure: kibana-elasticsearch-snapshot-verify - main |
New failure: kibana-elasticsearch-snapshot-verify - 8.x |
@jughosta did you test with the latest snapshot? Looking at the test, I don't see a reason why there should be a 404 it('returns 200 when index is closed', async () => {
const es = getService('es');
await es.indices.close({ index: 'basic_index' });
await supertest
.get(FIELDS_FOR_WILDCARD_PATH)
.set(ELASTIC_HTTP_VERSION_HEADER, INITIAL_REST_VERSION_INTERNAL)
.set(X_ELASTIC_INTERNAL_ORIGIN_REQUEST, 'kibana')
.query({ pattern: 'basic_index' })
.expect(200, {
fields: [],
indices: [],
});
}); according to the logs the closing was successful, but also it seems the cluster health state was RED before going to YELLOW? I don't think this is expected?
FYI @jbudz |
Not sure if this is expected from ES side, that when an index is closed it's switching from RED to YELLOW? if this is, maybe @jughosta is right about "taking longer", it might take longer from ES side to get from the RED to the YELLOW state, and in between it causes a 404?
|
There is a change in ES response, please see #199654 (comment) |
We're going to skip, promote the new snapshot, and apply a fix in
|
/skip |
A test failed on a tracked branch
First failure: kibana-elasticsearch-snapshot-verify - 8.x
The text was updated successfully, but these errors were encountered: