kubernetes/test
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
..
e2e Merge pull request #50332 from ianchakeres/local-e2e-mntpnt 2017-08-16 01:38:08 -07:00
e2e_federation Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
e2e_node move KubeletConfiguration out of componentconfig API group 2017-08-15 08:12:42 -07:00
fixtures Flag support in kubectl plugins 2017-07-18 15:35:40 -03:00
images Merge pull request #49951 from mkumatag/multiarch_nonewprivs 2017-08-11 20:37:54 -07:00
integration move KubeletConfiguration out of componentconfig API group 2017-08-15 08:12:42 -07:00
kubemark Merge pull request #50506 from bskiba/external_config 2017-08-11 20:38:01 -07:00
list Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
soak Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
utils Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
BUILD Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
OWNERS Add sig-testing OWNERS_ALIASES 2017-07-25 11:05:18 -07:00
test_owners.csv Update generated files 2017-08-15 11:56:46 +02:00
test_owners.json remove deprecated flags LowDiskSpaceThresholdMB and OutOfDiskTransitionFrequency 2017-07-20 13:23:13 -07:00