-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
[CI] MixedClusterClientYamlTestSuiteIT test {p0=indices.stats/13_fields/Fielddata fields - all metric} failing #96711
Comments
Pinging @elastic/es-data-management (Team:Data Management) |
The fielddata fields are definitely not in the result. For example we get:
instead of something more like:
So far I haven't been able to reproduce it though. |
Also, I don't see it in the gradle history from June 1, 2022 through April 2, 2023. But I see it 7 times from April 3 to now. |
Similar failure in similar test |
One more similar failure https://gradle-enterprise.elastic.co/s/y7rbb75mfijvy |
Every test case firsts asserts there are no shards failures, which makes sense, if a shard does not respond then we are probably missing stats. What I find weird in this test response is the following:
So, there 4 total shards but only 3 were successful. I am following up to see when does this happen. |
When running it locally I often get the difference between the successful number of shards and the total, so probably it's not related. My guess is that not all replicas are allocated this is why this is happening, if I add wait for green status the difference in replicas stops. Update |
I have found nothing useful in the logs so far, apart from cluster instability in https://gradle-enterprise.elastic.co/s/loyijho4swg4w/tests/task/:qa:mixed-cluster:v7.17.19%23mixedClusterTest/details/org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT/test%20%7Bp0%3Dindices.stats%2F13_fields%2FFielddata%20fields%20-%20pattern%7D?top-execution=1. It appears during this test only the master node was available but this did not change during the test but much earlier. On the other hand, during this test it manages to allocate 3 shards, which is confusing since there is only one node available. |
Build scan:
https://gradle-enterprise.elastic.co/s/zlgx2yuikqnp6/tests/:qa:mixed-cluster:v8.4.0%23mixedClusterTest/org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT/test%20%7Bp0=indices.stats%2F13_fields%2FFielddata%20fields%20-%20all%20metric%7D
Reproduction line:
Applicable branches:
main
Reproduces locally?:
Didn't try
Failure history:
https://gradle-enterprise.elastic.co/scans/tests?tests.container=org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT&tests.test=test%20%7Bp0%3Dindices.stats/13_fields/Fielddata%20fields%20-%20all%20metric%7D
Failure excerpt:
The text was updated successfully, but these errors were encountered: