-
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
[UI Settings] Regularly Failing Jest Integration Config #145652
Comments
Pinging @elastic/kibana-core (Team:Core) |
Pinging @elastic/fleet (Team:Fleet) |
@elastic/fleet This is not the first time some of our tests are forced to be skipped because the cleanup logic of the fleet plugin is flawed. Is there any way we find a stable solution for these problems? |
This is spreading to other test suites - https://buildkite.com/elastic/kibana-on-merge/builds/23795#01848b07-cbfb-40aa-9090-8664fbbe8e7f. We'll leave this for tracking the ui settings skip and open separate issues accordingly, but want to emphasize the priority in the interim. |
Looks like this is happening because the synthetics plugin launch the synthetics installation from their plugin start method, I can try to take a look how we can fix/change that. |
After some investigations, it seems the way synthetics install the integration introduce some flakyness. The issue is happening because the synthetics plugin launch the synthetics integration during their plugin start, because we remotely fetch the integration there is a chance this break especially in a CI environment. First to be able to choose the best solutions here @shahzad31 @dominiqueclarke maybe you can help me understanding why the synthetics plugin need to be installed during the plugin start? Potential way to resolve thisBundle the package in CIthe synthetics integration is a bundled package, this mean if the package is present in the Kibana directory we will not fetch it from the registry but use the local package instead, this will reduce the flakyness the test. It is possible to bundle package during CI? this step could probably be flaky as we will have to remotely fetch packages. Lazy install the
|
Pinging @elastic/uptime (Team:uptime) |
We do need synthetics package templates on kibana start. So i think it can't be lazy loaded. We will have to figure out something else. |
It is, the config was skipped in main and 8.6 - #145652 (comment) . There's no recent builds, the links on the top comment are dated but the closest I can think of. |
Pinging @elastic/appex-sharedux (Team:SharedUX) |
I have a plan to fix this. Basically I will disable installation of synthetic package on kibana start in ci generally. And for our E2e tests . We will enable installation via flag. But this won't make 8.7 so I am pushing this to 8.8. |
https://buildkite.com/elastic/kibana-on-merge/builds/23746#01848784-7e14-4800-b63a-bfc5905864d7/3656-4619 https://buildkite.com/elastic/kibana-on-merge/builds/23745#01848782-d6ff-42f5-a111-6f2608db2c47/2443-3188
This test config has recently semi-frequently started failing. Tests are passing, but server cleanup is continuing to run after:
Related to #141477
The text was updated successfully, but these errors were encountered: