Commit Graph

13660 Commits

Author SHA1 Message Date
danielqsj
6fc04b696c remove redundant else block 2019-05-06 13:43:33 +08:00
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
c516bb51e3 Merge pull request #76723 from LiliC/fix-daemonset-typo
pkg,test: Fix DaemonSet typos
2019-05-04 17: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
5f8d290346 Merge pull request #75675 from mwwolters/addon-manager-kubeconfig
Added function to create kubeconfig for addon-manager
2019-05-03 22:17:51 -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
fd5560e90a Merge pull request #75246 from aojea/e2e_ipv6_prestop
Add IPv6 support to the nettest image
2019-05-03 18:25:38 -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
Kubernetes Prow Robot
59cedcf541 Merge pull request #77411 from liggitt/fix-rc-flake
Expect the correct object type to be removed
2019-05-03 15:12:29 -07:00
Mark Wolters
1456979e93 Added function to create kubeconfig for addon-manager 2019-05-03 15:12:16 -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
Jordan Liggitt
37c9e6b444 Expect the correct object type to be removed 2019-05-03 14:10:02 -04:00
Claudiu Belu
33bc5bf6a8 tests: Adds retry to netexec connectivity check
The container might start before all the networking plumbing has
been sucessfully completed, causing the Kubernetes reachability
check to fail.

This commit adds a few retries to the connectivity check.
2019-05-03 09:51:18 -07: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
Kubernetes Prow Robot
83f769c2a3 Merge pull request #77139 from cmluciano/cml/ingressnetv1beta1default
ingress: use networking api group for default storage of ingress
2019-05-02 16:22:18 -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
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
Kubernetes Prow Robot
c3e8a434eb Merge pull request #77330 from liggitt/collapse-integration-storage-config
Collapse integration test storage setup onto actual storage config
2019-05-02 08:26:19 -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
Ruslan Gustomiasov
0069a6cf08 remove soak test cauldron 2019-05-02 13:30:47 +02: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
Jordan Liggitt
cbc9a11ffd Collapse integration test storage setup onto actual storage config 2019-05-01 21:52:55 -04: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
Christopher M. Luciano
4bac85c162 ingress: use networking api group for default storage of ingress
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>

The change to registrytest was found by liggitt to mitigate a NPE error.
This is necessary since ingress is a cohabitating resource that is not
stored in the default version for the networking resource.

Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2019-05-01 15:14:11 -04: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
Baasbank
d97b7f20f8 fixes golint errors in pkg/printers/storage
fixes golint errors in pkg/printers

fixes golint errors for pkg/printers/internalversion

implements recommended changes
2019-05-01 17:02:55 +01: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
1e015237c7 Merge pull request #77267 from liggitt/kubectl-set-local-namespace
Preserve existing namespace when using kubectl set --local
2019-04-30 16:11:21 -07:00
Zihong Zheng
037d4b3a07 Bump addon-manager to v9.0.1
- Rebase image on debian-base:v1.0.0.
2019-04-30 15:19:08 -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
Kubernetes Prow Robot
afde45abfa Merge pull request #76507 from bclau/tests/agnhost-updates
tests: agnhost image updates
2019-04-30 14:10:58 -07:00
Kubernetes Prow Robot
fb704d3410 Merge pull request #77184 from draveness/feature/refactor-logger
feat: add logger package in test e2e framework
2019-04-30 09:21:53 -07:00