-
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
[Fleet] Unskip test suite for agentless and replace waitForNextUpdate with waitFor #198125
[Fleet] Unskip test suite for agentless and replace waitForNextUpdate with waitFor #198125
Conversation
Pinging @elastic/fleet (Team:Fleet) |
The only way I know of to get this to run a bunch of times is to wrap the whole test suite in a |
@elasticmachine merge upstream |
@kpollich I suspect that the ci env is in some way different from the local env so it only fails there. However, even the changes merged yesterday to the |
/ci |
@criamico / @kpollich Since our team introduced most of these tests, would you like me to take over these flaky issues as part of the new Reliability Epic? There are tasks to migrate I can also see we actually missed adding Fixing those will also help with the React 18 preparation PR, where some tests are falling due to the missing Also, since it's very easy to miss the addition of |
@elasticmachine merge upstream |
@opauloh I fixed it the missing await, but it would be great to have a rule to enforce it, it's pretty easy to miss it.
Let me know if you want me to keep this PR open or it's better to proceed with your epic. The only thing that concerns me is that keeping too many tests skipped might lead to not catching some bugs early, especially on serverless/agentless. @kpollich what do you think? |
💔 Build Failed
Failed CI StepsTest Failures
Metrics [docs]
History
cc @criamico |
Since @opauloh's team is already tracking work here, it might make sense to have them take this over the finish line. @criamico do you feel like we have a path forward to get this PR green and land it, or is scope of work needed here larger? It seems like there's a lot of moving parts in the reliability epic Paulo linked, and I am not sure if we need to do a lot of that foundational work to fix the root cause of the flakiness here rather than just patching smaller things to get this PR green. |
I think it would be better if @opauloh team takes over this work, since they wrote most of the tests and intend to take care of the larger scope of it. I'll close this PR in favor of their solution. |
Thanks! I already updated the relevant tickets to include the agentless scope of Fleet!
Yes, great concern, those tasks are top priority for this sprint, so we ensure they are not skipped for longer but also fixed in the large scope. |
Closes #189038
Closes #192126
Summary
Attempting again to fix failures related to
waitForNextUpdate
. I merged #197951 but it failed again right after merging it, this time I'm removing altogetherwaitForNextUpdate
from the whole file and usingwaitFor
orrerender
as needed.NOTE: This test never fails locally, I tried it many times and it never occurs. So it could be some setting in the c.i. that makes it different from the local test. There's also currently no way to use the flaky test runner.