Automated cherry pick of #20840#21572
Conversation
In CI, the TestGateway and TestMixVersionsSnapshotByAddingMember are flaky due to the TestMixVersionsSnapshotByAddingMember test sometimes not closing the second etcd process. This happens if the second process has not had enough time to become healthy according to the logic in EtcdServer.mayRemoveMember. Fix this by retrying member removal for twice the etcdserver.HealthInterval in EtcdProcessCluster.CloseProc. Signed-off-by: Jonathan Albrecht <jonathan.albrecht@ibm.com>
|
Hi @pjsharath28. Thanks for your PR. I'm waiting for a etcd-io member to verify that this patch is reasonable to test. If it is, they should reply with Tip We noticed you've done this a few times! Consider joining the org to skip this step and gain Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
/ok-to-test |
|
@pjsharath28: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted filessee 24 files with indirect coverage changes @@ Coverage Diff @@
## release-3.6 #21572 +/- ##
===============================================
+ Coverage 68.90% 68.93% +0.03%
===============================================
Files 420 420
Lines 35841 35841
===============================================
+ Hits 24695 24707 +12
+ Misses 9698 9688 -10
+ Partials 1448 1446 -2 Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ahrtr, pjsharath28 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
Thanks @ahrtr. While working on this PR, I noticed that the Given this, should we consider removing this script to avoid confusion? Alternatively, we could keep it but clearly document that the recommended approach is to use the bot rather than the script. |
Seems reasonable. cc @ivanvc |
|
Sure thanks, I create an issue #21579 to track the same. |
Cherry pick of #20840 on release-3.6.
#20840: tests: Change max retries when removing a member from a