Commit Graph

1887 Commits (52f3380ef3a5d5de4d75ff92defd1c9af9d775bc)

Author SHA1 Message Date
Kubernetes Prow Robot 350c309da4
Merge pull request #78284 from SataQiu/test-e2e-refactor-20190524
[e2e] Refactor: cleanup Logf from framework/util
2019-05-29 05:33:15 -07:00
qingsenLi f98bbdec32 fix a little spelling error 2019-05-28 01:38:44 +08:00
SataQiu d3a902ff5b e2e refactor: cleanup Logf form framework/util 2019-05-24 16:39:46 +08:00
Kubernetes Prow Robot 2fd1556eb3
Merge pull request #77720 from jiatongw/e2e/framework/service_util
Move service_util endpoints related functions to framework/endpoints/ports.go
2019-05-21 11:40:21 -07:00
Kubernetes Prow Robot b049dfaa59
Merge pull request #77343 from johnSchnake/removeGKE-SAR-404-path
GKE also requires SAR endpoints
2019-05-20 13:21:13 -07:00
Jiatong Wang 76f76450ca Move service_util endpoints related to framework/endpoints
Signed-off-by: Jiatong Wang <wangjiatong@vmware.com>
2019-05-20 11:47:38 -07:00
Richard Chen 2a70a0b424 Add an e2e test for running a gpu job interrupted by node recreation. 2019-05-16 11:41:01 -07:00
Kubernetes Prow Robot 34aa283c65
Merge pull request #77643 from atoato88/fix-golint-e2e-framework-asterisk
Fix golint failures of e2e/framework/*.go
2019-05-16 01:10:21 -07:00
Kubernetes Prow Robot 47cef03dab
Merge pull request #77748 from yuwenma/etcd-release
Update etcd* version to use latest released images.
2019-05-15 00:04:35 -07:00
Yuwen Ma 1f0f050fde Update etcd* version to use latest released images. 2019-05-13 17:28:40 -07:00
Akihito INOH dddc6a53d4 Fix golint failures of e2e/framework/*.go
This fixes golint failures of the following files:
- test/e2e/framework/networking_utils.go
- test/e2e/framework/service_util.go
- test/e2e/framework/util.go

All golint failures in test/e2e/framework are fixed at this commit.
Remove 'test/e2e/framework' from 'hack/.golint_failures'
2019-05-14 07:04:57 +09:00
Kubernetes Prow Robot 33f44a29b8
Merge pull request #77617 from cmluciano/cml/extensiontonetworking
ingress: migrate extensions.Ingress to networking.Ingress
2019-05-10 17:56:12 -07:00
Kubernetes Prow Robot e1f0526934
Merge pull request #77742 from deads2k/test-debug
improve e2e namespace dumping on failure
2019-05-10 13:00:45 -07:00
Christopher M. Luciano d9e4933da3
ingress: migrate extensions.Ingress to networking.Ingress
This is a find/replace within my editor. I made the import
networkingv1beta1 so that it will be easier to replace for
the future v1 migration.

Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2019-05-10 13:18:53 -04:00
David Eads d503cba375 improve e2e namespace dumping on failure 2019-05-10 10:11:24 -04:00
W. Trevor King 96b04bfeac test/e2e/upgrades/apps/job: List Pods in failure message
Currently, this test can fail with the not-very-helpful [1,2]:

  fail [k8s.io/kubernetes/test/e2e/upgrades/apps/job.go:58]: Expected
      <bool>: false
  to be true

Since this test is the only CheckForAllJobPodsRunning consumer, and
has been since CheckForAllJobPodsRunning landed in 116eda0909
(Implements an upgrade test for Job, 2017-02-22, #41271), this commit
refactors the function to EnsureJobPodsRunning, dropping the opaque
boolean, and constructing a useful error summarizing the divergence
from the expected parallelism and the status of listed Pods.

Thanks to Maciej Szulik for the fixups [3] :).

[1]: https://storage.googleapis.com/origin-ci-test/logs/release-openshift-origin-installer-e2e-aws-upgrade/1434/build-log.txt
[2]: https://bugzilla.redhat.com/show_bug.cgi?id=1708454#c0
[3]: https://github.com/wking/kubernetes/pull/1
2019-05-10 06:09:36 -07:00
Kubernetes Prow Robot 69b52633cc
Merge pull request #77605 from pohly/multivolume-storage-class-fix
Multivolume storage class fix
2019-05-09 15:48:22 -07:00
Kubernetes Prow Robot b27fe7f4b9
Merge pull request #74314 from oomichi/add-ExpectError
Add ExpectError() to e2e test framework
2019-05-09 15:47:57 -07:00
Kenichi Omichi 436544488b Add ExpectError() to e2e test framework
There is a lot of gomega.Expect(err).To(gomega.HaveOccurred()) callers
which expect an error happens in e2e tests.
However these test code seems confusing because the code readers
need to take care of To() or NotTo() on each test scenario.
This adds ExpectError() for more readable test code.
In addition, this applies ExpectError() to e2e provisioning.go as a
sample.
2019-05-08 17:40:12 +00:00
John Schnake 338bc3ce42 Move framework ssh code to new package
The framework/ssh.go code was heavily used throughout the framework
and could be useful elsewhere but reusing those methods requires
importing all of the framework.

Extracting these methods to their own package for reuse.

Only a few methods had to be copied into this package from the
rest of the framework to avoid an import cycle.
2019-05-08 11:00:36 -05:00
Patrick Ohly 62c5c6345e Revert "Make external driver storage class name generation contain a more random suffix in case of double generation in the same framework context (twice in the same test)"
This reverts commit c50e7fd301 because
it included API changes that shouldn't have been in that PR and
fixing the storage class conflict inside the framework is probably the
wrong place.
2019-05-08 17:28:13 +02:00
Kubernetes Prow Robot 086a86b9e2
Merge pull request #77525 from davidz627/fix/externalMulti
Make external driver name generation contain a more random suffix in case of double generation in the same framework context (twice in the same test)
2019-05-08 04:54:48 -07:00
Kubernetes Prow Robot 7aa57df279
Merge pull request #77374 from cheftako/gce-staging
Staging the GCE Cloud Provider
2019-05-07 17:52:32 -07:00
David Zhu c50e7fd301 Make external driver storage class name generation contain a more random suffix in case of double generation in the same framework context (twice in the same test) 2019-05-07 14:37:06 -07:00
Kubernetes Prow Robot eacae8540a
Merge pull request #76508 from bclau/tests/agnhost-custom-dns-test
tests: Adds configurable pod DNS nameservers and search list test
2019-05-07 14:30:49 -07:00
Walter Fender 796097ae40 Staging the GCE Cloud Provider
**What type of PR is this?**
/kind cleanup

**What this PR does / why we need it**:
Staging the GCE Cloud Provider as part of KEP [20190125-removing-in-tree-providers](https://github.com/kubernetes/enhancements/blob/master/keps/sig-cloud-provider/20190125-removing-in-tree-providers.md). Staging repo setup here https://github.com/kubernetes/legacy-cloud-providers
Moves the GCE cloud provider implementation to staging.
This is in preparation for moving the cloud provider code out of tree entirely.
However we need it in staging while the code needs to be consumed both in/out of tree.

**Which issue(s) this PR fixes**:
Fixes #

**Special notes for your reviewer**:

**Does this PR introduce a user-facing change?**:

```
NONE
```

Updated import dependency tracking.
Factored in the cleanup from #77412
Minor fix to go.mod.
2019-05-07 13:17:52 -07:00
Kubernetes Prow Robot d2b8f3e145
Merge pull request #77034 from atoato88/fix-golint-e2e-framework-providers-gce
Fix golint failures of e2e/framework/providers/gce/recreate_node.go
2019-05-06 19:17:40 -07:00
Kubernetes Prow Robot c9dda348e3
Merge pull request #77016 from jiatongw/e2e/framework/upgrade
[e2e] Move framework/upgrade_util.go to framework/lifecycle/upgrade.go
2019-05-06 17:07:41 -07:00
Mike Crute 6f5cf1a6e0 Staging legacy AWS cloud provider 2019-05-06 09:34:13 -07:00
danielqsj 6fc04b696c remove redundant else block 2019-05-06 13:43:33 +08:00
Jorge Alarcon Ochoa dc619067d9 Refeactored framework deployment utils
This is the continuation of the refactoring of framework/deployment_utils.go
into framework/deployment.

Signed-off-by: Jorge Alarcon Ochoa <alarcj137@gmail.com>
2019-05-03 18:00:53 -04:00
Jiatong Wang 30322ba93d Move framework/upgrade_util.go to framework/lifecycle/upgrade.go
Signed-off-by: Jiatong Wang <wangjiatong@vmware.com>
2019-05-03 12:14:31 -07:00
Akihito INOH 2562d4d0fd Fix golint failures of e2e/framework/providers/gce/recreate_node.go
This fixes golint failures of the following file:

test/e2e/framework/providers/gce/recreate_node.go

And also, replaces functions using gomega with framework functions.
2019-05-03 07:20:37 +09:00
John Schnake 3853a0ecd9 GKE also requires SAR endpoints
There was a specific error flow that was commented as only applying
to GKE. This was never tested specifically for GKE (only commented
as such) but that seems to be out of date and can be removed. If
the SAR endpoint does not exist it should be considered an error.
2019-05-02 10:20:49 -05:00
Claudiu Belu a7598c791f tests: Adds configurable pod DNS nameservers and search list test
This test creates a pod with custom DNS configurations and expects
them to be set in the containers.

The test pod is using the agnhost image, which can output the container's
DNS configurations that the test checks.
2019-05-01 20:52:20 -07:00
draveness f3d444d44e feat: add logger package in test e2e framework 2019-04-30 11:47:47 +08:00
draveness 774c15f2be refactor: move wait for endpoints to new pkg 2019-04-27 22:05:39 +08:00
Kubernetes Prow Robot 62219e1f66
Merge pull request #76978 from alejandrox1/framework-deployment-refactor
Refeactored framework deployment utils
2019-04-26 10:38:38 -07:00
Stephen Augustus 2f74c90480 Staging the legacy Azure Cloud Provider
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2019-04-25 20:03:45 -04:00
Kubernetes Prow Robot ed2ab71710
Merge pull request #75237 from aojea/ipv6_downward
Add IPv6 support to the Downward e2e API test
2019-04-25 13:36:42 -07:00
Jorge Alarcon Ochoa 8200ae6279 Refeactored framework deployment utils
xref: #76206

Signed-off-by: Jorge Alarcon Ochoa <alarcj137@gmail.com>
2019-04-24 19:28:03 -04:00
Antonio Ojea d528944a03
Add more strict IPv6 regex
Previous IPv6 regex was too loose, this patchs adds a better and
more strict regex for IPv6 addresses and makes the IPv4 and IPv6
regex availables as constants inside the framework pkg
2019-04-24 23:37:24 +02:00
Joachim Bartosik 74bd4d643a Detect zone of MIG in e2e VPA tests
I was running e2e VPA tests and some were failing because the tests
assume thata they're running on:
- zonal single-zone cluster, or
- regional multi-zone cluster.

And I was running them on regional, single-zoned cluster.

Change-Id: I110a70d2249f981b60cf76d1ad674ccfcedd8fb3
2019-04-24 16:11:53 +02:00
Kubernetes Prow Robot 85b7323dbc
Merge pull request #76705 from atoato88/fix-golint-e2e-framework-util-go-part3
Fix golint failures of e2e/framework/util.go - part3
2019-04-23 19:08:00 -07:00
Kubernetes Prow Robot 4098347433
Merge pull request #76488 from atoato88/fix-golint-e2e-framework-util-go-part2
Fix golint failures of e2e/framework/util.go - part2
2019-04-23 14:02:12 -07:00
Kubernetes Prow Robot 56d7912939
Merge pull request #76348 from atoato88/fix-golint-e2e-framework-util-go
Fix golint failures of e2e/framework/util.go - part1
2019-04-23 14:02:01 -07:00
Akihito INOH 31046bbf52 Fix golint failures of e2e/framework/util.go - part3
This is a part of a series for fixing golint failures for util.go.
- fixes golint failures from line 2354 to line 3685 at original util.go

This fixes golint failures of the following file:
- test/e2e/framework/util.go
2019-04-24 02:16:06 +09:00
Kubernetes Prow Robot dc08b6b275
Merge pull request #76625 from gnufied/skip-if-no-default-sc
Skip storage tests that depend on default SC - if no default SC is found
2019-04-22 14:37:45 -07:00
Hemant Kumar 6fee8a7727 Skip pvc protection tests if no default SC is found
Other tests that check for default storageclass also
check for cloudprovider such as gce, aws and openstack
and hence are already skipped in bare metal environments.

But this particular test keeps failing because no such check exists.
2019-04-22 14:51:04 -04:00
Kubernetes Prow Robot f3ca66ad23
Merge pull request #76745 from atoato88/fix-golint-e2e-framework-util-go-part4
Fix golint failures of e2e/framework/util.go - part4
2019-04-19 20:29:58 -07:00