-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Failing test: Jest Integration Tests.src/core/server/saved_objects/migrations/integration_tests - migration from 7.13 to 7.14+ with many failed action_tasks filters out all outdated action_task_params and action tasks #118626
Comments
Pinging @elastic/kibana-core (Team:Core) |
New failure: CI Build - 8.0 |
New failure: CI Build - 8.0 |
New failure: CI Build - main |
New failure: CI Build - main |
New failure: CI Build - main |
This should have been addressed in #119236 by #119713 cc @juliaElastic / @elastic/fleet |
The last 2 failures have a different stacktrace, no longer comes from
|
This reverts commit 6730b4b.
I'm seeing another occurence in a different migration test with the same stacktrace. Could it be that fleet setup takes long to finish and by that time the tests already triggered kibana stop?
|
@kpollich @joshdover I think these flaky errors are related to the change here to I'm not sure yet how to wait in tests until setup finishes or make the setup stop immediately once the stop lifecycle method has been called (when the tests finished). Do you have any suggestions? |
It's curious this doesn't get caught by our global error handler here: kibana/x-pack/plugins/fleet/server/plugin.ts Lines 343 to 353 in a7d8ee6
I would expect that after I'm curious if the changes in #118587 could also be making this worse or more apparent somehow due to the exponential backoff on retries for I'd really like to avoid passing state around about whether or not Kibana stop has been called. I'd recommend we use the standard @elastic/kibana-core Feels like something that we may also want to solve at the Core level. For instance either of these changes would be helpful to us and probably improve the robustness of Kibana shutdowns:
|
I would expect that too. Could it be that
Unless there's something wrong in the way the client is handling the promises, it shouldn't be necessary. In theory, properly try/catching the requests at any level should avoid the unhandled promise rejections? |
@pgayvallet I'm planning to dig into this more. Unfortunately this error is hard to reproduce locally, tried a few times with no luck. |
related #120840 |
New failure: CI Build - 8.0 |
New failure: CI Build - 8.0 |
New failure: CI Build - main |
closing as this failure hasn't happened for a long time |
A test failed on a tracked branch
First failure: CI Build - 8.0
The text was updated successfully, but these errors were encountered: