k3s/test/e2e
Kubernetes Submit Queue e4724e8ab0 Merge pull request #37109 from Random-Liu/fix-lifecycle-hook-test
Automatic merge from submit-queue

Use netexec container in http lifecycle hook test.

Fixes https://github.com/kubernetes/kubernetes/issues/33636.

The original test is using `"echo -e \"HTTP/1.1 200 OK\n\" | nc -l -p 1234` as a simple http server.

However, it seems that this is not very reliable, which may response before golang thinks it should.
So we get the error:
```
I1106 06:14:13.325397    2096 logs.go:41] Unsolicited response received on idle HTTP channel starting with "HTTP/1.1 200 OK\n\n"; err=<nil>
```

This PR changes the test to use the `netexec` container which is a simple http server written by golang and used in many of our networking e2e test. It should be more reliable.
Mark 1.5 since this is fixing a 1.5 release blocking issue. Mark P0 to match the original issue.

@dchen1107
2016-11-22 12:41:37 -08:00
..
chaosmonkey autogenerated 2016-10-21 17:32:32 -07:00
common Revert "Add more test cases to k8s e2e upgrade tests" 2016-11-18 11:21:23 -08:00
framework Merge pull request #37109 from Random-Liu/fix-lifecycle-hook-test 2016-11-22 12:41:37 -08:00
generated revert revert of test/e2e/generated/BUILD 2016-11-18 11:24:19 -08:00
perftype autogenerated 2016-10-21 17:32:32 -07:00
testing-manifests Merge pull request #36910 from janetkuo/restart-cluster-statefulset 2016-11-17 20:50:56 -08:00
BUILD Merge pull request #36775 from bowei/kube-dns-config-map 2016-11-18 23:03:54 -08:00
addon_update.go Bumps up Addon Manager to v6.0-alpha.1 and updates related e2e test 2016-11-09 09:19:15 -08:00
autoscaling_utils.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
batch_v1_jobs.go Retry job update after failure to prevent modification conflict 2016-11-19 19:40:08 +01:00
cadvisor.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
cluster_logging_es.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
cluster_logging_gcl.go Promoted GCL e2e test to stable 2016-11-04 13:13:30 +01:00
cluster_logging_utils.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
cluster_size_autoscaling.go Merge pull request #35404 from brendandburns/autoscale 2016-10-25 13:23:17 -07:00
cluster_upgrade.go Revert "Add more test cases to k8s e2e upgrade tests" 2016-11-18 11:21:23 -08:00
cronjob.go Support ScheduledJob name 2016-11-07 10:14:12 +01:00
daemon_restart.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
daemon_set.go Revert "Add more test cases to k8s e2e upgrade tests" 2016-11-18 11:21:23 -08:00
dashboard.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
density.go Wait for all Nodes to be schedulable before running e2e tests 2016-11-17 16:43:35 +01:00
deployment.go Merge pull request #36644 from kargakis/update-progress-test 2016-11-22 04:03:38 -08:00
disruption.go Add back e2e tests for disruption budget 2016-11-11 22:30:56 +01:00
dns.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
dns_autoscaling.go Changed kube-dns-autoscaler's target to Deployment/kube-dns 2016-11-09 09:20:51 -08:00
dns_configmap.go Test flake: ignore dig failure; wait until timeout 2016-11-21 11:54:47 -08:00
e2e-example-config.json
e2e.go Wait for all Nodes to be schedulable before running e2e tests 2016-11-17 16:43:35 +01:00
e2e_test.go
empty.go Stricter timeouts for nodePort curling 2016-11-03 22:31:39 -07:00
empty_dir_wrapper.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
etcd_failure.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
events.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
example_cluster_dns.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
example_k8petstore.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
examples.go Use the new name for cassandra-statefulset.yaml in e2e tests. 2016-11-07 22:33:47 -08:00
federated-ingress.go Updating federation e2e tests to verify cascading deletion 2016-11-18 14:44:06 -08:00
federated-namespace.go Updating federation e2e tests to verify cascading deletion 2016-11-18 14:44:06 -08:00
federated-secret.go Updating federation e2e tests to verify cascading deletion 2016-11-18 14:44:06 -08:00
federated-service.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
federation-apiserver.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
federation-authn.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
federation-daemonset.go Updating federation e2e tests to verify cascading deletion 2016-11-18 14:44:06 -08:00
federation-deployment.go Updating federation e2e tests to verify cascading deletion 2016-11-18 14:44:06 -08:00
federation-event.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
federation-replicaset.go Updating federation e2e tests to verify cascading deletion 2016-11-18 14:44:06 -08:00
federation-util-14.go
federation-util.go Merge pull request #34905 from ingvagabund/client-to-clientset 2016-10-24 05:38:43 -07:00
garbage_collector.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
generated_clientset.go Rename ScheduledJob to CronJob 2016-11-07 10:14:12 +01:00
gke_local_ssd.go
gke_node_pools.go Use clientset in GetReadySchedulableNodesOrDie 2016-10-19 15:55:39 +02:00
google_compute.go
ha_master.go E2E tests cleanup: moved generation of regexp for master replica to a separate function. 2016-11-22 14:52:33 +01:00
horizontal_pod_autoscaling.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
ingress.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
ingress_utils.go Clean up static-ip in e2e 2016-10-28 10:06:31 -07:00
initial_resources.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
job.go Merge pull request #37077 from soltysh/issue34585 2016-11-19 12:43:14 -08:00
kibana_logging.go Fixed kibana e2e test 2016-11-12 22:27:37 +01:00
kube_proxy.go Update the timeout in CLOSE_WAIT e2e test 2016-11-21 11:58:15 -08:00
kubectl.go Revert "Add more test cases to k8s e2e upgrade tests" 2016-11-18 11:21:23 -08:00
kubelet.go e2e pod cleanup test: restrict pods to be assigned to nodes observed initially 2016-11-14 15:12:55 -08:00
kubelet_perf.go Use generous limits in the resource usage tracking tests 2016-11-10 18:01:58 -08:00
limit_range.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
load.go Wait for all Nodes to be schedulable before running e2e tests 2016-11-17 16:43:35 +01:00
logging_soak.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
mesos.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
metrics_grabber_test.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
monitoring.go Rename PetSet API to StatefulSet 2016-10-27 17:25:10 -07:00
namespace.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
network_partition.go Validate pet set scale up/down order 2016-11-21 11:21:32 +02:00
networking.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
networking_perf.go Use clientset in GetReadySchedulableNodesOrDie 2016-10-19 15:55:39 +02:00
node_problem_detector.go Add e2e test for NPD v0.2. 2016-11-02 21:50:59 -07:00
nodeoutofdisk.go Remove Feature label from OutOfDisk e2e test 2016-11-14 13:22:07 +01:00
opaque_resource.go Support opaque integer resource accounting. 2016-10-28 10:15:13 -07:00
pd.go include multiple versions in clientset 2016-10-29 13:30:47 -07:00
persistent_volumes.go Add multiple PV/PVC pair handling to persistent volume e2e test 2016-10-24 20:18:42 -05:00
petset.go Test case for scalling down before scale up finished 2016-11-21 11:46:34 +02:00
pod_gc.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
pods.go Made changes to DELETE API to let v1.DeleteOptions be passed in as a QueryParameter 2016-11-03 15:53:04 -07:00
portforward.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
pre_stop.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
proxy.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
rc.go Replica set/rc controller changes for Conditions 2016-11-02 10:30:09 +01:00
reboot.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
replica_set.go Replica set/rc controller changes for Conditions 2016-11-02 10:30:09 +01:00
rescheduler.go Modifies Rescheduler e2e test for the new dashboard addon 2016-11-09 09:17:05 -08:00
resize_nodes.go Added a sleep for the podGC to catch up. 2016-11-03 16:55:38 -07:00
resource_quota.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
restart.go Filter out non-RestartAlways mirror pod in restart test. 2016-11-21 01:43:14 -08:00
scheduler_predicates.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
security_context.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
service.go Extend test timeout for LB creation in large clusters 2016-11-08 15:08:14 +01:00
service_accounts.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
service_latency.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
serviceloadbalancers.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
ssh.go Use clientset in GetReadySchedulableNodesOrDie 2016-10-19 15:55:39 +02:00
third-party.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
ubernetes_lite.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
util_iperf.go
volume_provisioning.go Replace client with clientset in code 2016-10-23 22:00:35 +02:00
volumes.go Merge pull request #36179 from rootfs/fix-secret 2016-11-04 14:06:11 -07:00