Commit Graph

17210 Commits

Author SHA1 Message Date
Brian Pursley
dba85a5c95 Fixed wrong pod name in log messages 2020-06-18 10:10:10 -04:00
Kubernetes Prow Robot
99019502bd
Merge pull request #92234 from alejandrox1/add-cleanup-time-node-perf
Added a buffer period in the node performance tests
2020-06-18 06:04:10 -07:00
Kubernetes Prow Robot
0bb640c25a
Merge pull request #92205 from mrunalp/fix_host_path_socket_tests
test: Start a pod with nc instead of execing a background command
2020-06-18 06:03:31 -07:00
Kubernetes Prow Robot
6bb668c3c4
Merge pull request #92204 from dims/check-for-either-docker-or-containerd-getting-active
Check for either docker or containerd getting active
2020-06-18 06:03:21 -07:00
Grant Griffiths
e1f0e4cd9f Add retain policy test and refactor snapshottable tests
Signed-off-by: Grant Griffiths <grant@portworx.com>
2020-06-17 19:53:53 -07:00
Kubernetes Prow Robot
cf36d9b8e9
Merge pull request #90880 from ii/ii-update-and-improve-replicationcontroller-resource-lifecycle-test
Update and improve ReplicationController resource lifecycle test
2020-06-17 19:50:05 -07:00
alejandrox1
9263dd1f02 Added a buffer period in the node performance tests
The node-kubelet-flaky e2e job that runs the the
`Node Performance Testing [Serial] [Slow] [Flaky]` e2e tests have been
flaking because of inconsistencies on the cpu manager checkpoint file.
This seems to be caused because the checkpoint file is deleted (which is
what needs to happen in order to change the CPU manager policy which is
used for these e2e tests) right after the e2e tests asserts that a pod
does not exist anymore.
However, after a pod is deleted, the CPU manager may still be cleaning
up the resources used by the pod which may result in the checkpoint file
being created.
Whenever this happened, the kubelet would panic if we then try to
subsequently change the CPU manager policy to "static" from "none" or
vice versa (this is done 4 times in these tests).

Signed-off-by: alejandrox1 <alarcj137@gmail.com>
2020-06-17 18:33:44 -04:00
Christopher M. Luciano
ca2b5b7605
ingress: promote CRUD API tests for v1 to conformance
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2020-06-17 13:01:16 -04:00
Naoki Oketani
c0562815fa Remove --export flag from kubectl get command. 2020-06-17 18:35:03 +09:00
Kubernetes Prow Robot
53f3699cf9
Merge pull request #89778 from cmluciano/cml/ingressv1
ingress: Add Ingress to v1 API and update backend to defaultBackend
2020-06-16 23:10:39 -07:00
Kubernetes Prow Robot
19d220073c
Merge pull request #92176 from claudiubelu/test-images/rebases-kitten-nautilus
test images: rebases the kitten and nautilus images
2020-06-16 19:24:31 -07:00
Kubernetes Prow Robot
e760ecd50f
Merge pull request #92074 from nodo/pod-added-unschedulable-pod-integration-tests
Test pod becoming schedulable when another pod is added or updated
2020-06-16 19:23:33 -07:00
Kubernetes Prow Robot
8dbca91cae
Merge pull request #91962 from aojea/udp1
Deflake Services should be able to preserve UDP traffic when server pod cycles for a NodePort service
2020-06-16 19:22:53 -07:00
Kubernetes Prow Robot
580eebb03b
Merge pull request #90944 from ii/ii-update-and-improve-configmap-resource-lifecycle-test
Update and improve ConfigMap resource lifecycle test
2020-06-16 19:22:05 -07:00
Mrunal Patel
7643b64050 test: Start a pod with nc instead of execing a background command
The behavior for exec'ing a backgrounded command is not specified
with CRI so modify the test to run the command directly instead
of using exec.

Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2020-06-16 17:30:31 -07:00
Davanum Srinivas
01183e51f0
Check for either Docker or Containerd getting active for e2e_node tests
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-06-16 20:08:01 -04:00
Kubernetes Prow Robot
f455a143df
Merge pull request #91259 from ii/heyste-create-delete-core-v1-collection-namespaced-pod-template-test
Create deleteCoreV1CollectionNamespacedPodTemplate test+promote - +1 endpoint coverage
2020-06-16 13:46:04 -07:00
Andrea Nodari
0c23caf8e7 Test a pod becoming schedulable when a scheduled pod is updated 2020-06-16 20:39:58 +02:00
Andrea Nodari
ad0bee482e Add test case for a pod becoming schedulable when another pod is added 2020-06-16 20:29:55 +02:00
Kubernetes Prow Robot
13f1d956ea
Merge pull request #92169 from chendave/perf_nil_pointer
scheduler_perf: fix the nil pointer dereference
2020-06-16 10:06:04 -07:00
Dave Chen
ae735a1189 scheduler_perf: fix the nil pointer dereference
Signed-off-by: Dave Chen <dave.chen@arm.com>
2020-06-16 13:23:05 +08:00
Benjamin Elder
d65a3b15bf update agnhost guestbook usage for s/slave/replica/ 2020-06-15 20:08:27 -07:00
Kubernetes Prow Robot
98f250f883
Merge pull request #91307 from yuga711/attach
CSI: Modify VolumeAttachment check to use Informer/Cache
2020-06-15 08:10:10 -07:00
Antonio Ojea
27d32661c2 e2e conntrack tests
deflake current e2e test
"should be able to preserve UDP traffic when server pod cycles for a
NodePort service" and reorganize the code in the e2e framework

Signed-off-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>
2020-06-15 10:30:00 +02:00
Antonio Ojea
653eb230f2 force pod deletion on e2e network tests 2020-06-15 10:29:38 +02:00
Mateusz Matejczyk
af00593679 Revert "fix(e2e): access nodes via test container in LB network tests"
This reverts commit 708fb6b457, https://github.com/kubernetes/kubernetes/pull/91559

It looks like the PR has broken other network tests - https://k8s-testgrid.appspot.com/sig-scalability-gce#gce-master-scale-correctness
2020-06-15 08:42:17 +02:00
Javier Diaz-Montes
9743cda4a7 Adding Kubelet changes to enable SetHostnameAsFQDN feature
These changes allow to set FQDN as hostname of pods for pods
that set the new PodSpec field setHostnameAsFQDN to true. The PodSpec
new field was added in related PR.

This is PART2 (last) of the changes to enable KEP #1797 and addresses #91036
2020-06-14 21:26:27 -04:00
Kubernetes Prow Robot
e6214389ca
Merge pull request #91975 from wking/to-success-typo
test/e2e/framework/pods: Fix "to success" -> "to succeed"
2020-06-14 02:07:55 -07:00
Benjamin Elder
9ce9e2a7aa bump agnhost usage to current version 2020-06-13 20:46:05 -07:00
Kubernetes Prow Robot
f66af1062d
Merge pull request #92106 from BenTheElder/bump-image
bump agnhost version to match fully
2020-06-13 00:34:22 -07:00
Kubernetes Prow Robot
0d82da429c
Merge pull request #90167 from claudiubelu/test-images/owner-files-part-3
test images: Adds OWNERS files for images (part 3)
2020-06-12 19:53:56 -07:00
Kubernetes Prow Robot
7151131d79
Merge pull request #73032 from liggitt/kubectl-warning
surface server-side warnings in client-go / kubectl
2020-06-12 17:09:56 -07:00
Claudiu Belu
023282f1bd test images: rebases the kitten and nautilus images
The current kitten and nautilus images are depending on agnhost:2.14, which
has not been built, since the Image Promoter was not working at the time.
2020-06-12 16:46:18 -07:00
Benjamin Elder
c57e39f664 bump agnhost version to match fully 2020-06-12 15:44:15 -07:00
Claudiu Belu
30f529c57f test images: Adds --force-yes when installing jessie-dnsutils packages
Currently, the jessie-dnsutils image fails to build for arm64 arch with the following
error:

GPG error: http://archive.debian.org jessie Release: The following signatures were invalid: KEYEXPIRED 1587841717

We can bypass this issue by adding a --force-yes flag when installing the needed dnsutils.
2020-06-12 14:22:28 -07:00
Kubernetes Prow Robot
1385280afc
Merge pull request #91775 from cofyc/fix91755
VolumeBinding: Skip/fail fast in PreFilter phase and improve error reporting
2020-06-12 10:47:56 -07:00
Kevin
bd961781d7 prevent update handler being called on disallowed CreateOnUpdate 2020-06-12 13:04:17 +00:00
Kubernetes Prow Robot
2e6eff75e5
Merge pull request #92002 from liggitt/csr-client-conformance
Move kube-apiserver client cert back to simple e2e
2020-06-12 02:23:57 -07:00
Yecheng Fu
c4138361e4 Fail fast in PreFilter phase and return UnschedulableAndUnresolvable if immediate PVCs are not bound 2020-06-12 10:00:19 +08:00
Jordan Liggitt
0d674c4edb cmd: silence warnings in kube-controller-manager/kube-apiserver, dedupe/color warnings in kubectl 2020-06-11 16:04:19 -04:00
Jordan Liggitt
e4bb1daecf apiserver: increment metric for deprecated API use 2020-06-11 16:04:19 -04:00
Ryan Phillips
d9d1fc6077 e2e pods: add missing pod and node name in the formatted log line 2020-06-11 14:50:27 -05:00
Kubernetes Prow Robot
4ea576e4f5
Merge pull request #87105 from BenTheElder/agnhost-replica
s/slave/replica in guestbook app
2020-06-11 10:48:56 -07:00
Jayasekhar Konduru
2a89577659 CSI: Modify VolumeAttachment check to use Informer/Cache
Change-Id: Ie70c8b6657c67eefbf13042f36d56ca84a2e42bb
2020-06-11 10:34:09 -07:00
Kubernetes Prow Robot
b8369fd2e5
Merge pull request #91593 from cmluciano/cml/conformancev1ing
ingress: Add CRUD tests for Ingress API verbs
2020-06-11 05:30:56 -07:00
Kubernetes Prow Robot
42bf886b37
Merge pull request #91726 from bertinatto/fix-flake-sc
Create pod to force volume provisioning in dynamic provisioning storage e2e test
2020-06-11 00:52:56 -07:00
Caleb Woodbine
34ddb64825 Add cleanup function; Fix build 2020-06-11 14:09:41 +12:00
Caleb Woodbine
34988cfe0e Update to include watch tooling 2020-06-11 14:09:41 +12:00
Caleb Woodbine
b52740c44f Add watch event checks 2020-06-11 14:09:41 +12:00
Caleb Woodbine
f0757ecd77 Move watchTimeout value to the top and add comments 2020-06-11 14:09:41 +12:00
Caleb Woodbine
0c8ae2abf3 Update and improve ConfigMap resource lifecycle test 2020-06-11 14:09:41 +12:00
Caleb Woodbine
e3b9d78915 Fix formatting 2020-06-11 14:07:27 +12:00
Caleb Woodbine
076d96236e Add cleanup function 2020-06-11 14:07:27 +12:00
Caleb Woodbine
782bb43c4c Fix formatting 2020-06-11 14:07:27 +12:00
Caleb Woodbine
209c05546a Update to include watch tooling 2020-06-11 14:07:27 +12:00
Caleb Woodbine
d7d9ebf482 Add checks to each watch loops 2020-06-11 14:07:27 +12:00
Caleb Woodbine
1c010beb24 Revert scale patch payload types 2020-06-11 14:07:27 +12:00
Caleb Woodbine
29c85b7265 Update BUILD 2020-06-11 14:07:27 +12:00
Caleb Woodbine
54c744f033 Update patch checks, scale patch type 2020-06-11 14:07:27 +12:00
Caleb Woodbine
a962d80b99 Update and improve ReplicationController resource lifecycle test 2020-06-11 14:07:27 +12:00
Benjamin Elder
3298dfa73a up sleep time in racy test 2020-06-10 17:23:27 -07:00
Kubernetes Prow Robot
7766e65a1b
Merge pull request #91955 from Huang-Wei/preemption-e2e-flake
Fix an e2e flake on updating node status
2020-06-10 17:14:17 -07:00
Kubernetes Prow Robot
c0da82c64a
Merge pull request #91830 from cmluciano/cml/ingressclassconformance
ingress: Add CRUD tests for IngressClass API verbs
2020-06-10 17:13:58 -07:00
Kubernetes Prow Robot
64d254508f
Merge pull request #91816 from p0lyn0mial/gc-discovery
GC: doesn't create monitors in the constructor
2020-06-10 17:13:48 -07:00
Kubernetes Prow Robot
111741071f
Merge pull request #91743 from spiffxp/fix-kubeconform-link
Merge behavior loading code
2020-06-10 17:13:10 -07:00
Caleb Woodbine
e8b70ce0da Update docs 2020-06-11 11:08:24 +12:00
Jordan Liggitt
6fb7d40a72 Move kube-apiserver client cert back to simple e2e 2020-06-10 15:28:26 -04:00
Christopher M. Luciano
7351330255
ingress: Add CRUD tests for Ingress API verbs
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2020-06-10 15:20:36 -04:00
Lukasz Szaszkiewicz
50db32cf8c GC doesn't have to create monitors in the constructor 2020-06-10 14:59:45 +02:00
Kubernetes Prow Robot
507cc20404
Merge pull request #91754 from liggitt/csr-v1-client-go-manager
CSR v1 - switch client-go certificate manager utility to v1 by default
2020-06-10 04:39:52 -07:00
Kubernetes Prow Robot
b41b89a424
Merge pull request #91682 from claudiubelu/img-promoter/windows-certs
test images: Adds step for fetching Windows image builder certificates
2020-06-10 04:39:42 -07:00
Kubernetes Prow Robot
84d745ffe4
Merge pull request #91559 from knight42/fix/e2e
e2e: access nodes via a test container
2020-06-10 04:39:31 -07:00
Kubernetes Prow Robot
410b929e78
Merge pull request #91471 from MHBauer/rm-old-config
remove out of date test config
2020-06-10 04:39:07 -07:00
Kubernetes Prow Robot
089e8f48f2
Merge pull request #90720 from claudiubelu/tests/fqdn-svc-names
tests: Check FQDN for external services on Windows
2020-06-10 04:38:37 -07:00
Fabio Bertinatto
8d644092ed Create pod to force volume provisioning in storage e2e test
Otherwise, tests can fail if the default StorageClass
is configured with late binding.
2020-06-10 08:45:41 +02:00
Jordan Liggitt
a298c14f18 Switch cert manager to v1 CSR API by default, falling back to v1beta1 2020-06-10 02:30:54 -04:00
W. Trevor King
d9cc269bb6 test/e2e/framework/pods: Fix "to success" -> "to succeed"
Typo is from 5eb41e9acb (Add container lifecycle hook test,
2016-09-23, #33389).
2020-06-09 20:04:07 -07:00
Wei Huang
51a9dcce22
Revert "Fix an issue that a Pod's nominatedNodeName cannot be cleared when the nominated node is deleted"
This reverts commit 369a9001c6.
2020-06-09 16:47:37 -07:00
Wei Huang
43da0fff29
Fix an e2e flake on updating node status 2020-06-09 16:08:59 -07:00
Caleb Woodbine
5268ba5488 Ensure events occur regardless of the events in between 2020-06-10 10:51:39 +12:00
Kubernetes Prow Robot
dbfc3aa877
Merge pull request #91748 from apelisse/resetting-managed-fields-and-fieldtype
Resetting managed fields and fieldtype
2020-06-09 14:49:40 -07:00
Kubernetes Prow Robot
11fe6e815f
Merge pull request #91713 from liggitt/csr-v1-manager
CSR v1 - switch controllers
2020-06-09 14:49:30 -07:00
Kubernetes Prow Robot
717b9b769e
Merge pull request #91265 from brianpursley/fix_cassandra_cassandra_cassandra_cassdandra
Prevent false error message from resource_aliasing integration test
2020-06-09 14:48:04 -07:00
Christopher M. Luciano
ea03097e4d
ingress: Add CRUD tests for IngressClass API verbs
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2020-06-09 15:17:29 -04:00
Brian Pursley
f5dc5300c6 Replaced 4 kube::test::get_object_assert() calls with 1 call using regex to match all combinations 2020-06-09 08:35:54 -04:00
Claudiu Belu
abe8bea529
Fixes test images cloudbuild.yaml secret fetching
Co-authored-by: Aaron Crickenberger <spiffxp@google.com>
2020-06-09 14:05:33 +03:00
Claudiu Belu
2a07efe925 tests: Check FQDN for external services on Windows
Windows does not support partially qualified domain names, which is why the test can fail.

Additionally, because nslookup may return 0 on Windows, even if the given DNS name was not
found, this issue was not observed until recently. We're now checking stderr as well.
2020-06-09 02:36:20 -07:00
knight42
708fb6b457
fix(e2e): access nodes via test container in LB network tests
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-06-09 14:32:31 +08:00
Kubernetes Prow Robot
fc30f8854d
Merge pull request #91849 from knabben/scheduler-integration-pre
Scheduler integration tests standarization
2020-06-08 21:44:26 -07:00
Kubernetes Prow Robot
c5894cadc3
Merge pull request #91828 from knabben/scheduler-integration-test
Scheduler integration framework table-driven tests
2020-06-08 21:44:17 -07:00
Kubernetes Prow Robot
eeba1b39ff
Merge pull request #91811 from lixiaobing1/lxb-err
another:Replace framework.Failf with ExpectNoError
2020-06-08 21:44:07 -07:00
Kubernetes Prow Robot
5248bef370
Merge pull request #91750 from Huang-Wei/clear-nnn
Fix an issue that a Pod's nominatedNodeName cannot be cleared upon node deletion
2020-06-08 21:43:58 -07:00
Claudiu Belu
862bd63f80 tests: Fixes Windows kubelet-stats test
The test spawns 10 pods with the same pod name, which contains multiple
containers with the same container name. Because of this, the test fails.
This commit addresses this issue.
2020-06-08 20:42:04 -07:00
Benjamin Elder
c8dce6d4b3 bump agnhost version 2020-06-08 16:38:09 -07:00
Benjamin Elder
f9851d929b s/slave/replica in guestbook app 2020-06-08 16:37:26 -07:00
Amim Knabben
fcb41d3d2c Integration framework table-tests standarization 2020-06-08 14:03:54 -04:00
Kubernetes Prow Robot
2c7d431a20
Merge pull request #91883 from SataQiu/deprecate-ResourceLimitsPriorityFunction-20200608
Remove ResourceLimitsPriorityFunction feature gate in the scheduler
2020-06-08 09:25:47 -07:00
SataQiu
932e61aefa deprecate ResourceLimitsPriorityFunction feature gate in the scheduler
Signed-off-by: SataQiu <1527062125@qq.com>
2020-06-08 22:20:14 +08:00
Kubernetes Prow Robot
0e2220b446
Merge pull request #91243 from cynepco3hahue/e2e_multiply_hugepages
Refactor and add new tests to hugepages e2e tests
2020-06-08 06:31:46 -07:00
Stephen Heywood
04627cef49 Address issues with test failures 2020-06-08 20:41:32 +12:00