-
Notifications
You must be signed in to change notification settings - Fork 24.7k
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] MlDeprecationIT testMlDeprecationChecks failing #79058
Comments
Pinging @elastic/ml-core (Team:ML) |
might be related #78850 |
Ah, you're right. It's definitely related to that issue. I got distracted by the warning about system indices but that's not the source of the failure here. |
The server side logs look like this:
The test cleanup is not working as expected because the cleanup code that deletes all indices between tests causes a new datastream to be created if one of the indices it needs to delete is a system index. This is happening because the test cleanup code is deleting system indices in a deprecated way instead of using the feature reset API. There might also be another problem related to hidden ILM policies, but the simplest quick fix to avoid running into that in this test will probably be to call feature reset explicitly at the end of the single ML integration test that's in the deprecation plugin test suite. |
The generic post test cleanup code causes deprecation warnings when deleting system indices. This is particularly problematic for deprecation plugin integration tests. This change makes the ML test in the deprecation plugin integration tests clean up the ML system indices before the generic post test cleanup runs. Fixes elastic#79058
This hasn't failed in the last 4 hours - closing. |
Build scan:
https://gradle-enterprise.elastic.co/s/u2qkxilapasye/tests/:x-pack:plugin:deprecation:qa:rest:javaRestTest/org.elasticsearch.xpack.deprecation.MlDeprecationIT/testMlDeprecationChecks
Reproduction line:
./gradlew ':x-pack:plugin:deprecation:qa:rest:javaRestTest' --tests "org.elasticsearch.xpack.deprecation.MlDeprecationIT.testMlDeprecationChecks" -Dtests.seed=9D1455189E3BE57E -Dtests.locale=sk-SK -Dtests.timezone=Etc/GMT+12 -Druntime.java=11
Applicable branches:
master
Reproduces locally?:
Didn't try
Failure history:
https://gradle-enterprise.elastic.co/scans/tests?tests.container=org.elasticsearch.xpack.deprecation.MlDeprecationIT&tests.test=testMlDeprecationChecks
Failure excerpt:
The text was updated successfully, but these errors were encountered: