SataQiu
492c8c6f24
e2e: remove framework.Failf
2019-06-22 21:33:16 +08:00
Kubernetes Prow Robot
dc8b928136
Merge pull request #79162 from SataQiu/fix-test-20190619
...
Refactor: replace framework.Failf with e2elog.Failf
2019-06-21 12:17:04 -07:00
Jorge Alarcon Ochoa
4147d727a6
Refactored runtime.Object helper functions into subpkg
...
Organized functions that abstract the access of
k8s.io/apimachinery/pkg/runtime.Objects into a framework subpackge.
Signed-off-by: Jorge Alarcon Ochoa <alarcj137@gmail.com >
2019-06-20 21:42:59 -04:00
Aaron Crickenberger
9a6600f9f4
add import-alias for k8s.io/api/storage/v1
2019-06-20 11:40:57 -07:00
Aaron Crickenberger
32f8aef97b
add import-alias for k8s.io/api/rbac/v1
2019-06-20 11:40:39 -07:00
Aaron Crickenberger
1d0d98dbc5
add import-alias for k8s.io/api/policy/v1beta1
2019-06-20 11:40:37 -07:00
Aaron Crickenberger
2a8bee4b37
add import-alias for k8s.io/api/extensions/v1beta1
2019-06-20 11:40:21 -07:00
Aaron Crickenberger
b8d0ce4019
add import-alias for k8s.io/api/core/v1
2019-06-20 11:40:15 -07:00
Aaron Crickenberger
03ad7d2d6f
add import-alias for k8s.io/api/batch/v1
2019-06-20 11:40:01 -07:00
Aaron Crickenberger
f38e47dd9d
add import-alias for k8s.io/api/apps/v1beta2
2019-06-20 11:39:45 -07:00
Aaron Crickenberger
0aae740ede
add import-alias for k8s.io/api/apps/v1
2019-06-20 11:39:40 -07:00
Kubernetes Prow Robot
00e13dbc12
Merge pull request #78187 from dims/update-vendored-dependencies-to-released-versions-2
...
Update vendored dependencies to released version
2019-06-19 23:46:48 -07:00
Kubernetes Prow Robot
465e96535d
Merge pull request #78836 from dims/verify-import-aliases-during-typecheck
...
Verify import aliases
2019-06-19 21:11:01 -07:00
Kubernetes Prow Robot
ef03129821
Merge pull request #78396 from bclau/tests/reduce-to-agnhost-part-2
...
tests: Replaces images used with agnhost (part 2)
2019-06-19 21:10:48 -07:00
SataQiu
332be4b1e3
refactor: replace framework.Failf with e2elog.Failf
2019-06-19 17:52:35 +08:00
Kubernetes Prow Robot
0f9077d0af
Merge pull request #78934 from SataQiu/fix-test-20190612
...
[e2e] move Failf from e2e/framework to e2e/framework/log
2019-06-18 16:36:46 -07:00
Patrick Ohly
baef3e44cd
e2e: fix return value of WaitForPodsWithLabelRunningReady
...
Because of a := assignment, the anonymous function assigned the pod
list to a local variable instead of the
WaitForPodsWithLabelRunningReady return value which therefore always
was nil.
The correct code is an assignment with = as in WaitForPodsWithLabelScheduled.
2019-06-18 09:07:31 +02:00
Jiatong Wang
b1c346c295
Move node related methods to framework/node package
...
- Add a package "node" under e2e/framework and alias e2enode;
- Rename some functions whose name have redundant string.
Signed-off-by: Jiatong Wang <wangjiatong@vmware.com >
2019-06-17 16:59:07 -07:00
Claudiu Belu
9e81f3b50b
tests: Replaces images used with agnhost (part 2)
...
Quite a few images are only used a few times in a few tests. Thus,
the images are being centralized into the agnhost image, reducing
the number of images that have to be pulled and used.
This PR replaces the usage of the following images with agnhost:
- net
- netexec
- nettest
- webhook
2019-06-17 06:04:18 -07:00
Davanum Srinivas
a6f8d575ba
Add kubeletstatsv1alpha1 as the preferred alias for k8s.io/kubernetes/pkg/kubelet/apis/stats/v1alpha1
...
Change-Id: I05a8390a667dba307c09d95f836e08e0759c12ee
2019-06-15 22:31:51 -04:00
Kubernetes Prow Robot
c5087f25c0
Merge pull request #78916 from mkimuram/rem-dot-import
...
Remove . import from e2e test
2019-06-15 16:34:08 -07:00
Kubernetes Prow Robot
411d6789e1
Merge pull request #78394 from bclau/tests/reduce-to-agnhost-part-1
...
tests: Replaces images used with agnhost (part 1)
2019-06-14 16:50:22 -07:00
Davanum Srinivas
011911022d
Fix for build failure - viper now uses ConfigFileNotFoundError
...
Change-Id: I51c4fe26239c4a7bf750e0a6a66b452d9138832f
2019-06-14 16:47:53 -04:00
Masaki Kimura
701395c392
Remove dot import from e2e test and replace with framework.ExpectNoError
2019-06-14 20:46:11 +00:00
Kubernetes Prow Robot
7abf2832bf
Merge pull request #78614 from liggitt/remove-beta-e2e-use
...
Move test/e2e use to v1 APIs
2019-06-14 07:58:38 -07:00
Kubernetes Prow Robot
b8ba75bcd9
Merge pull request #77526 from alejandrox1/framework_util_pod_refactor
...
Refactored pod-related functions from framework/util.go
2019-06-13 23:06:19 -07:00
Claudiu Belu
bd8cb8fae0
tests: Replaces images used with agnhost (part 1)
...
Quite a few images are only used a few times in a few tests. Thus,
the images are being centralized into the agnhost image, reducing
the number of images that have to be pulled and used.
This PR replaces the usage of the following images with agnhost:
- fakegitserver
- hostexec
- liveness
- logs-generator
- no-snat-test
- no-snat-test-proxy
- port-forward-tester
2019-06-13 15:05:50 -07:00
SataQiu
f90e228e79
[e2e] move Failf from e2e/framework to e2e/framework/log
2019-06-12 19:00:15 +08:00
Jordan Liggitt
899d00a529
Fix incorrect procMount defaulting
2019-06-10 22:01:54 -04:00
Kubernetes Prow Robot
85f2730d85
Merge pull request #78658 from jingxu97/June/window-test-fix
...
Fix volume mount tests issue for windows
2019-06-04 13:15:53 -07:00
Jordan Liggitt
8229af31d2
Move test/e2e use to v1 APIs
2019-06-03 14:46:08 -04:00
Jing Xu
8aacb8003f
Fix volume mount tests issue for windows
...
For windows node, security context is disabled. This PR fixes a bug so
that fsGroup will not be applied to pods that run on windows node.
Change-Id: Id9870416d2ad8ef791b3b4896d6747a2adbada2f
2019-06-03 10:12:27 -07:00
Jorge Alarcon Ochoa
4969a05327
Refactored pod-related functions from framework/util.go
...
This a refactoring of framework/utils.go into framework/pod.
Signed-off-by: Jorge Alarcon Ochoa <alarcj137@gmail.com >
2019-05-30 09:30:26 -04:00
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