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
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
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
Jordan Liggitt
2fae80c27c
Preserve existing namespace when using kubectl set --local
2019-04-30 10:39:29 -04:00
Kubernetes Prow Robot
cf22c56c7f
Merge pull request #75848 from bsalamat/framework_update
...
Implement/update interfaces and skeleton for the scheduling framework
2019-04-30 00:03:36 -07:00
draveness
f3d444d44e
feat: add logger package in test e2e framework
2019-04-30 11:47:47 +08:00
Bobby (Babak) Salamat
83828bcb2d
autogenerated files
2019-04-29 16:40:56 -07:00
Bobby (Babak) Salamat
77824f5135
Change scheduler constructors to receive a plugin registry.
2019-04-29 16:40:56 -07:00
Bobby (Babak) Salamat
404dc1ed79
Update scheduler framework plugins to align with the latest changes to the framework design
2019-04-29 16:40:56 -07: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
9b437f9520
Merge pull request #76909 from Huang-Wei/fix-iks-kubemark
...
kubemark: fix and enhance kubemark scripts for IKS
2019-04-29 06:30:23 -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
63ee026980
Merge pull request #77143 from guineveresaenger/lintflake
...
Addresses linter complaint in broken_webhook test file
2019-04-26 17:14:45 -07:00
Kubernetes Prow Robot
ce9a2c800e
Merge pull request #76468 from julianvmodesto/ssa-cross-gv-test
...
Adds an integration test for cross group-version server-side apply
2019-04-26 17:14:33 -07:00
guineveresaenger
9ecf58c42e
Fixes flaky linter complaint in broken_webhook test file
2019-04-26 13:57:55 -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
Wei Huang
fbec01dc71
kubemark: fix and enhance kubemark scripts for IKS
...
- fix shell script issues
- `bx` is deprecated; rename to `ibmcloud`
- remove unnecessay variable replacement in hollow-node_template.yaml
- add replacement logic for HOLLOW_KUBELET_TEST_ARGS and HOLLOW_PROXY_TEST_ARGS
- don't hardcode KUBEMARK_IMAGE_REGISTRY to brandondr96
- make cluster number and spec configurable
- make number and spec of workers configurable
- separate NUM_NODES and KUBEMARK_NUM_NODES
2019-04-26 10:15:29 -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
Julian V. Modesto
5303f431cb
Add tests for cross group-version SSA.
...
- Use apps/v1 APIs in integration tests.
As in https://github.com/kubernetes/kubernetes/pull/75302
- Add test for cross group-version server side apply.
https://github.com/kubernetes/kubernetes/pull/75157
- Add test for version conversion in the field manager.
https://github.com/kubernetes/kubernetes/pull/75151
Follow up to https://github.com/kubernetes/kubernetes/pull/75302 .
Addresses https://github.com/kubernetes/kubernetes/issues/73723 .
2019-04-25 22:01:28 -04: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
a7a6bf4386
Merge pull request #77091 from apelisse/apelisse-approver-test
...
Add apelisse as approvers for apiserver integration tests
2019-04-25 16:11:12 -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
Antoine Pelisse
83c734363e
Add apelisse as approvers for apiserver integration tests
2019-04-25 11:02:58 -07:00
SataQiu
1d8615a0a2
fix golint failures of test/e2e/lifecycle
2019-04-25 23:40:22 +08:00
Claudiu Belu
53df13ac22
Uses the resource-consumer/controller image instead of resource-consumer-controller
...
Dockerhub does not support slashes in the image names, so when the tests are
configured to use a dockerhub registry instead of the current
gcr.io/kubernetes-e2e-test-images registry, the tests using the mentioned image
will fail, as the image cannot exist and cannot be pulled.
2019-04-25 05:17:25 -07:00
Ahmad Nurus S
0c39d7d380
Kubectl exec support resource/name format
2019-04-25 17:44:01 +07:00
toyoda
bee9676d50
fix golint failure test/e2e/common/pods.go
2019-04-25 16:39:21 +09:00
Kubernetes Prow Robot
e4a57b77ec
Merge pull request #76719 from bertinatto/fix_vsphere_size
...
Fix Vsphere rouding up of volume size
2019-04-24 16:50:46 -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
Kubernetes Prow Robot
6cd85298c5
Merge pull request #75566 from jiayingz/gpu-test-update
...
Update test/e2e/scheduling/nvidia-gpus to also run cuda10 vector add.
2019-04-24 14:20:47 -07:00
Kubernetes Prow Robot
dc05e1e412
Merge pull request #76824 from wojtek-t/cleanup_protobuf_contenttype
...
Cleanup content-type protobuf constants
2019-04-24 12:25:02 -07:00
wojtekt
b48cc43eff
Cleanup content-type protobuf constants
2019-04-24 17:11: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
Fabio Bertinatto
d98db30d15
Change Vsphere e2e test to verify rounded PV size instead
2019-04-24 13:42:16 +02:00
Kubernetes Prow Robot
d1e7bb297c
Merge pull request #60771 from jennybuckley/kube-up-broken-webhook
...
Use semantic equality in client ca post start hook
2019-04-24 01:24:01 -07:00
Kubernetes Prow Robot
c7cd03cc38
Merge pull request #76900 from SataQiu/fix-shellcheck-test-20190422
...
Fix shellcheck failures of test/e2e_node/environment/setup_host.sh
2019-04-23 23:50:39 -07:00
Kubernetes Prow Robot
279d4e1ca3
Merge pull request #76959 from sbezverk/non_persistent_objects
...
webhook integration tests for non persistent resources
2019-04-23 20:28:23 -07:00
Kubernetes Prow Robot
c1703864e7
Merge pull request #76934 from wongma7/ginkgo-e2etest
...
Use e2e.test binary instead of test/e2e in example invocations
2019-04-23 19:08:34 -07:00
Kubernetes Prow Robot
1b8d0abe29
Merge pull request #76911 from sbezverk/no_admission
...
test for exempted from admission validation/mutation objects
2019-04-23 19:08:11 -07: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
Serguei Bezverkhi
6fe28ee957
Adding non persistent review test
...
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2019-04-23 18:02:40 -04: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
Serguei Bezverkhi
cc7700ae31
no admission logic
...
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2019-04-23 16:27:55 -04:00
Matthew Wong
51db6cb093
Use e2e.test instead of test/e2e in example invocations
2019-04-23 15:59:54 -04:00
jennybuckley
d10ee7c874
Add integration test for restarting kube-apiserver with a broken webhook
2019-04-23 12:49:28 -07:00
Kubernetes Prow Robot
90fbbee129
Merge pull request #76910 from liggitt/pod-admission
...
webhook admission tests: connect, proxy, binding, eviction
2019-04-23 12:12:00 -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
Jordan Liggitt
a4576ec5a6
Fix binding and eviction admission
2019-04-23 10:31:34 -04:00
Jordan Liggitt
4cfa5c7192
Test webhook admission - proxy subresources
2019-04-23 10:31:34 -04:00
Jordan Liggitt
cc72248203
Test webhook admission - pod connect subresources
2019-04-23 10:31:34 -04:00
Kubernetes Prow Robot
888b81b638
Merge pull request #76238 from Dieken/30s-ttl-for-coredns
...
change default 5s ttl to 30s for coredns to be same with kube-dns/dnsmasq
2019-04-23 06:20:09 -07: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
SataQiu
c892beca8b
fix shellcheck failures of test/e2e_node/environment/setup_host.sh
2019-04-22 22:08:26 +08:00
Jordan Liggitt
69042da958
Add integration tests covering admission webhooks
2019-04-20 03:33:36 -04:00
Jordan Liggitt
3bbd9b2c55
tag test/integration/apimachinery as integration test
2019-04-20 02:20:31 -04:00
Jordan Liggitt
aee1997a19
quiet integration test logs
2019-04-20 02:20:31 -04:00
Kubernetes Prow Robot
b384712024
Merge pull request #76576 from cblecker/go-1.12.4
...
Update to go 1.12.4
2019-04-19 21:53:42 -07: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
Akihito INOH
97fe60e807
Fix golint failures of e2e/framework/util.go - part4
...
This is a part of a series for fixing golint failures for util.go.
- fixes golint failures from line 3686 to end of file at original util.go
This fixes golint failures of the following file:
- test/e2e/framework/util.go
2019-04-20 08:47:37 +09:00
Kubernetes Prow Robot
29163600fe
Merge pull request #76796 from dims/remove-unused-methods
...
Remove unused code
2019-04-19 11:09:55 -07:00