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
test/e2e/framework: validate external node IPs #73436
Conversation
It is possible for a node not to have an external IP address. This extra check is copied directly from GetNodeInternalIP and prevents errors like the following: INFO: Getting external IP address for ip-10-0-133-82.ec2.internal error dialing core@:22: 'dial tcp :22: connect: connection refused' In this case, there was no public IP for this host, but GetNodeExternalIP returned ":22" instead of an error.
Hi @crawford. 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. |
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 @crawford
/lgtm
/ok-to-test
/priority backlog
/retest |
Based on https://gubernator.k8s.io/builds/kubernetes-jenkins/pr-logs/directory/pull-kubernetes-e2e-kops-aws, it looks like e2e-kops-aws fails quite a bit. I don't think this change is related to the failures I'm seeing. /retest |
/retest |
@crawford: 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. 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. |
Only concern here is if this causes some of the extended suites to start failing post submit. @kubernetes/sig-testing-pr-reviews who is most likely to know what the odds are of a break (testing a cluster with no external ip but a reachable internal ip)? |
kops AWS is #73444 |
/approve I'd be surprised if this causes other failures, feel free to unhold on all clear. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: crawford, timothysc 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 |
@crawford: PR needs rebase. 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. |
Superseded by #76637. |
@crawford: Closed this PR. 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. |
What type of PR is this?
/kind bug
What this PR does / why we need it:
It is possible for a node not to have an external IP address. This extra
check is copied directly from GetNodeInternalIP and prevents errors like
the following:
In this case, there was no public IP for this host, but
GetNodeExternalIP returned ":22" instead of an error.
Which issue(s) this PR fixes:
N/A
Special notes for your reviewer:
None
Does this PR introduce a user-facing change?: