-
Notifications
You must be signed in to change notification settings - Fork 25k
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] ClusterClientIT failure #35450
Comments
Pinging @elastic/es-core-infra |
The cause seems to be a
The test is only expecting the 10 shards it has asked for to be present in the cluster state. |
Possibly related:
https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+master+periodic/129/console
|
Another one:
|
Another case like last one in master:
|
Another one: https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+master+g1gc/131/console Doesn't reproduce locally.
|
I think we got confirmation in #35644 now that @romseygeek's suspicion in #35450 (comment) was right and there are documents from a |
There seem to be a number tests in I just ran into |
Another failure of:
Since we've had two in the last two days it seems like we might be at the point of muting these? |
There are still failures today in https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+master+multijob-unix-compatibility/os=centos-7/223/console |
Muted also |
I've been trying to reproduce this issue by running the test suite in a couple different ways:
thus far I've been unsuccessful in reproducing locally. |
Still can't replicate the failures, which do stem from a lingering There are two basic approaches I can think of to take this forward:
If the goal of this test is to ensure that the indices we asked to be created are indeed created, then it's better to assert on the existence of each named index, instead of just on size. an example of how this assertion can go awry is if I'd love some feedback on this, particularly if anyone feels strategy 2 is a bad idea. It is clearly not easy to be deterministic about the entire cluster state (or I wouldn't be investigating this issue), and therefore I think we are best served by more targeted assertions that are testing |
I am +1 on strategy 2. It's best if each test just asserts on exactly what it changed rather than the whole cluster state. It is quite possible that the ML tests in this suite are responsible for the TL;DR:
|
https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+6.5+periodic/105
The text was updated successfully, but these errors were encountered: