-
Notifications
You must be signed in to change notification settings - Fork 25.2k
[CI] Internal data frame indices can cause unrelated docs tests to fail #43271
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
Comments
Pinging @elastic/ml-core |
Pinging @elastic/es-docs |
the geo-bounding-box and phrase-suggest docs were susceptible to failing due to other indices in the cluster. This change restricts the queries to the index that is set up for the test. relates to elastic#43271.
Assuming this is due to pending tasks, do you think it can be resolved the same way Rollup Jobs are in ESRestTestCase#wipeCluster? |
I had a look through the main data frame transforms API reference documentation and testing is skipped for all the console snippets, so the problem cannot be originating there. This means it must be coming from the data frame transform HLRC docs tests.
|
the geo-bounding-box and phrase-suggest docs were susceptible to failing due to other indices in the cluster. This change restricts the queries to the index that is set up for the test. relates to #43271.
…43307) the geo-bounding-box and phrase-suggest docs were susceptible to failing due to other indices in the cluster. This change restricts the queries to the index that is set up for the test. relates to elastic#43271.
A couple of recent failures: In all cases the error occurs in the test following put-transform.asciidoc line 67. Data Frames have a mechanism to audit notable events such as the creation of a data frame by indexing a document to Line 248 in 4e392e1
In the failures this async indexing occurs after the test has finished and after the test teardown which deletes the indices, so the index is re-created post teardown and leaks into the next test.
I'll mute put-transformL67 for now until we find good fix. |
Its weird that we have not ran into this with ML doc tests. I suppose we don't make any API calls in the doc tests that cause an audit message. |
Just as another data point, this failed in a few days ago in #43287 on a geo sort documentation test.
|
This is also failing in 7.2 so I cherry-picked the mute back to the 7.2 branch in ee4e940 |
A slightly different but related test failure occurred here: https://scans.gradle.com/s/fto67xzs3f5na/tests/jbm2x6tnwtxku-yqtt2tcdvwk4m, this time the failing test is
|
The failure above was in the test following I'll make the |
I've muted the put-job test in master, 7.x, 7.3 and 7.2 |
Reopening this as I've seen a few failures recently that match the linked #43287, for instance: https://gradle-enterprise.elastic.co/s/mbzws4mjvdbea/console-log?task=:docs:integTestRunner |
Another failure here: |
The renaming of the tests in elastic#46760 caused the cleanup between tests to be skipped. Fixes elastic#43271 Fixes elastic#47012
Hopefully #47016 will fix this |
https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+7.2+intake/84/console failed due to the
.data-frame-notifications-1
index existing in a docs test that didn't expect it to exist:I imagine we had similar problems previously with ML internal indices leaking into unrelated docs tests. We should look at how that was solved and implement something similar for data frame internal indices.
The text was updated successfully, but these errors were encountered: