Commit Graph

13457 Commits

Author SHA1 Message Date
Yubao Liu
f7f51fab2a change default 5s ttl to 30s for coredns to be same with kube-dns/dnsmasq 2019-04-07 20:41:25 +08:00
Antoine Pelisse
1bf99e2e4e Create kubectl rollout restart deployment/$deployment to do a rolling restart 2019-04-06 21:14:40 -07:00
Kubernetes Prow Robot
9c2df998af
Merge pull request #75820 from YoubingLi/bugfix
Fixes #75706 - Show warning message when namespace is specified for deleting a cluster-scoped resource
2019-04-06 11:00:27 -07:00
Kubernetes Prow Robot
150a501750
Merge pull request #73557 from bsalamat/use_priority_ga
Update usages of PriorityClass to V1
2019-04-06 09:36:27 -07:00
Kubernetes Prow Robot
2c013fa1a8
Merge pull request #75129 from xing-yang/informer
Move CSIDriver Lister to the controller
2019-04-05 18:06:27 -07:00
Robert Krawitz
1c0d021de8 Graduate SupportNodePidsLimit to beta 2019-04-05 18:29:52 -04:00
Bobby (Babak) Salamat
16a7cbd320 generated files 2019-04-05 14:30:52 -07:00
Bobby (Babak) Salamat
8574e3e3f4 Use Scheduling V1 API instead of Scheduling v1beta1 2019-04-05 14:21:45 -07:00
Kubernetes Prow Robot
92a2076149
Merge pull request #76203 from andrewsykim/test-reviewer
add @andrewsykim, @neoli123, @stevesloka and @johnSchnake as test/ reviewers
2019-04-05 13:14:10 -07:00
Kubernetes Prow Robot
d7db904ef8
Merge pull request #76192 from wongma7/hostpath-provisioner
Update csi-hostpath-provisioner to v1.1.0-rc2
2019-04-05 13:13:58 -07:00
Kubernetes Prow Robot
5c205da741
Merge pull request #76052 from neolit123/remove-cmd-kubeadm-from-e2e-fw
test: partially decouple from cmd/kubeadm
2019-04-05 13:13:46 -07:00
Kubernetes Prow Robot
762a9e5b2d
Merge pull request #76017 from wojtek-t/tls_in_kubemark
Add TLS support to kubemark
2019-04-05 13:13:34 -07:00
Xing Yang
000ab86788 Move CSIDriver Lister to the controller 2019-04-05 12:20:11 -07:00
Kubernetes Prow Robot
20cece67b5
Merge pull request #76006 from atoato88/fix-golint-e2e-framework-s
Fix golint failures of e2e/framework/statefulset_utils.go
2019-04-05 11:52:10 -07:00
Kubernetes Prow Robot
4d6e2fcef0
Merge pull request #75936 from qingsenLi/k8s190401
fix a mistake
2019-04-05 11:51:45 -07:00
Kubernetes Prow Robot
23d7e489dd
Merge pull request #75797 from atoato88/fix-golint-e2e-framework-v
Fix golint failures of e2e/framework/v*.go
2019-04-05 11:51:33 -07:00
Kubernetes Prow Robot
79000d4ac5
Merge pull request #75783 from oomichi/golint-e2e-framework-m
Fix golint failures of e2e/framework/metrics_util.go
2019-04-05 11:51:21 -07:00
Kubernetes Prow Robot
4d73d99fd7
Merge pull request #75705 from oomichi/golint-e2e-framework-f
Fix golint failures of e2e/framework/f*.go
2019-04-05 10:21:20 -07:00
Andrew Sy Kim
046f322cd0 add @andrewsykim, @neolit123, @stevesloka and @johnSchnake as test/ reviewer
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-04-05 12:33:38 -04:00
Kubernetes Prow Robot
e18667405d
Merge pull request #76193 from wongma7/multivolume-node-affinity
Use metadata.name instead of hostname label when setting affinity
2019-04-05 09:01:32 -07:00
Matthew Wong
c802f81045 Update to latest csi/external-provisioner rbac 2019-04-05 11:09:25 -04:00
Matthew Wong
900034e5ed Use metadata.name instead of hostname label when setting affinity 2019-04-05 07:53:35 -04:00
Matthew Wong
5d9330aa75 Update csi-hostpath-provisioner to v1.1.0-rc2 2019-04-05 07:38:43 -04:00
Jan Safranek
fc8b8669d1 Don't run topology tests with GCE CSI driver on non-GCE cloud 2019-04-05 13:26:11 +02:00
Kubernetes Prow Robot
ca1e47065b
Merge pull request #76163 from msau42/csi-beta-e2e
Use official images in pd driver e2es
2019-04-05 01:17:20 -07:00
Kubernetes Prow Robot
c644851d31
Merge pull request #76136 from mkumatag/update_etcd_repo
Use multi-arch etcd image
2019-04-04 22:31:54 -07:00
Kubernetes Prow Robot
ca7b6129d5
Merge pull request #76057 from atoato88/fix-golint-e2e-framework-r
Fix golint failures of e2e/framework/r*.go
2019-04-04 21:07:29 -07:00
Kubernetes Prow Robot
73c1e35491
Merge pull request #76174 from msau42/slow-e2es
Mark slow storage e2es
2019-04-04 19:37:19 -07:00
Michelle Au
ce7ac63916 Mark slow storage e2es 2019-04-04 18:01:22 -07:00
Kubernetes Prow Robot
8660288acd
Merge pull request #76034 from mkimuram/issue/75775
Restore volume tests using statefulset
2019-04-04 17:48:07 -07:00
Kubernetes Prow Robot
df646dfed8
Merge pull request #76032 from bclau/tests/agnhost-image
tests: Adds agnhost image
2019-04-04 17:47:55 -07:00
Kubernetes Prow Robot
f25fa0e9e1
Merge pull request #75750 from msau42/metrics
Improve volume operation metrics
2019-04-04 17:47:43 -07:00
Akihito INOH
fad1ebc45f Fix golint failures of e2e/framework/v*.go
This fixes golint failures of the following file:
- test/e2e/framework/volume_util.go

This changes following file because of change function name
in above file.
- test/e2e/storage/testsuites/volumes.go
2019-04-05 06:16:13 +09:00
Michelle Au
2379c9896a Enable topology in pd driver e2es 2019-04-04 11:54:54 -07:00
Masaki Kimura
b474b28f7b Use framework.ExpectNoError() for rest of under test/e2e/storage 2019-04-04 18:51:51 +00:00
Masaki Kimura
f2e39e42b8 Use framework.ExpectNoError() for test/e2e/storage/persistent_volumes.go 2019-04-04 18:42:36 +00:00
Masaki Kimura
15188268b4 Restore volume tests using statefulset 2019-04-04 18:42:36 +00:00
Manjunath A Kumatagi
175dcdb3d6 Use multi-arch etcd image 2019-04-04 08:35:57 -07:00
Lubomir I. Ivanov
76906dd738 test: partially decouple from cmd/kubeadm
The test package imports cmd/kubeadm, which is far from ideal.
There are a couple of reasons for the import:
1) Marshaling of Ingress from api/extensions/v1beta1.

To fix that include a local function in e2e/manifest/manifest.go
that does that same as the kubeadm MarshalToYaml.

2) Using PKI helper function in apimachinery and auth tests.

To fix that include a new file under test/utils/pki_helpers.go
that only contains the required helpers instead of including the whole
kubeadm pkiutil package.

There is another related problem:
e2e_node/e2e_node_suite_test.go includes:
k8s.io/kubernetes/cmd/kubeadm/app/util/system

But this has to be done in a follow up.
2019-04-04 15:41:28 +03:00
Kubernetes Prow Robot
4d380ee279
Merge pull request #76117 from SataQiu/fix-golint-test-20190404
Fix some golint failures of e2e_kubeadm/bootstrap_signer.go e2e_kubeadm/framework.go
2019-04-04 05:30:52 -07:00
SataQiu
a2954adf33 fix some shellcheck failures of test/images/image-util.sh 2019-04-04 14:35:16 +08:00
Akihito INOH
c8f933c591 Fix golint failures of e2e/framework/r*.go
This fixes golint failures of the following files:
- test/e2e/framework/resource_usage_gatherer.go
- test/e2e/framework/rs_util.go
2019-04-04 13:15:44 +09:00
Kubernetes Prow Robot
c2877f862a
Merge pull request #76091 from andrewsykim/external-resizer-rbac
external-resizer in e2e tests should have access to leases
2019-04-03 21:07:36 -07:00
Kubernetes Prow Robot
4e728efbd6
Merge pull request #76087 from sttts/sttts-fail-feature-gate-errors
Handle feature gate errors
2019-04-03 21:07:24 -07:00
Kubernetes Prow Robot
9e97aafe5a
Merge pull request #76045 from anfernee/issue-74839
Image for Regression test for #74839
2019-04-03 21:07:01 -07:00
SataQiu
e6b9197f7c fix some golint failures of e2e_kubeadm/bootstrap_signer.go e2e_kubeadm/framework.go 2019-04-04 11:13:27 +08:00
Mayank Gaikwad
295f43b1fa Promote container runtime e2e verifying non-default termination message path 2019-04-04 07:09:17 +05:30
Solly Ross
837976cb59 Prune directxman12 from metrics/autoscaling OWNERS
Since I'm not really working on metrics or autoscaling stuff any more, I
figured it was time to remove myself from the approvers list.
2019-04-03 16:24:51 -07:00
Yongkun Gui
ccf36c235b Add test image for issue-74839 2019-04-03 15:44:32 -07:00
Kubernetes Prow Robot
445a373458
Merge pull request #76043 from seans3/integration-fix
test-cmd: Fixes erroneous integration test that usually passes accidentally
2019-04-03 14:55:37 -07:00
Kubernetes Prow Robot
7849396966
Merge pull request #76028 from SataQiu/fix-e2e-framework-20190403
Fix golint failures of e2e/framework/rc_util.go
2019-04-03 14:55:25 -07:00
Kubernetes Prow Robot
f0ea0fccdf
Merge pull request #75909 from ravisantoshgudimetla/fix-hostname
Fix nodeSelector hostname
2019-04-03 14:55:01 -07:00
Michelle Au
db472c87a7 Add e2e tests 2019-04-03 12:03:26 -07:00
Kubernetes Prow Robot
c79fbabf23
Merge pull request #75389 from jpbetz/pagination-v1
Paginate watch cache->etcd List calls & reflector init/resync List calls not served by watch cache
2019-04-03 11:14:25 -07:00
Andrew Sy Kim
11042e015e external-resizer in e2e tests should have access to leases
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-04-03 12:16:42 -04:00
Kubernetes Prow Robot
25ffbe6338
Merge pull request #74274 from oomichi/use-ExpectNoError-for-e2e-storage
Use framework.ExpectNoError() for e2e/storage
2019-04-03 08:33:47 -07:00
Dr. Stefan Schimanski
37046e3028 Handle feature gate errors 2019-04-03 16:52:05 +02:00
SataQiu
b732a53c6b fix shellcheck failures of test/images/pets/redis-installer/on-start.sh 2019-04-03 21:55:05 +08:00
wojtekt
2c36a2ec1a Add TLS support to kubemark 2019-04-03 08:29:42 +02:00
Kubernetes Prow Robot
51db0fe21a
Merge pull request #76030 from andrewsykim/e2e-legacyscheme
test/e2e: replace legacy scheme with client-go scheme
2019-04-02 22:47:53 -07:00
SataQiu
9452461c43 fix golint failures of e2e/framework/rc_util.go 2019-04-03 12:04:12 +08:00
Sean Sullivan
402d61c189 test-cmd: Fixes erroneous integration test that usually passes accidentally 2019-04-02 20:21:14 -07:00
Joe Betz
e5a4f09ab3 Add resourceVersion=0 paginated list integration test for disabled and enabled watch cache 2019-04-02 13:06:15 -07:00
Michelle Au
d2aa8178f2 Remove alpha CRD install 2019-04-02 10:59:11 -07:00
Kenichi Omichi
7af6ddd353 Fix golint failures of framework/metrics_util.go
This fixes golint failures of framework/metrics_util.go.

Cleanup:
- SaturationTime was only used in test/e2e/scalability/density.go.
  So this moves it into the e2e test.
- interestingClusterAutoscalerMetrics was not used in filterMetrics()
  so this removes the related code.
2019-04-02 16:25:16 +00:00
Kenichi Omichi
542b07cd6a Use framework.ExpectNoError() for e2e/storage
The e2e test framework has ExpectNoError() for readable test code.
This replaces Expect(err).NotTo(HaveOccurred()) with it for e2e/storage.
2019-04-02 16:20:35 +00:00
Andrew Sy Kim
4ac9feb7f9 test/e2e: replace legacy scheme with client-go scheme
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-04-02 10:08:55 -04:00
Lubomir I. Ivanov
405f9eb703 test/e2e/apps: fix panic in DaemonSet tests due to legacy scheme 2019-04-02 15:20:00 +03:00
qingsenLi
2c4860746b fix a mistake-2 2019-04-02 18:19:17 +08:00
Kubernetes Prow Robot
de2bfc78cb
Merge pull request #74119 from yeya24/patch-1
remove the redundant "the"
2019-04-02 03:04:34 -07:00
Kubernetes Prow Robot
54ee638d9d
Merge pull request #75979 from verult/repd-e2e-nilpointer
Fixed storage class nilpointer in RePD failover test
2019-04-02 01:37:22 -07:00
Kubernetes Prow Robot
fd23c84022
Merge pull request #75953 from wojtek-t/add_etcd_metrics
Expose etcd client latency metrics
2019-04-02 01:37:11 -07:00
Kubernetes Prow Robot
fe9d7d59d2
Merge pull request #74406 from danielqsj/clean_unused_metrics
clean nonexistent metrics in e2e test
2019-04-02 01:36:46 -07:00
Akihito INOH
b0a4d7cdcb Fix golint failures of e2e/framework/statefulset_utils.go
This fixes golint failures of the following file:
- test/e2e/framework/statefulset_utils.go

This changes following file because of change function name
in above file.
- test/e2e/apps/statefulset.go
2019-04-02 15:34:30 +09:00
Kubernetes Prow Robot
a38fdcfed5
Merge pull request #75975 from oomichi/golint-e2e-framework-pv_util
Fix golint failures of e2e/framework/pv_util.go
2019-04-01 22:45:08 -07:00
Youbing Li
c438d7b495 Fixes #75706 - Show warning message when namespace is specified for deleting a cluster-scoped resource 2019-04-02 00:49:40 -04:00
Kubernetes Prow Robot
4eee255ef3
Merge pull request #75888 from rramkumar1/patch-13
Remove Ingress-GCE test which checks that sync error on one Ingress does not block other syncs
2019-04-01 15:49:09 -07:00
Kubernetes Prow Robot
e192be8b1a
Merge pull request #75873 from listx/master
add listx to OWNERS for test/images and test/utils/image
2019-04-01 15:48:58 -07:00
Kubernetes Prow Robot
5d77a5217a
Merge pull request #75616 from andrewsykim/e2e-remove-internal-clientset
remove usages of internal clientset in e2e framework
2019-04-01 15:48:36 -07:00
Cheng Xing
60c2885194 Regional PD failover e2e test: set pvc name explicitly instead of relying on GenerateName 2019-04-01 14:41:30 -07:00
Kenichi Omichi
85631679ad Fix golint failures of e2e/framework/pv_util.go 2019-04-01 20:39:25 +00:00
Kubernetes Prow Robot
c8d6d7c0d0
Merge pull request #74757 from tallclair/runtimehandler-e2e
Add custom runtime handler e2e test
2019-04-01 13:18:47 -07:00
wojtekt
d5c9ad8049 Expose etcd client latency metrics 2019-04-01 20:46:18 +02:00
Cheng Xing
d20845f635 Fixed storage class nilpointer in RePD failover test 2019-04-01 11:35:02 -07:00
Kubernetes Prow Robot
46ae77421c
Merge pull request #73041 from giuseppe/fix-logs
kubelet: fix some race conditions with logs -f
2019-04-01 10:02:34 -07:00
Rohit Ramkumar
b2a3f72a1c Remove Ingress-GCE test which checks that sync error on one Ingress does not block other syncs 2019-04-01 11:42:45 -04:00
SataQiu
e8a72dea37 fix golint failures of e2e/framework/pods.go, provider.go, upgrade_util.go 2019-04-01 16:04:29 +08:00
Kubernetes Prow Robot
2792f1a24e
Merge pull request #75857 from danielqsj/sc1
support both JSON and YAML for scheduler configuration
2019-03-31 12:36:31 -07:00
Giuseppe Scrivano
31397083b2
test, e2e: add tests for logs -f
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-03-31 12:15:36 +02:00
SataQiu
610a1d1b96 fix golint failures of e2e/framework/ssh.go, e2e/framework/size.go 2019-03-31 16:32:22 +08:00
Kubernetes Prow Robot
b0aee7fa3c
Merge pull request #75897 from oomichi/golint-e2e-framework-p
Fix golint failures of e2e/framework/p*.go
2019-03-30 15:57:20 -07:00
Claudiu Belu
625a9d98a8 tests: Adds agnhost image
The new image is meant to be used for testing purposes, whenever there
are significant differences between Linux and Windows in the way
something is obtained or tested. For example, the DNS suffix list can
be found in ``/etc/resolv.conf`` on Linux, but on Windows, such file
does not exist, and one way to obtain the mentioned list would be
through some powershell commands.

The image contains an extendable CLI as the entrypoint, the tests
only having to add the necessary arguments. For the previous example,
passing the ``dns-suffix`` argument will print out the comma separated
DNS suffix list, on both Linux and Windows.

The image name means that it should behave the same way on any host,
no matter the host OS.
2019-03-30 06:04:56 -07:00
Kubernetes Prow Robot
ef42d82705
Merge pull request #75796 from msau42/fix-e2e-multizone
Switch PD tests to use delayed binding
2019-03-30 02:57:08 -07:00
Kubernetes Prow Robot
aad83d1e49
Merge pull request #75892 from rramkumar1/patch-14
Remove static IP test from Ingress-GCE e2e tests
2019-03-29 23:53:45 -07:00
Kubernetes Prow Robot
b179862d96
Merge pull request #75613 from tallclair/owners
Copy node test owners to e2e/common
2019-03-29 23:53:08 -07:00
Kubernetes Prow Robot
a9db137737
Merge pull request #75621 from oomichi/golint-e2e-framework-g-j
Fix golint failures of e2e/framework/[g-j]*.go
2019-03-29 21:11:08 -07:00
Kubernetes Prow Robot
789818794f
Merge pull request #75860 from oomichi/golint-e2e-framework-n
Fix golint failures of e2e/framework/n*.go
2019-03-29 17:33:32 -07:00
ravisantoshgudimetla
3a4a69280b Fix nodeSelector hostname 2019-03-29 20:01:45 -04:00
Kenichi Omichi
1fa57d0a85 Fix golint failures of e2e/framework/[g-j]*.go 2019-03-29 23:46:26 +00:00
ravisantoshgudimetla
346f97c048 Ignore BE pods while evaluating 2019-03-29 18:35:31 -04:00
Michelle Au
634be030a8 Fix provisioning tests to allow delayed binding 2019-03-29 15:00:26 -07:00
ravisantoshgudimetla
a6055b5c26 Fix usage priority fraction 2019-03-29 17:56:42 -04:00
Kenichi Omichi
a81dd53e53 Fix golint failures of e2e/framework/p*.go
This fixes golint failures of
- test/e2e/framework/perf_util.go
- test/e2e/framework/pods.go
- test/e2e/framework/profile_gatherer.go
- test/e2e/framework/provider.go
- test/e2e/framework/psp_util.go
2019-03-29 18:50:01 +00:00
Rohit Ramkumar
f25c80224e Remove static IP test from Ingress-GCE e2e tests 2019-03-29 13:50:13 -04:00
Linus Arver
918c8ecad2 add listx to OWNERS for test/images and test/utils/image
I'd like to use /lgtm and /approve commands directly on issues/PRs that
are forwarded to me by ixdy@, such as for
https://github.com/kubernetes/kubernetes/issues/73507 and
https://github.com/kubernetes/kubernetes/pull/73739.

Change-Id: I07cd236a67530165432b66ed9557adddd48e076a
2019-03-28 23:55:11 -07:00
SataQiu
a232c3266d fix golint failures of e2e/framework/test_context.go 2019-03-29 14:41:24 +08:00
danielqsj
49c4c6f76f add yaml test cases for scheduler creation 2019-03-29 11:29:09 +08:00
Kenichi Omichi
78a93f8ced Fix golint failures of e2e/framework/n*.go 2019-03-29 02:17:43 +00:00
Andrew Sy Kim
1470df7a05 remove usages of internal clientset in e2e framework
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-03-28 21:13:40 -04:00
Kubernetes Prow Robot
da018a6bfa
Merge pull request #75362 from serathius/gcp-security-patches
Update gcp images with security patches
2019-03-28 14:25:58 -07:00
Kubernetes Prow Robot
5716127cff
Merge pull request #75641 from fabriziopandini/e2e-kubeadm-new-test
E2e kubeadm new test
2019-03-28 03:48:43 -07:00
Claudiu Belu
e44961e47d tests: Solve backoff tests flakiness
The container status is not constant, and can change over time in the
following order:

- Running: When kubelet reports the Pod as running. This state is missable if
  the container finishes its command faster than kubelet getting to report this
  state.
- Terminated: After the Container finished its command, it will enter the Terminated
  state, in which will remain for a short period of time, before kubelet will try
  to restart it.
- Waiting: When kubelet has to wait for the backoff period to expire before actually
  restarting the container.

Treating and handling each of these states when calculating the backoff period between
container restarts will make the tests more reliable.
2019-03-28 02:08:40 -07:00
Michelle Au
bbf6683e22 Switch PD tests to use delayed binding 2019-03-27 18:30:13 -07:00
Kubernetes Prow Robot
b9dbb458fb
Merge pull request #72384 from zhouhaibing089/quota-crd
resourcequota: use dynamic informer
2019-03-27 16:00:49 -07:00
Rohit Ramkumar
2020868fdf Remove tests exercising the backend protocol feature of Ingress-GCE 2019-03-27 15:51:02 -04:00
zhouhaibing089
f58c2ae62d resourcequota: use dynamic informer
The resource quota controller should use a dynamic informer so it
can create informer for custom resources.
2019-03-27 11:08:24 -07:00
Mayank Gaikwad
8f5c3a2980 Promote DNS e2e verifying DNS resolution for externalName services 2019-03-27 10:45:59 +05:30
Kubernetes Prow Robot
743fddd174
Merge pull request #75605 from smarterclayton/check_crd_proto
Check CRD protobuf negotiation in integration tests
2019-03-26 21:58:47 -07:00
Kubernetes Prow Robot
e05be44808
Merge pull request #74693 from mkimuram/issue/74545
Add e2e tests for multiAttach
2019-03-26 20:44:48 -07:00
Kubernetes Prow Robot
d24fe8a801
Merge pull request #75735 from andrewsykim/update-install-etcd-link
fix link to etcd install docs for integration tests
2019-03-26 18:11:29 -07:00
Kubernetes Prow Robot
feb9bb151c
Merge pull request #75730 from wojtek-t/minor_perf_improvements
Avoid allocations in ByIndex() function
2019-03-26 18:11:16 -07:00
Kubernetes Prow Robot
4b3eb60081
Merge pull request #75531 from dims/add-new-staging-repository-for-cri-api
New staging repository for cri-api
2019-03-26 18:10:49 -07:00
Kubernetes Prow Robot
094938895a
Merge pull request #75746 from verult/repd-min-size
Updated regional PD minimum size for zonal failover test
2019-03-26 16:59:00 -07:00
Davanum Srinivas
33081c1f07
New staging repository for cri-api
Change-Id: I2160b0b0ec4b9870a2d4452b428e395bbe12afbb
2019-03-26 18:21:04 -04:00
Kubernetes Prow Robot
2086f81546
Merge pull request #74678 from pmcalpine/lint-bs_cj
Fix some golint failures for pkg/controller
2019-03-26 15:10:16 -07:00
Cheng Xing
6a02ebb30c Updated regional PD minimum size; changed regional PD failover test to use StorageClassTest to generate PVC template 2019-03-26 14:23:08 -07:00
Kubernetes Prow Robot
531dbd409f
Merge pull request #75445 from shinytang6/enhance/fmt
Replace all time.Now().Sub with time.Since
2019-03-26 13:55:17 -07:00
Kubernetes Prow Robot
11d472ea01
Merge pull request #72179 from WanLinghao/sa_controller
Migrate the controller to use TokenRequest and rotate token periodically
2019-03-26 12:33:19 -07:00
Andrew Sy Kim
e26157df07 fix link to etcd install docs 2019-03-26 13:40:18 -04:00
wojtekt
7d46e27db1 Avoid allocations in ByIndex() function 2019-03-26 14:14:42 +01:00
fabriziopandini
5b675d6f00 e2e-kubeadm-new-test 2019-03-26 12:16:57 +01:00
Kubernetes Prow Robot
bff4ecbe1b
Merge pull request #75685 from freehan/flaky-test
make NEG tests more resilient to API failures and add more failure lo…
2019-03-25 23:13:17 -07:00
SataQiu
b1cb58fdf2 fix golint failures in test/e2e_node/builder 2019-03-26 14:12:45 +08:00
Kubernetes Prow Robot
0162b98a4f
Merge pull request #75650 from xichengliudui/add-xichengliudui-to-onwers
Add @xichengliudui to test/OWNERS
2019-03-25 21:17:17 -07:00
Kubernetes Prow Robot
2cda7d29e8
Merge pull request #75690 from oomichi/golint-e2e-framework-d-e
Fix golint failures of e2e/framework/[d-e]*.go
2019-03-25 19:47:28 -07:00
Kubernetes Prow Robot
1e36b6f47a
Merge pull request #75640 from fabriziopandini/e2e-kubeadm-refactor
e2e kubeadm refactor
2019-03-25 19:47:15 -07:00
Minhan Xia
600e8b0eba make NEG tests more resilient to API failures and add more failure logging 2019-03-25 16:53:33 -07:00
Kenichi Omichi
e28fb1a1f4 Fix golint failures of e2e/framework/f*.go
This fixes golint failures of the following files:
- test/e2e/framework/flake_reporting_util.go
- test/e2e/framework/framework.go
2019-03-25 23:21:33 +00:00
Kenichi Omichi
65e6e46515 Fix golint failures of e2e/framework/[d-e]*.go
This fixes golint failures on the following files:
- test/e2e/framework/deployment_util.go
- test/e2e/framework/exec_util.go

Cleanup:
- ScaleDeployment() was not used at all, so let's remove it.
- ExecCommandInPod() and ExecCommandInPodWithFullOutput() were called
  in the framework only, so let's make them local.
2019-03-25 20:42:11 +00:00
Kenichi Omichi
20074882db Fix golint failures of e2e/framework/[k-l]*.go
In addition, this replaces the combination of GetCPUSummary() and
FormatCPUSummary() with LogCPUSummary() in e2e/node/kubelet_perf.go
because that is completely same.
2019-03-25 19:46:51 +00:00
fabriziopandini
cb306ae0b3 e2e-kubeadm-refactor 2019-03-25 15:28:30 +01:00
WanLinghao
244b244f9d Migrate the controller to use TokenRequest and rotate token periodically 2019-03-25 14:54:22 +08:00
globervinodhn
a5f3e24ab7 promote empty secret key test to conformance: Version updated to v1.15 2019-03-23 16:07:50 +05:30
Kubernetes Prow Robot
3dfe9072ad
Merge pull request #75615 from oomichi/golint-e2e-framework
Fix golint failures of e2e/framework/[a-c].go
2019-03-22 17:02:35 -07:00
Kubernetes Prow Robot
18ac575d9b
Merge pull request #75611 from neolit123/e2e-fw-owners
test/e2e/framework: add OWNERS file
2019-03-22 15:46:46 -07:00
Kubernetes Prow Robot
a3bc56fffb
Merge pull request #74746 from oomichi/golint-e2e-framework-gce
Fix golint failures under test/e2e/[..]/gce
2019-03-22 15:46:08 -07:00
Kenichi Omichi
63f44a0bbf Fix golint failures of e2e/framework/[a-c].go
This fixes golint failures on the following files:
- test/e2e/framework/authorizer_util.go
- test/e2e/framework/cleanup.go
- test/e2e/framework/create.go
2019-03-22 21:16:45 +00:00
Kubernetes Prow Robot
290cf142e1
Merge pull request #75302 from liggitt/apps-v1-test
Use apps/v1 APIs in integration tests
2019-03-22 14:09:49 -07:00
Tim Allclair
59bfb1cb9a Copy node test owners to e2e/common 2019-03-22 12:02:05 -07:00
Lubomir I. Ivanov
e0f0d4c9f8 test/e2e/framework: add OWNERS file 2019-03-22 21:00:07 +02:00
Clayton Coleman
6825daa91a
Check CRD protobuf negotiation in integration tests
Add a few more tests to verify CRDs don't regress as client changes
are made.
2019-03-22 13:14:46 -04:00
Kenichi Omichi
da7c9f70c3 Fix golint failures under test/e2e/[..]/gce
This fixes golint failures under test/e2e/framework/providers/gce/.

Cleanup:
* FirewallTimeoutDefault is not used at all, so remove it.
* FirewallTestTcpTimeout, FirewallTestHttpPort and FirewallTestUdpPort
  are used at test/e2e/network/firewall.go only. So move them.
2019-03-22 15:59:17 +00:00
Kubernetes Prow Robot
dfe2e0e705
Merge pull request #75349 from brahmaroutu/cifailure_daemonset
Daemon Set Conformance test fails in CI process using ci-kubernetes-c…
2019-03-22 00:04:30 -07:00
Kubernetes Prow Robot
c48ed1c5ac
Merge pull request #74356 from oomichi/golint-e2e-framework-kubemark
Fix golint failures for e2e/[..]/kubemark
2019-03-21 19:26:32 -07:00
Kubernetes Prow Robot
775d298cb0
Merge pull request #75347 from kanwar-saad/secret_negative_test_fix
test/e2e: Fix double error in secret negative testcase
2019-03-21 17:32:30 -07:00
Kubernetes Prow Robot
e5d99f893b
Merge pull request #75280 from pontiyaraja/volumes
removed time flaky and added default pod delete timeout
2019-03-21 17:32:17 -07:00
Jiaying Zhang
54c2c2690c Update test/e2e/scheduling/nvidia-gpus to also run cuda10 vector add. 2019-03-21 16:29:47 -07:00
Claudiu Belu
06f115641c tests: Splits hostname from DNS test
At the moment, Windows cannot mount individual files into Containers, which means
that the Kubelet-managed hosts file cannot be mounted into the Container, causing
the "should provide DNS for pods for Hostname and Subdomain" test to fail.

The mentioned test has /etc/hosts file entry checks. This commits separates the
DNS check and the /etc/hosts checks into two tests.
2019-03-21 06:14:53 -07:00
Claudiu Belu
e372f56b25
tests: Fixes Python3 compatibility
The Python code used in the example_cluster_dns test is not compatible with Python3.

Keeping in mind that Python2 will no longer be supported from 2020 onwards, it is a good idea to address this issue.
2019-03-21 14:32:25 +02:00
shinytang6
5c9f4d9dc6 replace time.Now().Sub with time.Since 2019-03-21 18:02:55 +08:00
Kubernetes Prow Robot
7c2b93ce86
Merge pull request #75525 from fabriziopandini/kubeadm-test-owners
Add test/e2e_kubeadm/ OWNERS file
2019-03-20 17:55:49 -07:00
Kubernetes Prow Robot
bce6434a3a
Merge pull request #75517 from jingxu97/march/gkeglustertest
Skip GlusterDynamicProvisioner test in GKE
2019-03-20 17:55:36 -07:00
aaa
46799b6dd4 Fix shellcheck failures in bootstrap.sh and create_block.sh 2019-03-20 17:37:50 -04:00
fabriziopandini
437bd8dff4 kubeadm-test-owners 2019-03-20 22:19:17 +01:00
Srini Brahmaroutu
b64066b41b Daemon Set Conformance test fails in CI process using ci-kubernetes-conformance-image as the num nodes is calculates incorrectly by the test context.
Fixes #75348
2019-03-20 14:01:19 -07:00
Kubernetes Prow Robot
8142ab5904
Merge pull request #75466 from denkensk/import-defaultprovider
import DefaultProvider in BenchmarkScheduling util
2019-03-20 13:31:38 -07:00
Jing Xu
221c673f31 Skip GlusterDynamicProvisioner test in GKE
The GlusterDynamicProvisioner test will not work on GKE because master
node is in a different project and cannot talk to the pod running on
node which is used for gluster provisioner. So add the code to skip the
test on GKE
2019-03-20 12:07:50 -07:00
Kubernetes Prow Robot
02387f1a88
Merge pull request #75344 from jeffdyoung/multi-arch-tests
enable s390x to test containers
2019-03-20 11:08:41 -07:00
Kubernetes Prow Robot
e34879925a
Merge pull request #75335 from sjenning/fix-sched-preempt-test
test/e2e: fix PreemptionExecutionPath nodeSelector
2019-03-20 11:08:14 -07:00
Kubernetes Prow Robot
6f9bf5fe98
Merge pull request #71548 from smarterclayton/watch_converted
Support Table and PartialObjectMetadata on watch
2019-03-19 22:42:22 -07:00
Kubernetes Prow Robot
6f93f87ac4
Merge pull request #75002 from rramkumar1/remove-ingress-upgrade-tests
Remove Ingress-GCE upgrade + downgrade tests from k/k
2019-03-19 21:27:01 -07:00
Kubernetes Prow Robot
66674f5496
Merge pull request #74408 from lubinsz/pr_tf
node-perf/tf-wide-deep: add support for Arm64
2019-03-19 19:01:17 -07:00
Peter McAlpine
ac88e13821 Fix lint warnings in pkg/controller/cronjob. 2019-03-19 14:36:26 -04:00
pontiyaraja
d46c56f384 promote should be submitted and removed e2e test case to conformance 2019-03-19 15:14:54 +05:30
pontiyaraja
584e00aa20 promote shared volumes between the container in a pod e2e to conformance 2019-03-19 14:39:40 +05:30
wangqingcan
e2af183d3e import DefaultProvider 2019-03-19 16:21:34 +08:00
Kubernetes Prow Robot
5cc445dc8b
Merge pull request #75447 from liggitt/flaky-audit
Mark audit e2e tests as flaky
2019-03-18 21:56:19 -07:00
danielqsj
088773e030 add kubelet_docker_operations_errors_total into InterestingKubeletMetrics 2019-03-19 10:30:31 +08:00
Dan Williams
bfd8ad3268 build/gci: bump CNI version to 0.7.5 2019-03-18 17:16:42 -05:00
jeffdyoung
468d0a2daa add s390x to test containers 2019-03-18 17:13:49 -04:00
aaa
7ea664dfe8 Add xichengliudui to test/OWNERS 2019-03-18 16:21:49 -04:00
Kubernetes Prow Robot
cd9f18bd7d
Merge pull request #75340 from pohly/framework-crd-utils
framework k8s.io/apiextensions-apiserver dependency
2019-03-18 12:26:22 -07:00
Jordan Liggitt
cacafc1947 Mark audit e2e tests as flaky 2019-03-18 14:59:37 -04:00
Rohit Ramkumar
31d5e3c1a6 Remove Ingress-GCE upgrade tests from k/k 2019-03-18 10:18:08 -07:00
danielqsj
b6ce45961b clean nonexistent metrics in e2e test 2019-03-18 17:57:40 +08:00
Kubernetes Prow Robot
1a24040447
Merge pull request #74781 from liggitt/http2-watch
kubelet watch-manager test, restore watch-based manager default
2019-03-16 12:52:56 -07:00
Kubernetes Prow Robot
3512757882
Merge pull request #75416 from tallclair/local-redirects
Don't follow non-local redirects from HTTP probes
2019-03-16 09:14:57 -07:00
Kubernetes Prow Robot
d156c09010
Merge pull request #75411 from freehan/disable-test
disable HTTP2 ingress test
2019-03-16 02:24:57 -07:00
Kubernetes Prow Robot
f3fdac12a0
Merge pull request #75413 from BenTheElder/cross-1.12.1
upgrade to go1.12.1
2019-03-15 21:26:56 -07:00
Kubernetes Prow Robot
f53987511d
Merge pull request #75393 from neolit123/revert-75305-workaround_once_mutex_issue
Revert "Speculative workaround for #74890"
2019-03-15 18:18:57 -07:00
Kubernetes Prow Robot
df2094b3d7
Merge pull request #74646 from mkumatag/refactor_workload_tests
Refactor the node perf tests to run on non-amd64 cluster
2019-03-15 12:40:57 -07:00
Tim Allclair
691a301368 e2e test for http probe redirects 2019-03-15 11:52:25 -07:00
Benjamin Elder
650ffe2085 update test/images to go 1.12.1 2019-03-15 10:58:54 -07:00
Minhan Xia
3aa2f1b05c disable HTTP2 ingress test 2019-03-15 10:18:45 -07:00
Marek Siarkowicz
9e9b906047 Update gcp images with security patches
[stackdriver addon] Bump prometheus-to-sd to v0.5.0 to pick up security fixes.
[fluentd-gcp addon] Bump fluentd-gcp-scaler to v0.5.1 to pick up security fixes.
[fluentd-gcp addon] Bump event-exporter to v0.2.4 to pick up security fixes.
[fluentd-gcp addon] Bump prometheus-to-sd to v0.5.0 to pick up security fixes.
[metatada-proxy addon] Bump prometheus-to-sd v0.5.0 to pick up security fixes.
2019-03-15 09:24:32 +01:00
Lubomir I. Ivanov
4eabc1cc16
Revert "Speculative workaround for #74890" 2019-03-15 03:59:44 +02:00
Jordan Liggitt
8f9ed58d20 Deflake node lease test 2019-03-14 09:38:40 -07:00
Kubernetes Prow Robot
897d62ace7
Merge pull request #75164 from krmayankk/runasgroup
add missing psp e2e tests for runasgroup
2019-03-13 18:02:25 -07:00
Seth Jennings
6db621589c test/e2e: fix PreemptionExecutionPath nodeSelector 2019-03-13 17:20:34 -05:00
Jordan Liggitt
f2a0c0342c Revert "Revert kubelet to default to ttl cache secret/configmap behavior"
This reverts commit cd1c9f9018.
2019-03-13 15:12:26 -07:00
Jordan Liggitt
9cd57a5a18 Add kubelet watch manager integration test 2019-03-13 15:12:26 -07:00
Patrick Ohly
25c615c157 test: fix golint warnings in crd_util.go
Because the code was moved, golint is now active. Because users of the
code must adapt to the new location of the code, it makes sense to
also change the API at the same time to address the style comments
from golint ("struct field ApiGroup should be APIGroup", same for
ApiExtensionClient).
2019-03-13 23:00:49 +01:00
kanwar saad bin liaqat
2f852a27cb Fix double error of secret negative testcase
E2E Test "Secret should fail to create secret in volume
due to empty secret key" tries to create a secret
with empty key and check whether it fails or not.
But the secret creation in this test fails with
double error due to invalid secret name. This will
make this test to pass even if the fuctionality
which needs to be tested is broken.

This commit fix the secret name error(name should not
have capital letters) so that the secret creation fails
only due to desired reason.

Signed-off-by: kanwar saad bin liaqat <kanwar.sbl@gmail.com>
2019-03-13 22:23:02 +02:00
Patrick Ohly
cf805f5af4 update Bazel files 2019-03-13 19:06:56 +01:00
Patrick Ohly
e8a7cee43e test: remove k8s.io/apiextensions-apiserver from framework
There are two reason why this is useful:

1. less code to vendor into external users of the framework

The following dependencies become obsolete due to this change (from `dep`):

(8/23) Removed unused project github.com/grpc-ecosystem/go-grpc-prometheus
(9/23) Removed unused project github.com/coreos/etcd
(10/23) Removed unused project github.com/globalsign/mgo
(11/23) Removed unused project github.com/go-openapi/strfmt
(12/23) Removed unused project github.com/asaskevich/govalidator
(13/23) Removed unused project github.com/mitchellh/mapstructure
(14/23) Removed unused project github.com/NYTimes/gziphandler
(15/23) Removed unused project gopkg.in/natefinch/lumberjack.v2
(16/23) Removed unused project github.com/go-openapi/errors
(17/23) Removed unused project github.com/go-openapi/analysis
(18/23) Removed unused project github.com/go-openapi/runtime
(19/23) Removed unused project sigs.k8s.io/structured-merge-diff
(20/23) Removed unused project github.com/go-openapi/validate
(21/23) Removed unused project github.com/coreos/go-systemd
(22/23) Removed unused project github.com/go-openapi/loads
(23/23) Removed unused project github.com/munnerz/goautoneg

2. works around https://github.com/kubernetes/kubernetes/issues/75338
   which currently breaks vendoring

Some recent changes to crd_util.go must now be pulling in the broken
k8s.io/apiextensions-apiserver packages, because it was still working
in revision 2e90d92db9 (as demonstrated by
586ae281ac).
2019-03-13 19:05:13 +01:00
Kubernetes Prow Robot
118e33dfcd
Merge pull request #72092 from vllry/move-gce-test-manifests
Move e2e ingress test manifests for GCE to a subdirectory
2019-03-13 10:39:35 -07:00
Kubernetes Prow Robot
2748ac6210
Merge pull request #75305 from justinsb/workaround_once_mutex_issue
Speculative workaround for #74890
2019-03-13 05:49:33 -07:00
Kubernetes Prow Robot
60d0ec579b
Merge pull request #75301 from dashpole/plugin_watcher_fix
remove  DevicePlugin test for feature gate that can no longer be set
2019-03-12 23:53:42 -07:00
Kubernetes Prow Robot
8fd6342684
Merge pull request #74799 from lubinsz/pr_bazel
Add bazel-test-integration support for Arm64
2019-03-12 23:53:31 -07:00
Mayank Kumar
c4e0ede58b add missing psp e2e tests for runasgroup 2019-03-12 22:07:07 -07:00
Kubernetes Prow Robot
93402fc8e8
Merge pull request #75277 from jennybuckley/fix-ints
Fix server side apply int/float bug
2019-03-12 17:36:40 -07:00
Justin SB
803de74685
Speculative workaround for #74890
We try using an atomic with a CAS, as a potential workaround for
issue #74890.

Kudos to @neolit123 for the investigation & idea.

This is a speculative workaround - we are really seeing if this is
better; if not we should revert.

If it is better we should file a bug against go 1.12, and then revert!

Issue #74890
2019-03-12 18:09:01 -04:00
Tim Allclair
d15718cb1c Add custom runtime handler e2e test 2019-03-12 14:47:56 -07:00
Kubernetes Prow Robot
c67e16c74f
Merge pull request #75272 from gnufied/add-pod-information-on-error
Add pod information when max volume condition is missing
2019-03-12 13:19:31 -07:00
Kubernetes Prow Robot
11b9ebf113
Merge pull request #75225 from jingxu97/pd_windows_test
Add bracket to the sig-window tag and other fixes
2019-03-12 13:19:19 -07:00
Kubernetes Prow Robot
02b6557e49
Merge pull request #75081 from freehan/flaky-test
beef up NEG tests
2019-03-12 13:18:53 -07:00
Kubernetes Prow Robot
f33e5e8f7a
Merge pull request #74394 from thockin/proxy-reject-lb-no-endpoints
Kube-proxy: ICMP reject via LBs when no endpoints
2019-03-12 13:18:40 -07:00
Jordan Liggitt
0aaf1ca4ff Use apps/v1 APIs in integration tests 2019-03-12 13:17:18 -07:00
David Ashpole
e64c08f869 remove DevicePlugin test for feature gate that can no longer be set 2019-03-12 12:58:23 -07:00
globervinodhn
c52a27f409 promote job deletion in the namespace e2e to conformance - version updated to v1.15 2019-03-12 12:44:59 +05:30
globervinodhn
6b8226327d Promote e2e failre test for rc check for exceeding pod quota to conformance - Version updated to v1.15 2019-03-12 12:41:39 +05:30
pontiyaraja
48440bdb73 removed time flaky and added default pod delete timeout 2019-03-12 12:35:32 +05:30
jennybuckley
10259c959e Fix int/float apply bug 2019-03-11 23:07:21 -07:00
Kubernetes Prow Robot
eb6a1b651c
Merge pull request #72942 from caesarxuchao/expose-storage-version-hash
Populate the storage version hash
2019-03-11 21:36:36 -07:00
Tim Hockin
de25d6cb95 Kube-proxy: REJECT LB IPs with no endpoints
We REJECT every other case.  Close this FIXME.

To get this to work in all cases, we have to process service in
filter.INPUT, since LB IPS might be manged as local addresses.
2019-03-11 20:33:45 -07:00
Tim Hockin
382f5c83c0 Retool HTTP and UDP e2e utils
This is a prefactoring for followup changes that need to use very
similar but subtly different test.  Now it is more generic, though it
pushes a little logic up the stack.  That makes sense to me.
2019-03-11 20:33:35 -07:00
Kubernetes Prow Robot
c094f873a9
Merge pull request #75206 from liggitt/node-lease
deflake nodelease test
2019-03-11 20:24:36 -07:00
Jing Xu
3718f4e0ed Add bracket to the sig-window tag
Need to add bracket in the tag for sig-windows. Also fix an issue: for
current testing structure, it first init driver and then set up the
framework. So when initialize the driver, it does not know what OS is
and we can not set up the capabilities correctly. Instead we have to add
all the capabilities and supported fs types including both linux and
windows. Later in the code, we will check the Node OS and decide how to
run the test.
2019-03-11 18:40:45 -07:00
Hemant Kumar
cc61632255 Add pod information when max volume condition is missing 2019-03-11 17:11:56 -04:00
Tim Hockin
19e333b5cc Fix small race in e2e
Occasionally we get spurious errors about "no route to host" when we
race with kube-proxy.  This should reduce that.  It's mostly just log
noise.
2019-03-11 12:40:28 -07:00
Chao Xu
887cb93d8d generated BUILD
generated proto
2019-03-11 10:26:56 -07:00
Chao Xu
3b618af0d4 Expose storage version hash 2019-03-11 10:26:56 -07:00
Kubernetes Prow Robot
4ea48886df
Merge pull request #75008 from nikopen/patch-4
rebase audit-proxy image to distroless/static
2019-03-11 09:39:40 -07:00
Bin Lu
cd0e86b4fc node-perf/tf-wide-deep: add support for Arm64
Signed-off-by: Bin Lu <bin.lu@arm.com>
2019-03-11 14:03:32 +08:00
Antonio Ojea
12ca2dd8a2
Add IPv6 support to the nettest image
The test [sig-node] PreStop should call prestop when killing a pod
[Conformance] use the nettest image for testing, but it turns out
that this image is configured to listen in the address 0.0.0.0.

Removing the address from the function http.ListenAndServe makes
it start listening on both IPv4 and IPv6 addresses.

Reference: https://github.com/kubernetes/kubernetes/issues/70248

Signed-off-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>
2019-03-10 21:29:36 +01:00
Antonio Ojea
527d2aa2bd
Add IPv6 support to the Container Lifecycle tests
Current e2e tests for the Container Lifecycle Hooks weren't
using brackets for the IPv6 URL addresses per RFC2732, thus those
tests were failing.

This patches add brackets to the target URL if it's an IPv6 address.

Reference: https://github.com/kubernetes/kubernetes/issues/70248
2019-03-10 17:24:09 +01:00
Antonio Ojea
d5d57baa36
Add ipv6 support to the e2e healthz test
The test [k8s.io] Probing container [It] should not be restarted with a
/healthz http liveness probe [NodeConformance] [Conformance]
fails because it's using a nginx image that's spawns a server that's
only listening on IPv4 by default.

Switching to an image like TestWebserver that's listening in IPv4 and IPv6 by default
allows the test to run on IPv4 and IPv6 environments.

Reference: https://github.com/kubernetes/kubernetes/issues/70248
2019-03-10 16:53:06 +01:00
Manjunath A Kumatagi
3818f64780 Refactor the node perf tests to run on non-amd64 cluster 2019-03-10 19:23:24 +05:30
Kubernetes Prow Robot
01c9edf7fa
Merge pull request #75133 from pohly/storage-external-snapshot
e2e: external snapshotter
2019-03-09 16:29:26 -08:00
Kubernetes Prow Robot
92b66c5c02
Merge pull request #75151 from jennybuckley/fix-conversion-bug
Fix apply conversion bug
2019-03-09 15:15:26 -08:00
Kubernetes Prow Robot
faaec7f997
Merge pull request #75177 from mm4tt/node-problem-detector
Disable NodeProblemDector test in large clusters.
2019-03-09 11:31:29 -08:00
aojeagarcia
ae4ccc91b2
Add IPv6 support to the Downward e2e API test
Current regex used in the Downward e2e API tests is matching only
IPv4 addresses, consequently those tests fails with IPv6 clusters.

This patch modifies the regex to match ipv4 and ipv6 addresses.

Ref: https://github.com/kubernetes/kubernetes/issues/70248
2019-03-09 20:10:31 +01:00
jennybuckley
2fdc7e1f35 add test to verify fix 2019-03-08 22:35:33 -08:00
Kubernetes Prow Robot
0b4275b6c7
Merge pull request #74760 from apelisse/add-mangerfield-flag
Add "fieldManager" to flag to PATCH/CREATE/UPDATE
2019-03-08 22:27:29 -08:00
Kubernetes Prow Robot
b150560107
Merge pull request #74441 from Random-Liu/pod-log-directory
Add namespace and name into the CRI pod log directory
2019-03-08 20:43:30 -08:00
Kubernetes Prow Robot
968d833617
Merge pull request #75073 from grayluck/esipp
Allow session affinity a period of time to setup for new services.
2019-03-08 19:17:30 -08:00
Kubernetes Prow Robot
41b544bcf7
Merge pull request #75003 from tallclair/runtimeclass-beta
Promote RuntimeClass to beta
2019-03-08 18:02:12 -08:00
Lantao Liu
f14c6c95d6 New pod log directory /var/log/pods/NAMESPACE_NAME_UID.
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-03-08 16:42:14 -08:00
Masaki Kimura
b4c88acec6 Add e2e tests for multiAttach 2019-03-09 00:26:00 +00:00
Antoine Pelisse
eb904d8fa8 Add "fieldManager" to flag to PATCH/CREATE/UPDATE
And add a corresponding flag in kubectl (for apply), even though the
value is defaulted in kubectl with "kubectl".

The flag is required for Apply patch-type, and optional for other PATCH,
CREATE and UPDATE (in which case we fallback on the user-agent).
2019-03-08 16:03:03 -08:00
Kubernetes Prow Robot
5bfbb89f35
Merge pull request #75192 from andrewsykim/area-test
add label area/test in k8s.io/kubernetes/test/*
2019-03-08 15:41:24 -08:00
Kubernetes Prow Robot
d778b9308a
Merge pull request #75063 from wangzhen127/npd-test-fix
Fix NPD e2e test on Ubuntu node and update NPD container version
2019-03-08 14:19:09 -08:00
Jordan Liggitt
5b0099785e deflake nodelease test 2019-03-08 16:31:05 -05:00
Tim Allclair
0604256d6c Update tests for RuntimeClass beta 2019-03-08 13:21:52 -08:00
Tim Allclair
bc01f97055 Promote RuntimeClass to beta 2019-03-08 13:21:52 -08:00
Minhan Xia
1065a473da beef up NEG tests 2019-03-08 11:33:38 -08:00
Clayton Coleman
3230a0b4fd
Support Table and PartialObjectMetadata on watch
Clean up the code paths that lead to objects being transformed and output with negotiation.
Remove some duplicate code that was not consistent. Now, watch will respond correctly to
Table and PartialObjectMetadata requests. Add unit and integration tests.

When transforming responses to Tables, only the first watch event for a given type will
include the columns. Columns will not change unless the watch is restarted.

Add a volume attachment printer and tighten up table validation error cases.

Disable protobuf from table conversion because Tables don't have protobuf because they
use `interface{}`
2019-03-08 13:03:59 -05: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
aojeagarcia
ae77399686
Use IP addresses to test external connectivity
Current IPv6 e2e test for external connectivity is using a
domain address (google.com) as target.

However, the same IPv4 test uses the well known Google DNS address
8.8.8.8.

We should be coherent in the testing, this patch changes the target to use
the Google IPv6 DNS address 2001:4860:4860::8888.
2019-03-07 22:24:30 +01: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
Kenichi Omichi
1fcab19821 Fix golint failures for e2e/[..]/kubemark 2019-03-05 20:55:00 +00: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
Vallery Lancey
579764eb37
Tiny whitespace tweak in ingress.go 2019-03-01 11:19:01 -08:00
Vallery Lancey
776ac93f04
Fix mispelled variable in ingress.go after rebase 2019-03-01 10:42:06 -08:00
Vallery Lancey
3de7307a8c
Merge branch 'master' into move-gce-test-manifests 2019-03-01 10:29:32 -08: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
Zhen Wang
efa96f7eb8 allows configuring NPD release and flags on GCI and add cluster e2e test 2019-02-26 21:21:54 -08:00
Kubernetes Prow Robot
4505f12215
Merge pull request #72738 from alexbrand/fix-serve-hostname
DaemonSet e2e: Update image and rolling upgrade test timeout
2019-02-26 20:55:01 -08:00
Kubernetes Prow Robot
81e6407393
Merge pull request #74140 from Liujingfang1/kflag
add -k flag in cli-runtime and kubectl to process kustomization directories
2019-02-26 19:40:16 -08:00
Kubernetes Prow Robot
9059021d9a
Merge pull request #67350 from tnozicka/retry-watcher
#50102 Task 3: Until, backed by retry watcher
2019-02-26 19:40:01 -08:00
s-ito-ts
5752bc35fb Adding e2e test for update and delete of resourcequota 2019-02-27 02:13:18 +00:00
liucimin
a9d368fc73 Typo fix in e2e test description message: kubadm->kubeadm 2019-02-27 10:01:19 +08:00
Haowei Cai
1a25ced1c7 generated 2019-02-26 15:00:35 -08:00
Haowei Cai
ad0d523d6e tests 2019-02-26 14:44:31 -08:00
Haowei Cai
e6626b70cc build and push e2e test image 2019-02-26 14:44:03 -08:00
Jingfang Liu
127c2f1e74 address comments 2019-02-26 14:12:58 -08:00
Kubernetes Prow Robot
493b261057
Merge pull request #74586 from danielqsj/patch3
fix golint failures for test/e2e/cloud|kubectl|servicecatalog
2019-02-26 14:08:16 -08:00
Kubernetes Prow Robot
26f90e850d
Merge pull request #74540 from oomichi/golint-e2e-framework-ingress
Fix golint under test/e2e/framework/ingress
2019-02-26 14:08:06 -08:00
Kubernetes Prow Robot
0ecba229aa
Merge pull request #74512 from danielqsj/ui
fix golint failures for test/e2e/ui
2019-02-26 14:07:54 -08:00
Claudiu Belu
de1e1ad045 tests: Adds configurable registry for etcd image
The image ``quay.io/coreos/etcd:v3.3.10`` does not have Windows
support and Windows Containers cannot be spawned using it.

Makes the etcd image's registry configurable, so the tests can be
configured to use a registry which has Windows support.
2019-02-26 13:54:55 -08:00
Kubernetes Prow Robot
be8a9b9637
Merge pull request #74422 from liggitt/client-version-methods
Remove deprecated versionless client interface methods
2019-02-26 12:44:24 -08:00
Vy Ta
f150874ed2 Requested changes and refactor 2019-02-26 12:10:43 -08:00
Daniel (Shijun) Qian
d648ba856b Move pkg/api/v1/node to pkg/util/node (#73656)
* merge pkg/api/v1/node with pkg/util/node

* update test case for utilnode

* remove package pkg/api/v1/node

* move isNodeReady to internal func

* Split GetNodeCondition into e2e and controller pkg

* fix import errors
2019-02-26 11:05:32 -08:00
Hemant Kumar
2516cbd453 Add e2e for CSI volume limit stuff
Also use privileged for driver registra
2019-02-26 13:04:54 -05:00
Tomas Nozicka
09af8485f2 Add Until based on RetryWatcher 2019-02-26 16:21:38 +01:00
Kubernetes Prow Robot
a99d6cef86
Merge pull request #72729 from bclau/tests/split-dns-host-entries
tests: Separates DNS hosts entries test
2019-02-26 06:38:10 -08:00
Jordan Liggitt
d1e865ee34 Update client callers to use explicit versions 2019-02-26 08:36:30 -05:00
danielqsj
8911a2ddbb fix golint failures for test/e2e/kubectl 2019-02-26 18:27:01 +08:00
danielqsj
9ea1b3d86d fix golint failures for test/e2e/servicecatalog 2019-02-26 18:25:23 +08:00
danielqsj
84aeafee7b fix golint failures for test/e2e/cloud 2019-02-26 18:25:23 +08:00