Commit Graph

12848 Commits (3512757882bed33c5652ef7a6b970806c0aac40b)

Author SHA1 Message Date
Minhan Xia 1065a473da beef up NEG tests 2019-03-08 11:33:38 -08:00
Kubernetes Prow Robot 583ff363fa
Merge pull request #75131 from gnufied/increase-pod-wait-time
Fix emptydir e2e flake
2019-03-08 09:17:28 -08:00
Andrew Kim 941966c31d add label area/test in k8s.io/kubernetes/test/* 2019-03-08 11:56:19 -05:00
Hemant Kumar a8f318779b Add CSI volume resizing tests
Add some tests for checking node expansion
Add new tests for expander
2019-03-08 09:23:18 -05:00
Matt Matejczyk 2f7cb25bbb Disable NodeProblemDector test in large clusters.
It's suspected of causing timeouts in scalability 5k node cluster
tests, see https://github.com/kubernetes/kubernetes/issues/75095#issuecomment-470912583
2019-03-08 13:35:12 +01:00
Kubernetes Prow Robot eaa78b88ac
Merge pull request #75152 from pjh/gce-windows-dns-testfix
Don't test metadata server connectivity from GCE Windows pods.
2019-03-08 00:54:02 -08:00
Kubernetes Prow Robot af62ad0ca7
Merge pull request #75141 from liggitt/deflake-max_json_patch_operations_test
Ensure namespaces exist on start
2019-03-08 00:53:48 -08:00
Kubernetes Prow Robot 5c2fe63591
Merge pull request #75116 from adelina-t/patch-1
Update gmsa test
2019-03-07 22:44:33 -08:00
Kubernetes Prow Robot 535064773a
Merge pull request #73946 from dashpole/prometheus_core_metrics
Add kubelet resource metrics v1alpha1 endpoint
2019-03-07 22:43:28 -08:00
Bin Lu 973a3c7233 Add bazel-test-integration for Arm64
Signed-off-by: Bin Lu <bin.lu@arm.com>
2019-03-08 14:01:15 +08:00
Kubernetes Prow Robot 788f24583e
Merge pull request #74990 from jingxu97/pd_windows_test
Add GCE PD tests for windows cluster
2019-03-07 21:20:23 -08:00
Kubernetes Prow Robot 183e6cc190
Merge pull request #74433 from tallclair/runtimeclass-internal
Migrate RuntimeClass from a CRD to an internal API
2019-03-07 21:19:30 -08:00
Kubernetes Prow Robot ad27abde62
Merge pull request #74835 from davidz627/feature/adcFallback
Add logic for initializing CSINode on Node startup for CSI Migration [Replaces #70909]
2019-03-07 18:39:25 -08:00
Peter Hornyack c88085dff2 Don't test metadata server connectivity from GCE Windows pods.
Windows containers do not include a route to the GCE metadata server by
default. This check is causing the "DNS should provide DNS for the
cluster" test to fail for clusters with Windows nodes
(https://testgrid.k8s.io/sig-windows#gce-windows-master&width=20).

Tested that this works by running "DNS should provide DNS for the
cluster" against an e2e cluster with Windows nodes brought up on GCE.
2019-03-07 17:51:17 -08:00
yankaiz 70c42380f7 Allow session affinity a period of time to setup for new services.
This is to deal with the flaky session affinity test.
2019-03-07 17:34:40 -08:00
Kubernetes Prow Robot e8daa90ca7
Merge pull request #75124 from gnufied/fix-attach-limit-flake
Fix volume attach limit flake
2019-03-07 16:13:05 -08:00
Kubernetes Prow Robot 2b354f3857
Merge pull request #73383 from danielqsj/zkr
bump zookeeper-installer image version in e2e
2019-03-07 16:12:09 -08:00
David Ashpole 6051664c0f add kubelet prometheus resource metrics endpoint 2019-03-07 15:39:37 -08:00
David Zhu 7d2f4e97b8 Add ADC Fallback if Node doesn't have driver installed 2019-03-07 14:47:38 -08:00
Jordan Liggitt 8f47501418 Ensure namespaces exist on start 2019-03-07 15:09:46 -05:00
Tim Allclair 222988bdda Migrate to internal node.k8s.io client 2019-03-07 11:57:12 -08:00
Tim Allclair 820a1dc96b Add node.k8s.io/v1beta1 API 2019-03-07 11:57:12 -08:00
Hemant Kumar 93c2a1af3f Fix emptydir e2e flake
Wait forver and reduce grace period deletion
2019-03-07 14:35:39 -05:00
Hemant Kumar 9d78c96e56 Fix volume attach limit flake
It looks like node does become unschedulable for the pod
but condition does not get added to the pod in time.

Also ginkgo could retry the test and hence it helps to use
unique node label for scheduling.
2019-03-07 12:35:52 -05:00
Jing Xu 18be0a49e6 Add GCE PD tests for windows cluster
This PR is the first one to add a few GCE PD tests for windows cluster. Will
add more tests in later PRs
2019-03-07 09:13:56 -08:00
Patrick Ohly e84271ed8a e2e/storage: allow empty volume type
This can happen when the test pattern is about snapshotting.
2019-03-07 16:57:16 +01:00
Adelina Tuvenie 90b8c877ed
Update gmsa test
Wait for the container to be in Running state before running any command.
2019-03-07 17:04:25 +02:00
Patrick Ohly 915d6365f1 e2e/storage: fix snapshot support in external driver testing
When using an already installed driver, the snapshot name is the
original driver name. Renaming was incorrectly copied from the in-tree
CSI hostpath driver.
2019-03-07 15:45:40 +01:00
Kubernetes Prow Robot dcbe588f76
Merge pull request #74938 from brusMX/win-e2e-nodeport
Creating NodePort test for Windows
2019-03-07 06:35:05 -08:00
Kubernetes Prow Robot 0b48018a39
Merge pull request #71192 from roycaihw/crd-publish-openapi
Publish CRD openapi
2019-03-07 03:54:58 -08:00
Kubernetes Prow Robot bf4e93da57
Merge pull request #75067 from msau42/csi-beta-e2e
make CSI PD tests serial
2019-03-07 02:23:12 -08:00
Kubernetes Prow Robot 6dbe98980f
Merge pull request #74909 from NetApp/csi-raw-block-to-beta2
Promote CSI raw blocks to beta
2019-03-06 22:55:46 -08:00
Kubernetes Prow Robot 9ce5966ff0
Merge pull request #74832 from roycaihw/kubectl-crd-test
kubectl e2e: test client-side validation behavior on CustomResources
2019-03-06 22:55:21 -08:00
Kubernetes Prow Robot 96ee0d0977
Merge pull request #74738 from wk8/wk8/gmsa_e2e
Adding an e2e test on Windows GMSA support
2019-03-06 22:55:09 -08:00
Zhen Wang f4d9e7d992 Fix NPD e2e test on Ubuntu node and update NPD container version 2019-03-06 22:42:47 -08:00
Haowei Cai 54b99413b2 generated 2019-03-06 20:36:40 -08:00
Haowei Cai 867cdce212 apiextensions: add openapi publishing unit+integration+e2e tests
Co-authored-by: Maciej Szulik <maszulik@redhat.com>
Co-authored-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2019-03-06 20:36:23 -08:00
Kubernetes Prow Robot 88a685feef
Merge pull request #74807 from runyontr/test-cmd-kubeadm-isolation
Kubeadm test Isolation: #74464
2019-03-06 17:59:52 -08:00
Kubernetes Prow Robot 8178fa1b13
Merge pull request #72836 from pohly/storage-test-plugin
e2e/storage: testing of external storage drivers
2019-03-06 17:59:11 -08:00
Kubernetes Prow Robot ab7a48d796
Merge pull request #70036 from pbarker/audit-etoe
dynamic audit e2e test
2019-03-06 17:58:58 -08:00
Jean Rouge b721f8e339 Adding an e2e test on Windows GMSA support
This patch is adding an e2e on the Windows GMSA support added in
https://github.com/kubernetes/kubernetes/pull/73726 and
https://github.com/kubernetes/kubernetes/pull/74737.

Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-03-06 17:58:18 -08:00
Jean Rouge 1d1a765e79 Updating Windows' e2e tests' README to the official repo list
Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-03-06 17:58:18 -08:00
Michelle Au 8b97e2ab7c make CSI PD tests serial 2019-03-06 15:11:50 -08:00
Patrick Ohly 6644db9914 e2e/storage: testing of external storage drivers
It is useful to apply the storage testsuite also to "external" (=
out-of-tree) storage drivers. One way of doing that is setting up a
custom E2E test suite, but that's still quite a bit of work.

An easier alternative is to parameterize the Kubernetes e2e.test
binary at runtime so that it instantiates the testsuite for one or
more drivers. Some parameters have to be provided before starting the
test because they define configuration and capabilities of the driver
and its storage backend that cannot be discovered at runtime. This is
done by populating the DriverDefinition with the content of the file
that the new -storage.testdriver parameters points to.

The universal .yaml and .json decoder from Kubernetes is used. It's
flexible, but has some downsides:
- currently ignores unknown fields (see https://github.com/kubernetes/kubernetes/pull/71589)
- poor error messages when fields have the wrong type

Storage drivers have to be installed in the test cluster before
starting e2e.test. Only tests involving dynamically provisioned
volumes are currently supported.
2019-03-06 22:06:31 +01:00
Kubernetes Prow Robot 7fbfe70147
Merge pull request #74958 from dims/Promote-mkumatag-to-approver
Promote mkumatag to approver in test/images
2019-03-06 12:54:48 -08:00
Bruno Medina 7cbbfcc9ef Creating NodePort test for Windows
Co-authored-by: Muzz Imam <muzzz.imam@gmail.com>
2019-03-06 12:29:38 -08:00
Ben Swartzlander 1493e684d3 Promote CSI raw blocks to beta 2019-03-06 13:43:52 -05:00
Kubernetes Prow Robot c4fd78e7c9
Merge pull request #74993 from msau42/csi-beta-e2e
e2e test updates for CSIDriver and CSINode beta
2019-03-06 08:24:38 -08:00
Kubernetes Prow Robot d99979f8b5
Merge pull request #75015 from cofyc/fix73168-disable-temporarily
Disable "should set different fsGroup for second pod if first pod is deleted" temporarily
2019-03-06 04:46:10 -08:00
Niko Pen 58c7b5de9c
version bump 2019-03-06 12:33:38 +00:00
Kubernetes Prow Robot 87f9429087
Merge pull request #75011 from msau42/fix-readonly-e2e
don't check for container status ready in subpath test
2019-03-06 03:26:47 -08:00
Kubernetes Prow Robot 3213a6d61f
Merge pull request #74989 from liggitt/webhook-test-namespace
Scope slow/failing webhook to test namespace
2019-03-06 03:26:26 -08:00
Kubernetes Prow Robot e1c5e8394e
Merge pull request #71950 from bclau/fix-max-backoff-test-flake
tests: getRestartDelay waits for the next Terminated state
2019-03-06 03:26:04 -08:00
Kubernetes Prow Robot 62065bd27d
Merge pull request #74964 from bclau/tests/externalname-retry
tests: Adds retry for dig for ExternalName test
2019-03-06 02:08:23 -08:00
Kubernetes Prow Robot 9c75270b2b
Merge pull request #74905 from stevesloka/numNodesLookup
If num-nodes is not set, then look up via API how many are scheduleable
2019-03-06 00:44:49 -08:00
Kubernetes Prow Robot 8060c94503
Merge pull request #74743 from lee0c/lecattar/win-mem-limits
Windows nodeAllocatable test
2019-03-06 00:44:17 -08:00
Kubernetes Prow Robot 7304c50ef5
Merge pull request #74655 from bclau/tests/windows-gcrio
tests: Adds gcr.io Windows image test case
2019-03-06 00:44:06 -08:00
Michelle Au afbc8a5056 e2e test updates for beta 2019-03-05 20:24:59 -08:00
Yecheng Fu 05fe7094d5 Disable "should set different fsGroup for second pod if first pod is deleted" test temporarily 2019-03-06 10:46:17 +08:00
Michelle Au b90ef213af don't check for container status ready in subpath test 2019-03-05 18:31:59 -08:00
Niko Pen f7752c645a
rebase image to distroless/static 2019-03-06 00:49:48 +00:00
Kubernetes Prow Robot 596a48dd64
Merge pull request #74945 from liucimin/fix_e2e_test_typo
Typo fix in e2e test description message: defaut->default
2019-03-05 14:54:45 -08:00
Kubernetes Prow Robot 5bc1e9b8ea
Merge pull request #74830 from msau42/lock-csi-ga
lock csi and plugin watcher GA feature gates
2019-03-05 14:54:10 -08:00
Patrick Barker 898700d104 removes cluster type restrictions from dynamic audit e2e test 2019-03-05 14:38:58 -07:00
Patrick Barker 718a747961 fix missing event report handling in dynamic audit e2e 2019-03-05 14:38:58 -07:00
Patrick Barker 62edfe8d97 adds owner of TODO comments in dynamic audit e2e test 2019-03-05 14:38:58 -07:00
Patrick Barker db1207c646 adds better logging around retry loops in dynamic audit e2e test 2019-03-05 14:38:58 -07:00
Patrick Barker 67a245ae61 remove unneeded println 2019-03-05 14:38:58 -07:00
Patrick Barker 45d715cdc6 adds dynamic audit e2e test 2019-03-05 14:38:58 -07:00
Kubernetes Prow Robot 98fa2c7d32
Merge pull request #74222 from Huang-Wei/kubelet-mirrorpod
kubelet: return mirror pod in GetActivePods()
2019-03-05 13:22:02 -08:00
Haowei Cai 591f00e9b3 test client-side validation behavior for CRD
support version-skew testing
2019-03-05 12:22:46 -08:00
Lee Cattarin 0251a2493a Remove dot imports 2019-03-05 11:58:28 -08:00
Jordan Liggitt ce31686686 Scope slow/failing webhook to test namespace 2019-03-05 14:55:45 -05:00
Kubernetes Prow Robot 5d2b0de95d
Merge pull request #74922 from wangzhen127/fix-npd-test-ubuntu
Fix NPD e2e test on clusters with Ubuntu nodes
2019-03-05 11:10:13 -08:00
Kubernetes Prow Robot f8d8ef94dc
Merge pull request #74868 from qingsenLi/k8s190304
remove some unused const in test/e2e_node
2019-03-05 11:10:02 -08:00
Michelle Au 08330c37ca lock csi and plugin watcher GA feature gates 2019-03-05 09:59:05 -08:00
Kubernetes Prow Robot 1d257d657c
Merge pull request #74829 from pohly/e2e-ginkgo
test/e2e: fix `ginkgo ./test/e2e`
2019-03-05 08:16:17 -08:00
Steve Sloka 3dfaed9f7e If num-nodes is set to '-1', then look up via API how many nodes are scheduleable
Signed-off-by: Steve Sloka <slokas@vmware.com>
2019-03-05 10:46:05 -05:00
Kubernetes Prow Robot 257205d656
Merge pull request #74811 from gnufied/fix-attachable-csi-mock-driver
When checking for pod info version, make volume attachable
2019-03-05 06:51:39 -08:00
Kubernetes Prow Robot e24e26fac8
Merge pull request #74647 from danielqsj/e2ein
Fix golint failures for e2e/instrumentation/...
2019-03-05 06:51:10 -08:00
Kubernetes Prow Robot ad36156f14
Merge pull request #74638 from liucimin/fix_e2e_test_kubadm-
Typo fix in e2e test description  message: kubadm->kubeadm
2019-03-05 06:50:59 -08:00
Davanum Srinivas ac83cca69b
Promote mkumatag to approver in test/images
Change-Id: I653d4c40901cf5ba0097c31a64ea55b3b10e418e
2019-03-05 08:50:48 -05:00
Kubernetes Prow Robot 6c31101257
Merge pull request #74283 from xing-yang/csi_crd_controller
CSINodeInfo and CSIDriver Controller Changes
2019-03-05 04:44:42 -08:00
liucimin 2179ca23c8 Typo fix in e2e test description message: defaut->default 2019-03-05 15:56:05 +08:00
Kubernetes Prow Robot f5574bf62a
Merge pull request #74603 from stevesloka/e2eImageList
Refactor to allow for a way to get list of e2e images
2019-03-04 19:27:47 -08:00
Kubernetes Prow Robot 35c9624fd6
Merge pull request #74500 from sandeeppsunny/fix-e2e-tests
Change to unblock e2e tests for vsphere provider
2019-03-04 19:27:25 -08:00
Kubernetes Prow Robot e2f42845d1
Merge pull request #74487 from danielqsj/window
Fix golint failures for e2e/windows
2019-03-04 19:27:11 -08:00
Kubernetes Prow Robot dba8300e52
Merge pull request #74391 from cofyc/fix71237-update-old
Update old local tests to use general host executor and local test resource manager
2019-03-04 19:27:00 -08:00
Xing Yang d69e0ff3f0 Enable CSI test suite and fix test failures 2019-03-04 16:42:13 -08:00
Xing Yang 6265f4f78c CSINodeInfo/CSIDriver controller changes
This is the 2nd PR to move CSINodeInfo/CSIDriver APIs to
v1beta1 core storage APIs. It includes controller side changes.
It depends on the PR with API changes:
https://github.com/kubernetes/kubernetes/pull/73883
2019-03-04 16:41:58 -08:00
Zhen Wang 87faa00a14 Fix NPD E2E test on clusters with Ubuntu nodes 2019-03-04 15:26:21 -08:00
danielqsj ae7c1187bf fix init pattern 2019-03-05 07:21:55 +08:00
danielqsj 5cf1950ef8 Fix golint in test/e2e/instrumentation/logging 2019-03-05 07:10:39 +08:00
danielqsj 873fbf9112 Fix golint in test/e2e/instrumentation/monitoring 2019-03-05 07:07:06 +08:00
Kubernetes Prow Robot 5756eea804
Merge pull request #74700 from SataQiu/fix-golint-20190228
Fix golint failures in test/e2e/instrumentation, test/e2e_node/environment
2019-03-04 13:25:26 -08:00
Hemant Kumar 2567d1b5dd Always make CSI driver attachable when checking for pod info
Fixes https://github.com/kubernetes/kubernetes/issues/74724
2019-03-04 12:35:16 -05:00
Kubernetes Prow Robot b1d4d40679
Merge pull request #74668 from sttts/sttts-kube-apiserver-endpoints-when-ready
kube-apiserver: don't create endpoints before being ready
2019-03-04 01:57:41 -08:00
Claudiu Belu fd03127cac tests: Adds retry for dig for ExternalName test
The network connection might not yet be established by the time the
container starts, causing the dig command to fail.

Retrying the dig command will solve this issue. This approach is similar
to the other DNS Conformance tests.
2019-03-03 21:28:47 -08:00
Claudiu Belu d5f2ec4b6a tests: Adds TODO for Windows only test
It has been suggested to replace the "e2eteam/busybox:1.29" image
used in the test "should be able to pull image from docker hub [NodeConformance]"
with a nanoserver image manifest list.

Adds a TODO for it.
2019-03-03 21:11:24 -08:00
Claudiu Belu 5edc073122 tests: getRestartDelay waits for the next Terminated state
Kubelet might miss reporting the new Running state when restarting
a pod after its backoff period expired, and thus, the pod will
continue to remain in CrashLoopBackOff state, causing the
"should cap back-off at MaxContainerBackOff" and
"should have their auto-restart back-off timer reset on image update"
tests to fail, since they're waiting the Pods to enter a Running state.

Waiting for the next Terminated state instead of the next Running state
is more reliable.

Note that this adds 5 seconds to the restart delay due to the fact that
the Container runs for 5 seconds (it's command is "sleep 5"), but it is
within the test's expectations.
2019-03-03 08:35:51 -08:00