Commit Graph

14 Commits (c8a87d3a62cd8a7585ff2a51dceb5ac1f845c0c4)

Author SHA1 Message Date
Michelle Au f2887af4f5 Move pv_util.go into framework package so that it can be used in tests
not in the e2e package.
2017-02-16 20:48:06 -08:00
Kubernetes Submit Queue b1e669cae7 Merge pull request #40879 from copejon/pv-e2e-unique-nfs-vol
Automatic merge from submit-queue (batch tested with PRs 40289, 40877, 40879, 39972, 40942)

PV E2E: provide each spec with a fresh nfs host

**What this PR does / why we need it**:
PersistentVolume e2e currently reuses an NFS host pod created at the start of the suite and accessed by each test.  This is far less favorable than using a fresh volume per test.  Additionally, this guards against the volume host pod or it's kubelet being disrupted, which has led to flakes.

```release-note-none
```
2017-02-04 04:43:07 -08:00
Jon Cope d1ab959bf4 Change NFS host pod to recreate per It() 2017-02-03 15:30:37 -06:00
Jon Cope 54072bf530 Add [Flaky] to persistent volumes tests 2017-02-03 12:26:20 -06:00
Kubernetes Submit Queue a17c93627c Merge pull request #40609 from copejon/pv-e2e-remove-flaky
Automatic merge from submit-queue (batch tested with PRs 40527, 40738, 39366, 40609, 40748)

Removed Flaky tag from PV e2e, added [Volume] to disruptive PV e2e

**What this PR does / why we need it**:
Removes `[Flaky]` from PV e2e testing.  Flakes were due to interference from an external test disrupting a cluster node.  The test has been [removed](9f36c032de) and the flakes have [cleared](https://k8s-testgrid.appspot.com/google-gce#gce-flaky).

Secondly, added `[Volume]` tag to PV disruptive tests.

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

**Release note**:
NONE
```release-note
```
2017-01-31 15:49:45 -08:00
Jeff Vance 7707aac2ea refactor pv code for readability 2017-01-30 18:12:53 -08:00
Jon Cope 00a1cbd2dc Removed Flaky tag from PV e2e, added [Volume] to disruptive PV e2e 2017-01-27 10:04:36 -06:00
Clayton Coleman 469df12038
refactor: move ListOptions references to metav1 2017-01-23 17:52:46 -05:00
deads2k 6a4d5cd7cc start the apimachinery repo 2017-01-11 09:09:48 -05:00
Jan Safranek 309311fb3d e2e: Use sudo to start/stop kubelet service
It seems that user 'jenkins' does not have permissions to manage services.
2017-01-03 12:10:46 +01:00
Jon Cope da604ad9fa Made server images paths constant, removed redundant import alias 2016-12-20 14:11:38 -06:00
Jon Cope 30a296be82 camel case constants, tweak function documentation 2016-12-20 14:11:37 -06:00
Jon Cope a2b7193a09 minor fixes: changed string.Contains to mount | grep, nil pod, pv, pvc in AfterEach, set clientNodeIP in BeforeEach 2016-12-20 14:11:37 -06:00
Jon Cope 7d5305718d Add PV E2E: disruptive environment tests
Tweaked 'delete pod during stopped kubelet' test to check for mount

Refactor start, stop, restart funcs into 1 func
2016-12-20 14:11:37 -06:00