Commit Graph

12779 Commits

Author SHA1 Message Date
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
Aaron Crickenberger
3b3c977fc7
Update test/cmd/legacy-script.sh
Co-Authored-By: runyontr <runyontr@gmail.com>
2019-03-02 20:41:42 -05:00
Xing Yang
bb45b8ee34 Make CSINodeInfo and CSIDriver Core APIs
This PR is the first step to transition CSINodeInfo and CSIDriver
CRD's to in-tree APIs. It adds them to the existing API group
“storage.k8s.io” as core storage APIs.
2019-03-02 12:31:05 -08:00
Yecheng Fu
a81b351670 Update persistent_volumes-local.go to use utils.HostExec/utils.LocalTestResourceManager.
This simplifies the code and makes it more maintainable.
2019-03-02 20:38:20 +08:00
Kubernetes Prow Robot
6b2882738b
Merge pull request #74805 from HotelsDotCom/feature/remove-kubectl-binary
VolumeSubpathEnvExpansion alpha tests - change kubectl references to API calls
2019-03-02 03:41:15 -08:00
Kubernetes Prow Robot
f16035600a
Merge pull request #73807 from dekkagaijin/discovery-hardening
harden the default RBAC discovery clusterrolebindings
2019-03-01 21:49:30 -08:00
Kubernetes Prow Robot
65b7a430f3
Merge pull request #74287 from qingsenLi/k8s190220-delete-const
delete some unused const in test/e2e_node
2019-03-01 19:13:53 -08:00
Jake Sanders
9c7d31928d harden the default RBAC discovery clusterrolebindings 2019-03-01 18:45:05 -08:00
Kubernetes Prow Robot
9b8c58644a
Merge pull request #74418 from danielqsj/duration
convert latency/latencies in metrics name to duration
2019-03-01 17:58:12 -08:00
Steve Sloka
6dc5494ec9 Refactor to allow for a way to get list of e2e images
Signed-off-by: Steve Sloka <slokas@vmware.com>
2019-03-01 17:15:19 -05:00
Kubernetes Prow Robot
7955a2865c
Merge pull request #74764 from msau42/fix-repd-e2e
bump repd min size in e2es
2019-03-01 14:09:19 -08:00
Kubernetes Prow Robot
646145f578
Merge pull request #74125 from tuanvcw/fixing_typo
Fix many typos in both code and comments
2019-03-01 14:08:45 -08:00
Kubernetes Prow Robot
222dd0af4c
Merge pull request #71022 from emwalker/68026-golint-fixes-5
Remove test/integration/* from hack/.golint_failures
2019-03-01 14:08:33 -08:00
Kubernetes Prow Robot
8acb522c03
Merge pull request #74488 from xichengliudui/fixshellcheck19022502
fix shellcheck in test/e2e_node/jenkins/...
2019-03-01 12:49:08 -08:00
Patrick Ohly
ef6f3e0a18 test/e2e: fix ginkgo ./test/e2e
When running ginkgo directly against the source code of the test suite
instead of using some pre-compiled e2e.test binary, ginkgo no longer
recognized that it runs a Ginkgo testsuite, which broke "-focus" and
"-p".

By re-inserting the magic strings that ginkgo looks for into a
comment, we can restore the desired behavior without affecting the
code.

Fixes: #74827
2019-03-01 21:44:30 +01:00
Lee Cattarin
b9c0d10ce7 Run hack/update-bazel 2019-03-01 09:33:28 -08:00
Thomas Runyon
1e44e33517 pulled kubeadm tests out of runTests to run before tests in test/cmd
Added timeout for https://github.com/kubernetes/kubeadm/issues/1430
2019-03-01 12:17:25 -05:00
Sandeep Sunny
c4ef9ad765 Change to unblock vsphere e2e tests 2019-03-01 17:27:15 +05:30
Kubernetes Prow Robot
36e934d0a9
Merge pull request #74632 from cblecker/go-1.12
Update to use golang 1.12
2019-03-01 03:47:06 -08:00
Kubernetes Prow Robot
8c95a07b4b
Merge pull request #73007 from krmayankk/runasgroup
Promote RunAsGroup to Beta
2019-03-01 03:46:55 -08:00
Kevin Taylor
8828ccfa6b Change kubectl references to API calls 2019-03-01 11:33:03 +00:00
Dr. Stefan Schimanski
2a9a9fa155 kube-apiserver: first remove endpoints, then add when ready 2019-03-01 10:46:18 +01:00
Kubernetes Prow Robot
983cf51c53
Merge pull request #74666 from bclau/tests/configurable-etcd-image
tests: Adds configurable registry for etcd image
2019-02-28 20:36:28 -08:00
Kubernetes Prow Robot
ac0a946d3e
Merge pull request #74538 from MrHohn/e2e-service-latencies-flake
[e2e] Add acceptableFailureRatio to service latency test
2019-02-28 20:36:17 -08:00
Kubernetes Prow Robot
d761fe8491
Merge pull request #72774 from globervinodhn/conformance-emptyconfigmapkey-addition
Promote emptyconfigmap key e2e test to conformance test
2019-02-28 20:36:07 -08:00
Kubernetes Prow Robot
caaad1be26
Merge pull request #72526 from justinsb/testdata_should_not_be_executable
Remove executable permission from testdata
2019-02-28 20:35:56 -08:00
Kubernetes Prow Robot
55a65763c0
Merge pull request #71479 from soggiest/podpreset-initcontainers
PodPreset: Add same functionality for init containers as standard containers
2019-02-28 20:35:45 -08:00
Eric Walker
75df4dc04c Remove test/integration/* from hack/.golint_failures 2019-02-28 19:52:39 -07:00
Michelle Au
4a5a34b42c bump repd min size in e2es 2019-02-28 18:35:34 -08:00
Kubernetes Prow Robot
1c71f6b078
Merge pull request #74744 from Huang-Wei/debug-gke-cos
print out verbose info for a scheduler e2e test
2019-02-28 17:52:15 -08:00
Mayank Kumar
1b1251277c Promote RunAsGroup to Beta 2019-02-28 17:24:39 -08:00
Kubernetes Prow Robot
ba34591627
Merge pull request #74716 from cofyc/fix73559
Add new e2e test for local PV "Pods sharing a single local PV [Serial]"
2019-02-28 16:07:09 -08:00
Lee Cattarin
e18a2ce2ea Update copyright year 2019-02-28 15:13:44 -08:00
Wei Huang
f1e2884275
print out verbose info for a scheduler e2e test 2019-02-28 15:00:13 -08:00
Christoph Blecker
f1d2fee259
Upgrade to go1.12.0 2019-02-28 14:10:08 -08:00
Lee Cattarin
b1e5d7c342 Replace agent role selector with windows OS selector 2019-02-28 12:26:21 -08:00
Kubernetes Prow Robot
a3cace3aa3
Merge pull request #74648 from johscheuer/fix-redis-e2e-test-image
Add bash dependency to Redis e2e image
2019-02-28 11:51:46 -08:00
Kubernetes Prow Robot
2235a7e9a2
Merge pull request #74554 from mkimuram/issue/74380
Fix resource leaking PDs for volume mode test
2019-02-28 11:51:36 -08:00
Lee Cattarin
fe6057456e Test to check that allocatable memory limit is respected on windows & small edit to density test
Co-authored-by: Bruno Medina <bmedinab@gmail.com>
2019-02-28 11:32:34 -08:00
Yecheng Fu
1bfd3838e2 Add new e2e test for local PV "Pods sharing a single local PV [Serial]" 2019-02-28 17:22:23 +08:00
Kubernetes Prow Robot
711b310389
Merge pull request #74606 from andrewsykim/cleanup-volumeattachment
replace usage of v1beta1 VolumeAttachments with v1
2019-02-28 00:27:36 -08:00
Kubernetes Prow Robot
02b8056efb
Merge pull request #73288 from wangzhen127/npd-config
Decouple node-problem-detector release from kubernetes
2019-02-28 00:27:25 -08:00
danielqsj
a60365e67b Fix golint in test/e2e/windows/hybrid_network.go 2019-02-28 15:55:14 +08:00
danielqsj
1187936c18 Fix golint in test/e2e/windows/volumes.go 2019-02-28 15:48:48 +08:00
danielqsj
cee02e62b7 Fix golint failures for e2e/windows 2019-02-28 15:48:48 +08:00
Kubernetes Prow Robot
6af2e9afea
Merge pull request #74591 from xichengliudui/fixgolint190226
fix shellcheck in test/image/...
2019-02-27 20:39:25 -08:00
SataQiu
c0a0471b3b fix golint failures in test/e2e/instrumentation, test/e2e_node/environment 2019-02-28 12:29:22 +08:00
Kubernetes Prow Robot
48def74e64
Merge pull request #74550 from vyta/e2e-tests/hybrid-test
Add cross-OS test for service connectivity
2019-02-27 15:54:47 -08:00
Andrew Kim
01933b02a3 replace usage of v1beta1 VolumeAttachments with v1 2019-02-27 15:42:12 -05:00
Kubernetes Prow Robot
7dbe426b24
Merge pull request #74320 from gnufied/cleanup-csi-test-dups
Add e2e for CSI volume limit
2019-02-27 12:31:12 -08:00
Kubernetes Prow Robot
5d0e293b85
Merge pull request #70492 from mgdevstack/master-runtime-tabletest
Transition "e2e/common/runtime.go" table based tests to individual tests
2019-02-27 12:31:01 -08:00
Claudiu Belu
81ee747395 tests: Adds private gcr.io Windows image test case
Adds the test "should be able to pull from private registry with secret [NodeConformance]"
which will pull the image "gcr.io/authenticated-image-pulling/windows-nanoserver:v1".
The mentioned image is a manifest list, and it works for both
Windows Server 1803 and Windows Server 2019. The manifest list
will have to be amended when a new Windows Server is released.
2019-02-27 11:23:08 -08:00
Claudiu Belu
ab3ccc1bd7 Removes [WindowsOnly] tag
Removes the [WindowsOnly] tag from the test:

"should be able to pull image from docker hub [WindowsOnly] [NodeConformance]"
2019-02-27 11:23:08 -08:00
Claudiu Belu
0f12efa8d3 tests: Adds gcr.io Windows image test case
Adds the test "should be able to pull image from gcr.io [NodeConformance]",
which will pull the the image "gcr.io/kubernetes-e2e-test-images/windows-nanoserver:v1".
The mentioned image is a manifest list, and it works for both
Windows Server 1803 and Windows Server 2019. The manifest list
will have to be amended when a new Windows Server is released.

The command passed to the Windows Container has been changed to
"ping -t localhost", which will keep the container in the Running state,
which is required and checked by the test.
2019-02-27 11:22:53 -08:00
Masaki Kimura
c5155f81a0 Fix resource leaking PDs for volume mode test
fixes #74380
2019-02-27 18:48:34 +00:00
Vy Ta
a7a1f5871b poll_interval to pollInterval 2019-02-27 10:01:46 -08:00
Vy Ta
25d0352029 remove key from toleration 2019-02-27 09:47:33 -08:00
Kevin Taylor
833720669c Fix pod creation for node e2e tests 2019-02-27 15:38:17 +00:00
Johannes M. Scheuermann
cf171f43eb Add bash dependency to redis e2e image 2019-02-27 11:02:21 +01:00
Kubernetes Prow Robot
076af3d1b5
Merge pull request #74570 from s-ito-ts/add_resourcequota_test
Adding e2e test for update and delete of resourcequota
2019-02-27 01:04:08 -08:00
Kubernetes Prow Robot
649f225517
Merge pull request #73064 from pontiyaraja/flaky
removed flaky watch from pods test cases
2019-02-27 01:03:57 -08:00
Vu Cong Tuan
c747b7f38d Fix many typos in both code and comments
Signed-off-by: Vu Cong Tuan <tuanvc@vn.fujitsu.com>
2019-02-27 14:41:02 +07:00
Kubernetes Prow Robot
218642e84e
Merge pull request #74562 from roycaihw/feat/admission-webhook-timeout
admission webhook: timeout configuration
2019-02-26 23:40:44 -08:00
Mayank Gaikwad
5c96bb6be7 Refactor table based tests into individual tests 2019-02-27 12:45:04 +05:30
pontiyaraja
12943ce1ac removed flaky watch from pods test cases 2019-02-27 11:24:20 +05:30
Zhen Wang
6df207bdaa allows configuring NPD image version in node e2e test and fix the test 2019-02-26 21:29:50 -08:00