kubernetes/test/e2e/framework
Kubernetes Submit Queue f9f8dc30c5
Merge pull request #52748 from leblancd/v6_e2e_host_port
Automatic merge from submit-queue (batch tested with PRs 52748, 56623). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Add brackets around IPv6 addrs in e2e test IP:port endpoints

There are several locations in the e2e tests where endpoints of the
form IPv6:port use IPv6 addresses directly, without surrounding brackets.
Brackets are required around IPv6 addresses in this case, in order to
distinguish the colons in the IPv6 address from the colon immediately
preceding the port.

Also, wherever the curl command might be used with an IPv6 address
surrounded in brackets, the "-g" argument is added to the curl
command line arguments so that the brackets can be interpreted
correctly.

fixes #52746



**What this PR does / why we need it**:
This PR adds brackets around IPv6 addresses when they appear as part of an IPv6-addr:port endpoint
in the e2e tests. This is needed because any connections that attempt to use IPv6-addr:port
endpoint without brackets surrounding the IPv6-addr will fail.

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #52746

**Special notes for your reviewer**:

**Release note**:

```release-note
NONE
```
2017-12-04 14:22:10 -08:00
..
ginkgowrapper update BUILD files 2017-10-15 18:18:13 -07:00
metrics Update generated files 2017-11-09 12:14:08 +01:00
timer Add performance test phase timing export. 2017-11-09 17:12:15 +01:00
authorizer_util.go PodSecurityPolicy E2E tests 2017-11-01 16:00:32 -07:00
BUILD Merge pull request #54992 from porridge/perf-timing 2017-11-11 01:39:30 -08:00
cleanup.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
deployment_util.go E2E test to verify pod failover during node power-off 2017-11-13 21:52:54 -08:00
exec_util.go use core client with explicit version globally 2017-10-27 15:48:32 +08:00
firewall_util.go use core client with explicit version globally 2017-10-27 15:48:32 +08:00
framework.go Control logs verbosity in resource gatherer 2017-11-17 13:03:32 +01:00
get-kubemark-resource-usage.go add grabbing CA metrics in e2e tests 2017-08-10 11:22:45 +02:00
google_compute.go Tolerate a missing MasterName (for GKE) 2017-07-18 09:55:15 -07:00
gpu_util.go Update URLs for nvidia gpu device plugin and nvidia driver installer. 2017-11-14 15:31:22 -08:00
ingress_utils.go use versiond group clients from client-go 2017-11-07 14:47:22 +08:00
jobs_util.go use versiond group clients from client-go 2017-11-07 14:47:22 +08:00
kubelet_stats.go Remove check for SubResourcePodProxyVersion and SubResourceServiceAndNodeProxyVersion 2017-11-03 23:11:09 +08:00
log_size_monitoring.go Scripted migration from clientset_generated to client-go. 2017-07-17 15:05:37 -07:00
metrics_util.go Merge pull request #55056 from porridge/typo-percentil 2017-11-20 01:40:50 -08:00
networking_utils.go Revert "Fix for the network partition tests" 2017-12-04 04:26:14 -08:00
nodes_util.go use core client with explicit version globally 2017-10-27 15:48:32 +08:00
perf_util.go Report scope in e2e test metrics 2017-09-11 22:13:55 -04:00
pods.go use core client with explicit version globally 2017-10-27 15:48:32 +08:00
psp_util.go PodSecurityPolicy E2E tests 2017-11-01 16:00:32 -07:00
pv_util.go fix CreateVolume: search mode for Dedicated kind 2017-11-19 11:16:50 +00:00
rc_util.go pkg/apis/core: mechanical import fixes in dependencies 2017-11-09 12:14:08 +01:00
resource_usage_gatherer.go Control logs verbosity in resource gatherer 2017-11-17 13:03:32 +01:00
rs_util.go use versiond group clients from client-go 2017-11-07 14:47:22 +08:00
service_util.go Add brackets around IPv6 addrs in e2e test IP:port endpoints 2017-11-14 10:55:09 -05:00
size.go Support multizone clusters in GCE and GKE e2e tests 2017-11-10 15:29:15 +01:00
statefulset_utils.go use core client with explicit version globally 2017-10-27 15:48:32 +08:00
test_context.go Merge pull request #55288 from Random-Liu/e2e-log-for-alternative-runtime 2017-11-13 12:32:24 -08:00
upgrade_util.go Scripted migration from clientset_generated to client-go. 2017-07-17 15:05:37 -07:00
util.go Merge pull request #52748 from leblancd/v6_e2e_host_port 2017-12-04 14:22:10 -08:00
volume_util.go Speed up volume tests by reducing pod grace period 2017-10-19 14:19:42 +02:00