k3s/cluster/gce
Kubernetes Submit Queue c0c74918c3
Merge pull request #58184 from yguo0905/hostexec
Automatic merge from submit-queue. 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>.

e2e test: use sleep to wait in hostexec

**What this PR does / why we need it**:

The test image hostexec waits forever by reading a named pipe that nobody writes.
09cf6c9776/test/images/hostexec/Dockerfile (L25)

Because of https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=c6c70f4455d1eda91065e93cc4f7eddf4499b105, on OS images with kernel 4.11+, the wait will be interrupted unexpectedly.

```
ygg@ubuntu-gke-1604-xenial-v20171222-vm:~$ sudo docker run -d gcr.io/kubernetes-e2e-test-images/hostexec-amd64:1.0
a428c06ebd3b9a13504e453107d3fb69e859f731cae3ca0fdf898a646e394632
ygg@ubuntu-gke-1604-xenial-v20171222-vm:~$ sudo docker exec -it a428c06ebd /bin/sh
/ # timeout -t 1 cat
Terminated
ygg@ubuntu-gke-1604-xenial-v20171222-vm:~$ sudo docker logs a428c06ebd        
/bin/sh: can't open /fifo: Interrupted system call
```

Changed to use `sleep` to avoid this issue.

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

This PR fixes the test failure in https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/ci-kubernetes-e2e-gke-ubuntustable1-k8sstable1-reboot/3140

**Special notes for your reviewer**:

**Release note**:

```
None
```
2018-02-05 13:15:33 -08:00
..
addons fix typo in cluster 2018-02-03 11:08:06 +08:00
gci Merge pull request #59259 from wojtek-t/configurable_quota_backend_bytes 2018-02-02 17:17:45 -08:00
manifests Merge pull request #58184 from yguo0905/hostexec 2018-02-05 13:15:33 -08:00
BUILD Use the pkg_tar wrapper from kubernetes/repo-infra 2018-01-18 17:10:16 -08:00
OWNERS Add mwielgus and MaciekPytel to GCE owners 2018-02-02 16:56:18 +01:00
config-common.sh Add comment to gce config files advising to not use empty scopes 2017-12-18 11:33:21 -08:00
config-default.sh fix typo in cluster 2018-02-03 11:08:06 +08:00
config-test.sh Merge pull request #59143 from halfcrazy/typo-cluster 2018-02-05 10:47:54 -08:00
cos Symlink cluster/gce/cos to cluster/gce/gci 2017-03-15 15:31:51 -07:00
custom add folder named custom in gce 2018-01-05 15:36:53 -08:00
delete-stranded-load-balancers.sh Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
list-resources.sh Switch away from gcloud deprecated flags in compute resource listings 2017-08-30 06:41:09 +01:00
ubuntu Makes cluster/gce/ubuntu to be a symlink to cluster/gce/gci and changes the gci's [master|node].yaml to enable kubernetes.target. 2017-04-25 16:19:00 -07:00
upgrade-aliases.sh A couple of more changes: 1) revert the changes on assigning subnetwork_url from selfLink as it may break if using an overrided api endpoint; 2) update etcd version to the latest. 2018-01-19 15:51:50 -08:00
upgrade.sh fix typo in cluster 2018-02-03 11:08:06 +08:00
util.sh cluster: remove kube-registry-proxy 2018-02-01 07:23:50 -08:00