-
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] TooManyJobsIT.testCloseFailedJob fails on 7.x #54162
Comments
Pinging @elastic/ml-core (:ml) |
|
The telling stack trace is in the console log
The exception is thrown here because GetMappings returned an empty index mapping. Line 337 in ec13c09
The function is called by an action listener in response to the What is nice is the single node in the test is a master node and Could it be the index was created without any mappings? From the log file Note the empty mappings, compare with
which has a mapping for |
So all three failures are in some way related to templates even though the final error that causes failure is different in each. Given that this problem is happening on 7.x but not 7.6, it is probably related to the changes of #51765. If so it will be a problem in 7.7 as well. Before 7.7 GA we need to assess whether it's purely a test setup problem or whether it's a problem that could affect users too. |
The problem is in the test, it may have been exposed by #51765 or another change. The test waits for the templates to be installed in a Line 203 in 23943ae
In some cases the master node changes and the new master is a brand new node that does not yet have the templates installed. We don't wait for templates on the new master. I don't know why this wasn't an issue before, everything fails in CI eventually but I haven't seen this before. |
Closing this since a fix was made and it hasn't been updated since then with more failures. |
The test
TooManyJobsIT.testCloseFailedJob
failed today on7.x
with the following error:Build scan: https://gradle-enterprise.elastic.co/s/zzidgoauwly4c/
It does not reproduce with:
Looking at the build stats, this test failed 3 times in the last 30 days and always on 7.x:
The text was updated successfully, but these errors were encountered: