Commit Graph

11188 Commits

Author SHA1 Message Date
SataQiu
1d8615a0a2 fix golint failures of test/e2e/lifecycle 2019-04-25 23:40:22 +08: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
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
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
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
Matthew Wong
51db6cb093 Use e2e.test instead of test/e2e in example invocations 2019-04-23 15:59:54 -04: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
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
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
Davanum Srinivas
7b8c9acc09 remove unused code
Change-Id: If821920ec8872e326b7d85437ad8d2620807799d
2019-04-19 08:36:31 -04:00
Kubernetes Prow Robot
9e6ed2713e Merge pull request #76751 from jiatongw/e2e/framework/service_util
[e2e] Remove unused function and clean up redundant code
2019-04-19 02:27:54 -07:00
Kubernetes Prow Robot
f3ec8f0d99 Merge pull request #76546 from HotelsDotCom/kep/VolumeSubpathEnvExpansion-Beta
Beta upgrade for feature gate VolumeSubpathEnvExpansion
2019-04-19 01:05:56 -07:00
Kubernetes Prow Robot
5f1a3a98d4 Merge pull request #75245 from aojea/e2e_ipv6_lifecyclehook
Add IPv6 support to the Container Lifecycle tests
2019-04-18 21:59:54 -07:00
Jiatong Wang
9f2fa7d269 Remove unused function and clean up redundant code 2019-04-18 21:08:34 -07:00
qingsenLi
23b91b8043 remove some unused const in test/e2e 2019-04-18 22:20:35 +08:00
John Schnake
028df0451d Refactor of e2e/framework/authorizer_util.go
- moves these helper functions into e2e/framework/auth
 - removes logging from helper functions
 - in some cases explicitly returns errors that were implicitly
ignored/logged. In the situations where they should be ignored,
we explicitly check that the condition is met before ignoring it.
 - fixes references of these methods to use the right package and
return values
2019-04-17 16:39:37 -05:00
Kubernetes Prow Robot
129a586cf3 Merge pull request #76083 from rramkumar1/patch-15
Remove Ingress-GCE test that verifies backend health check is not reconciled
2019-04-17 13:40:19 -07:00
Kubernetes Prow Robot
462d909f6d Merge pull request #75244 from aojea/e2e_ipv6_health
Add ipv6 support to the e2e healthz test
2019-04-17 13:40:04 -07:00
Kubernetes Prow Robot
23e6f80304 Merge pull request #76132 from SataQiu/fix-e2e-apps-golint-20190404
Fix golint failures of test/e2e/apps
2019-04-17 12:16:04 -07:00
Kubernetes Prow Robot
6c55e2d206 Merge pull request #76523 from msau42/csi-beta-e2e
update to csi e2es to use official images
2019-04-17 10:44:23 -07:00
SataQiu
03180ec2b2 fix golint failures of test/e2e/apps 2019-04-17 19:04:51 +08:00
Akihito INOH
85f21c16ac Fix golint failures of e2e/framework/util.go - part2
This is a part of a series for fixing golint failures for util.go.
- fixes golint failures from line 1395 to line 2353 at original util.go

This fixes golint failures of the following file:
- test/e2e/framework/util.go

This changes following files because of change function name
in above file.
- test/e2e/apps/rc.go
- test/e2e/apps/replica_set.go
2019-04-17 19:00:12 +09:00
Akihito INOH
9d0bc4b8df Fix golint failures of e2e/framework/util.go - part1
This is a part of a series for fixing golint failures for util.go.
- fixes `should not use dot imports` about `ginkgo` and `gomega`
- fixes golint failures from top of file to line 1394 at original util.go

This fixes golint failures of the following file:
- test/e2e/framework/util.go

This changes following files because of change function name
in above file.
- test/e2e/e2e.go
- test/e2e/network/network_tiers.go
- test/e2e/network/service.go
2019-04-17 18:07:01 +09:00
Kevin Taylor
bb5b4ad0b2 Beta upgrade for feature date VolumeSubpathEnvExpansion 2019-04-17 07:41:00 +01:00
Kubernetes Prow Robot
92e087c402 Merge pull request #75989 from neolit123/remove-aggregator-from-e2e-fw
[e2e] decouple the aggregated clientset from the e2e testing framework
2019-04-16 16:20:09 -07:00
Kubernetes Prow Robot
a81a8b6529 Merge pull request #75066 from aojea/e2e_ipv6_conn
Use IP addresses to test external connectivity
2019-04-16 16:19:53 -07:00
Yongkun Gui
5168e6277f Add e2e for connection reset issue
Regression test for #74839
2019-04-16 13:34:42 -07:00
Kubernetes Prow Robot
0dc281df04 Merge pull request #76631 from andrewsykim/refactor-framework-util
remove unused functions & types in test/e2e/framework/util.go
2019-04-16 10:27:44 -07:00
Lubomir I. Ivanov
760a825f7c e2e-test-framework: decouple the aggregated clientset from the framework
Remove usage of the aggregated clientset in the e2e testing framework
itself. We have one test that consumes the clientset in the suite
and it's in test/e2e/apimachinery/aggregator.go, which was recently
promoted to conformance in 8101b86.

This test now obtains a local copy of the aggregated clientset.
The suite still has to compile the internal client in.
One possible solution here is to move this test in a separate suite,
yet it's unclear of how to tackle the problem now that the test
has to run as part of the conformance suite.
2019-04-16 18:05:09 +03:00
Kubernetes Prow Robot
99e61466ab Merge pull request #76637 from mm4tt/test_network
Add missing node.address != "" condition in tests
2019-04-16 02:12:17 -07:00
Kubernetes Prow Robot
03c5079ac1 Merge pull request #75134 from mgdevstack/promote-runtime-3
Promote container runtime e2e verifying termination message
2019-04-16 02:11:44 -07:00
Kubernetes Prow Robot
35669df1ab Merge pull request #76066 from SataQiu/golint-test-20190403
Fix golint failures of e2e/apimachinery
2019-04-15 23:31:22 -07:00
SataQiu
91bd1ac1ea fix golint failures of test/e2e/apimachinery 2019-04-16 19:03:26 +08:00
Matt Matejczyk
618d6771f8 Add missing node.address != "" condition in tests
It turns out to be a frequent bug that is revealed when nodes don't have
external IP addresses. In the test we assume that in such case there
won't be any addresses of type 'NodeExternalIp', which is invalid. In
such case there will be an address of type 'NodeExternalIP', but with
the empty 'Address' field.

Ref. https://github.com/kubernetes/kubernetes/issues/76374
2019-04-16 08:13:43 +02:00
Kubernetes Prow Robot
7609d1d49e Merge pull request #76577 from jiatongw/upgrade
[e2e] Clean up e2e/framework/upgrade_util.go
2019-04-15 21:01:05 -07:00
Kubernetes Prow Robot
34cfa7b5fa Merge pull request #76607 from mattjmcnaughton/mattjmcnaughton/fix-typo-in-kube-proxy-migration-e2e-test
Fix typo in kube-proxy-migration-e2e test
2019-04-15 18:05:51 -07:00
Kubernetes Prow Robot
9217cb5b6e Merge pull request #76350 from jpbetz/watch-consistency-conformance
Promote 'watch-consistency' e2e test to be a conformance test
2019-04-15 18:05:20 -07:00
Andrew Sy Kim
71e5980ad4 remove unused functions & types in test/e2e/framework/util.go
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-04-15 19:21:39 -04:00