Commit Graph

14665 Commits

Author SHA1 Message Date
Jan Safranek
6a433ee5ba Enable block tests for Cinder
Cinder volume plugin has implemented block mode a long while ago.
2019-09-05 13:17:13 +02:00
draveness
4105fea6eb fix(scheduler): remove the defer function cost 2019-09-05 10:57:11 +08:00
andyzhangx
4c58dc3a56 test: fix azure disk test failure 2019-09-04 15:16:38 +00:00
Ryan Phillips
6b18285cd2 kubelet e2e: defer the close to after the error check
fixes a potential crash
2019-09-04 10:01:52 -05:00
andyzhangx
313cc4278e test: fix azure disk e2e test failure 2019-09-04 10:30:25 +00:00
Kubernetes Prow Robot
83192d7c7c
Merge pull request #82301 from MrHohn/e2e-delete-lb-service
Make sure loadbalancer service is deleted before exiting the test
2019-09-04 01:05:00 -07:00
Kubernetes Prow Robot
6cb788c80e
Merge pull request #82229 from pohly/log-datetime-test-fix
e2e log: fix time stamp normalization in unit test
2019-09-03 17:24:58 -07:00
Zihong Zheng
1f0ef69efc Make sure loadbalancer service is deleted before exiting the test 2019-09-03 17:18:02 -07:00
Kubernetes Prow Robot
570a85e249
Merge pull request #82274 from rajansandeep/addreadytotest
Add ready plugin to dns tests
2019-09-03 16:02:01 -07:00
Kubernetes Prow Robot
b47349ad20
Merge pull request #82252 from liggitt/webhook-client-auth-test
Match webhook client auth with ports consistently
2019-09-03 16:01:51 -07:00
Kubernetes Prow Robot
8efd51ffc2
Merge pull request #81825 from zouyee/e2e
fix ci-kubernetes-node-kubelet-serial which set PodPriority
2019-09-03 16:00:58 -07:00
David Eads
076bf949d7 fix namespace termination conditions to be consistent and correct 2019-09-03 15:33:17 -04:00
Jordan Liggitt
e734c70e03 Add integration test for webhook client auth 2019-09-03 13:58:54 -04:00
Matt Matejczyk
475a374822 Update NodeSSHHosts to support clusters with some public nodes
This is to support the setup where we have private nodes and one additional
heapster node with public IP. We plan to use this setup in our scale
tests.

Ref. https://github.com/kubernetes/kubernetes/issues/76374
2019-09-03 16:45:09 +02:00
Sandeep Rajan
95b0c3bde0 add ready plugin to dns tests 2019-09-03 10:34:27 -04:00
Jan Safranek
1e602caea0 Don't require any resources in race test
The race test is interested only if all volumes are mounted and pod is
started, it does not need any special CPU.

It de-flakes the test when running on a tight node.
2019-09-02 17:49:13 +02:00
Jan Safranek
1ed97b62fa Mark Ceph tests as serial
The dummy Ceph RBD and CephFS server in test/images/volume/rbd can run only
once on a machine, therefore mark the tests as [Serial].
2019-09-02 15:46:37 +02:00
Kubernetes Prow Robot
d114f33768
Merge pull request #81915 from draveness/feature/add-e2e-tests-for-runtime-class-scheduling
[RuntimeClassScheduling] test(runtimeclass): add e2e tests for runtimeclass scheduling - Part3
2019-09-02 05:57:42 -07:00
s-ito-ts
4c69199aaa e2e test: Label all nodes in pod anti-affinity test. 2019-09-02 09:42:11 +00:00
Patrick Ohly
07d7133837 e2e log: fix time stamp normalization in unit test
The date/time regex did not cover that "Sep 1 09:32:17.938" uses " 1"
instead of "1" for the day and thus the test started failing in
September.
2019-09-02 09:39:11 +02:00
Jordan Liggitt
6b961eb08c Add debug info to kubectl e2e 2019-09-01 21:55:09 -04:00
zouyee
70b93eff37 using const instead
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
2019-09-02 09:30:51 +08:00
Kubernetes Prow Robot
b327a729c5
Merge pull request #82198 from roycaihw/crd-discovery-conformance
promote crd discovery e2e to conformance
2019-09-01 17:53:41 -07:00
draveness
702646df24 test(runtimeclass): add e2e tests for runtimeclass scheduling 2019-09-01 16:41:48 +08:00
Jordan Liggitt
e577feeb91 Ensure backend is ready in listing webhook e2es 2019-08-31 11:27:54 -04:00
Kubernetes Prow Robot
ab162cd28c
Merge pull request #77354 from jennybuckley/crd-apply
Use CRD validation field in server-side apply
2019-08-30 23:53:47 -07:00
Jordan Liggitt
2d9f46f073 Make CRD conversion e2e tests robust in non-aggregator-routing clusters 2019-08-30 23:24:02 -04:00
Jordan Liggitt
21a2951375 Make admission webhook e2e tests robust in non-aggregator-routing clusters 2019-08-30 23:24:01 -04:00
Jordan Liggitt
97ad87df02 Make CRD admission webhook e2e work in parallel test environments 2019-08-30 22:43:21 -04:00
Jordan Liggitt
d150f15d91 Add readiness probes to CRD/Admission webhook pods 2019-08-30 22:42:38 -04:00
Davanum Srinivas
8fbfdf8267
Update default etcd server to 3.3.15 for kubernetes 1.16
Change-Id: I68f1a5e5339d83077a1a9f312c4e6e33848886c5
2019-08-30 21:29:45 -04:00
Kubernetes Prow Robot
f4887d692e
Merge pull request #82185 from liggitt/agnhost-readyz
agnhost: add /readyz endpoints to converter/webhook commands
2019-08-30 16:15:40 -07:00
Ted Yu
9828f986af Move Update Apply conflict test to field manager test 2019-08-30 14:47:39 -07:00
Haowei Cai
fd68c41e42 promote crd discovery e2e to conformance 2019-08-30 14:07:19 -07:00
Kubernetes Prow Robot
2c9d76c8bf
Merge pull request #82036 from liggitt/crd-discovery-e2e
Add discovery docs crd e2e test
2019-08-30 13:04:05 -07:00
Jordan Liggitt
0558e83867 Add /readyz endpoints to converter/webhook test image 2019-08-30 12:52:52 -04:00
Kubernetes Prow Robot
81f997b3c8
Merge pull request #82129 from liggitt/webhook-timeout-flake
Fix out of bounds error in timeout tests
2019-08-30 09:40:35 -07:00
Kubernetes Prow Robot
263e871aa3
Merge pull request #82115 from humblec/dp-e2e-image
Migrate the e2e provisioner container image to a different location.
2019-08-30 09:39:54 -07:00
John Schnake
8772187680 Add new flag for whitelisting node taints
Adds a new flag which allows users to specify a regexp
which will effectively whitelist certain taints and
allow the test framework to startup tests despite having
tainted nodes.

Fixes an issue where e2e tests were unable to be run
in tainted environments due to the framework waiting for
all the nodes to be schedulable without any tolerations.
2019-08-30 11:15:42 -05:00
Jordan Liggitt
ad33ba5bcc Add discovery docs crd e2e test 2019-08-30 12:01:22 -04:00
Kubernetes Prow Robot
e176e47719
Merge pull request #82109 from wk8/wk8/gmsa-e2e
Adding an e2e test on GMSA support
2019-08-30 08:00:57 -07:00
Kubernetes Prow Robot
7a7b8a7305
Merge pull request #82094 from tallclair/runtime-class-admission
Enable the RuntimeClass admission controller on GCE & CI
2019-08-30 08:00:12 -07:00
Kubernetes Prow Robot
f442b6ef32
Merge pull request #82090 from liggitt/webhook-http2
Use http/1.1 for apiserver->webhook clients
2019-08-30 06:26:54 -07:00
Vivek Bagade
6392b69a1d Adding termination grace period to Deployment, RC, RCSet, and Job 2019-08-30 14:47:10 +02:00
Kubernetes Prow Robot
c3463ac4d9
Merge pull request #82035 from liggitt/crd-etcd-deletion
Skip deleting custom resource instances that overlap with storage for built-in types
2019-08-30 02:59:31 -07:00
s-ito-ts
8745f02015 Use log functions of core framework on test/e2e/scheduling 2019-08-30 06:27:42 +00:00
Kubernetes Prow Robot
5183669719
Merge pull request #82014 from pohly/logging-stacktrace
e2e logging: disable brittle output test
2019-08-29 22:59:30 -07:00
jennybuckley
b0ff8d3f74 Remove defaulting for x-k8s-list-type 2019-08-29 22:40:01 -07:00
Kubernetes Prow Robot
7600f91b30
Merge pull request #82007 from Zhuzhenghao/regex
Change the seven blanks to ` {7}` in the regex
2019-08-29 21:22:29 -07:00
Kubernetes Prow Robot
3ebe6a6a5f
Merge pull request #77807 from matthyx/startupProbe
Add startupProbe to health checks
2019-08-29 21:21:30 -07:00
Kubernetes Prow Robot
7acb066dbc
Merge pull request #81969 from logicalhan/livez
add `/livez` endpoint for liveness probing on the kube-apiserver
2019-08-29 19:56:31 -07:00
Kubernetes Prow Robot
991d71e9fe
Merge pull request #81956 from apelisse/server-side-apply-beta
Server side apply beta
2019-08-29 19:56:16 -07:00
Kubernetes Prow Robot
1e6686e6af
Merge pull request #81864 from jpbetz/crd-conformance
Promote CRD e2e tests to conformance
2019-08-29 19:55:59 -07:00
Kubernetes Prow Robot
bc089a3ac6
Merge pull request #81857 from jpbetz/admission-conformance
Promote admission webhook e2e tests to conformance
2019-08-29 19:55:45 -07:00
jennybuckley
badd5b9a26 Update generated 2019-08-29 19:10:28 -07:00
jennybuckley
cf24968309 Fix validation and add many tests 2019-08-29 19:10:28 -07:00
jennybuckley
c0617933d4 Use CRD validation field in server-side apply 2019-08-29 18:42:24 -07:00
Kubernetes Prow Robot
21cdcd5776
Merge pull request #81436 from roycaihw/crd-openapi/skip-duplicate-path-definition
apiextensions: ignore path conflict and resolve definition conflict when merging openapi spec
2019-08-29 18:07:43 -07:00
Kubernetes Prow Robot
6c62ddc85b
Merge pull request #81435 from gyuho/with-block
Block etcd client creation until connection is up
2019-08-29 18:07:27 -07:00
Matthias Bertschy
a042a4b0ee startupProbe: make update 2019-08-30 00:42:43 +02:00
Matthias Bertschy
1a08ea5984 startupProbe: Test changes 2019-08-30 00:40:26 +02:00
Han Kang
aa1b2d6d35 add /livez as a liveness endpoint for kube-apiserver
go fmt

make func private

refactor config_test

Two primary refactorings:

1. config test checkPath method is now each a distinct test
run (which makes it easier to see what is actually failing)

2. TestNewWithDelegate's root path check now parses the json output and
does a comparison against a list of expected paths (no more whitespace
and ordering issues when updating this test, yay).

go fmt

modify and simplify existing integration test for readyz/livez

simplify integration test

set default rbac policy rules for livez

rename a few functions and the entrypoint command line argument (and etcetera)

simplify interface for installing readyz and livez and make auto-register completion a bootstrapped check

untangle some of the nested functions, restructure the code
2019-08-29 14:13:19 -07:00
Joe Betz
68bafe4404 Promote admission webhook e2e tests to conformance 2019-08-29 13:50:14 -07:00
Haowei Cai
c81d69952c webhook-e2e: add denying CR update test case, check CR patch and
mutation results
2019-08-29 13:37:41 -07:00
Kubernetes Prow Robot
c80d2c2283
Merge pull request #82019 from liggitt/admission-discovery-e2e
Add discovery docs webhook e2e test
2019-08-29 13:31:59 -07:00
Kubernetes Prow Robot
b362655242
Merge pull request #81792 from j-griffith/move_cloning_to_beta
Promote VolumePVCDataSource to beta for 1.16
2019-08-29 13:31:25 -07:00
Kubernetes Prow Robot
3cf2d32f87
Merge pull request #78098 from soltysh/remove_logs
Remove kubectl log
2019-08-29 13:31:11 -07:00
Patrick Ohly
0ffbbec6d8 bazel update 2019-08-29 21:21:13 +02:00
Patrick Ohly
dc06e76d10 e2e logging: disable brittle output test
Because unrelated changes to util.go change the test output, it is
better to exclude the test case where util.go (incorrectly!) is
included.
2019-08-29 21:20:42 +02:00
Joe Betz
c7919e64ff Promote CRD e2e tests to conformance 2019-08-29 11:50:24 -07:00
Tim Allclair
2c01dc0ebf Update RuntimeClass E2E expectations 2019-08-29 10:56:48 -07:00
Kubernetes Prow Robot
cd9519fe95
Merge pull request #82004 from pohly/ephemeral-beta
ephemeral inline CSI volumes as beta
2019-08-29 09:30:25 -07:00
Gyuho Lee
93b9545f48 vendor: update with "update-vendor.sh" script
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-08-29 08:46:02 -07:00
Gyuho Lee
b61433ef0f test/integration: block etcd client creation until connection is up
The new etcd balancer (>3.3.14, 3.4.0) uses an asynchronous resolver for
endpoints. Without "WithBlock", the client may return before the
connection is up.

Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-08-29 08:38:29 -07:00
Jean Rouge
fd788f3476 Adding an e2e test on GMSA support
The previously existing e2e GMSA test really only tests a small part of the
whole GMSA set up process, namely that once the API has inlined the GMSA
contents in the pod's spec, and sent that to a worker's kubelet, then the
kubelet passes that down to the runtime.

This new test, in contrast, really tests the whole thing, i.e. deploying the
admission webhook, then deploying a GMSA custom resource, and using that
resource within a pod.

The downside of this test though, is that it does need to make a lot of
assumptions about the cluster it runs against, notably that it runs on a worker
node that's already been joined to a working Active Directory domain (there are
other assumptions, all documented at the beginning of the test file); for that
reason, it is only intended to ever be run against an AKS cluster with the
custom AKS extension from
https://github.com/kubernetes-sigs/windows-testing/pull/98.

Note that this test doesn't aim at testing every edge-case, such as
a pod trying to use a GMSA it doesn't have access to; the webhook has
its own tests for these. This test's goal is to ensure the happy path
doesn't break.

Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-08-29 14:51:23 +00:00
Jordan Liggitt
b451b86131 Fix out of bounds error in timeout tests 2019-08-29 10:33:20 -04:00
Kubernetes Prow Robot
06dc8cf4cb
Merge pull request #81996 from hwdef/fix-t/e/i/m
use log functions of core framework
2019-08-29 07:28:56 -07:00
Kubernetes Prow Robot
fad8f538e6
Merge pull request #81993 from hwdef/fix-test/e2e/gke_node_pools.go
fix test/e2e/gke_node_pools.go
2019-08-29 07:28:39 -07:00
Kubernetes Prow Robot
fd6c380047
Merge pull request #81973 from oomichi/replace-e2elog-framework-r-p
Use log functions of core framework on sub [p-s]
2019-08-29 07:28:09 -07:00
Maciej Szulik
6939e77277
Remove kubectl log 2019-08-29 16:10:48 +02:00
Odin Ugedal
b9071991e3
Add pre pull of e2e images after DiskPressure test
The "system_node_critical_test" causes DiskPressure on the node,
resulting in eviction of some of the pre pulled images. This makes all
the resulting tests to fail, since their pod spec use PullPolicy: Never

The PrePullImages is now inside a defer, so it will be executed even tho
the assertions inside the "AfterEach" fail.
2019-08-29 15:53:05 +02:00
Haowei Cai
b2c9b1f729 add a test to make sure the CRD OpenAPI path and defintion are protected
from user-defined CRDs
2019-08-29 04:24:47 -07:00
朱正浩,Zhu Zhenghao
aa20910e24 Typo fix: binded -> bound 2019-08-29 18:28:36 +08:00
Kubernetes Prow Robot
acf5411774
Merge pull request #81108 from oomichi/issue/81103
Make nodeList schedulable
2019-08-29 02:55:57 -07:00
Humble Chirammal
daa19ef44c Migrate the e2e provisioner container image to a different location.
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-08-29 13:10:22 +05:30
Kubernetes Prow Robot
37016c3364
Merge pull request #80182 from wongma7/windows-hostpath-test-master
Create C:\tmp if DNE
2019-08-28 22:11:55 -07:00
Kubernetes Prow Robot
550fb1bfc3
Merge pull request #79386 from khenidak/phase2-dualstack
Phase 2 dualstack
2019-08-28 20:39:56 -07:00
Haowei Cai
626c4770e6 crd-e2e: check watch observes CR modified events; use WatchUnsafe
creation method when the test doesn't exercise CR API
2019-08-28 18:42:29 -07:00
Kubernetes Prow Robot
4ba225a541
Merge pull request #81486 from wongma7/aws-testdriver
Re-implement AWS test driver interfaces
2019-08-28 18:26:23 -07:00
Kubernetes Prow Robot
c4ccb623e8
Merge pull request #80247 from jsafrane/e2e-volume-limits
Add e2e test for CSI volume limits
2019-08-28 18:25:56 -07:00
Antoine Pelisse
a3f4e6e933 Rename --experimental-* flags to --* for server-side apply 2019-08-28 15:03:41 -07:00
Kubernetes Prow Robot
af54eae69a
Merge pull request #81612 from rikatz/issue81060
Remove watching Endpoints of Headless Services
2019-08-28 14:44:25 -07:00
Kubernetes Prow Robot
6c9f26ca3a
Merge pull request #80766 from robscott/discovery-api
Adding Discovery API for EndpointSlice
2019-08-28 14:44:09 -07:00
Kubernetes Prow Robot
b9c6f559bd
Merge pull request #80726 from wangzhen127/npd-0.7
Bump NPD version to v0.7.1 for GCI
2019-08-28 14:43:55 -07:00
Jordan Liggitt
ddc697866a Use http/1.1 in apiserver->webhook clients 2019-08-28 16:51:57 -04:00
Kubernetes Prow Robot
8b4fd4104d
Merge pull request #81960 from pohly/ephemeral-tests
ephemeral volume tests
2019-08-28 12:02:07 -07:00
Kubernetes Prow Robot
92a320aeb6
Merge pull request #80238 from smarterclayton/disable_node_role
Clarify use of node-role labels within Kubernetes
2019-08-28 12:01:27 -07:00
Kenichi Omichi
9aae71fa4a Use log functions of core framework on sub [p-s]
This makes sub packages of e2e test framework to use log functions
of core framework instead for avoiding circular dependencies.

NOTE: test/e2e/framework/ssh will make circular dependencies if
      updating it. It is necessary to solve the issue in advance
      before this work.
2019-08-28 17:05:28 +00:00
Khaled Henidak(Kal)
313a5c5734 phase 2: ipam filter secondary service cidr 2019-08-28 15:59:43 +00:00
Khaled Henidak(Kal)
93c06821e6 Phase 2: service and endpoint processing 2019-08-28 15:59:43 +00:00