-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
org.elasticsearch.xpack.transform.integration.TestFeatureResetIT #100596
Comments
marked as low-risk as feature-reset is a test focused thing. |
Pinging @elastic/ml-core (Team:ML) |
@przemekwitek I am guessing this is a notification hitting the notifications index after the test completes. Could there be a elasticsearch/x-pack/plugin/transform/src/main/java/org/elasticsearch/xpack/transform/Transform.java Line 429 in eca4187
The ML equivalent has a elasticsearch/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/MachineLearning.java Line 2108 in b7eafce
Or, if it's not that then it must be that we're auditing a notification message after all the transform tasks have finished. |
Yes, I was thinking of a notification too. Unfortunately, the test assertion didn't tell us which
Possibly yes.
while when I query using wildcard So it may be just a "broken reset" issue, not a "broken force stop" issue. |
So I now have confirmation that it is indeed
Surprisingly, it didn't have any documents (audit messages) in it. Otherwise, the previous assertion (that searches for index contents) would fail while it didn't. |
It could be that, but if you cannot find such a place then it could be that the test just did its check at the instant where the index existed but the document wasn't searchable. Remember that documents aren't searchable after indexing for a second or two. |
The answer to the question "why it didn't have any documents" is below. In short, the
I think for debugging, I'll wait for these shards to show up just to see what documents (audit messages) get written to this index. Nevertheless, I'm almost sure that it is indexer not fully shutdown and writing something when the pTask is already gone. Maybe we'll need to accept that with |
failed again: https://gradle-enterprise.elastic.co/s/cjccpnkbkle5w y'all good with me muting this thing? |
Muting it: #100729 |
muting test for gh: elastic#100596
muting test for gh: #100596 Co-authored-by: Benjamin Trent <[email protected]>
I see @pxsalehi backported the mute to 8.11 (#101256). I will do it for 8.10 - is that OK for you @benwtrent? |
Doesn't seem to be muted on 8.10 yet, I'm doing this now since I got this today. |
Thank you for doing that @cbuescher, I was waiting for a "yes" and then forgot. |
Thanks to the functionality we have in our tests'
which comes from The hint no. 2 is the fact that we only log audit messages when not in reset mode. |
Thanks for reporting @joegallo . |
Yeah, it was a PR. |
CI Link
https://gradle-enterprise.elastic.co/s/wmkqnkogroefy
Repro line
./gradlew ':x-pack:plugin:transform:qa:multi-node-tests:javaRestTest' --tests "org.elasticsearch.xpack.transform.integration.TestFeatureResetIT.testTransformFeatureReset" -Dtests.seed=A5D75D753CF49FA6 -Dtests.locale=cs -Dtests.timezone=Asia/Famagusta -Druntime.java=21
Does it reproduce?
No
Applicable branches
main
Failure history
No response
Failure excerpt
It does seem that a transforms index is being created again after the feature reset. Here are the cluster logs from this failure:
transform.zip
The text was updated successfully, but these errors were encountered: