-
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
tests: Makes UDP testing command more Windows friendly #72918
tests: Makes UDP testing command more Windows friendly #72918
Conversation
By default, cmd is used to execute commands in Windows containers, but it has some issues executing the command (no output): echo 'hostName' | nc -w 1 -u <targetIP> <targetPort> But it has no issues running (output is correct): echo hostName | nc -w 1 -u <targetIP> <targetPort> This causes the test "should function for node-pod communication: udp" to fail when using Windows Containers.
Hi @BCLAU. 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 @spiffxp |
/ok-to-test |
/test pull-kubernetes-e2e-kops-aws |
/test pull-kubernetes-e2e-kops-aws |
Does the line https://github.com/kubernetes/kubernetes/pull/72918/files#diff-cb4c40bc4199d52e8b5e9e7f26e84d91R311 returns some error on this issue? |
@oomichi no, it does not, the output is just empty. This is also something I've tried out manually:
|
/milestone v1.14 |
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.
/lgtm
/priority important-soon |
/approve |
/assign @spiffxp |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bclau, michmike, spiffxp 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 |
/retest Review the full test history for this PR. Silence the bot with an |
/test pull-kubernetes-e2e-gce |
/retest |
/retest Review the full test history for this PR. Silence the bot with an |
/test pull-kubernetes-e2e-gce-100-performance |
What type of PR is this?
/kind failing-test
/sig testing
/sig windows
What this PR does / why we need it:
By default, cmd is used to execute commands in Windows containers, but it
has some issues executing the command (no output):
But it has no issues running (output is correct):
This causes the test "should function for node-pod communication: udp" to
fail when using Windows Containers.
Which issue(s) this PR fixes:
Fixes #72917
Special notes for your reviewer:
Does this PR introduce a user-facing change?: