Commit Graph

17248 Commits

Author SHA1 Message Date
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
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
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