Commit Graph

88472 Commits

Author SHA1 Message Date
Jiaying Zhang
3698a2540d In test framework LoadConfig(), use CurrentContext.Server for TestContext.Host
if it is unset. Otherwise, kubectl exec through http/kubectl proxy tests in
test/e2e/kubectl/kubectl.go would fail with "--host variable must be set to
the full URI to the api server on e2e run" error.
With this change, running the following tests can now pass:
$ e2e.test --kubeconfig=xxx --ginkgo.focus="should support exec through"
2020-01-16 17:57:21 -08:00
toyoda
0c12ae5240 Modify alias of e2e/framework/job to e2ejob 2020-01-17 10:56:05 +09:00
Kubernetes Prow Robot
2ea483b17e
Merge pull request #87291 from oomichi/i86052-endpoint
Move ValidateEndpointsPorts() to e2e test
2020-01-16 15:54:43 -08:00
Mike Danese
d86fcd8c90 rename some declartions named context in tests 2020-01-16 15:09:28 -08:00
Kubernetes Prow Robot
6413f1ee2b
Merge pull request #87246 from nilo19/qi-fix-dns-label
Fix the bug PIP's DNS is deleted if no DNS label service annotation isn't set.
2020-01-16 14:38:32 -08:00
Kubernetes Prow Robot
34e090187c
Merge pull request #87032 from awly/preload-gke-exec-plugin
Allow a preloaded gke-exec-auth-plugin
2020-01-16 13:14:52 -08:00
Kubernetes Prow Robot
9277bac9b8
Merge pull request #87003 from odinuge/node-e2e-instance-failure
Add error check for instance insert in node e2e
2020-01-16 13:14:45 -08:00
Kubernetes Prow Robot
719b8aa5f3
Merge pull request #86709 from mwmix/scheduler_unit_tests
Adding unit tests for kube-scheduler Config Complete() method.
2020-01-16 13:14:31 -08:00
Paul Morie
afaea605f4 Remove Brad Childs from OWNERS files 2020-01-16 15:21:34 -05:00
Kubernetes Prow Robot
9701baea0f
Merge pull request #87283 from klueska/update-printing-for-tm-bitmask
Update bitmask printing to print in groups of 2 instead of all 64 bits
2020-01-16 12:04:32 -08:00
shahra
18f05ef5b9 Fix golint errors in test/e2e/storage/vsphere 2020-01-16 11:12:31 -08:00
Kubernetes Prow Robot
9ae36ba81a
Merge pull request #87173 from YuikoTakada/move_skip_e2e_asg
Use e2eskipper package in test/e2e/autoscaling
2020-01-16 10:30:24 -08:00
Kenichi Omichi
9952d487d2 Move ValidateEndpointsPorts() to e2e test
ValidateEndpointsPorts() was only used in e2e service tests.
So this moves the function to the tests.
2020-01-16 17:59:08 +00:00
Anago GCB
450196a719 Update CHANGELOG-1.15.md for v1.15.8. 2020-01-16 17:13:01 +00:00
Anago GCB
3fbfa763fd Update CHANGELOG-1.16.md for v1.16.5. 2020-01-16 17:12:15 +00:00
Kevin Klues
708278098a Update bitmask printing to print in groups of 2 instead of all 64 bits 2020-01-16 17:28:52 +01:00
Kubernetes Prow Robot
0c1d714627
Merge pull request #87128 from Aresforchina/fix-staticcheck-test12
fix-staticcheck:pkg/volume/emptydir
2020-01-16 07:48:50 -08:00
Kubernetes Prow Robot
685ba7f51f
Merge pull request #83904 from openSUSE/ineff
Fix ineffectual assignment to CPUSets
2020-01-16 07:48:36 -08:00
Kubernetes Prow Robot
5d94b19251
Merge pull request #82493 from zouyee/pc
fix ci-kubernetes-node-kubelet-serial Non-system critical priority classes are not allowed to have a value larger than HighestUserDefinablePriority
2020-01-16 07:48:22 -08:00
Pengfei Ni
c6429e3726 Add snapshot clients based on armclient 2020-01-16 15:38:38 +00:00
Pengfei Ni
4ea5509b31 Add vmsize clients based on armclient 2020-01-16 15:38:38 +00:00
Pengfei Ni
c86d1ec0e9 Add storageaccount clients based on armclient 2020-01-16 15:38:35 +00:00
Kubernetes Prow Robot
9bf218bf86
Merge pull request #86652 from YuikoTakada/fix_readme_testing-manifests
Fix link in readme
2020-01-16 06:12:23 -08:00
Pengfei Ni
43554c80a6 Add disk clients based on armclient 2020-01-16 14:11:28 +00:00
Kubernetes Prow Robot
ac1832b709
Merge pull request #87041 from matheusneder/master
Fixed fluentd (addon) docker.log format (configuration)
2020-01-16 04:36:24 -08:00
Kubernetes Prow Robot
718714a935
Merge pull request #85171 from hwdef/fix-staticcheck11
pkg/master: fix staticcheck warning
2020-01-16 01:44:22 -08:00
t-qini
afd31035c2 Fix the bug PIP's DNS is deleted if no DNS label service annotation is set. 2020-01-16 17:24:58 +08:00
Kevin Klues
7069b1d6e8 Update TopologyManager single-numa-node logic to handle "don't cares"
The logic has been updated to match the logic of the best-effort policy
except in two places:

1) The hint filtering frunction has been updated to allow "don't care"
hints encoded with a `nil` affinity mask, to pass through the filter in
addition to hints that have just a single NUMA bit set.

2) After calculating the `bestHint` we transform "don't care" affinities
encoded as having all NUMA bits set in their affinity masks into "don't
care" affinities encoded as `nil`.
2020-01-16 08:50:35 +00:00
Kevin Klues
2905ffffa7 Rename TopologyManager test TestPolicyBestEffortMerge for consistency 2020-01-16 08:50:21 +00:00
Kevin Klues
94489c137c Cleanup use of defaultAffinity in mergePermutation of TopologyManager 2020-01-16 08:50:12 +00:00
Jan Chaloupka
ef1b991ebc SchedulerPredicates [Serial] validates resource limits of pods that are allowed to run - set resource requests as well
NodeResourceFit plugin's Filter method responsible for checking if a pod fits
a given node ignores resource limits and acknowledge resource requests only.
Given both tests validating resource limits of pods were setting only pod resource limits,
ability of NodeResourceFit plugin to properly filter nodes was not tested at all.
2020-01-16 09:14:43 +01:00
nolancon
5e23517ebf Use reflect.DeepEqual check in policy_test.go 2020-01-16 08:13:07 +00:00
nolancon
92eb7cd601 Update "Single NUMA hint generation" expected affinity to nil 2020-01-16 08:13:07 +00:00
nolancon
8b3f6e61a2 Move test case "Two providers, 1 with 2 hints, 1 with single
non-preferred hint matching" into specific policy tests
2020-01-16 08:13:07 +00:00
nolancon
681c42bfc2 Move test case "Two providers, 1 hint each, same mask, 1 preferred, 1
not 2/2" into specific policy tests
2020-01-16 08:13:07 +00:00
nolancon
a38a2562b2 Move test case "Two providers, 1 hint each, same mask, 1 preferred, 1
not 1/2" into specific policy test.
2020-01-16 08:13:07 +00:00
nolancon
f639da7637 Move test case "Two providers, 1 hint each, no common mask" into
specific policy tests.
2020-01-16 08:13:07 +00:00
nolancon
401a2bb285 Move test case "Single TopologyHint with Preferred as false and
NUMANodeAffinity as nil" into specific policy tests.
2020-01-16 08:13:06 +00:00
nolancon
6460ef6392 Move test case "Single TopologyHint with Preferred as true and
NUMANodeAffinity as nil" into specific policy tests.
2020-01-16 08:13:06 +00:00
nolancon
baeff9ec5d Move test case "HintProvider returns empty non-nil map[string][]TopologyHint from
provider" into specific policy tests.
2020-01-16 08:13:06 +00:00
nolancon
599217d482 Move test case "HintProvider returns -nil map[string][]TopologyHint from provider" into specific policy tests 2020-01-16 08:13:06 +00:00
nolancon
57661ee946 Move test case 'HintProvider returns empty non-nil map[string][]TopologyHint' into specific policy tests. 2020-01-16 08:13:06 +00:00
nolancon
51f1af0395 Move test case 'TopologyHint not set' into individual policy tests 2020-01-16 08:13:06 +00:00
nolancon
8466a5852a Restore policy_test.go to upstream
Following commits will contain incremental changes to this file to ease
review process and ensure all tests are accounted for.
2020-01-16 08:13:06 +00:00
nolancon
59bb6c4d6f Update checks in mergeProvidersHints:
- Initialize best Hint to TopologyHint{}
- Update checks.
- Move generic unit test case into policy specific tests and updated
expected outcome to reflect changes.
2020-01-16 08:13:06 +00:00
nolancon
6758f95117 Restore original policy none test cases:
Mistakenly overwritten in earlier commit
2020-01-16 08:13:06 +00:00
nolancon
2d1a535a35 Make mergePermutation generic:
- Remove policy parameters to make function generic
- Move function into top level policy.go
2020-01-16 08:13:06 +00:00
nolancon
5487941485 Refactor filterHints:
- Restructure function
- Remove bug fix for catching {nil true} - To be fixed in later commit
- Restore unit tests to original state for testing filterHints
2020-01-16 08:13:06 +00:00
nolancon
adfd11f38f Make iterateAllProviderTopologyHints generic:
- Remove policy parameters to make this function generic.
- Move function out of individual policies and into policy.go
2020-01-16 08:13:06 +00:00
nolancon
e43f0a5293 Reinstate canAdmitPodResult in policy_none:
This is to keep consistency with the other policies.
This change may be made across all policies in a future PR, but removing it
from the scope of this PR for now.
2020-01-16 08:13:05 +00:00