Commit Graph

17417 Commits

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