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
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
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
e2c5243d77
Merge pull request #77840 from mgdevstack/master-registry-utils
...
Add references of registry and image from imageutils
2019-06-14 00:28:47 -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
Kubernetes Prow Robot
69d2e4304a
Merge pull request #75128 from bclau/tests/hostpath-privileged-false
...
tests: creates HostPath pods as unprivileged
2019-06-13 20:36:21 -07:00
Kubernetes Prow Robot
62eae8d058
Merge pull request #70639 from mgdevstack/promote-security-context
...
Promote security context NodeConformance tests to Conformance suite
2019-06-13 17:48:20 -07:00
Claudiu Belu
e3774b85b2
tests: Combine Linux / Windows image pulling tests
...
Because Linux images cannot run on Windows and vice-versa, separate
tests were added for both OSes, only separated by a [LinuxOnly] tag
in their names.
Based on the given --node-os-distro, we can select which image to
use when spawning the pod.
2019-06-13 15:57:59 -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
Mayank Gaikwad
3377737af2
Add references of registry and image from imageutils
2019-05-31 14:27:07 +05:30
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
eb2b5d37ff
Merge pull request #78283 from s-ito-ts/77706_e2e_common
...
Use framework.ExpectError() for e2e/common
2019-05-29 17:24:58 -07:00
Kubernetes Prow Robot
51336deb4a
Merge pull request #78264 from tallclair/runasnonroot
...
Add RunAsNonRoot test
2019-05-29 03:10:50 -07:00
s-ito-ts
3492c81e12
Use framework.ExpectError() for e2e/common
2019-05-29 05:46:16 +00:00
toyoda
028cd65db9
fix golint failure in e2e/common/[p-r]*
2019-05-27 08:57:02 +09:00
Kubernetes Prow Robot
16d33c4985
Merge pull request #78042 from oomichi/use-ExpectNoError-common2
...
Use framework.ExpectNoError() on e2e/common
2019-05-25 13:03:50 -07:00
Tim Allclair
19a588eeda
Add a special-cased runtime handler for dockershim
2019-05-24 15:30:34 -07:00
Tim Allclair
c851c480d3
Move to debian-base non-root image
2019-05-24 11:57:43 -07:00
Tim Allclair
6e78c5bdde
Add RunAsNonRoot test
2019-05-23 12:23:04 -07:00
Kenichi Omichi
b17384acbe
Use framework.ExpectNoError() on e2e/common
2019-05-17 17:30:38 +00:00
Kubernetes Prow Robot
6fff760175
Merge pull request #70658 from spiffxp/tcp-probe
...
cleanup container probe tests and add tcp probe case
2019-05-16 06:05:43 -07:00
Aaron Crickenberger
0541be1787
Add a tcp probe e2e test
2019-05-15 15:23:35 -07:00
Aaron Crickenberger
944976d11f
Extract pod specs and handlers into fixtures
2019-05-15 15:22:58 -07:00
Kenichi Omichi
b9fffd1571
Use framework.ExpectNoError() for e2e/common
...
The e2e test framework has ExpectNoError() for readable test code.
This replaces Expect(err).NotTo(HaveOccurred()) with it.
2019-05-15 01:58:01 +00:00
draveness
950f6e868c
refactor: use framework.ExpectNoError instead
2019-05-12 10:44:03 +08:00
Kubernetes Prow Robot
a245408f38
Merge pull request #76734 from oomichi/conformance-req-01
...
Check conformance test should not call any Skip
2019-05-10 19:28:11 -07: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
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
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
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
toyoda
bee9676d50
fix golint failure test/e2e/common/pods.go
2019-04-25 16:39:21 +09: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
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
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
Kevin Taylor
bb5b4ad0b2
Beta upgrade for feature date VolumeSubpathEnvExpansion
2019-04-17 07:41:00 +01:00
Mayank Gaikwad
82822f10e1
Promote container runtime e2e verifying termination message
2019-04-15 16:37:18 +05:30
Kubernetes Prow Robot
1b9206a17c
Merge pull request #76414 from SataQiu/refactor-e2e-volume-20190411
...
[e2e] test/e2e/framework/volume_util.go -> test/e2e/framework/volume/fixtures.go
2019-04-13 00:42:03 -07:00
SataQiu
252cabf155
[e2e] test/e2e/framework/volume_util.go -> test/e2e/framework/volume/fixtures.go
2019-04-13 16:58:37 +08:00
Kubernetes Prow Robot
df6ca6ab9f
Merge pull request #76156 from chardch/recreate-master-retry
...
Recreate nodes e2e test
2019-04-12 23:26:02 -07:00
Kubernetes Prow Robot
9aac5ced1f
Merge pull request #74702 from globervinodhn/secret_empty_promote
...
Promote empty secret key e2e test to conformance test
2019-04-12 21:38:02 -07:00
Jiaying Zhang
8175579a0c
add recreate node e2e test
...
Move recreate_node test to gce provider tests.
2019-04-12 16:00:19 -07:00
Kubernetes Prow Robot
2d5f5a9da5
Merge pull request #75471 from pontiyaraja/sharedVolCNF
...
promote shared volumes between the container in a pod e2e to conformance
2019-04-12 15:56:04 -07:00
Kubernetes Prow Robot
cf76367f05
Merge pull request #75101 from mgdevstack/promote-runtime-2
...
Promote container runtime e2e having non default TerminationMessagePath set
2019-04-12 14:30:36 -07:00
Mayank Gaikwad
f7d8771dfe
Promote security context NodeConformance tests to Conformance suite
2019-04-12 10:22:24 +05:30
draveness
dee97a4e5c
refactor: cleanup e2e replicaset utils
2019-04-12 01:48:10 +08:00