Commit Graph

83928 Commits

Author SHA1 Message Date
Patrick Ohly
72609fc5f4 bazel update 2019-10-01 21:30:12 +02:00
Patrick Ohly
4620d0b2b8 e2e log: move back to framework, part II
This continues the work in
https://github.com/kubernetes/kubernetes/pull/81426 by also moving the
logger_test.go, moving the log helper code from util.go to log.go (a
more logical place, as it is only used there) and updating comments.
2019-10-01 21:30:12 +02:00
Nikhita Raghunath
21dba90e69 .github: add guineveresaenger and mrbobbytables as reviewers
Guin and Bob have consistently provided valuable reviews for PRs
touching the issue and PR templates in the past.
2019-10-02 00:59:38 +05:30
Patrick Ohly
ecd7ae55bc e2e log: Ginkgo 1.10.1 fixes stack skip
Now Ginkgo properly skips the initial stack entry.
2019-10-01 21:27:29 +02:00
Patrick Ohly
f70c81c9f2 e2e log: consistent logging of stack backtrace and failure, part II
After merging
259bb3bef5 (diff-eb7b79470992813ea1905e96c298b47b)
ExpectEqual and some of the other wrappers logged the failure twice,
once inside the wrapper itself and once in the failure handler.

Logging the stack backtrace is useful because many assertions still
don't contain an explanation and therefore knowing where they occur is
crucial. Now all failures are logged with a "Full Stack Trace", not
just those with a wrapper. The stack is pruned to skip over wrapper
functions and removes Ginkgo internal functions to keep the stack
trace smaller.

Failures occuring in the wrappers were recorded as occuring in those
wrappers. Now the wrappers are skipped and the caller is recorded
instead.

The full stack trace recorded by Ginkgo 1.10.0 is currently off by one
entry. This needs to be fixed in Ginkgo, then the test can be updated.
2019-10-01 21:27:29 +02:00
Patrick Ohly
6cecc0ab37 e2e log: skip log.Failf in stack information
The function itself isn't relevant.
2019-10-01 21:25:59 +02:00
Patrick Ohly
02ce619078 e2e log: fix full stacktrace with Ginkgo 1.10.0
Ginkgo 1.10.0 includes the relevant fix for dumping the full stack
(https://github.com/onsi/ginkgo/pull/590), so when using that release
we can simplify the logging unit test.

By changing the skipping, we can avoid the rather volatile util.go
entries. However, that gomega is part of the stack trace still needs
to be fixed in Gingko.
2019-10-01 21:25:59 +02:00
Rafael Fernández López
cd1ad5646e
kubeadm: add test to detect panics when given certain feature gates
This integration test allows us to detect if a given feature gate will
panic kubeadm. This builds on the assumption that a golang panic makes
the process exit with the code 2.

These tests are not trying to check if the init process succeeds or
not, their only purpose is to ensure that the exit code of the
`kubeadm init` invocation is not 2, thus, reflecting a golang panic.

Some refactors had to be made to the test code, so we return the exit
code along with stdout and stderr.
2019-10-01 20:37:37 +02:00
obitech
d13878c3f6 Add link to release notes documentation to PR template 2019-10-01 20:22:42 +02:00
Ted Yu
0939f90103 Check whether mirror pod is ciritical in managerImpl#evictPod 2019-10-01 11:12:18 -07:00
Kubernetes Prow Robot
5219ad7be2
Merge pull request #82105 from logicalhan/admission-test
Explicitly handle returned error values in admission metrics_test
2019-10-01 11:03:50 -07:00
Kubernetes Prow Robot
7878160a97
Merge pull request #81914 from wojtek-t/cache_serializations_across_watchers
Cache serializations across watchers
2019-10-01 11:03:35 -07:00
mengyang02
b116585b22 remove redundant quota.V1Equals 2019-10-02 01:02:09 +08:00
Wei Huang
a01259ef6f
bazel and codegen files 2019-10-01 09:51:40 -07:00
Wei Huang
cbdb4e3fdb
refactor scheduler extender related API
- move extender related API from pkg/scheduler/api to pkg/scheduler/apis/extender/v1

- alias extenderv1 to pkg/scheduler/apis/extender/v1

- use NodeScore and NodeScoreList in non-extender logic
2019-10-01 09:51:24 -07:00
Daniel Smith
a4ae7b9081 Don't leak a go routine on panic 2019-10-01 09:48:00 -07:00
Kubernetes Prow Robot
af67b2cbce
Merge pull request #83350 from soltysh/cp_fix
Update symlink warning
2019-10-01 09:35:47 -07:00
Kubernetes Prow Robot
40d4ddc7e5
Merge pull request #83192 from liggitt/improve-token-request-error
Improve error message for projected tokens when API is not enabled
2019-10-01 09:35:34 -07:00
Mark Wolters
f7bf17bc2f Switch from admission-control flag to enable-admission-plugins 2019-10-01 09:21:33 -07:00
notpad
fc55e74741 A consistent interface for plugin extended functionality 2019-10-01 23:59:48 +08:00
Kubernetes Prow Robot
2ebcd2509c
Merge pull request #83110 from deads2k/finalizer-ordering
explain why finalizers are not processed in order
2019-10-01 06:51:34 -07:00
David Eads
51195dd860 add ability to authenticators for dynamic update of certs 2019-10-01 09:50:20 -04:00
mattjmcnaughton
42f8596b13
Fix staticcheck failures in test/utils/...
The `err` return value was being overwritten in an unintended way, which
means the function may not return the proper error value. This diff
ensures it does.
2019-10-01 09:46:45 -04:00
David Eads
f14f4c933e add ability to pre-configure poststarthooks for apiservers 2019-10-01 09:08:18 -04:00
Guangming Wang
c0a4c09040 fix wrong test in generic-resources.sh
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
2019-10-01 20:45:17 +08:00
David Eads
8f78484ced generated 2019-10-01 08:32:09 -04:00
David Eads
781b5095d5 explain lack of finalizer ordering in godoc 2019-10-01 08:24:56 -04:00
Kubernetes Prow Robot
c2c821534b
Merge pull request #81093 from johnSchnake/useImageUtilsForLookup
Use imageutils instead of hardcoded image paths
2019-10-01 02:37:32 -07:00
Maciej Szulik
99448d2283
Update symlink warning 2019-10-01 10:36:02 +02:00
Kubernetes Prow Robot
78940cd5ef
Merge pull request #81419 from mgdevstack/checkServiceReachability
Update e2e testing nodePort service listening on same port but different protocols
2019-10-01 01:21:40 -07:00
Kubernetes Prow Robot
6610260cc4
Merge pull request #78466 from yuwenma/revert-77904-revert-76396-reapply-75624
Revert "Revert "[Re-Apply][Distroless] Convert the GCE manifests for master containers.""
2019-10-01 01:21:33 -07:00
Jan Safranek
0c3293a3aa Use pod + nsenter instead of SSH in mount propagation tests
Not all Kubernetes clusters allow ssh to nodes during test.
2019-10-01 10:19:25 +02:00
fabriziopandini
7c42fe77fe 1.18 entry in etcd map 2019-10-01 09:17:31 +02:00
Kubernetes Prow Robot
820b796c66
Merge pull request #83301 from justinsb/e2e_tag_volume_we_create
e2e: on aws, tag volumes we want the cluster to mount
2019-09-30 20:17:38 -07:00
Kubernetes Prow Robot
bc2971277d
Merge pull request #83148 from YuikoTakada/81427_e2e_common
use log functions of core framework
2019-09-30 20:17:31 -07:00
Kubernetes Prow Robot
c9f8b8b525
Merge pull request #82374 from xcelsion/fix-dup-containerport-between-address-families
Fixed issue with duplicate containerPorts in different address families
2019-09-30 17:55:32 -07:00
Kubernetes Prow Robot
8826378be5
Merge pull request #83331 from aojea/getporturl_ipv6
Allow ipv6 urls in GetPortURL()
2019-09-30 16:13:31 -07:00
Kubernetes Prow Robot
2d491ace8d
Merge pull request #82439 from smarterclayton/async_ns_cleanup
test/e2e: Delete test namespaces asynchronously
2019-09-30 14:35:31 -07:00
Kubernetes Prow Robot
75321b99ec
Merge pull request #83249 from yutedz/az-disk-nil
Add nil checks for Azure CSI translation
2019-09-30 13:09:16 -07:00
Kubernetes Prow Robot
b215562a70
Merge pull request #83205 from zhenglol/zhengch_event_exporter_to_sd
Use $STACKDRIVER_ENDPOINT to set exporter sd endpoint
2019-09-30 13:09:00 -07:00
Kubernetes Prow Robot
b89220f9ca
Merge pull request #80420 from cwdsuzhou/July/mergeAttachDetachCommonFunc
Merge attach and detach common func
2019-09-30 13:08:46 -07:00
Kubernetes Prow Robot
3d40c4cea2
Merge pull request #83322 from wojtek-t/remove_scalability_tests
Remove deprecated scalability tests
2019-09-30 11:47:59 -07:00
Kubernetes Prow Robot
d73b0d0438
Merge pull request #83279 from RainbowMango/pr_remove_direct_reference_to_prometheus_from_kubelet
Remove direct reference to prometheus from kubelet
2019-09-30 11:47:52 -07:00
Kubernetes Prow Robot
48199d3c0f
Merge pull request #83219 from alejandrox1/framework-util-skip
Cleaned up skip* functions from framework/util.go
2019-09-30 11:47:39 -07:00
Antonio Ojea
5e6eb467ac
Allow ipv6 urls in GetPortURL() 2019-09-30 20:32:36 +02:00
Kubernetes Prow Robot
a87c1b2d72
Merge pull request #83099 from ahg-g/ahg-config-layer2
[migration] Mapping Layer - 2. Convert predicates/priorities configurations to a framework plugin one.
2019-09-30 08:57:38 -07:00
Abdullah Gharaibeh
6120fe9b11 Convert predicates/priorities configurations to a framework plugin configs. 2019-09-30 10:36:52 -04:00
wojtekt
59533f0cd1 Remove deprecated scalability tests 2019-09-30 16:04:09 +02:00
Kubernetes Prow Robot
5b78e31367
Merge pull request #83312 from fabriziopandini/bump-versions
kubeadm: bump versions for v1.17 cycle
2019-09-30 06:15:38 -07:00
Kubernetes Prow Robot
c5440829d5
Merge pull request #83248 from krzysied/node_controller_test
Adding fakeGetPodsAssignedToNode to node lifecycle controller tests
2019-09-30 03:19:38 -07:00