Commit Graph

88299 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
8046feb2b3
Merge pull request #86947 from gavinfish/drfish_redundant_nil_check
Remove redundant nil check in apiserver integration test
2020-01-08 14:46:34 -08:00
Kubernetes Prow Robot
792fe793a1
Merge pull request #86946 from cchord/fix_typo
fix typo
2020-01-08 14:46:24 -08:00
Kubernetes Prow Robot
968361dc83
Merge pull request #86945 from hase1128/add-simple-explanation-to-verify-spelling-script
Add simple explanation to verify-spelling.sh
2020-01-08 14:46:14 -08:00
Kubernetes Prow Robot
ca05f4c63b
Merge pull request #86930 from alculquicondor/fix/node_info_list
Use Snapshot.NodeInfoList for listing operations
2020-01-08 14:46:03 -08:00
Kubernetes Prow Robot
af202d207f
Merge pull request #86891 from gnufied/move-publish-unpublish-check
Move publish and unpublish counting up in test
2020-01-08 14:45:53 -08:00
Kubernetes Prow Robot
a233e0115b
Merge pull request #85944 from SataQiu/fix-es-20191205
Addons: elasticsearch supports automatically setting the advertise address
2020-01-08 14:45:39 -08:00
Abdullah Gharaibeh
21202b08d4 remove e2e dependency on scheduler/predicates package 2020-01-08 17:24:42 -05:00
Peter Hornyack
9b17de7462 Repair smoke-test for Windows GCE clusters 2020-01-08 14:00:50 -08:00
Abdullah Gharaibeh
f3c7a4c823 Update scheduler's RunFilterPlugins to return a plugin to status map 2020-01-08 16:44:51 -05:00
Kubernetes Prow Robot
79bb357193
Merge pull request #84654 from liggitt/drop-openapi-version
Drop version from static openapi json file
2020-01-08 11:59:39 -08:00
Bharath Thiruveedula
8e3c1b54a7 Fix interpodaffinity issue
Signed-off-by: Bharath Thiruveedula <bharath_ves@hotmail.com>
2020-01-09 01:18:49 +05:30
Haowei Cai
326935c1b9 extend crd openapi e2e timeout to deflake the test, plus small improvements:
switch to use discovery rest client, which has higher burst/qps settings;
use jsoniter instead of encoding/json in kube-aggregator downloader.
2020-01-08 11:38:44 -08:00
Mike Dame
d227b7822f Move selector spreading priority code to plugin 2020-01-08 13:37:37 -05:00
Aaron Crickenberger
4d731d92bf Demote Delete Grace Period test to [Flaky]
This is currently the top flake against PRs, so I'm tagging it
as [Flaky]. Flaky tests can't be conformance tests, so I'm
removing it from [Conformance] as well until this is resolved.
2020-01-08 10:12:47 -08:00
Kubernetes Prow Robot
b34c96b62c
Merge pull request #86764 from haosdent/migrate-servie-affinity
Break serviceaffinity Filter plugins dependency on predicates package
2020-01-08 08:47:39 -08:00
Aldo Culquicondor
5d916e20dd Use Snapshot.NodeInfoList for listing operations
instead of iterating over NodeInfoMap.

Also remove redundant queries to NodeInfoMap.

Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-01-08 09:45:36 -05:00
Kubernetes Prow Robot
6c677b52a1
Merge pull request #86856 from ii/create-test-for-finding-service-from-listing-all-namespaces
Create test for finding service from listing all namespaces
2020-01-08 06:33:40 -08:00
Christian Huffman
3db91b2bdc Enabled reading config files for vsphere e2e tests 2020-01-08 09:00:40 -05:00
Kenichi Omichi
f3c70a2ed2 Move IsAppArmorSupported() from e2e framework
The function is only used at a single place.
This moves it to the place.
2020-01-08 13:46:50 +00:00
Antonio Ojea
704ec25352
fix flakes on e2e test TCP CLOSE_WAIT timeout
it turns out that the e2e test was not using the timeout used to
hold the CLOSE_WAIT status, hence the test was flake depending
on how fast it checked the conntrack table.

This PR replaces the dependency on ssh using a pod to check the conntrack
entries on the host in a loop, to make the test more robust
and reduce the flakiness due to race conditions and/or ssh issues.

It also fixes a bug trying to grep the conntrack entry, where
the error was swallowed if a conntrack entry wasn't found.
2020-01-08 12:47:53 +01:00
RainbowMango
0f9c262eda Cleanup cloud controller manager when closing cluster. 2020-01-08 19:18:53 +08:00
Kubernetes Prow Robot
db1990f48b
Merge pull request #86932 from spiffxp/revert-86708
Revert "fix flakiness on e2e test TCP CLOSE_WAIT timeout"
2020-01-08 02:59:16 -08:00
Kubernetes Prow Robot
f8d6d85b7e
Merge pull request #86917 from rosti/kubeadm-cc-fix-misleading-warning
kubeadm: Fix a false positive in a warning
2020-01-08 02:59:05 -08:00
Kubernetes Prow Robot
35434fdfea
Merge pull request #86901 from tanjunchen/staticcheck-002
staticcheck:test/integration/master/
2020-01-08 02:58:55 -08:00
Kubernetes Prow Robot
dbf3a46ec1
Merge pull request #86893 from RainbowMango/pr_support_external_cloud_provider_part2
Remove variable EXTERNAL_CLOUD_VOLUME_PLUGIN default value
2020-01-08 02:58:44 -08:00
Kubernetes Prow Robot
1e0bfae887
Merge pull request #86871 from gosoon/master
fix log message error in nodelifecycle
2020-01-08 02:58:33 -08:00
Kubernetes Prow Robot
c983a3a44e
Merge pull request #86854 from ii/create-namespace-patch-test
Create namespace patch test
2020-01-08 02:58:22 -08:00
Kubernetes Prow Robot
1f50be5d04
Merge pull request #86775 from Aresforchina/fix-staticcheck-test03
fix staticcheck of pkg/util/ebtables
2020-01-08 02:58:07 -08:00
Kubernetes Prow Robot
b1e8bed5be
Merge pull request #86755 from mwmix/scheduler_server_unit_tests
Adding in missing Registry unit tests.
2020-01-08 02:57:54 -08:00
Kubernetes Prow Robot
fd0358fd21
Merge pull request #86689 from klueska/upstream-fix-cpumanager-v1-state-checksum
Lock checksum calculation for v1 CPUManager state to pre 1.18 logic
2020-01-08 02:57:40 -08:00
likakuli
10864d3366 fix a bug that orphan revision cannot be adopted and sts cannot be synced 2020-01-08 17:56:41 +08:00
zhouya0
568edf72ec fix kubectl annotate local error 2020-01-08 17:50:03 +08:00
Kubernetes Prow Robot
302cf556e0
Merge pull request #86604 from hase1128/add-simple-explanation-to-verify-golint-script
Add simple explanation to verify golint script
2020-01-08 01:49:40 -08:00
yuzhiquan
8d7f383785 cleanup(api-machinery): remove unused struct and variable 2020-01-08 16:57:02 +08:00
Kubernetes Prow Robot
014e1fb54c
Merge pull request #84241 from mgugino-upstream-stage/kubectl-drain-dead-code
kubectl: remove unreachable code
2020-01-07 23:55:40 -08:00
Jiahao Zhu
680df17f39 fix typo 2020-01-08 15:48:58 +08:00
gavinfish
68532e0c0f Remove redundant nil check 2020-01-08 15:28:46 +08:00
Jin Hase
ee967060c7 Add simple explanation to verify-spelling.sh 2020-01-08 15:55:10 +09:00
Haosdent Huang
a1053e4835 Break interpodaffinity Filter plugins dependency on predicates package 2020-01-08 14:37:51 +08:00
Kubernetes Prow Robot
110da204f6
Merge pull request #85190 from danielqsj/f-event
refactor events utils in e2e
2020-01-07 22:35:40 -08:00
Claudiu Belu
a3b90584a1 Image Promoter: Bump timeout limit
50 minutes are not enough for building all the conformance images.
Bumps the timeout limit to 90 minutes.
2020-01-07 21:31:47 -08:00
Kubernetes Prow Robot
8dca390262
Merge pull request #84927 from mattjmcnaughton/mattjmcnaughton/fix-kubelet-config-common
Fix golint failures for pkg/kubelet/config/...
2020-01-07 21:09:40 -08:00
Kubernetes Prow Robot
67647ed5a3
Merge pull request #73363 from kellycampbell/nlb-local-healthchecks
Shorten health check timeout for AWS NLB with externalTrafficPolicy: Local
2020-01-07 19:15:40 -08:00
mattjmcnaughton
8897c435ad
Refactor oom watcher to allow greater test coverage
This diff contains a strict refactor; there are no behavioral changes.

Address a long standing TODO in `oom_watcher_linux_test.go` around test
coverage. We refactor our `oom.Watcher` so it takes in a struct
fulfulling the `streamer` interface (i.e. defines `StreamOoms` method).
In production, we will continue to use the `oomparser` from `cadvisor`.
However, for testing purposes, we can now create our own `fakeStreamer`,
and control how it streams `oomparser.OomInstance`. With this fake, we
can implement richer unit testing for the `oom.Watcher` itself.

Actually adding the additional unit tests will come in a later commit.
2020-01-07 21:48:14 -05:00
Matthew Mix
57f2d7ad6f Adding unit tests for kube-scheduler Config Complete() method. 2020-01-07 18:52:21 -05:00
Claudiu Belu
30058c9d35 Image Promoter: Remove -it from docker command
It seems that the Image Promoter is running containers without the -t flag, which causes the error:

the input device is not a TTY

Removing the -it from the docker command in kubernetes/test/images/image-util.sh solves this.
2020-01-07 15:34:47 -08:00
Mike Danese
dc5934f584 token cache: make fetch_total a counter
Downstreams assume process restarts when counters decrement. Currently,
the "active" label is expected to decrement but the "ok" and "error"
labels are intended to be handled as counters. This is unneccesary and
hard to deal with. This changes consolidate "blocking" and "in_flight"
tracking into a single guage, which allows fetch completion to be a pure
counter.
2020-01-07 14:28:38 -08:00
Kubernetes Prow Robot
6099a739d8
Merge pull request #86919 from ahg-g/ahg-fix
Fix how we check for node info list consistency
2020-01-07 14:09:05 -08:00
Kubernetes Prow Robot
99600ae9a7
Merge pull request #86852 from haosdent/clean-filter-deps-volumezone
Break volumezone Filter plugins dependency on predicates package
2020-01-07 14:08:55 -08:00
Kubernetes Prow Robot
c867fdbc1c
Merge pull request #86847 from haosdent/clean-filter-deps-nodelabel
Break nodelabel Filter plugins dependency on predicates package
2020-01-07 14:08:46 -08:00