Commit Graph

11188 Commits

Author SHA1 Message Date
danielqsj
142fe19f2d fix increment-decrement lint error 2019-05-06 13:14:51 +08:00
Kubernetes Prow Robot
43ce2f17cf Merge pull request #77401 from johnSchnake/frameworkLogRefactoringStorageVsphereTestSuites
Move storage tests to use the framework/log package
2019-05-05 07:19:37 -07:00
Kubernetes Prow Robot
80bbb0cde1 Merge pull request #77093 from oomichi/use-ExpectError-e2e-auth
Use framework.ExpectNoError() for e2e/auth
2019-05-04 13:47:37 -07:00
John Schnake
a6f5ebf831 Move storage tests to use the framework/log package
This is part of the transition to using framework/log instead
of the Logf inside the framework package. This will help with
import size/cycles when importing the framework or subpackages.
2019-05-04 12:50:38 -05:00
John Schnake
afc66a5487 Move scalability, upgrade, and common packages to framework/log
This is part of the transition to using framework/log instead
of the Logf inside the framework package. This will help with
import size/cycles when importing the framework or subpackages.
2019-05-04 12:45:15 -05:00
Kubernetes Prow Robot
22cf3ca0a5 Merge pull request #75952 from bclau/tests/max-backoff-tests-flakiness
tests: Solve backoff tests flakiness
2019-05-03 22:18:04 -07:00
Kubernetes Prow Robot
f4ce6b6560 Merge pull request #77373 from alejandrox1/framework-deployment-refactor
Refactored framework deployment utils
2019-05-03 19:49:37 -07:00
Kubernetes Prow Robot
7287ae6b2e Merge pull request #77054 from k-toyoda-pi/golint_test_e2e_common_pods
Fix golint failures of test/e2e/common/pods.go
2019-05-03 18:26:03 -07:00
Kubernetes Prow Robot
a26709ecee Merge pull request #76061 from towolf/dynamic-cluster.local
test/e2e/network: Honor --dns-domain in more places
2019-05-03 17:01:38 -07: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
Kubernetes Prow Robot
217e08d735 Merge pull request #77123 from k-toyoda-pi/use_expect_no_error_e2e_apps_1
use framework.ExpectNoError() for e2e/apps
2019-05-03 12:35:38 -07: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
Kenichi Omichi
52885a8ec3 Check conformance test should not call any Skip
Basically conformance test checks the target k8s cluster works all
features which are specified in each test and that should not depend
on any condition.
This adds checking that conformance test should not call any Skip
methods. And it detects the existing conformance test
"creating/deleting custom resource definition objects works"
calls framework.SkipUnlessServerVersionGTE(). So this removes the
Skip also.
2019-05-03 18:37:31 +00:00
John Schnake
2ede81c2a6 Move node, windows, and autoscaling tests to framework/log
This is part of the transition to using framework/log instead
of the Logf inside the framework package. This will help with
import size/cycles when importing the framework or subpackages.
2019-05-03 13:23:57 -05:00
Kubernetes Prow Robot
6f1fd17b7a Merge pull request #77366 from johnSchnake/frameworkLogRefactoring
Move auth and network tests to use framework/log
2019-05-03 08:53:19 -07:00
Tobias Wolf
e3299d5f6a test/e2e/network: Honor --dns-domain in more places
Try to finish what commit 4c8a65ac01 started; that is, do not assume
cluster.local is a constant base domain, when it is configurable.

This makes DNS e2e tests pass with --dns-domain, which was only being honored
for some tests, not all

Signed-off-by: Tobias Wolf <towolf@gmail.com>
2019-05-03 17:02:16 +02:00
John Schnake
0c62f751b6 Move auth and network tests to use framework/log
This is part of the transition to using framework/log instead
of the Logf inside the framework package. This will help with
import size/cycles when importing the framework or subpackages.
2019-05-03 08:41:21 -05:00
Subramanian Neelakantan
18922a3c44 Use any host that mounts the datastore to create Volume
Also, This change makes zone to work per datacenter and cleans up dummy vms.
There can be multiple datastores found for a given name. The datastore name is
unique only within a datacenter. So this commit returns a list of datastores
for a given datastore name in FindDatastoreByName() method. The calles are
responsible to handle or find the right datastore to use among those returned.
2019-05-03 16:42:41 +05:30
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
Kubernetes Prow Robot
75546a0166 Merge pull request #75591 from bclau/tests/split-hosts-entries
tests: Splits hostname from DNS test
2019-05-02 14:18:20 -07: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
Kubernetes Prow Robot
1626aa56d0 Merge pull request #77053 from SataQiu/fix-golint-test-20190425
Fix golint failures of test/e2e/lifecycle
2019-05-02 02:00:17 -07: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
Kubernetes Prow Robot
9e52832c52 Merge pull request #77317 from gnufied/fix-block-volume-resizing
Fix block volume expansion
2019-05-01 20:42:56 -07:00
Hemant Kumar
0eb68c5a22 Fix blockvolume expansion 2019-05-01 18:25:54 -04:00
Kubernetes Prow Robot
5189f24a75 Merge pull request #77315 from msau42/external-e2e
add multivolume suite to external storage test suite
2019-05-01 14:33:08 -07:00
Kubernetes Prow Robot
2b561456ce Merge pull request #77101 from davidz627/feature/migrationTest
Add testing infra for checking whether an in-tree plugin is using backend that is shimmed to CSI
2019-05-01 14:32:30 -07:00
Kubernetes Prow Robot
2c6597a5d0 Merge pull request #76750 from qingsenLi/k8s190416
remove some unused const in test/e2e
2019-05-01 13:14:33 -07:00
Michelle Au
bb8c1b144c add multivolume suite to external storage test suite
Change-Id: I59e529956e8cd40a948b2d21395b4b3c33b212bf
2019-05-01 11:35:46 -07:00
David Zhu
1271237d23 Add migration metrics checking to all test suites 2019-05-01 11:24:03 -07:00
Kubernetes Prow Robot
8f5a62af48 Merge pull request #77159 from draveness/feature/refactor-expect-no-errors
refactor: use framework.ExpectNoError instead in e2e tests
2019-05-01 08:22:57 -07:00
Kubernetes Prow Robot
aedebb23aa Merge pull request #77233 from msau42/remove-pd-external
remove pd-external from e2e config
2019-04-30 14:11:37 -07:00
draveness
f3d444d44e feat: add logger package in test e2e framework 2019-04-30 11:47:47 +08:00
Michelle Au
80471bf487 remove pd-external from e2e config
Change-Id: I1d734fcc8e8145e586b5df9acd0736c7ba0658d1
2019-04-29 15:25:14 -07:00
Kubernetes Prow Robot
4ebe11a6cb Merge pull request #76110 from DirectXMan12/infra/prune-owners
Prune directxman12 from metrics/autoscaling OWNERS
2019-04-29 14:35:36 -07:00
Kubernetes Prow Robot
306740f81c Merge pull request #77156 from draveness/feature/refactor-util-endpoints
refactor: move wait for endpoints to new pkg
2019-04-29 10:44:20 -07:00
Kubernetes Prow Robot
e5dd4521a8 Merge pull request #73664 from prksu/kubectl-exec-resource-name
Kubectl exec support resource/name format
2019-04-27 09:06:21 -07:00
draveness
774c15f2be refactor: move wait for endpoints to new pkg 2019-04-27 22:05:39 +08:00
draveness
04bb797ff6 refactor: use framework.ExpectNoError instead in e2e tests 2019-04-27 15:49:15 +08:00
Kubernetes Prow Robot
7a9e1fb7a9 Merge pull request #76218 from anfernee/regression-issue-74839
Add e2e for connection reset issue
2019-04-26 18:30:35 -07: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
toyoda
2c098b37e3 use framework.ExpectNoError() for e2e/apps 2019-04-26 19:23:12 +09:00
s-ito-ts
ad5e57b0fe Use framework.ExpectNoError() for e2e/autoscaling 2019-04-26 08:33:51 +00:00
Kubernetes Prow Robot
1c5eed4233 Merge pull request #77038 from justaugustus/legacy-cp-azure
Staging the legacy Azure Cloud Provider
2019-04-25 22:54:27 -07:00
Kubernetes Prow Robot
7289c1e97a Merge pull request #77094 from xing-yang/update_rbac
Update rbac rule for external-snapshotter e2e test
2019-04-25 20:04:36 -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
David Zhu
213cc99ead Operation generator migration metric fixes and test metrics retrieval code 2019-04-25 16:27:45 -07: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
Kenichi Omichi
a6039c46e5 Use framework.ExpectNoError() for e2e/auth
The e2e test framework has ExpectNoError() for readable test code.
This replaces Expect(err).NotTo(HaveOccurred()) with it for e2e/auth.
2019-04-25 20:23:28 +00:00
Xing Yang
61b35caf38 Update rbac rule for external-snapshotter e2e test
In the DeleteVolumeFinalizer feature in external-snapshotter,
the external-snapshotter needs to update the PVC object to
add a Finalizer if a snapshot is being created from the PVC
and delete the Finalizer after the snapshot is created.
For that reason, we need to add "update" rbac rule for the
PVC object in external-snapshot e2e test manifest file.

DeleteVolumeFinalizer PR is here. It couldn't pass e2e test
until we fix the rbac rule in e2e.
https://github.com/kubernetes-csi/external-snapshotter/pull/47
2019-04-25 12:48:25 -07:00