-
Notifications
You must be signed in to change notification settings - Fork 38.7k
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
Use TCP instead of ICMP to check outbound connectivity #77794
Conversation
Hi @saiyan86. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions 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/test-infra repository. |
/assign feiskyer |
/ok-to-test |
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.
Since ping is not supported for Azure LB ips, the change is required for running those tests on Azure
/lgtm
/retest |
/sig network |
/assign thockin |
@bowei Could you please take a look? You wrote the original tests 😄 |
/assign bowei |
@johnbelamaric: Those labels are not set on the issue: In response to this:
Instructions 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/test-infra repository. |
/retest |
/lgtm |
@saiyan86: The following tests 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. Instructions 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/test-infra repository. I understand the commands that are listed here. |
/retest |
/approve |
@andrewsykim Could you please take a look? Thanks! |
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.
Most part is good for me, just few questions.
"-c", "3", // send 3 pings | ||
"-W", "2", // wait at most 2 seconds for a reply | ||
"nc", | ||
"-vz", |
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.
-u
option is not specified, so TCP is always used instead of ICMP and UDP, right?
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.
Yes. By default is TCP.
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.
Then the PR title should be Use TCP instead of ICMP to check outbound connectivity
without UDP
.
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.
Thanks for the suggestion. I have changed the PR title. Will submit another PR is UDP is needed later.
/cc @oomichi |
Thanks for updating /approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: johnbelamaric, oomichi, saiyan86 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind failing-test
What this PR does / why we need it:
This PR updates the networking e2e test on Azure to use
nc
instead ofping
for IPv4 tests. This is because Azure's LB drops ICMP packets for security reasons.Which issue(s) this PR fixes:
Fixes #75172
Special notes for your reviewer:
This PR only includes fix for IPv4 test, because the current busybox image doesn't have
nc
support for IPv6. Will prepare an image withnc
support for IPv6 and update the rest tests in the future.Does this PR introduce a user-facing change?: