kubernetes/test/e2e
Kubernetes Submit Queue bc2f049067 Merge pull request #50332 from ianchakeres/local-e2e-mntpnt
Automatic merge from submit-queue (batch tested with PRs 50670, 50332)

e2e test for local storage mount point

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

We discovered that kubernetes can treat local directories and actual mountpoints differently. For example, https://github.com/kubernetes/kubernetes/issues/48331. The current local storage e2e tests use directories.

This PR introduces a test that creates a tmpfs and mounts it, and runs one of the local storage e2e tests.

**Which issue this PR fixes**: fixes https://github.com/kubernetes/kubernetes/issues/49126

**Special notes for your reviewer**:

I cherrypicked PR https://github.com/kubernetes/kubernetes/pull/50177, since local storage e2e tests are broken in master on 2017-08-08 due to "no such host" error. This PR replaces NodeExec with SSH commands.

You can run the tests using the following commands:
``` 
$ NUM_NODES=1 KUBE_FEATURE_GATES="PersistentLocalVolumes=true" go run hack/e2e.go -- -v --up
$ go run hack/e2e.go -- -v --test --test_args="--ginkgo.focus=\[Feature:LocalPersistentVolumes\]"
```

Here are the summary of results from my test run:
```
Ran 9 of 651 Specs in 387.905 seconds
SUCCESS! -- 9 Passed | 0 Failed | 0 Pending | 642 Skipped PASS

Ginkgo ran 1 suite in 6m29.369318483s
Test Suite Passed
2017/08/08 11:54:01 util.go:133: Step './hack/ginkgo-e2e.sh --ginkgo.focus=\[Feature:LocalPersistentVolumes\]' finished in 6m32.077462612s
```

**Release note**:
`NONE`
2017-08-16 01:38:08 -07:00
..
apimachinery move retry to client-go 2017-08-14 14:16:26 -07:00
apps Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
auth Migrate sig-auth e2e tests. 2017-08-14 09:39:54 -07:00
autoscaling Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
chaosmonkey Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
common Use Describe to add prefix 2017-08-14 22:44:41 +08:00
framework move KubeletConfiguration out of componentconfig API group 2017-08-15 08:12:42 -07:00
generated Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
instrumentation Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
kubectl Merge pull request #50508 from YuxiJin-tobeyjin/kubectltypo 2017-08-11 20:37:56 -07:00
lifecycle Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
manifest Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
network update clientset.Core() to clientset.CoreV1() in test 2017-08-14 16:53:55 +08:00
node Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
perftype Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
scalability Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
scheduling update clientset.Core() to clientset.CoreV1() in test 2017-08-14 16:53:55 +08:00
storage Merge pull request #50332 from ianchakeres/local-e2e-mntpnt 2017-08-16 01:38:08 -07:00
testing-manifests Merge pull request #48366 from wongma7/flex-e2e 2017-08-04 14:29:34 -07:00
upgrades Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
BUILD Migrate sig-auth e2e tests. 2017-08-14 09:39:54 -07:00
dashboard.go refactor: move ListOptions references to metav1 2017-01-23 17:52:46 -05:00
e2e-example-config.json
e2e.go move logs to kubectl/util 2017-08-10 11:30:26 -07:00
e2e_test.go Migrate sig-auth e2e tests. 2017-08-14 09:39:54 -07:00
events.go run hack/update-all 2017-06-22 11:31:03 -07:00
example_cluster_dns.go Scripted migration from clientset_generated to client-go. 2017-07-17 15:05:37 -07:00
examples.go Add rbac.authorization.k8s.io/v1 2017-08-09 17:04:54 -04:00
generated_clientset.go use the core client with version 2017-07-26 19:16:02 +08:00
gke_local_ssd.go Migrate api.Registry to testapi.Groups in tests. 2017-07-17 15:05:38 -07:00
gke_node_pools.go
limit_range.go Merge pull request #47403 from zhangxiaoyu-zidif/e2e-delete-meaningless-check 2017-06-23 02:59:23 -07:00
network_partition.go Use AppsV1beta1 instead of Apps clienset 2017-07-20 14:16:42 -07:00
pod_gc.go run hack/update-all 2017-06-22 11:31:03 -07:00
podpreset.go Scripted migration from clientset_generated to client-go. 2017-07-17 15:05:37 -07:00
pods.go run hack/update-all 2017-06-22 11:31:03 -07:00
pre_stop.go Scripted migration from clientset_generated to client-go. 2017-07-17 15:05:37 -07:00
README.md Update docs/ URLs to point to proper locations 2017-06-05 22:13:54 -07:00
resource_quota.go Scripted migration from clientset_generated to client-go. 2017-07-17 15:05:37 -07:00
ssh.go Run SSH e2e test only if SSH keys are present 2017-05-01 11:04:54 -04:00
taints_test.go update clientset.Core() to clientset.CoreV1() in test 2017-08-14 16:53:55 +08:00
ubernetes_lite.go Scripted migration from clientset_generated to client-go. 2017-07-17 15:05:37 -07:00