Kubernetes Prow Robot
907a526919
Merge pull request #91699 from twosigma/hostnamefqdn_kubelet
...
Allow setting FQDN in hostname
2020-06-19 11:36:29 -07:00
Kubernetes Prow Robot
f8705f22f8
Merge pull request #89705 from ggriffiths/add_snapshot_retainpolicy_e2e_test
...
Add VolumeSnapshot retain policy test and test for snapshot delete
2020-06-19 11:35:59 -07:00
wojtekt
f32648d810
Attempt to deflake conntract e2e tests
2020-06-19 16:49:33 +02:00
Federico Paolinelli
b8819b91a8
Add sctp support to agnhost connect / porter commands.
...
Signed-off-by: Federico Paolinelli <fpaoline@redhat.com>
2020-06-19 09:31:05 +02:00
Kenichi Omichi
4163fd9420
Move recreate_node.go to e2e/node
...
e2e/framework is a place to keep common functions for e2e tests, and
it is not a place to keep e2e tests themself. recreate_node.go is e2e
test for node.
This moves recreate_node.go to e2e/node.
2020-06-19 02:40:17 +00:00
Kubernetes Prow Robot
7a68eac8f7
Merge pull request #91873 from kwiesmueller/fix-crd-update-bug
...
Fix FieldManager Conversion Error for CRD Updates
2020-06-18 19:04:51 -07:00
Kubernetes Prow Robot
342bcf55e8
Merge pull request #89937 from aojea/portAllocator2
...
portAllocator sync local data before allocate
2020-06-18 19:03:10 -07:00
Kubernetes Prow Robot
1faf097f3f
Merge pull request #88649 from oke-py/remove-deprecated-export
...
Remove --export flag from kubectl get command.
2020-06-18 15:19:10 -07:00
Kubernetes Prow Robot
dcb587e09f
Merge pull request #91230 from ii/heyste-create-delete-core-v1-collection-namespaced-event-test
...
Create deleteCoreV1CollectionNamespacedEvent test+promote - +1 endpoint coverage
2020-06-18 08:12:20 -07:00
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
Claudiu Belu
06ca9c8aab
test images: Adds OWNERS files for images
...
Adds reviewers to the OWNERS files in the kubernetes/test/images folder.
The reviewers are added automatically, based on their contributions on
an image (>= 20% code churn).
Note that the code churn is taken into account for authors, and not committers.
Adds OWNERS files for: ipc-utils, node-perf, nonroot, regression-issue-74839,
resource-consumer, sample-device-plugin.
2020-06-12 11:49:16 -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
Artyom Lukianov
a4b367a6a3
Refactor and add new tests to hugepages e2e tests
...
Add tests to cover usage of multiple hugepages with different
page sizes under the same pod.
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2020-06-08 11:23:54 +03:00
Jan Safranek
62b7516b63
Add e2e test for read-only volume used by multiple pods
2020-06-08 09:38:11 +02:00
Kubernetes Prow Robot
b93e9d9395
Merge pull request #91671 from raresraf/patch-1
...
Fix typo test/cmd/README
2020-06-07 17:35:46 -07:00
Caleb Woodbine
39fd803140
Move watch creating into the retry loop
2020-06-08 09:29:28 +12:00
Kubernetes Prow Robot
14559bc406
Merge pull request #90498 from gaurav1086/fix_logging_race_condition
...
Fix race condition in logging
2020-06-07 10:33:45 -07:00
Amim Knabben
5e679cf51f
Scheduler integration tests standarization
2020-06-07 09:47:11 -04:00
Kubernetes Prow Robot
4c8e5c5a50
Merge pull request #91543 from bsdnet/runner
...
Simplify the logic by removing dead code and enhance logging
2020-06-06 17:29:45 -07:00
Kubernetes Prow Robot
f72299b09f
Merge pull request #91787 from ahg-g/ahg-bench
...
A benchmark to evaluate overhead of unschedulable pods
2020-06-05 20:49:45 -07:00
Kubernetes Prow Robot
454c13d09c
Merge pull request #91314 from Huang-Wei/postfilter-definition
...
Scheduler PostFilter definition
2020-06-05 16:53:45 -07:00
Jordan Liggitt
db4ca87d9d
Switch CSR approver/signer/cleaner controllers to v1
2020-06-05 18:45:34 -04:00
Kubernetes Prow Robot
fbcd0f84d8
Merge pull request #91827 from spiffxp/update-e2e-node-owners
...
Update node_e2e OWNERS
2020-06-05 15:30:44 -07:00
Kubernetes Prow Robot
3f8bb1bf50
Merge pull request #91685 from liggitt/csr-v1
...
CertificateSigningRequest v1 API
2020-06-05 15:30:14 -07:00
Wei Huang
69b9ba6012
Introduce PostFilter extension point
2020-06-05 13:23:45 -07:00
Antoine Pelisse
ed2cf6ef2c
FieldManager: Reset if we receive nil or a list with one empty item
2020-06-05 12:49:13 -07:00
Abdullah Gharaibeh
36a3ad8752
Added a benchmark to evaluate overhead of unschedulable pods
2020-06-05 15:19:07 -04:00
Aaron Crickenberger
019d3ee438
update e2e_node OWNERS file
...
specifically:
- move inactive approvers to emeritus
- add newly active contributors as reviewers
- add a sig/node label to PRs that touch this dir
2020-06-05 10:44:29 -07:00
Kubernetes Prow Robot
4e3dea81c1
Merge pull request #91580 from cofyc/fix90958
...
Remove KubeSchedulerConfiguration.BindTimeoutSeconds
2020-06-05 08:45:45 -07:00
Ed Bartosh
fa31c2c59c
e2e_node: fix node-kubelet-benchmark test
...
e2e_node tests trigger OOM events on COS versions > 73-11636-0-0
possibly because of this change in the COS v.73-11636-0-0:
Made containerd run as a standalone systemd service
OOM killer usually kills cadvisor and e2e_node.test processes
causing node-kubelet-benchmark failures.
Decreasing amount of pods from 105 to 90 frees enough memory for
the test to succeed.
2020-06-05 12:51:45 +03:00
lixiaobing1
2d66e7ecd3
another:Replace framework.Failf with ExpectNoError
2020-06-05 16:43:22 +08:00
Kubernetes Prow Robot
8ce1b535ee
Merge pull request #80831 from odinuge/hugetlb-pagesizes-cleanup
...
Add support for removing unsupported huge page sizes
2020-06-04 23:41:43 -07:00
Jordan Liggitt
a504445086
Generated files
...
Change-Id: I598d686849f4b97846757b227f5191bac031798b
2020-06-05 04:58:14 +00:00
Jordan Liggitt
ea8f4cb536
Update CSR e2e to use v1
2020-06-05 00:50:01 -04:00
Jordan Liggitt
e0f5cca410
Copy CSR v1beta1 to v1
...
* Remove prerelease tags
* Update copyright, package, imports to v1
* Remove signerName, usages, and condition status defaulting
2020-06-05 00:47:24 -04:00
Kubernetes Prow Robot
d585527c70
Merge pull request #91690 from apelisse/ignore-failures
...
fieldManager: Ignore and log all errors when updating managedFields
2020-06-04 17:59:59 -07:00
Kubernetes Prow Robot
64bba294ae
Merge pull request #91741 from oomichi/nit-ExpectError
...
Replace framework.Failf with ExpectNoError
2020-06-04 13:53:05 -07:00
Kubernetes Prow Robot
4dfa0912a0
Merge pull request #91734 from nodo/pod-deleted-unschedulable-pod-integration-tests
...
Add test case for a pod becoming schedulable when another pod is deleted
2020-06-04 13:52:56 -07:00
Kubernetes Prow Robot
1f4015806a
Merge pull request #91696 from Huang-Wei/pts-weight-2-policy-path
...
Adjust weight of PodTopologySpread to 2 in legacy Policy API
2020-06-04 13:52:36 -07:00
Kubernetes Prow Robot
1925eb81ac
Merge pull request #91689 from gnufied/fix-after-suite-race
...
Ensure CleanupActionHandle always completes
2020-06-04 10:51:15 -07:00
Antoine Pelisse
5378a788e4
fieldManager: Ignore and log all errors when updating managedFields
2020-06-04 09:32:23 -07:00
Andrea Nodari
e3bca5adc7
Add test case for a pod becoming schedulable when another pod is deleted
2020-06-04 18:11:19 +02:00
Wei Huang
7f178b2831
Adjust weight of PodTopologySpread to 2 in legacy Policy API
2020-06-04 07:35:25 -07:00
Kubernetes Prow Robot
2dc7b68b83
Merge pull request #91598 from Huang-Wei/podtopologyspread-ga
...
Remove `EvenPodsSpread` featuregate and related logic
2020-06-04 07:05:28 -07:00
Kubernetes Prow Robot
74bdc2b6a9
Merge pull request #90321 from k-toyoda-pi/add_error_check_e2e_disruption
...
Add checking error for disruption e2e test
2020-06-04 07:05:14 -07:00
Kubernetes Prow Robot
5dbe3e308a
Merge pull request #91737 from liggitt/psp-detect
...
Detect PSP enablement more accurately
2020-06-03 21:20:43 -07:00
Wei Huang
369a9001c6
Fix an issue that a Pod's nominatedNodeName cannot be cleared when the nominated node is deleted
2020-06-03 17:45:06 -07:00
Aaron Crickenberger
d960bf1903
behaviors: enforce behavior id must have suite id as prefix
2020-06-03 16:59:34 -07:00
Aaron Crickenberger
85724cf2c3
behaviors: fix kubeconform link
...
kubeconform was choking on a typo in the description field, so I fixed
the typo while adding friendlier logging to tell me which file was
invalid
I got curious why tests didn't catch this, and it turns out kubeconform
and the behavior tests use different codepaths to load and validate. So
I merged them together
2020-06-03 16:59:27 -07:00
Caleb Woodbine
63c694acdf
Fix verify
2020-06-04 08:57:28 +12:00
Kenichi Omichi
0ebaae88b1
Replace framework.Failf with ExpectNoError
2020-06-03 20:16:12 +00:00
Jordan Liggitt
0e062981d1
Detect PSP enablement more accurately
2020-06-03 13:14:19 -04:00
Kubernetes Prow Robot
f2e3154a14
Merge pull request #91642 from huffmanca/update-azure-e2e
...
Adjust Azure e2e binding mode
2020-06-03 05:44:32 -07:00
Yecheng Fu
1ff09c0934
Remove BindTimeoutSeconds from KubeSchedulerConfiguration
2020-06-03 09:54:06 +08:00
Kubernetes Prow Robot
9f9cb9d73e
Merge pull request #91597 from elmiko/remove-coreCount
...
remove unused variable from autoscaling e2e
2020-06-02 18:11:47 -07:00
Caleb Woodbine
8945d98805
Update desc, naming, cleanup handling
2020-06-03 11:36:21 +12:00
Kubernetes Prow Robot
bb11561ace
Merge pull request #80545 from spiffxp/promote-preemption-tests
...
Promote SchedulerPreemption e2e tests to Conformance
2020-06-02 15:28:16 -07:00
Kubernetes Prow Robot
a4e7db7cc3
Merge pull request #91336 from nodo/node-changed-unschedulable-pod-integration-tests
...
Add test case for a pod becoming schedulable when a node is updated
2020-06-02 13:26:17 -07:00
Wei Huang
133dde6358
Remove EvenPodsSpread
featuregate and related logic
2020-06-02 11:24:12 -07:00
Hemant Kumar
74be9f04fa
Ensure CleanupActionHandle always completes
...
The way gingko handles interrupts is:
- It starts running AfterSuite hooks in a separate goroutine (this includes cleanupAction hooks)
- Once AfterSuite hook is done executing it calls
os.Exit(1) on test suite.
So how cleanupFunc() that runs via defer in test can be interrupted
is:
- cleanupFunc starts running via defer (or AfterEach hook) but first
thing that function does is to remove cleanupHandle from
framework.RemoveCleanupAction.
- Test suite receives interrupt from user and AfterSuite block
starts executing
- remember that while cleanupFunc is running in goroutine#1,
AfterSuite is running concurrently in goroutine#2.
- AfterSuite hook has bunch of CleanupActions it needs to run which
were registered via framework.AddCleanupAction(cleanupFunc) but
once cleanupFunc starts executing via defer in the test, it will
remove the cleanupHandle from framework's aftersuite hooks.
- So if AfterSuite did not had anything to run (because
those actions were removed via framework.RemoveCleanupAction
then it will simply go to the last framework.AfterEach action and call os.Exit(1)
- So if os.Exit(1) is called before cleanupFunc has a chance to finish in defer, it will not complete.
2020-06-02 12:40:32 -04:00
Claudiu Belu
46df555ebe
test images: Adds step for fetching Windows image builder certificates
...
The google cloud builder job is launched without the required Windows Image Builder nodes
certificates that are needed for authentication when building the Windows container images.
Adds a step in test/images/cloudbuild.yaml that fetches a secret containing the certificates.
2020-06-02 07:50:45 -07:00
Kubernetes Prow Robot
84861d2102
Merge pull request #91558 from liggitt/csr-e2e
...
Add e2e coverage for the CertificateSigningRequest API, enable patch support for approval subresource
2020-06-02 06:28:15 -07:00
Rares Folea
d6b55b4469
Fix typo test/cmd/README
...
Typo in `Adding Tests` section
2020-06-02 14:50:55 +03:00
Roy Yang
d79f0c6b39
Simplify the logic by removing dead code and enhance logging
...
Signed-off-by: Roy Yang <royyang@google.com>
2020-06-01 23:43:04 -07:00
Kubernetes Prow Robot
1efe51b52b
Merge pull request #91643 from hasheddan/permissions
...
Fix minor typo in projected service account e2e test
2020-06-01 23:34:39 -07:00
Kubernetes Prow Robot
5592b5d67a
Merge pull request #91470 from MHBauer/fail-0-remote-images
...
explicitly fail if no images are found when running remote tests
2020-06-01 20:58:14 -07:00
Stephen Heywood
aaa0734259
Confirm list quantity after pod template collection deleted
2020-06-02 03:20:58 +00:00
Stephen Heywood
b26c782d72
Relocate tests from framework/events/events.go & update polling check
2020-06-02 02:34:35 +00:00
Kubernetes Prow Robot
f834c92ce1
Merge pull request #91632 from liggitt/ginkgo-recover-e2e
...
Defer ginkgo recovers
2020-06-01 16:24:14 -07:00
hasheddan
7b0b5cb8d1
Fix minor typo in projected service account e2e test
...
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-06-01 14:10:09 -05:00
Christian Huffman
7a55d3978c
Adjust Azure e2e binding mode
2020-06-01 14:55:46 -04:00
Jordan Liggitt
c9638d54d0
Defer ginkgo recovers
2020-06-01 11:02:41 -04:00
Kubernetes Prow Robot
b618411f1e
Merge pull request #91594 from neolit123/1.19-update-owners-test-lifecycle
...
test/e2e/lifecycle: update OWNERS
2020-05-31 23:57:55 -07:00
Kubernetes Prow Robot
46d08c89ab
Merge pull request #91363 from alejandrox1/tune-node-perf-workloads
...
Tuned npb is workload resources
2020-05-30 23:25:53 -07:00
Kubernetes Prow Robot
a017253ace
Merge pull request #88196 from janosi/sctp-e2e
...
e2e test cases for basic SCTP testing
2020-05-30 09:41:53 -07:00
lsytj0413
64094899b0
test(e2e_node): Parallelize prepulling all images in e2e_node
tests
2020-05-30 18:07:23 +08:00
Kubernetes Prow Robot
6468bfa770
Merge pull request #91585 from liggitt/pending-pod-timeout
...
Add debugging and timeouts to pending pod e2e
2020-05-30 02:58:08 -07:00
Michael McCune
0a9c3e9684
remove unused variable from autoscaling e2e
...
This change removes the `coreCount` variable and associated counting
logic from the cluster size autoscaling test. This variable was used
during the 1.9 release era, but the tests that used it were removed
before the 1.10 release. Please see the referenced commits[0][1] for
more information.
[0]
c8b807837a
[1]
fd738945b1
2020-05-29 17:33:45 -04:00
Lubomir I. Ivanov
93549d5037
test/e2e/lifecycle: update OWNERS
...
The e2e/lifecycle package is owned by SIG CL, although maybe this
should be moved to e2e/auth at some point.
- copy the OWNERS from /cmd/kubeadm (minus the area/kueadm label)
- remove the OWNERS file in /bootstrap letting the parent OWNERS file
manage this sub-package.
2020-05-29 23:12:44 +03:00
Kubernetes Prow Robot
d1586ea3f9
Merge pull request #91502 from deads2k/dyn-audit-removal-00
...
remove --feature-gates=DynamicAuditing
2020-05-29 11:56:20 -07:00
Jordan Liggitt
ee193bcd40
Add debugging and timeouts to pending pod e2e
2020-05-29 11:54:16 -04:00
Jordan Liggitt
0e2b13aed2
Add CertificateSigningRequest API coverage tests
2020-05-29 11:50:44 -04:00
Kubernetes Prow Robot
83f343011f
Merge pull request #91308 from julianvmodesto/remove-deprecated-server-dry-run-flag
...
Remove deprecated --server-dry-run from kubectl apply
2020-05-29 01:05:35 -07:00
Kubernetes Prow Robot
c8ceeed698
Merge pull request #91191 from denkensk/add-integration-test-nonpreempt
...
Add integration test for NonPreemption
2020-05-28 22:07:15 -07:00
Alex Wang
505ae6930f
add integration-test for NonPreemption
2020-05-29 11:54:03 +08:00
Xiang Dai
e09bc312cb
*.sh: cleanup all white noise
...
Signed-off-by: Xiang Dai <long0dai@foxmail.com>
2020-05-29 09:56:00 +08:00
Kubernetes Prow Robot
0891f69f5e
Merge pull request #91510 from ahg-g/ahg-preempt
...
Add Preemption benchmark
2020-05-28 16:38:12 -07:00
Laszlo Janosi
3ce43a1c96
Add e2e test for SCTP Service, Pod and Endpoint creation.
...
Add SCTP NetworkPolicy test.
2020-05-28 19:51:27 +00:00
Abdullah Gharaibeh
d650b57141
Added Preemption benchmark
2020-05-28 14:05:52 -04:00
Gaurav Singh
adcd8909fb
cleanup: Remove_unnecessary_Sprintfs
...
Removed unused fmt
Signed-off-by: Gaurav Singh <gaurav1086@gmail.com>
2020-05-28 13:43:13 -04:00
Kubernetes Prow Robot
40e61d8a50
Merge pull request #90365 from janosi/createsctpservice
...
e2e test framework change for the SCTP e2e tests
2020-05-28 10:24:04 -07:00
Ed Bartosh
e6192a87af
Remove unused e2e test image config
...
node_e2e tests use benchmark image configs from test-infra repository
This one is outdated and not used anywhere.
2020-05-28 14:44:31 +03:00
Kubernetes Prow Robot
8b3c00c661
Merge pull request #89799 from julianvmodesto/patcher
...
Make kubectl client-side apply with server-side dry-run safer
2020-05-27 20:50:02 -07:00
David Eads
e857adbdfd
remove-api
2020-05-27 16:58:05 -04:00
Caleb Woodbine
cd314c193c
Fix linting
2020-05-28 08:36:34 +12:00
David Eads
ed4e6f1026
remove dynamic audit
2020-05-27 15:18:53 -04:00
Kubernetes Prow Robot
7c3f7065db
Merge pull request #91113 from soltysh/create_deployment
...
Refactor create deployment and add --port flag
2020-05-26 23:24:54 -07:00
Kubernetes Prow Robot
65c0a1e64b
Merge pull request #89716 from Jefftree/bdd-initial-link
...
Add behavior <-> conformance test linkage example for pods
2020-05-26 23:24:41 -07:00
Caleb Woodbine
1db0ca74a9
Update correct resource version used, watch retry function to not close
2020-05-27 16:11:41 +12:00
Caleb Woodbine
250bb35041
Update documentation
2020-05-27 12:09:02 +12:00
Kubernetes Prow Robot
6b15b1f4a6
Merge pull request #91467 from bobbypage/topology-manager-test
...
Mark Topology Manager Test as non-alpha and NodeFeature
2020-05-26 16:49:14 -07:00
Kubernetes Prow Robot
30eeacbf22
Merge pull request #91384 from alejandrox1/alejandrox1-patch-1
...
Added cadvisor test suite to flag info message
2020-05-26 16:48:56 -07:00
Stephen Heywood
ecb68742e0
Fix golint issue
2020-05-26 23:34:53 +00:00
Stephen Heywood
b3baef5e05
Fix gofmt issues
2020-05-26 22:04:55 +00:00
Morgan Bauer
a9b999c00d
remove out of date test config
2020-05-26 14:46:38 -07:00
Morgan Bauer
58924c2de5
explicitly fail if no images are found when running remote tests
...
The previous implementation succeeds if no images are run. This causes
silent failures when image matchers are provided that do not match any image.
2020-05-26 14:08:27 -07:00
Kubernetes Prow Robot
f91c1ef60e
Merge pull request #91370 from justaugustus/cni
...
Update CNI to v0.8.6
2020-05-26 13:38:01 -07:00
Caleb Woodbine
9a77a00c7c
Fix formatting
2020-05-27 08:34:03 +12:00
David Porter
f5b8c3d746
Mark Topology Manager Test as non-alpha and NodeFeature
2020-05-26 12:10:18 -07:00
Maciej Szulik
ed1a0e9456
Refactor create deployment and add --port flag
2020-05-26 17:33:28 +02:00
Kubernetes Prow Robot
f097cee156
Merge pull request #90960 from zhouya0/fix_kubectl_create_secret_docker_registry
...
Fix kubectl create secret docker-registry --from-file
2020-05-26 05:39:12 -07:00
Stephen Heywood
7622a794da
Use polling while deleting the collection of events
2020-05-26 02:51:44 +00:00
Stephen Heywood
cd2ad2b986
Removing extra boilerplate from test
2020-05-26 02:34:15 +00:00
Andrea Nodari
8a39a2c24e
Add test case for a pod becoming schedulable when a node is updated
...
Also, avoid unnecessary copying when changing node taints
2020-05-25 21:59:36 +02:00
Caleb Woodbine
b9c934102b
Update default retrywatcher resource version
2020-05-25 15:27:32 +12:00
Kubernetes Prow Robot
0e37bcce2c
Merge pull request #88385 from tallclair/node-reviews
...
Remove tallclair from some OWNERS files
2020-05-24 20:23:11 -07:00
Caleb Woodbine
1bdb854e7e
Add resource deleting if there wasn't a delete watch event found
2020-05-25 14:59:25 +12:00
Caleb Woodbine
9f0c24ddcf
Fix checks, amount checking
2020-05-25 13:33:48 +12:00
Caleb Woodbine
b63b147d12
Update name, watch event occurence checking
2020-05-25 11:49:57 +12:00
Jorge Alarcon Ochoa
a069eec2bb
Added cadvisor test suite to flag info message
...
The cadvisor test suite is not mentioned in the remote runner's
`--test-suite` flag.
This PR will mention the existence of the cadvisor test suite.
2020-05-23 19:10:32 -04:00
Kubernetes Prow Robot
f01d848c48
Merge pull request #91329 from dims/switch-kube-controller-manager-to-distroless-image
...
Switch kube-controller-manager to distroless image
2020-05-22 17:23:10 -07:00
Stephen Augustus
b692502a9d
Update CNI to v0.8.6
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-05-22 17:48:56 -04:00
Christopher M. Luciano
2b091f60ca
ingress: Add Ingress to v1 API and update backend to defaultBackend
...
ingress: use new serviceBackend split
ingress: remove all v1beta1 restrictions on creation
This change removes creation and update restrictions enforced by
k8s 1.18 for not allowing resource backends.
Paths are no longer
required to be valid regex and a PathType is now user-specified
and no longer defaulted.
Also remove all TODOs in staging/net/v1 types
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2020-05-22 11:57:41 -04:00
alejandrox1
ebd84a5517
Tuned npb is workload resources
...
Lowering the amount of cpu allocated to this workload will set the
resources allocated to be similar to the other npb and tf workload in
this tests.
This will also allow to run all three workloads in a n1-standard-12 gcp
instance - which has 16 cpus and 60 GB.
Signed-off-by: alejandrox1 <alarcj137@gmail.com>
2020-05-22 09:30:43 -04:00
Kubernetes Prow Robot
9e06faa1fb
Merge pull request #91240 from tosi3k/bump-am-version
...
Update kube-addon-manager to v9.1.1
2020-05-21 19:40:37 -07:00
Davanum Srinivas
b1742f19ef
Switch kube-controller-manager to distroless image
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-21 22:33:54 -04:00
Stephen Heywood
d373bef4e4
Use polling while deleting the collection of pod templates
2020-05-22 01:33:20 +00:00
Kubernetes Prow Robot
bded41a817
Merge pull request #90689 from aojea/nfsv6
...
add ipv6 support to the e2e nfs tests
2020-05-21 03:30:36 -07:00
Aaron Crickenberger
4857893a0c
Promote preemption e2e tests to Conformance
2020-05-20 23:05:15 -07:00
Caleb Woodbine
32e0da39fc
Update to use watcher
2020-05-21 15:58:55 +12:00
Kubernetes Prow Robot
d32875543b
Merge pull request #91227 from aojea/kcliwait
...
kubectl run test: the pod wait (some time) until attach before printing
2020-05-20 19:41:20 -07:00
Kubernetes Prow Robot
97145d685c
Merge pull request #91077 from brianpursley/kubectl-501-2
...
Changed kubectl config set-cluster and set-credentials to support process substitution for filenames
2020-05-20 16:45:25 -07:00
Kubernetes Prow Robot
6eefe7d7d3
Merge pull request #90552 from dims/separate-out-cri-related-code-into-self-contained-package
...
Separate out cri related code into self contained package
2020-05-20 16:44:46 -07:00
Kubernetes Prow Robot
57b0c310b7
Merge pull request #90390 from ii/promote-serviceaccount-resource-lifecycle-test
...
Promote ServiceAccount resource lifecycle test - +3 conformance coverage
2020-05-20 16:44:33 -07:00
Kubernetes Prow Robot
62a4cb930b
Merge pull request #90367 from julianvmodesto/conformance-diff-dry-run
...
Promote diff and dry-run to conformance
2020-05-20 16:44:19 -07:00
Caleb Woodbine
82d76e2d6d
Add dynamic client resource watch function
2020-05-21 10:00:17 +12:00
Julian V. Modesto
3e93f99262
Remove deprecated --server-dry-run.
...
For the beta server-side dry-run feature, `kubectl apply` provided the
`--server-dry-run` flag.
As of 1.18, this flag was deprecated and marked to be removed after 1
release.
2020-05-20 16:53:53 -04:00
Davanum Srinivas
0608e8be25
update bazel BUILD files
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-20 10:57:47 -04:00
Davanum Srinivas
5692926914
Move packages for slightly better UX for consumers
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-20 10:57:46 -04:00
Antoni Zawodny
15e491eb2f
Update kube-addon-manager to v9.1.1
2020-05-20 09:50:20 +02:00
Caleb Woodbine
a3248a7ba8
Add documentation; Update base from invarients
2020-05-20 16:28:01 +12:00
Stephen Heywood
758e3c76a4
Removing extra boilerplate from test
2020-05-20 01:21:04 +00:00
Stephen Heywood
7772a42114
Switch pod template to use Agnhost
2020-05-19 23:44:19 +00:00
Kubernetes Prow Robot
739a61a871
Merge pull request #91221 from gnufied/tolerate-pod-not-found
...
Tolerate pod not found errors in storage e2e
2020-05-19 16:32:33 -07:00
Kubernetes Prow Robot
6cf4ab3c8c
Merge pull request #91071 from alculquicondor/integration_new_node
...
Add test case for a pod becoming schedulable when a node is added
2020-05-19 15:22:33 -07:00
Kubernetes Prow Robot
0e8a2d2244
Merge pull request #90793 from pohly/flaky-mount-volume-calls
...
mock e2e test: reduce flakiness by not testing all calls
2020-05-19 15:22:19 -07:00
Julian V. Modesto
f0eb68c0cf
Make client-side apply safer
...
- Remove the ServerDryRun field and delegate it entirely to the resource.Helper
- Use resource.Helper for deletions (as in `kubectl apply --force`)
instead of using the pruner's method that uses a dynamic client
- Reduce the resource.Helpers and times we check for server-side dry-run
in apply
2020-05-19 17:01:47 -04:00
Davanum Srinivas
fb7cb4307e
Move nfs-provisioner from quay.io/kubernetes_incubator to staging-csi
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-19 14:46:33 -04:00
Hemant Kumar
155db11b73
Do not fail test if pod is not found
2020-05-19 14:16:25 -04:00
Davanum Srinivas
5c966e3beb
Use staging-csi to work around quay.io availability
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-19 12:51:54 -04:00
Antonio Ojea
a0f0e58373
kubectl run test wait until pod terminates
...
the test "executing a command with run and attach without stdin"
is inherently flaky, there are several discussion but seems that
it requires changing the way the kubectl run and attach works.
The test fails if we are not able to attach before the container prints
"stdin closed", but hasn't exited yet.
Because the race seems difficult to solve, we can wait 5 seconds
before printing to give time to kubectl to attach to the container.
2020-05-19 13:09:32 +02:00
Jefftree
c7216b9a1b
Fix unmarshal for tests without behaviors
2020-05-18 23:35:25 -07:00
Jefftree
ceb67482c4
link 2 pod conformance tests with behaviors
2020-05-18 23:35:25 -07:00
Stephen Heywood
8ccf59027e
Add: test to ensure that a set of pod templates can be removed by delete collection
2020-05-19 04:33:08 +00:00
Stephen Heywood
cb7a680896
Add: test to ensure that a set of events can be removed by delete collection
2020-05-18 21:49:30 +00:00
Kubernetes Prow Robot
0d4464d014
Merge pull request #91150 from brianpursley/e2e-delete-pods
...
Add code to delete pods at the end of e2e tests to free up capacity
2020-05-18 13:33:48 -07:00
Antoni Zawodny
6b1393a3c5
Remove unnecessary logging info from kubemark nodes annotation
2020-05-18 16:01:50 +02:00
Caleb Woodbine
fcb04acd70
Add WIP watch event tooling
2020-05-18 16:32:38 +12:00
Kubernetes Prow Robot
1911ca213f
Merge pull request #91045 from saschagrunert/port-forward-deflake
...
Deflake port-forward e2e test
2020-05-16 19:00:14 -07:00
Kubernetes Prow Robot
d4ce66fe0b
Merge pull request #90660 from Huang-Wei/synced-sched-err-call
...
Move unschedulable Pod to internal schedulingQ synchronously
2020-05-16 19:00:06 -07:00
Kubernetes Prow Robot
b170451caa
Merge pull request #90183 from dims/update-kubernetes-to-klog-v2
...
Update kubernetes to klog v2
2020-05-16 18:59:51 -07:00
Kubernetes Prow Robot
052f9c8e7d
Merge pull request #90861 from dims/drop-conformance-tag-for-a-hostpath-test
...
Remove [Conformance] from "HostPath should give a volume the correct mode" test
2020-05-16 07:36:40 -07:00
Davanum Srinivas
07d88617e5
Run hack/update-vendor.sh
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-16 07:54:33 -04:00
Davanum Srinivas
442a69c3bd
switch over k/k to use klog v2
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-16 07:54:27 -04:00
Wei Huang
133a02540f
Move unschedulable Pod to internal schedulingQ synchronously
...
- use in-cache Pod instead of real-time Pod (by calling API server) to mark it as unschedulable
in internal schedulingQ
- remove the backoff logic as now we don't call API server
- the whole logic is changed to a synchronous call
2020-05-15 19:27:28 -07:00
Brian Pursley
20642720c6
Added pod deletion utility methods and added code to delete remaining pods in some e2e tests to try to prevent exceeding node capacity
2020-05-15 21:21:37 -04:00
Brian Pursley
84d5e664af
Changed kubectl config set-cluster and set-credentials to support process substitution for filenames
2020-05-15 09:22:59 -04:00
Kubernetes Prow Robot
32680e1c1e
Merge pull request #91039 from Jefftree/conformance-fix-space
...
remove empty line before ConformanceIt
2020-05-15 02:48:39 -07:00
Kubernetes Prow Robot
78abe8b270
Merge pull request #90978 from brianpursley/kubernetes-89259
...
Changed scheduler to use patch when updating pod status
2020-05-15 02:47:53 -07:00
Kubernetes Prow Robot
f12799e787
Merge pull request #90718 from fasaxc/improve-netpol-diags
...
Avoid early exit when collecting post-E2E failure logs.
2020-05-15 02:47:26 -07:00
Kubernetes Prow Robot
8cb57dd09a
Merge pull request #90180 from JacobTanenbaum/e2eTest-conntrack
...
add a test that shows the preservation UDP traffic when server pod cycles
2020-05-15 02:47:12 -07:00
Kubernetes Prow Robot
53a707daae
Merge pull request #88885 from julianvmodesto/kubectl-field-managers
...
Improve kubectl field manager names for clearer conflicts
2020-05-15 02:46:58 -07:00
zhouya0
bbf41448f6
Fix kubectl create secret docker-registry
2020-05-15 12:14:03 +08:00
Brian Pursley
9eb8e7a6d6
Changed scheduler to use patch when updating pod status to avoid potential conflicts
2020-05-14 15:17:53 -04:00
Kubernetes Prow Robot
5bda0c1b3b
Merge pull request #83726 from cofyc/fix56180
...
scheduler: Move all volume binding code into VolumeBinding plugin
2020-05-14 10:08:23 -07:00
Aldo Culquicondor
c8e2d5ba7c
Add test case for a pod becoming schedulable when a node is added
...
We have little coverage around node addition and removal. Since distinct event handlers interact, it is important to cover this in integration tests.
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-05-14 11:59:41 -04:00
Aldo Culquicondor
35b9ab1227
Remove unnecessary clientset arg from initPausePod
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-05-14 11:47:12 -04:00
Kubernetes Prow Robot
438debfb72
Merge pull request #91057 from ingvagabund/start-informers-outside-of-InitTestScheduler
...
integration: start informer and scheduler outside of InitTestScheduler
2020-05-14 06:22:22 -07:00
Kubernetes Prow Robot
9978c281ec
Merge pull request #90773 from gnufied/fix-csi-e2e-orphans
...
Fix CSI e2e leaving pods in terminating state
2020-05-13 22:14:21 -07:00
Kubernetes Prow Robot
9188bbbdaa
Merge pull request #90990 from hasheddan/guestbook
...
Retry resolving TCP address in agnhost/guestbook
2020-05-13 15:59:24 -07:00
Kubernetes Prow Robot
4339ac30a0
Merge pull request #90554 from vboulineau/vboulineau/fix_win_stats_init_containers
...
kubelet: fix `/stats/summary` endpoint on Windows when init-containers are present on the node
2020-05-13 15:58:51 -07:00
Jacob Tanenbaum
59082e80e3
Add a test that checks if conntrack entries are cleaned up for UDP traffic
...
ensure that when a pod servicing UDP traffic is deleted the conntrack entries
are cleaned up and another backend can pick up the traffic with minimal
interruption
When using NodePort services and long running connections that on pod deletion
stale conntrack entries can halt the flow of traffic. Add a test case to check
that conntrack entries are cleaned up.
2020-05-13 16:45:58 -04:00
Julian V. Modesto
7af0011884
Promote diff and dry-run to conformance
2020-05-13 13:04:41 -04:00
Jan Chaloupka
65e9826f79
integration: start informer and scheduler outside of InitTestScheduler
...
In case two or more controllers share the informers created through InitTestScheduler,
it's not safe to start the informers until all controllers set their informer
indexers. Otherwise, some controller might fail to register their indexers
in time. Thus, it's responsibility of each consumer to make sure all informers
are started after all controllers had time to get initiliazed.
2020-05-13 18:19:43 +02:00
Hemant Kumar
da941d8d3e
Create mock CSI driver resources in different namespace
2020-05-13 11:16:00 -04:00
Hemant Kumar
708261e06c
Make AfterSuite hooks ordered
...
ginkgo has a weird bug that - AfterEach does not get called when
testsuite exits with certain kind of interrupt (Ctrl-C for example).
More info - https://github.com/onsi/ginkgo/issues/222
We workaround this issue in Kubernetes by adding a special hook into
AfterSuite call, but AfterSuite can not be used to peforms certain
kind of cleanup because it can race with AfterEach hook and
framework.AfterEach hook will set framework.ClientSet to nil.
This presents a problem in cleaning up CSI driver and testpods. This
PR removes cleanup of driver manifest via CleanupAction because that
is not safe and racy (such as f.ClientSet may disappear!) and makes
AfterSuite hooks run in a ordered fashion
2020-05-13 11:15:27 -04:00
Kubernetes Prow Robot
98d404d280
Merge pull request #90963 from justaugustus/kube-cross
...
base-images: Update to kube-cross:v1.13.9-5
2020-05-13 00:19:03 -07:00
Kubernetes Prow Robot
620b7720e6
Merge pull request #90828 from gaurav1086/fix_data_race_storage
...
Fix date race in storage tests
2020-05-13 00:18:40 -07:00
Sascha Grunert
c7648f5984
Deflake port-forward e2e test
...
We should read and verify the data before actually closing the
connection to avoid connection based-races within the test.
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-05-13 08:53:31 +02:00
Kubernetes Prow Robot
07e916b05a
Merge pull request #90155 from robscott/endpointslice-test
...
Improving EndpointSlice tests
2020-05-12 21:00:26 -07:00
Jefftree
365f1d7d82
remove space before ConformanceIt
2020-05-12 17:55:32 -07:00
Kubernetes Prow Robot
6acceaeb2d
Merge pull request #91019 from aojea/rejected
...
improve error logging on e2e pod create function
2020-05-12 15:50:26 -07:00
Stephen Augustus
b5117ae8b5
base-images: Update to kube-cross:v1.13.9-5
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-05-12 18:14:33 -04:00
hasheddan
921b76ceaa
Move getting IP address into retry loop for agnhost/guestbook
...
Removes the fatal error from getIP and moves it to
retry loop so that application will not immediately
crash on failure.
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-05-12 13:55:17 -05:00
Kubernetes Prow Robot
53ba2ce026
Merge pull request #90865 from Huang-Wei/dedicated-informfactory-node-controller
...
test: Use dedicated informerFactory for node lifecycle controller
2020-05-12 08:24:59 -07:00
Kubernetes Prow Robot
9fce6b7147
Merge pull request #89023 from k-toyoda-pi/e2e_pdb_remove_unnecessary_error
...
Remove unnecessary return value in e2e/apps/disruption
2020-05-12 08:24:36 -07:00
hasheddan
9081dfb68d
Improve error messages in agnhost/guestbook
...
This updates the error messages when registering a
node to be more explicit about what error occurred
and how long it will wait to retry.
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-05-12 09:58:53 -05:00
Antonio Ojea
aa4df0422b
improve error logging on e2e pod create function
2020-05-12 13:41:56 +02:00
Yecheng Fu
c14b749521
scheduler/volumebinding: move all volume binding logic into VolumeBinding plugin
2020-05-12 10:13:05 +08:00
Kubernetes Prow Robot
ec0eec68b2
Merge pull request #90979 from damemi/fix-preemption-error
...
Add missing resource limits for e2e preemption
2020-05-11 15:23:07 -07:00
Kubernetes Prow Robot
f553458bbd
Merge pull request #90925 from gaurav1086/fix_namespace_datarace
...
Fix data race in namespace error handling
2020-05-11 15:22:58 -07:00
Kubernetes Prow Robot
437c2df36f
Merge pull request #90855 from wojtek-t/remove_listwatchuntil
...
Remove ListWatchUntil
2020-05-11 15:22:35 -07:00
Kubernetes Prow Robot
fc2c410a5a
Merge pull request #90806 from tosi3k/kubemark_node_size_objects
...
Add option to resize kubemark node objects size
2020-05-11 15:22:21 -07:00
hasheddan
0cacc44fc9
Retry resolving TCP address in agnhost/guestbook
...
Currently the guestbook application will fail if unable
to resolve TCP address on first attempt. If pod networking
is not setup when the application starts then it will be
unable to resolve, leading to frequent failures. This moves
the address resolution into the retry block so it will try
again if unsuccessful on first attempt.
Signed-off-by: hasheddan <georgedanielmangum@gmail.com>
2020-05-11 13:45:28 -05:00
Tim Allclair
029a144ae9
Remove tallclair from some OWNERS files
2020-05-11 11:44:38 -07:00
Gaurav Singh
d8a752ff72
Fix data race in namespace
...
Code review changes
2020-05-11 10:46:18 -04:00
wojtekt
ead12b02fe
Remove ListWatchUntil
2020-05-11 16:34:18 +02:00
Mike Dame
e623cc3abf
Add missing resource limits for e2e preemption
2020-05-11 10:01:57 -04:00
Gaurav Singh
93fa760c0a
Code review changes
2020-05-11 08:40:27 -04:00
Kubernetes Prow Robot
7937aa60a3
Merge pull request #90687 from aojea/connt
...
use conntrack instead of the /proc file for the e2e test TCP CLOSE_WAIT
2020-05-10 18:57:50 -07:00
Kubernetes Prow Robot
3c159bb10f
Merge pull request #88532 from zioproto/drop-network-tier-alpha-gate
...
Drop the alpha gating for Network Service Tier configuration support
2020-05-10 12:13:50 -07:00
Kubernetes Prow Robot
d63d77dc4c
Merge pull request #89547 from smarterclayton/graceful
...
netexec: Allow graceful shutdown testing from netexec
2020-05-09 16:49:50 -07:00
Julian V. Modesto
360c348d0e
Set kubectl field manager names
2020-05-09 13:24:39 -04:00
Antonio Ojea
6f9c0f9edd
track debian-iptables test image version
2020-05-09 16:54:23 +02:00
Antonio Ojea
5c8b88ec08
use conntrack instead of the /proc file
...
use the debian-iptables image, that is the base image used for the
kube-proxy one.
It already has the conntrack command, so no need to check for it.
2020-05-09 15:22:05 +02:00
Kubernetes Prow Robot
78e3ea1f20
Merge pull request #90740 from damemi/improve-preemption-e2es
...
Balance node usage before creating victim pods in preemption e2e
2020-05-09 00:44:28 -07:00
Kubernetes Prow Robot
329ecaa657
Merge pull request #90898 from wojtek-t/fix_statefulset_test
...
Fix stateful set test flakiness
2020-05-08 18:28:28 -07:00
Kubernetes Prow Robot
13010d199c
Merge pull request #90878 from saikat-royc/snapshotter-provisioner
...
Pickup Snapshot Provisioner from the snapshot class "driver" info.
2020-05-08 13:43:51 -07:00
Mike Dame
49464d9ec3
Balance node usage before creating victim pods in preemption e2e
2020-05-08 15:53:38 -04:00
Gaurav Singh
af74fbabf4
Remove unused err variable
2020-05-08 14:20:35 -04:00
Kubernetes Prow Robot
5983660ed7
Merge pull request #90543 from giuseppe/fix-tasksaccounting-systemd
...
test, e2e_node: drop superfluous systemd properties
2020-05-08 10:57:43 -07:00
wojtekt
238dde4bdb
Fix statefulset test flakiness
2020-05-08 17:23:03 +02:00
Kubernetes Prow Robot
db9b0b0c0e
Merge pull request #90827 from gaurav1086/apimachinery_fix_race_condition
...
Fix date race in Apimachinery test
2020-05-08 05:23:56 -07:00
Antoni Zawodny
a303346dcc
Add option to resize kubemark node objects size
2020-05-08 13:06:49 +02:00
Saikat Roychowdhury
dcfaaefc60
Pickup Snapshot Provisioner from the snapshot class "driver" info.
...
When using FromFile or FromExisitingClass options, snapshot provisioner
should be picked up from the "driver" tag of VolumeSnapshotClass object.
2020-05-08 05:45:36 +00:00
Davanum Srinivas
b64e904ca8
Drop conformance for a HostPath test
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-07 22:40:00 -04:00
Wei Huang
fc11871c61
test: Use dedicated informerFactory for node lifecycle controller
2020-05-07 15:01:55 -07:00
Kubernetes Prow Robot
c5be566b14
Merge pull request #90707 from jherrera123/fix-issue-88132
...
Make flexvolume e2e tests runnable again.
2020-05-07 07:35:15 -07:00
Clayton Coleman
3c9959a5d4
netexec: Allow graceful shutdown testing from netexec
...
The current /exit method is not sufficient to test graceful shutdown
behaviors within Kube that allow services to remain available during
rolling restarts. Add support for `wait=DURATION` and
`timeout=DURATION` to the exit handler and wire that to the Go http
server's graceful termination.
With these methods netexec can be used in a pod to simulate graceful
shutdown by adding a preStop handler that hits the exit endpoint with
a timeout and wait period.
2020-05-07 09:18:27 -04:00
Kubernetes Prow Robot
7f78048594
Merge pull request #90781 from msau42/increase-timeout
...
Increase timeout waiting for driver to start on nodes
2020-05-06 22:23:08 -07:00
Gaurav Singh
37458b350e
Fix date race in storage
2020-05-06 22:57:08 -04:00
Gaurav Singh
254a21b66e
Apimachinery test: Fix date race
2020-05-06 22:50:00 -04:00
Kubernetes Prow Robot
b144eec878
Merge pull request #90778 from msau42/update-mock
...
Update sidecars for csi mock driver
2020-05-06 17:57:08 -07:00
Kubernetes Prow Robot
3416442e4b
Merge pull request #90644 from tanjunchen/remove-controller-dependency
...
test/e2e/framework:remove the direct dependency for k8s.io/kubernetes/pkg
2020-05-06 11:47:12 -07:00
Kubernetes Prow Robot
0a6c826d3e
Merge pull request #90715 from jsafrane/gluster-ignore-notfound
...
Ignore NotFound error when cleaning up Gluster tests
2020-05-06 05:25:09 -07:00
Patrick Ohly
5aa3805a5f
mock e2e test: reduce flakiness by not testing all calls
...
kubelet sometimes calls NodeStageVolume an NodePublishVolume too
often, which breaks this test and leads to flakiness. The test isn't
about that, so we can relax the checking and it still covers what it
was meant to cover.
2020-05-06 11:43:16 +02:00
Michelle Au
fc08f74157
Increase timeout waiting for driver to start on nodes to reduce test flakiness
...
Change-Id: Id553943e4473b387bf0ae14a18a90cb3a1bcd5c1
2020-05-05 18:10:10 -07:00
Kubernetes Prow Robot
8e3766f2a8
Merge pull request #90215 from jasimmons/pr_agnhost_netexec_http
...
Adds HTTPS logic to agnhost netexec
2020-05-05 18:01:09 -07:00
Michelle Au
b34ad7e8ad
Update sidecars for csi mock driver
...
Change-Id: Ica8ca20404fd15dcfdbb912602934a5b9f24e4c6
2020-05-05 16:21:19 -07:00
Shihang Zhang
3db7275b54
set proper file permission for projected service account volume
2020-05-04 18:25:23 -07:00
Kubernetes Prow Robot
fbacb6e264
Merge pull request #90335 from pohly/cleanup-late-binding
...
e2e storage: wait for PV deletion also for late binding
2020-05-04 18:05:07 -07:00
Kubernetes Prow Robot
03a927e756
Merge pull request #90535 from gnufied/azure-zone-e2e
...
Azure - fix create azure disk PV in regions that don't have zones
2020-05-04 13:46:27 -07:00
Kubernetes Prow Robot
dca3e3f6ed
Merge pull request #90486 from aojea/iperf
...
Fix e2e network performance test
2020-05-04 08:10:26 -07:00
Shaun Crampton
73fe9c9915
Avoid early exit when collecting post-E2E failure logs.
...
collectPodsAndNetworkPolicies() is called to collect diagnostics
after a failure. Previously, if it encountered a failure in getting
the logs it would call Failf(), discarding the rest of the diagnostics
immediately.
2020-05-04 14:32:04 +01:00
Vincent Boulineau
3bff11244b
kubelet: fix /stats/summary
endpoint on Windows when init-containers are present on the node
...
Following changes in #87730 , Kubelet is directly hcsshim to gather stats.
However, unlike `docker stats` API that was used before, hcsshim does not
keep information about exited containers.
When the Kubelet lists containers (`docker_container.go:ListContainers()`),
it sets `All: true`, retrieving non-running containers.
When docker stats is called with such container id, it'll return a valid JSON
with all values set to 0. The non-running containers are filtered later on in the process.
When the hcsshim is called with such container id, it'll return an error, effectively
stopping the stats retrieval for all containers.
2020-05-04 14:42:02 +02:00
Jan Safranek
de09560cf0
Ignore NotFound error when cleaning up Gluster tests
...
"Volumes GlusterFS should be mountable" is a bit flaky in a downstream CI.
This PR make "should be mountable" test on par with the other GlusterFS
tests (in_tree.go: DeleteVolume())
2020-05-04 12:57:45 +02:00
Giuseppe Scrivano
b21b1a5436
test, e2e_node: drop superfluous systemd properties
...
commit 43c56eb403
introduced a change
where CPUAccounting, CPUAccounting and TasksAccounting are enabled for
the systemd service.
It causes a regression on RHEL 7.8 where systemd-run doesn't allow to
set TasksAccounting.
Since Delegate= already enables all the controllers, it is superfluous
to specify them.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2020-05-04 09:22:35 +02:00
Jesus Herrera
aeb654495b
Fix usage of incorrect TestContext variable
2020-05-03 15:34:43 -04:00
Antonio Ojea
26a00f9032
add ipv6 support to the e2e nfs tests
...
nfs mount command need to use the IP enclosed with square brackets
if is an IPv6 address
2020-05-03 11:06:10 +02:00
Kubernetes Prow Robot
e01f553ddd
Merge pull request #90135 from claudiubelu/tests/subpath-retry-exec
...
tests: Retries exec after container restart due to liveness
2020-05-02 06:02:25 -07:00
Kubernetes Prow Robot
7e627e01ef
Merge pull request #90640 from gongguan/clean-port-flag
...
clean some dead constants
2020-05-01 00:42:22 -07:00
Kubernetes Prow Robot
6b594c25c8
Merge pull request #90615 from dims/drop-conformance-tag-for-tests-that-rely-directly-on-kubelet-logs-api
...
Drop conformance tag for tests that rely directly on kubelet /logs API
2020-05-01 00:42:12 -07:00