-
Notifications
You must be signed in to change notification settings - Fork 163
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
Disable UTs for Windows while stablizing it #1202
Disable UTs for Windows while stablizing it #1202
Conversation
Signed-off-by: Chang Liu <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #1202 +/- ##
=======================================
Coverage 71.78% 71.78%
=======================================
Files 88 88
Lines 2027 2027
Branches 269 269
=======================================
Hits 1455 1455
Misses 509 509
Partials 63 63 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't feel right. The Windows platform is shipping in 2.4, disabling these tests opens shipping a platform build without knowing if its functional. Looking at the related issue there was only reported failure that seems network related, are there other issues?
@peternied The open issue is in the PR description. Requiring an unstable workflow significantly slows down the PRs. The flaky workflow has to be re-run on multiple PRs, which are not right experience. I'd suggest to resolve the flaky tests before enabling the workflow. |
@opensearch-project/security https://github.com/orgs/opensearch-project/teams/security Are we good to temporarily disable UTs on Windows until it gets stablized as it is flaky and needs re-trying on PRs. |
@peternied BWC tests were disabled when they failed? How is this case different? |
They BWC tests in the security repository have not been disabled, they continue to run and fail, but they are not required to merge changes. If you'd like to change the branch protections in this repository not to require windows tests to pass to merge I think that is a decent work around. If you do so please create a follow up issue to reenable the protections once it has stabilized [1]
Updating network timeouts or retries on the yarn client are tweaks than can be made in this repository without any outside parties - I recommend we do that. The BWC failures in security are because of a problem in several repository, it cannot be resolved by our team/maintainers directly. |
Thanks for the context! Removing Windows UTs from required checks.
@peternied Would you mind taking on this as you have the most context on the UTs on Windows platform? |
Thanks for your confidence but I cannot take this work on |
The error could help narrow down the root cause. @peternied If no plan to fix this, then I don't see value to keep it run for now. It should be disabled until it gets stablized.
|
There are several maintainers on this project - maybe someone else can take this work on? @RyanL1997 do you think you could look into the root causes / fixes? |
According to the investigation I made on this issue, here is the output from my side:
However, I agree with that we can temporarily disable this test case for |
@RyanL1997 Thanks for articulating the actual problem, and for opening the discussion thread on GH. @peternied Thanks for insisting on that we don't disable tests because some connectivity is flaky. This feels like the right thing to do. I think a possible way forward is to keep running these tests and retrying them and seeing if the transient connectivity issue goes away. It's annoying, but it could just be something on the network that someone is working on. If it doesn't go away, I would change the GHA to retry the entire job (I don't know how to do that), and otherwise ignore the job failures on windows only, rather than disabling the tests. @cliu123 @peternied, what do you think? would the latter be acceptable? @seraphjiang I suggest deleting your comment, and leaving this issue alone to be discussed by the contributors and maintainers of this project. |
@dblock I've already changed the branch protection policy. Merging PR no longer requires UTs on Windows to pass now. The workflow fails on most of PRs. As a maintainer, I would rather not to keep a flaky check running and merge things with failures. This would not be the best way to earn trust or confidence on quality from the community. But this is a team decision, if that's what we want to do, I'll leave it as is. |
I've discussed with @dblock offline. He no longer has objections on this and will let the maintainers move forward with this. |
created an issue to track fix and re-enabling separately: #1211 |
Thanks for the review! I've discussed with @davidlago and @cwperks with this PR. I've created the issue to track fix.
Signed-off-by: Chang Liu <[email protected]> (cherry picked from commit b04271a)
Signed-off-by: Chang Liu <[email protected]> (cherry picked from commit b04271a) Co-authored-by: Chang Liu <[email protected]>
Signed-off-by: Chang Liu [email protected]
Description
UTs are unstable on Windows.
Category
[Enhancement, New feature, Bug fix, Test fix, Refactoring, Maintenance, Documentation] Maintenance
Issues Resolved
#1195
Testing
UTs, ITs
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.