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
Kubernetes Prow Robot
9da4b00d40
Merge pull request #86767 from tanjunchen/move-functions
...
move functions from e2e/framework/deployment/ to e2e/apps/ and e2e/up…
2020-01-07 14:08:31 -08:00
Kubernetes Prow Robot
cd770fa792
Merge pull request #84453 from matte21/revise-shared-informer-doc
...
Revise SharedInformer godoc comments
2020-01-07 14:08:18 -08:00
Caleb Woodbine
9ed55bc520
Add: JSON marshal error failure checking; Fix: formatting
2020-01-07 22:02:41 +00:00
Caleb Woodbine
232da60430
Update: json patch generation
2020-01-07 20:50:16 +00:00
Caleb Woodbine
c53006b1a2
Add: test for finding service from listing all namespaces
2020-01-07 20:42:56 +00:00
Kubernetes Prow Robot
c7af1da206
Merge pull request #86913 from ahg-g/ahg-nodelimit
...
fix a bug in scheduler's node resource limits score
2020-01-07 12:34:25 -08:00
Caleb Woodbine
b4fb46409d
Update: test secret contains a default label, secrets are listed via default label, patch payload is marshaled instead of written in raw JSON, secret deleted check; Fix: comments, test namespace usage
2020-01-07 19:51:24 +00:00
Aaron Crickenberger
b8cac87646
Revert "fix flakes on e2e test TCP CLOSE_WAIT timeout"
...
This reverts commit 0b064f34ae
.
2020-01-07 11:35:54 -08:00
Abdullah Gharaibeh
e26fbe6f08
fix a bug in scheduler's node resource limits score
2020-01-07 13:43:44 -05:00
Mike Spreitzer
729337ec7e
gofmt reflector.go
2020-01-07 13:23:07 -05:00
Mike Spreitzer
ae53a008cb
Clarified comment on DeltaFIFO::Replace
2020-01-07 13:22:55 -05:00
Mike Spreitzer
f2a8e2d9c9
finished pass over comments on Controller, and commented sharedIndexInformer
2020-01-07 13:22:36 -05:00
Mike Spreitzer
7d82e23e6c
A little more comment tweaking for cache.Controller
2020-01-07 13:22:12 -05:00