Kubernetes Prow Robot
1bb7835f0a
Merge pull request #83609 from avalluri/fix-storage-e2e-tests
...
Remove e2e/common package usage in volumemode testsuite
2019-10-10 13:41:52 -07:00
Kubernetes Prow Robot
3db6d3abcf
Merge pull request #83551 from dims/move-external-facing-kubelet-apis-to-staging
...
Move external facing kubelet apis to staging
2019-10-10 13:41:36 -07:00
Abdullah Gharaibeh
456df97745
made scheduler cache and volume binder available when instantiating factories for default plugins
2019-10-10 16:21:29 -04:00
Solly Ross
40aea0c70d
Validation: len is measured in bytes
...
The `TooLong` validation message mentioned characters, but the `len`
function actually measures bytes, no characters. This switches it over
to use bytes.
Characters are mostly an illusory concept anyway -- a vain attempt to
shield our minds against the lovecraftian nightmares that comes from
attemping to truly comprehend that eldritch treatise known as the
Unicode standard. Which is to say: measuring things in characters is
hard and mostly ambiguous, and probably not what we meant to do.
2019-10-10 09:48:49 -07:00
Kubernetes Prow Robot
46dd075bab
Merge pull request #83718 from serathius/aliases
...
Introduce sig-instrumentation aliases in OWNERS_ALISES and simplify OWNERS files
2019-10-10 09:04:05 -07:00
Kubernetes Prow Robot
4eb1ca46ed
Merge pull request #83667 from k-toyoda-pi/use_log_e2e_storage_topology
...
Use log functions of core framework on testsuites/topology.go
2019-10-10 07:31:57 -07:00
Sascha Grunert
5a8b695fef
Validate AgnhostPod readyness status in e2e tests
...
We now additionally check if the agnhost pods are ready before
marking the pod as running to increase the overall test stability.
Relates to: https://github.com/kubernetes/kubernetes/pull/82420
Fixes: https://github.com/kubernetes/kubernetes/issues/82445
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-10-10 14:11:06 +02:00
Marek Siarkowicz
c601d34eba
Introduce sig-instrumentation aliases in OWNERS_ALISES and simplify OWNERS files
2019-10-10 14:04:20 +02:00
Kevin Taylor
cb8a7c1a4c
Promote VolumeSubpathEnvExpansion feature gate to GA
2019-10-10 09:34:40 +01:00
Amarnath Valluri
3333806734
Remove e2e/common package usage in volumemode testsuite
...
Change 04300826fd
has introduced
"e2e/common" package dependency on volumemode testusuite. This results in
pulling all tests defined in common package while running storage e2e tests,
which are not necessary.
The only interested part from common package is the WaitTimeoutForEvent().
2019-10-10 09:30:12 +03:00
toyoda
1ae7726ff6
Use log functions of core framework on test/e2e/storage/testsuites/topology.go
2019-10-10 09:16:19 +09:00
Kubernetes Prow Robot
4d6deea241
Merge pull request #83681 from mattjmcnaughton/mattjmcnaughton/fix-staticcheck-test-e2e-node
...
Address `staticcheck` failures for `test/e2e/node/...`
2019-10-09 14:51:07 -07:00
Dan Winship
779a842b3c
Drop framework.GetReadySchedulableNodesOrDie
...
It is now fully replaced by e2enode.GetReadySchedulableNodes,
e2enode.GetBoundedReadySchedulableNodes, and
e2enode.GetRandomReadySchedulableNode.
2019-10-09 15:20:26 -04:00
mattjmcnaughton
69a473be38
Address staticcheck
failures for test/e2e/node/...
...
Fix the `staticcheck` failures for `test/e2e/node`. All of the
staticcheck errors were for variables which were never used. When these
values were `err`, we added processing for the errors. When they were
values that were just never used, we stopped giving them a name.
2019-10-09 10:26:11 -04:00
Dan Winship
6a040438ea
Update test/e2e/storage for new GetReadySchedulableNodes stuff
2019-10-09 08:12:56 -04:00
Benjamin Elder
f3d962ad64
tag test that taints a node as disruptive
2019-10-08 18:22:17 -07:00
Kubernetes Prow Robot
72d052a444
Merge pull request #81797 from yastij/move-metrics-util
...
move util/metrics to component-base
2019-10-08 17:08:05 -07:00
Kubernetes Prow Robot
05474a6d84
Merge pull request #78306 from hoyho/feat/e2e-storage-dynamic-size
...
feat(e2e): refactor hard-coded provision size
2019-10-08 17:07:51 -07:00
Kubernetes Prow Robot
384e03ad92
Merge pull request #83616 from alejandrox1/add-alejandrox1-test-eviewer
...
Added alejandrox1 as test/* reviewer
2019-10-08 13:31:51 -07:00
Kubernetes Prow Robot
e856613dd5
Merge pull request #83211 from Jefftree/move_privilege_test
...
Move privilege e2e test to common
2019-10-08 10:57:23 -07:00
alejandrox1
dc90f99891
Added alejandrox1 as test/* reviewer
...
Signed-off-by: alejandrox1 <alarcj137@gmail.com>
2019-10-08 11:16:12 -04:00
Yassine TIJANI
c1487840bc
move util/metrics to component-base
...
Signed-off-by: Yassine TIJANI <ytijani@vmware.com>
2019-10-08 14:42:31 +02:00
Kubernetes Prow Robot
8098bae921
Merge pull request #83451 from jsafrane/block-reconstruct
...
Fix block volume reconstruction
2019-10-08 03:45:18 -07:00
Kubernetes Prow Robot
cb177dc6a1
Merge pull request #83570 from matthyx/startup_probe_test
...
Mark startupProbe test as NodeAlphaFeature and fix podClient
2019-10-07 23:36:18 -07:00
Kubernetes Prow Robot
53d500eca3
Merge pull request #83510 from alejandrox1/framework-err-handling
...
Refactored e2e-test-framework util.go
2019-10-07 23:35:52 -07:00
Kubernetes Prow Robot
c4108c9b4a
Merge pull request #83090 from Klaven/rm_validator_errors
...
Removal of kubernetes error dependencies
2019-10-07 23:35:25 -07:00
Kubernetes Prow Robot
72cd1c14ef
Merge pull request #83325 from yutedz/static-mirror-pod
...
Check whether mirror pod is ciritical in managerImpl#evictPod
2019-10-07 22:15:40 -07:00
hoyho
b5c1432328
Add unit test for function getSizeRangesIntersection
2019-10-08 01:33:43 +08:00
hoyho
23320c958e
feat(e2e): refactor hard-coded provision size
...
test/e2e/storage/testsuites creates volumes dynamically. Initially, the size of those volumes was
hard-coded in the test, which prevented using the tests with storage backends that couldn't support
that hard-coded size
2019-10-08 01:33:19 +08:00
Matthias Bertschy
84d0951969
Mark startupProbe test as NodeAlphaFeature and fix podClient instanciation
2019-10-07 16:13:06 +02:00
Kubernetes Prow Robot
48b90db9c3
Merge pull request #83495 from tanjunchen/fix-typo
...
remove the repeat word in documents
2019-10-06 15:05:08 -07:00
Davanum Srinivas
6ecc0f83af
update bazel BUILD files
...
Change-Id: Ia3917cec1453c0b22a958faf8c22bccd79242d14
2019-10-06 15:29:23 -04:00
Davanum Srinivas
d30c489c54
Move pkg/kubelet/pluginregistration and deviceplugin
...
Change-Id: I06adcb43bd278b430ffad2010869e1524c8cc4ff
2019-10-06 15:28:38 -04:00
tanjunchen
de3cf23414
remove the repeat word in documents
2019-10-06 23:32:01 +08:00
Claudiu Belu
3c8822133a
tests: Simplifies image pulling tests
...
Melds the "pull image from gcr.io" and "pull image from docker hub" tests
into a single test that pulls the agnhost image from the configured
e2eRegistry.
This also removes the need to maintain and update the image
"gcr.io/kubernetes-e2e-test-images/windows-nanoserver:v1". It should have been
a manifest list that also includes future Windows releases, like Windows Server 1903.
Additionally, the image has ~300 MB, meaning that with this change, it won't have to
wait as much to spawn a pod.
Removes "should not be able to pull non-existing image from gcr.io", since
the test "should not be able to pull image from invalid registry" test already
exists, and both of them test the same effect: cannot spawn a pod with an
image that does not exist.
2019-10-06 04:41:38 -07:00
Kubernetes Prow Robot
1f81255070
Merge pull request #83460 from ahg-g/ahg-first-predicate
...
[migration phase 1] Implement PodToleratesNodeTaint as a filter plugin
2019-10-05 14:07:11 -07:00
alejandrox1
352254129b
Refactored e2e-test-framework util.go
...
This cleans up the framework.util.go file and moves various Expect*
functions into their own file for better organization.
Signed-off-by: alejandrox1 <alarcj137@gmail.com>
2019-10-05 15:02:46 -04:00
Abdullah Gharaibeh
66386fdf49
Added the first predicate as a filter plugin: PodToleratesNodeTaints.
2019-10-05 08:43:17 -04:00
Kubernetes Prow Robot
a8e8e54f7a
Merge pull request #81816 from jennybuckley/apply-cap-managers
...
[server-side apply] Cap the number of managedFields entries for updates at 10
2019-10-05 03:15:11 -07:00
Kubernetes Prow Robot
b140b43107
Merge pull request #82176 from pohly/ginkgo-stack-fix
...
Ginkgo update + stack fix
2019-10-05 00:59:25 -07:00
Kubernetes Prow Robot
285dd49444
Merge pull request #81885 from mattjmcnaughton/mattjmcnaughton/fix-staticcheck-kubelet-test-integration
...
Fix `test/integration/kubelet` staticcheck failures
2019-10-05 00:59:13 -07:00
Kubernetes Prow Robot
87adebea04
Merge pull request #83456 from BenTheElder/jobs-may-restart
...
check that N job pods succeeded instead of exactly N pods existing a…
2019-10-04 21:51:47 -07:00
Abdullah Gharaibeh
043166f54b
Modified the name of the Extensions method in the scheduler's framework.
2019-10-04 15:53:06 -04:00
Kubernetes Prow Robot
eba349b855
Merge pull request #83430 from draveness/feature/rename-plugincontext-to-cyclestate
...
feat(scheduler): rename PluginContext to CycleState
2019-10-04 10:22:32 -07:00
Jefftree
40976754b5
Move privilege e2e test to common
2019-10-04 09:54:52 -07:00
mattjmcnaughton
bd6d411010
Fix test/integration/kubelet
staticcheck failures
...
`test/integration/kubelet` was failing staticcheck because it was
calling `t.Fatal` from the non-main Go routine. Address this by sending
errors causing t.Fatal back to a channel. The main thread can then
iterate through this channel, and call t.Fatal if there are any errors
in the channel.
2019-10-04 11:37:59 -04:00
Jan Safranek
612fb1793e
Test global block directory in reconstruction tests
2019-10-04 14:03:40 +02:00
Kubernetes Prow Robot
ec05944b13
Merge pull request #83108 from jsafrane/hostexec-volumemode
...
Use pod + nsenter instead of SSH in block volume tests
2019-10-04 02:46:29 -07:00
Kubernetes Prow Robot
791bfac90f
Merge pull request #83084 from yutedz/ns-prune
...
Prune should respect namespace option
2019-10-04 02:46:12 -07:00
draveness
c73ff9749b
feat(scheduler): rename PluginContext to CycleState
2019-10-04 17:30:36 +08:00
jennybuckley
61b19c7298
Cap the number of managedFields entries for updates at 10
2019-10-03 16:24:58 -07:00
jennybuckley
d72260b9da
Refactor fieldmanager to be more modular
2019-10-03 16:24:58 -07:00
Benjamin Elder
4967f74599
check that N job pods succceeded instead of exactly N pods existing and succeeding
2019-10-03 11:03:44 -07:00
Kubernetes Prow Robot
0a17315e18
Merge pull request #83418 from ahg-g/ahg-first-priority
...
Refactor scheduler.New so that all framework-related parameters are options
2019-10-03 10:00:11 -07:00
Abdullah Gharaibeh
30e7016ccf
Refactor scheduler.New so that all framework-related parameters are passed as options
2019-10-03 11:39:59 -04:00
Kubernetes Prow Robot
5fbda60c14
Merge pull request #82077 from deads2k/poststart
...
add ability to pre-configure poststarthooks for apiservers
2019-10-03 08:16:10 -07:00
Marek Siarkowicz
887e84e330
Remove Prometheus addon and it's tests
...
Prometheus addon was developed for exterimental and test purpose only.
As readme states it should not be used by anyone.
2019-10-03 14:15:58 +02:00
Kubernetes Prow Robot
bce9d225b1
Merge pull request #83432 from yutedz/ns-deletion-timeout
...
Reset default namespace deletion timeout to 5 minutes
2019-10-03 04:34:22 -07:00
Kubernetes Prow Robot
4afcba42be
Merge pull request #83261 from liggitt/yaml-limits
...
limit yaml/json decode size
2019-10-02 20:28:08 -07:00
Ted Yu
79359773f6
Reset default namespace deletion timeout to 5 minutes
2019-10-02 19:48:06 -07:00
Kubernetes Prow Robot
8e39c60919
Merge pull request #83376 from liyanhui1228/fix_test
...
Fix sig-node test by adding back the numNodes
2019-10-02 18:54:08 -07:00
Jordan Liggitt
8ef4566cef
Limit YAML/JSON decode size
2019-10-02 21:52:19 -04:00
Jefftree
20ac24929b
move hostPID tests to common
2019-10-02 13:36:08 -07:00
David Zhu
35d799c3a4
Remove block volume capability from GCE PD CSI Driver because not supported in v0.5.2
2019-10-02 10:11:47 -07:00
Kubernetes Prow Robot
8a12334683
Merge pull request #83386 from draveness/feature/get-rid-of-max-priority
...
feat(scheduler): remove MaxPriority in the scheduler api
2019-10-02 06:19:09 -07:00
Kubernetes Prow Robot
514ea6f8f8
Merge pull request #83383 from wongma7/222nfs
...
Bump nfs provisioner version to v2.2.2
2019-10-02 03:03:08 -07:00
Kubernetes Prow Robot
9ac9a1d397
Merge pull request #83355 from beautytiger/dev-191001-sh-fix
...
fix wrong test in generic-resources.sh
2019-10-01 21:23:06 -07:00
draveness
9769d49bb5
feat(scheduler): remove MaxPriority in the scheduler api
2019-10-02 11:24:25 +08:00
Kubernetes Prow Robot
e31cc95276
Merge pull request #83381 from davidz627/fix/blockFail
...
Run block tests for gce-pd csi driver. Improve skip block test function name
2019-10-01 20:03:06 -07:00
Matthew Wong
74adfc31b9
Bump nfs provisioner version to v2.2.2
2019-10-01 15:46:19 -07:00
Kubernetes Prow Robot
867fef5851
Merge pull request #82424 from jsafrane/mount-propagation-remove-ssh
...
Use pod + nsenter instead of SSH in mount propagation tests
2019-10-01 15:27:08 -07:00
David Zhu
8ff56a50a2
Run block tests for gce-pd csi driver. Improve skip block test function name
2019-10-01 15:23:19 -07:00
Angela Li
c06413b6f1
Fix sig-node test by adding back the numNodes
2019-10-01 13:59:38 -07:00
Kubernetes Prow Robot
dc0013a506
Merge pull request #83365 from notpad/feature/83244
...
A consistent interface for plugin extended functionality
2019-10-01 13:01:11 -07:00
Kubernetes Prow Robot
9d59ed80f5
Merge pull request #83262 from Huang-Wei/sched-extender-api-refactor
...
Refactor scheduler extender-related API fields
2019-10-01 13:00:50 -07:00
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
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
Ted Yu
0939f90103
Check whether mirror pod is ciritical in managerImpl#evictPod
2019-10-01 11:12:18 -07: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
notpad
fc55e74741
A consistent interface for plugin extended functionality
2019-10-01 23:59:48 +08: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
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
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
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
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
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
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
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
yankaiz
bd03c3a096
Change XPN firewall change message, should be required by security admin.
...
Add l7lbSrcRngsFlag to gce_loadbalancer.go so that ingress can have
fewer source ranges for l7 health checks.
2019-09-30 11:19:42 -07:00
wojtekt
59533f0cd1
Remove deprecated scalability tests
2019-09-30 16:04:09 +02:00
Justin SB
747d4481db
e2e: on aws, tag volumes we want the cluster to mount
...
Locked down IAM configurations will prevent mounting of arbitrary
volumes, so when we create volumes that we intend the cluster to
mount, we must set the appropriate EC2 tags.
2019-09-30 00:51:49 -04:00
Kubernetes Prow Robot
7066107ae3
Merge pull request #83117 from zouyee/valid
...
using short flags instead of validate
2019-09-29 16:47:37 -07:00
Kubernetes Prow Robot
14e5adfc85
Merge pull request #82683 from davidz627/fix/translationStruct
...
Refactor CSI Translation Library into a struct that is injected into various components to simplify unit testing
2019-09-29 10:11:37 -07:00
Marek Counts
114d7855f3
Removal of kubernetes error dependancies
...
removed kubernetes error deps
2019-09-28 15:09:48 +00:00
Kubernetes Prow Robot
39286f3962
Merge pull request #83255 from misterikkit/vsphere_stress
...
E2E: Add missing Bootstrap() call
2019-09-28 00:13:38 -07:00
Mayank Gaikwad
99475f9499
Update e2e testing nodePort service listening on same port but different protocols
2019-09-28 06:36:27 +05:30
John Schnake
2dab911ac2
Use imageutils instead of hardcoded image paths
...
A number of tests were using hardcoded image paths instead of
going through the imageutils package. The reason for centralizing
the logic there is to keep an eye on what images we use and where
they come from.
2019-09-27 15:01:08 -05:00
David Zhu
92cb06a2e7
Refactor CSI Translation Library into a struct that is injected into various components to simplify unit testing in future
2019-09-27 12:59:53 -07:00
Clayton Coleman
67283da28b
test/e2e: Delete test namespaces asynchronously
...
Now that namespace deletion is reliable, use the suite tear down
to catch non terminated namespaces and stop waiting within each test
for deletion.
Serial tests that need a clean set of namespaces must use the
appropriate flag to control whether they wait for clean namespaces
on startup.
2019-09-27 15:58:05 -04:00
Jonathan Basseri
378a074212
E2E: Add missing Bootstrap() call
...
One of the vsphere storage test suites was hitting a nil panic because
it did not call Bootstrap().
2019-09-27 11:01:27 -07:00
Jordan Liggitt
c7932e18b5
Deflake TestWatchBasedManager
2019-09-27 12:23:35 -04:00
Kubernetes Prow Robot
d92a250636
Merge pull request #81685 from oomichi/e2elog-framework-p-r
...
Use log functions of core framework on [r-u]
2019-09-26 19:27:37 -07:00
alejandrox1
f525e02e59
Cleaned up skip* functions from framework/util.go
...
This is an effort to clean up the framework util.go file so that it
makes more sense and it is more managable.
Signed-off-by: alejandrox1 <alarcj137@gmail.com>
2019-09-26 21:20:29 -04:00
Kubernetes Prow Robot
354a812086
Merge pull request #82171 from mgdevstack/linuxOnly-sessionAffinity
...
Add LinuxOnly tag to e2e testing session affinity
2019-09-26 16:55:50 -07:00
Kubernetes Prow Robot
66755bda05
Merge pull request #83139 from cblecker/here-we-go-again
...
Update to use go1.12.10
2019-09-26 14:40:38 -07:00
Kubernetes Prow Robot
c449359119
Merge pull request #74977 from mgdevstack/master-conformance-pqdn
...
Promote DNS e2e verifying PQDN resolution for cluster
2019-09-26 14:39:36 -07:00
Kubernetes Prow Robot
c0ad143f64
Merge pull request #82632 from wojtek-t/node_lease_conformance
...
Promote lease API test to Conformance
2019-09-26 13:02:49 -07:00
Kubernetes Prow Robot
b622b15ad4
Merge pull request #79814 from k-toyoda-pi/e2e_add_kubectl_describe_cronjob
...
Add e2e test for kubectl describe cronjob
2019-09-26 13:02:34 -07:00
Kenichi Omichi
6499f93266
Use log functions of core framework on [r-u]
...
This makes sub packages of e2e test framework to use log functions
of core framework instead for avoiding circular dependencies.
2019-09-26 18:17:10 +00:00
Kubernetes Prow Robot
5e4abfb946
Merge pull request #83042 from draveness/feature/remove-score-with-normalize-extension
...
feat(scheduler): consolidate ScoreWithNormalizePlugin into ScorePlugin
2019-09-26 10:49:20 -07:00
Kubernetes Prow Robot
aac13fc4eb
Merge pull request #82106 from oomichi/circular-kubelet
...
Cleanup DumpAllNamespaceInfo() in e2e test
2019-09-25 23:59:06 -07:00
YuikoTakada
9ed2f632cc
use log functions of core framework
2019-09-26 02:45:07 +00:00
draveness
314ec4e504
feat(scheduler): consolidate ScoreWithNormalizePlugin into ScorePlugin
2019-09-26 10:19:06 +08:00
Christoph Blecker
15bba1feed
Update to use go1.12.10
2019-09-25 17:13:43 -07:00
Ted Yu
88e2f8e04f
Prune should respect namespace
2019-09-25 16:43:08 -07:00
Kubernetes Prow Robot
ff8716f4cf
Merge pull request #83116 from neolit123/1.16-OWNERS
...
kubeadm: update OWNERS for 1.16
2019-09-25 13:52:48 -07:00
Kubernetes Prow Robot
62965b9e47
Merge pull request #83067 from vivekbagade/lifecycle
...
Adding lifecycle to RC, RCSet, Deployment, and Job testutils
2019-09-25 13:51:51 -07:00
Kubernetes Prow Robot
f4ff0e37d9
Merge pull request #78418 from mysunshine92/fix-typo-e2e-node
...
fix typos in /test/e2e_node
2019-09-25 13:50:06 -07:00
Kubernetes Prow Robot
0b4cccc9d1
Merge pull request #82912 from ahg-g/ahg-prefilter-update
...
An interface that allows pre-filter plugins to update their pre-calculated status
2019-09-25 11:06:40 -07:00
Kubernetes Prow Robot
4568c61526
Merge pull request #82664 from johnSchnake/disruptiveConformanceTest
...
Allow disruptive conformance tests and tag 2 as such
2019-09-25 11:06:27 -07:00
Kubernetes Prow Robot
df271a1799
Merge pull request #82291 from danwinship/getnodes
...
migrate from framework.GetReadySchedulableNodesOrDie to e2enode.GetReadySchedulableNodes
2019-09-25 11:04:43 -07:00
Kubernetes Prow Robot
c37c0b9dff
Merge pull request #82037 from ii/update-configmap-test
...
Update ConfigMap test
2019-09-25 11:04:01 -07:00
Kubernetes Prow Robot
327f53ba57
Merge pull request #83064 from liggitt/propagate-context
...
Propagate context to remote authorize/authenticate webhook calls
2019-09-25 09:32:01 -07:00
zouyee
11746bcc19
using short flags instead with validate
...
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
2019-09-25 23:08:50 +08:00
Lubomir I. Ivanov
bbee054adc
kubeadm: update OWNERS for 1.16
2019-09-25 18:07:38 +03:00
Jan Safranek
c1c0ba1c76
Use pod + nsenter instead of SSH in block volume tests
...
listPodVolumePluginDirectory was moved to break import cycle.
2019-09-25 13:34:27 +02:00
Vivek Bagade
24f15a5823
Adding lifecycle to RC, RCSet, Deployment, and Job testutils
2019-09-25 10:53:28 +02:00
John Schnake
d0ab1f06fb
Allow disruptive conformance tests and marks 2
...
- Adjusts tooling to allow disrutpive tests to be marked conformance
- Updates the corresponding tests
- Marks 2 tests as disruptive
2019-09-24 14:17:37 -05:00
Kubernetes Prow Robot
ba19458dae
Merge pull request #82910 from hwdef/del-unused-var2
...
fix(test): delete unused unused var or const
2019-09-24 11:45:29 -07:00
Dan Winship
ec4c1a1c05
Add e2enode.GetRandomReadySchedulableNode, replace some uses of framework.GetReadySchedulableNodesOrDie
...
For tests that want a single ready, schedulable node
2019-09-24 13:03:40 -04:00
Dan Winship
3c445b2ad0
Add e2enode.GetBoundedReadySchedulableNodes, replace some uses of framework.GetReadySchedulableNodesOrDie
...
For tests that want at-most-N nodes
2019-09-24 13:03:40 -04:00
Dan Winship
71b02dd422
Fix up e2enode.GetReadySchedulableNodes, replace many uses of framework.GetReadySchedulableNodesOrDie
...
Remove the "OrDie" from the name (since it doesn't "or die") and add
an extra check that there is at least 1 node available, since many
callers already did that themselves, and many others should have.
2019-09-24 13:03:39 -04:00
Abdullah Gharaibeh
37b9e6d1ea
An interface that allows pre-filter plugins to update their pre-calculated.
...
This is needed to allow efficient preemption simulations: during preemption, we remove/add pods from each node before running the filter plugins again to evaluate whether removing/adding specific pods will allow the incoming pod to be scheduled on the node. Instead of calling prefilter again, we should allow the plugin to do incremental update to its pre-computed state.
2019-09-24 13:01:50 -04:00
Kubernetes Prow Robot
4d18142120
Merge pull request #82998 from zouyee/lookforstring
...
cleanup unused function LookForStringInFile
2019-09-24 08:58:23 -07:00
Kubernetes Prow Robot
637b24d8ad
Merge pull request #82717 from hwdef/use-log-func2
...
use log func in test/e2e/apimachinery
2019-09-24 08:57:58 -07:00
Kubernetes Prow Robot
5eb830a819
Merge pull request #81978 from carlory/fix-test-02
...
cleanup test code in upgrades and autoscaling pkg
2019-09-24 08:57:43 -07:00
Kubernetes Prow Robot
7c09b0b1ec
Merge pull request #81911 from ahmad-diaa/use-scheduler-in-createConfiguratorArgsWithPodInformer
...
Use scheduler.New() Instead of factory.NewConfigFactory() in Integration Test scheduler_test.go
2019-09-24 08:57:28 -07:00
Jordan Liggitt
92eb072989
Propagate context to Authorize() calls
2019-09-24 11:14:54 -04:00
zouyee
51653480c9
fix Security Context should run with an image specified user ID
...
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
2019-09-24 20:26:34 +08:00
Kubernetes Prow Robot
e31f1ba53e
Merge pull request #83010 from clarklee92/use-log-functions-of-e2e/autoscaling
...
Use log functions of core framework on test/e2e/autoscaling
2019-09-24 02:23:30 -07:00
Kubernetes Prow Robot
eccb813183
Merge pull request #83013 from clarklee92/use-log-functions-of-e2e/upgrades
...
Use log functions of core framework on test/e2e/upgrades
2019-09-24 00:25:41 -07:00
Kubernetes Prow Robot
aba654f96b
Merge pull request #81744 from praseodym/fix-staticcheck-pkg/scheduler
...
Fix staticcheck failures for pkg/scheduler/...
2019-09-24 00:25:27 -07:00
Kubernetes Prow Robot
699b1777cc
Merge pull request #82108 from oomichi/circular-metrics
...
Copy PrettyPrintJSON to core framework
2019-09-23 17:31:24 -07:00
Mark Janssen
1a1b7001d6
Fix staticcheck failures for scheduler packages
...
Errors from staticcheck:
cmd/kube-scheduler/app/server.go:297:27: prometheus.Handler is deprecated: Please note the issues described in the doc comment of InstrumentHandler. You might want to consider using promhttp.Handler instead. (SA1019)
pkg/apis/scheduling/v1alpha1/defaults.go:27:6: func addDefaultingFuncs is unused (U1000)
pkg/apis/scheduling/v1beta1/defaults.go:27:6: func addDefaultingFuncs is unused (U1000)
test/e2e/scheduling/predicates.go:757:6: func verifyReplicasResult is unused (U1000)
test/e2e/scheduling/predicates.go:765:6: func getPodsByLabels is unused (U1000)
test/e2e/scheduling/predicates.go:772:6: func runAndKeepPodWithLabelAndGetNodeName is unused (U1000)
test/e2e/scheduling/limit_range.go:172:3: this value of pod is never used (SA4006)
test/e2e/scheduling/limit_range.go:177:3: this value of pod is never used (SA4006)
test/e2e/scheduling/limit_range.go:196:3: this value of pod is never used (SA4006)
test/e2e/scheduling/limit_range.go:201:3: this value of pod is never used (SA4006)
test/e2e/scheduling/limit_range.go:240:3: this value of pod is never used (SA4006)
test/e2e/scheduling/taints.go:428:13: this value of err is never used (SA4006)
test/e2e/scheduling/ubernetes_lite.go:219:2: this value of pods is never used (SA4006)
test/integration/scheduler/extender_test.go:78:4: this value of resp is never used (SA4006)
test/integration/volumescheduling/volume_binding_test.go:529:15: this result of append is never used, except maybe in other appends (SA4010)
test/integration/volumescheduling/volume_binding_test.go:538:15: this result of append is never used, except maybe in other appends (SA4010)
2019-09-23 22:52:57 +02:00
Kubernetes Prow Robot
c9c01fb902
Merge pull request #82654 from odinuge/test-timeout
...
Fix pre pull of images in DiskPressure tests
2019-09-23 12:27:25 -07:00
Kenichi Omichi
7c23ba1b34
Copy PrettyPrintJSON to core framework
...
PrettyPrintJSON is most used e2emetrics function and that doesn't seem
specific for metrics. The implementation itself is generic, so it is
nice to move it to core framework for avoiding circular dependency.
2019-09-23 18:10:50 +00:00
Kubernetes Prow Robot
d62ebe31f0
Merge pull request #82029 from losipiuk/lo/runners-scalability
...
Allow relaxing deleted pods checking in RC runner
2019-09-23 09:43:24 -07:00
clarklee92
9f38753c77
Use log functions of core framework on test/e2e/upgrades
...
This makes sub packages of e2e test upgrades to use log functions
of core framework instead for avoiding circular dependencies.
Signed-off-by: clarklee92 <clarklee1992@hotmail.com>
2019-09-23 16:09:33 +08:00
clarklee92
11ed53fbcb
Use log functions of core framework on test/e2e/autoscaling
...
This makes sub packages of e2e test autoscaling to use log functions
of core framework instead for avoiding circular dependencies.
Signed-off-by: clarklee92 <clarklee1992@hotmail.com>
2019-09-23 15:30:26 +08:00
zouyee
02ab6ad067
cleanup unused function
...
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
2019-09-23 10:34:42 +08:00
Kubernetes Prow Robot
946df1a914
Merge pull request #81932 from palnabarun/fix-staticcheck-tests-e2e_node
...
Fixes static check failures in test/e2e_node/*
2019-09-20 22:55:37 -07:00
Kubernetes Prow Robot
3a55875465
Merge pull request #81512 from odinuge/preemptible-node-tests
...
Add support for preemptible instances in node-e2e
2019-09-20 22:55:24 -07:00
Kubernetes Prow Robot
ba690c0796
Merge pull request #82955 from misterikkit/vsphere-sc
...
storage E2E: test drivers must have DNS-1123 names
2019-09-20 20:07:51 -07:00
Kubernetes Prow Robot
07e26d9bfc
Merge pull request #82922 from ZP-AlwaysWin/dev08
...
Use framework.ExpectNotEqual()
2019-09-20 20:07:40 -07:00
Kubernetes Prow Robot
4ed88d4232
Merge pull request #81819 from msau42/topology-e2es
...
add volume topology e2es
2019-09-20 20:07:25 -07:00
Jonathan Basseri
e47ddafa9f
storage E2E: test drivers must have DNS-1123 names
...
Because driver names get used in some object names (e.g. StorageClass)
the driver name must be a valid DNS-1123 name.
2019-09-20 16:39:24 -07:00
Kubernetes Prow Robot
a7bd7a925d
Merge pull request #82908 from ZP-AlwaysWin/dev06
...
Use framework.ExpectNotEqual()
2019-09-20 16:17:58 -07:00
Ahmad Diaa
bf6a70a1ce
use scheduler.Option in initTestSchedulerWithOptions
2019-09-21 00:06:42 +02:00
Ahmad Diaa
995e741ef9
use scheduler.New in createConfiguratorArgsWithPodInformer
2019-09-21 00:06:41 +02:00
Kubernetes Prow Robot
c7619bd770
Merge pull request #80824 from damemi/preemption-e2e-to-integration
...
Move PodPriorityResolution e2e to integration
2019-09-20 12:27:25 -07:00
Michelle Au
8d3abb83f9
Rename testCleanup to driverCleanup
...
Change-Id: I2ee50e2c7eed82724b7a2703819dcefcf7fa915f
2019-09-20 12:26:53 -07:00
Michelle Au
95c7b42340
add topology e2es to storage testsuite
...
Change-Id: I1ec4247cef5d477ae2a76136113a4ed5ce30bf44
2019-09-20 12:26:53 -07:00
Kubernetes Prow Robot
26cc580e65
Merge pull request #82807 from jpbetz/reinvoke-integration-flake-fix
...
Fix reinvocation test flake by scoping webhooks and markers
2019-09-20 01:33:20 -07:00
Kubernetes Prow Robot
259d6bf608
Merge pull request #82189 from deads2k/ns-resources
...
add conditions for remaining object totals during ns termination
2019-09-20 01:33:00 -07:00
ZP-AlwaysWin
b77462eddd
Use framework.ExpectNotEqual()
2019-09-20 16:09:44 +08:00
Kubernetes Prow Robot
895642f9c3
Merge pull request #82742 from whypro/flagparse
...
Move flag.Parse() from init() to TestMain()
2019-09-20 00:09:12 -07:00
hwdef
321b690f62
fix(test): delete unused unused var or const
2019-09-20 14:41:53 +08:00
ZP-AlwaysWin
600da41778
Use framework.ExpectEqual()
2019-09-20 11:52:11 +08:00
ZP-AlwaysWin
93b822d5a2
Use framework.ExpectEqual()
2019-09-20 11:38:28 +08:00
ZP-AlwaysWin
59f766fe0a
Use framework.ExpectEqual()
2019-09-20 11:36:03 +08:00
ZP-AlwaysWin
b386bd469c
Use framework.ExpectEqual()
2019-09-20 10:06:16 +08:00
Mike Dame
ca18b48151
Move PodPriorityResolution e2e to integration
2019-09-19 20:25:03 -04:00
Łukasz Osipiuk
95d1f4d9b0
Allow relaxing deleted pods checking in RC runner
...
There is strong probabilty that some pods will be deleted when
we are bombarding cluster with high volume of pods. We do that in
Cluster Autoscaler scalability tests and we want to relax check there.
Change-Id: Ib7883666c0c952f61914ab51dcf1f5244e1e7e42
2019-09-19 21:49:03 +02:00
Kubernetes Prow Robot
b0e5b9c7b0
Merge pull request #82842 from ahg-g/ahg-framework-config
...
Modified the Filter interface to pass in nodeinfo instead of node name.
2019-09-19 11:05:39 -07:00
Odin Ugedal
ec605eb300
Fix pre pull of images in DiskPressure tests
...
This waits for DiskPressure to no longer exist before pre pulling images
after a DiskPressure test. Otherwise we risk to pull images, while
kubelet evicts/removes them.
2019-09-19 12:24:17 +02:00
carlory
d870514162
cleanup test code in upgrades and autoscaling pkg
2019-09-19 14:06:41 +08:00
Kubernetes Prow Robot
668a1a12ca
Merge pull request #82725 from ZP-AlwaysWin/dev04
...
replace $IMAGE_NAME with ${IMAGE_NAME}
2019-09-18 22:13:13 -07:00
Kubernetes Prow Robot
a54dba0d84
Merge pull request #81856 from damemi/ravig-fix-tbe
...
Convert TaintBasedEvictions e2e to integration test
2019-09-18 14:49:01 -07:00
Abdullah Gharaibeh
89f936f6ac
Modified the Filter interface to pass in nodeinfo instead of node name.
...
This is necessary to support preemption, which relies on passing modified nodeinfo objects to the filters to simulate evicting lower-priority pods.
2019-09-18 17:27:33 -04:00
Kubernetes Prow Robot
ae99e2d412
Merge pull request #82812 from zouyee/emp
...
fix emptyDir volumes pod should support shared volumes between containers
2019-09-18 11:11:32 -07:00
ravisantoshgudimetla
7e1794dcb1
Convert tbe e2e to integration test
2019-09-18 13:24:54 -04:00
WanLinghao
a6f5d99409
Refactor and clean up e2e framework utils. This patch handles test/e2e/framework/pv_util.go file
2019-09-18 17:57:13 +08:00
zouyee
4931a7eba8
uses the API instead to fixemptyDir volumes pod should support shared volumes between containers
...
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
2019-09-18 13:58:44 +08:00
Kubernetes Prow Robot
57d87502ba
Merge pull request #82338 from draveness/feature/use-apiserver-in-scheduler-benchmarks
...
feat(scheduler): use api server to watch scheduled pods
2019-09-17 22:47:30 -07:00
Kubernetes Prow Robot
c49cbe3514
Merge pull request #82803 from deads2k/dump-namespace-resource
...
dump namespace object in e2e when it doesn't get deleted
2019-09-17 16:55:15 -07:00
Joe Betz
2c8ffc329b
Fix reinvokation test flake by isolating webhooks and markers
2019-09-17 15:30:37 -07:00
Kubernetes Prow Robot
67d928acdc
Merge pull request #82096 from logicalhan/version-deletion
...
remove pkg/version and some of redundant copies of it
2019-09-17 14:27:16 -07:00
Kubernetes Prow Robot
28ed0dbbe3
Merge pull request #82772 from zouyee/ccms
...
fix pod infra containers oom-score-adj testing
2019-09-17 12:57:16 -07:00
David Eads
fda9680fc3
dump namespace object in e2e when it doesn't get deleted
2019-09-17 14:51:59 -04:00
Kubernetes Prow Robot
e7090e8f5e
Merge pull request #81517 from danwinship/iptables-monitor
...
drop firewalld monitoring, add better iptables monitor
2019-09-17 10:58:02 -07:00
Odin Ugedal
b1308ed70a
Compact memory before requesting huge pages
...
Compact memory to make bigger contiguous blocks of memory available
before allocating huge pages.
https://www.kernel.org/doc/Documentation/sysctl/vm.txt
2019-09-17 17:04:01 +02:00
Kubernetes Prow Robot
3a19f1e80b
Merge pull request #82472 from draveness/feature/remove-feature-gates-in-1-17
...
feat: cleanup several GA feature flags which should be removed in 1.17
2019-09-17 06:58:24 -07:00
whypro
69f48d87a4
Move flag parse to main func from init()
2019-09-17 19:30:24 +08:00
Kubernetes Prow Robot
1d724554f0
Merge pull request #82696 from mm4tt/nginx_custom_lb_timeout
...
Adjust nginx lb timeout depending on the cluster size in tests
2019-09-16 20:28:23 -07:00
zouyee
efcf4f4da2
update process name to fix pod infra containers oom-score-adj should be -998 and best effort container's should be 1000
...
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
2019-09-17 11:25:38 +08:00
draveness
54e0f4773c
feat(scheduler): use api server to watch scheduled pods
2019-09-17 11:24:59 +08:00
Kubernetes Prow Robot
9d8acc02b6
Merge pull request #82760 from gnufied/fix-upgrade-e2e-tests
...
Allow upgrade test to run on all cloudproviders
2019-09-16 18:06:48 -07:00
Han Kang
866ea74326
remove pkg/version and some of redundant copies of it
...
Change-Id: Ia58367c1b1274bfb49c8a4784051463abaf795de
2019-09-16 16:24:35 -07:00
Hemant Kumar
72729fc4f2
Allow upgrade test to run on all cloudproviders
2019-09-16 15:42:04 -04:00
Kubernetes Prow Robot
e2e3de233d
Merge pull request #82733 from yutedz/webhook-invocation-len
...
Check the length of recorder.invocations
2019-09-16 12:40:52 -07:00
Matt Matejczyk
532298c399
Adjust nginx lb timeout in tests
...
In addition delete the service & lb before ending to test to avoid the case
when deleting the namespace times out due to long LB deletion.
Ref. https://github.com/kubernetes/kubernetes/issues/82695
2019-09-16 13:07:47 +02:00
Ted Yu
5e5824f9c5
Check the length of recorder.invocations
2019-09-15 16:43:12 -07:00
Dan Winship
b6c3d5416a
Drop iptables firewalld monitoring support
...
The firewalld monitoring code was not well tested (and not easily
testable), would never be triggered on most platforms, and was only
being taken advantage of from one place (kube-proxy), which didn't
need it anyway since it already has its own resync loop.
Since the firewalld monitoring was the only consumer of pkg/util/dbus,
we can also now delete that.
2019-09-15 15:35:40 -04:00
Dan Winship
967fd5aaf0
e2e: test that both kube-proxy and kubelet recover after iptables flush
2019-09-15 15:34:24 -04:00
carlory
5bbedd39c0
use log funcs of core framework in the auth, kubectl and windows pkg
2019-09-15 21:39:54 +08:00
ZP-AlwaysWin
d777b6aa94
replace with
2019-09-15 13:55:48 +08:00
hwdef
937d4df16a
use log func in test/e2e/apimachinery
2019-09-14 17:30:26 +08:00
Kubernetes Prow Robot
07e58a361b
Merge pull request #82691 from hwdef/use-log-func1
...
use log func in test/e2e/network
2019-09-13 23:34:39 -07:00
Kubernetes Prow Robot
698d264c89
Merge pull request #82661 from sttts/sttts-non-structural-crd-publishing-int-test
...
apiextensions: add integration test for not publishing non-structural CRDs
2019-09-13 20:26:40 -07:00
Kubernetes Prow Robot
af88acc812
Merge pull request #82704 from ahg-g/ahg-default-registry
...
Resolved cycle dependency in framework plugins registration
2019-09-13 18:06:40 -07:00
Kubernetes Prow Robot
c2a3f0b0de
Merge pull request #82678 from mucahitkurt/skip-multi-node-vol-availability-tests-for-hostpath
...
Skip e2e tests that require node independent volume for the drivers that don't support node independent volumes
2019-09-13 14:18:29 -07:00
Mucahit Kurt
f0aa13cd46
skip e2e tests that run on multi node cluster and require node independent volume for the drivers that does not support node independent volumes, like hostpath
...
Signed-off-by: Mucahit Kurt <mucahitkurt@gmail.com>
2019-09-13 22:49:53 +03:00
Nabarun Pal
83c443e728
Fixes static check failures in test/e2e_node/*
2019-09-14 00:39:45 +05:30
Abdullah Gharaibeh
3174d9c847
Added a noop plugin to make sure we have the dependencies worked out for the default registry of the scheduler framework.
2019-09-13 13:36:35 -04:00
hwdef
af16366001
use log func in test/e2e/network
2019-09-13 17:54:51 +08:00
Dr. Stefan Schimanski
da377c3dd3
apiextensions: add integration test for not publishing non-structural CRDs
2019-09-13 10:21:18 +02:00
David Zhu
f15cc60957
Update golang scientific notation using hack/update-gofmt.sh
2019-09-12 18:05:49 -07:00
Kubernetes Prow Robot
4dd1e3fa43
Merge pull request #82585 from wojtek-t/fix_meta_internalversion_codecs
...
Ensure conversions are registered for metainternalversion codecs
2019-09-12 17:26:31 -07:00
Kubernetes Prow Robot
e53a952fa4
Merge pull request #82283 from ahmad-diaa/fix-field-types-in-scheduler-api-types
...
Migrate scheduler api types to sized integers
2019-09-12 15:56:32 -07:00
Kubernetes Prow Robot
21db9c2670
Merge pull request #82653 from liggitt/skip-publish-nonstructural
...
Skip publishing OpenAPI for nonstructural schemas
2019-09-12 14:12:27 -07:00
Jordan Liggitt
0f64ec9456
Only publish openapi for structural schemas
2019-09-12 15:30:19 -04:00
wojtekt
4ec66c842e
Promote lease API test to Conformance
2019-09-12 19:58:04 +02:00
wojtekt
54163527a6
Ensure conversions are registered for metainternalversion codecs
2019-09-12 19:32:02 +02:00
Ahmad Diaa
801cc549be
migrate scheduler api types to sized integers
2019-09-12 19:06:40 +02:00
Kubernetes Prow Robot
3f33bfd801
Merge pull request #82600 from johnbelamaric/conformance-approver
...
Add johnbelamaric as conformance approver
2019-09-12 10:04:54 -07:00
Kubernetes Prow Robot
b3c4bdea49
Merge pull request #81997 from hwdef/fix-t/e/i/logging
...
use log functions of core framework
2019-09-12 08:16:41 -07:00
Kubernetes Prow Robot
6f1d84c24e
Merge pull request #81985 from carlory/fix-test-05
...
use log funcs of core framework in the scalability and cloud package
2019-09-12 08:16:28 -07:00
Kubernetes Prow Robot
043b96ee89
Merge pull request #82569 from calmkart/master
...
MOD:fix spelling errors
2019-09-11 22:53:06 -07:00
Kubernetes Prow Robot
50b8b42c1b
Merge pull request #82498 from liggitt/race-flake
...
Avoid encoding from competing goroutines
2019-09-11 21:23:50 -07:00
Kubernetes Prow Robot
5856ad57bb
Merge pull request #82481 from SataQiu/fix-e2e-kubeadm
...
e2e_kubeadm: fix command flags description
2019-09-11 21:22:35 -07:00
Kubernetes Prow Robot
118ae226b8
Merge pull request #82433 from alejandrox1/patch-1
...
Added alejandrox1 as test/e2e/framework reviewer
2019-09-11 18:28:15 -07:00
Kubernetes Prow Robot
1e70457df4
Merge pull request #82187 from ahg-g/ahg-prebind
...
Error out when Scheduler PreBind plugins return Unschedulable
2019-09-11 18:27:29 -07:00
Kubernetes Prow Robot
439e92b0c7
Merge pull request #82053 from tedyu/svc-update-break
...
Break out of loop when finalizer is found
2019-09-11 18:27:04 -07:00
Kubernetes Prow Robot
0c9288e97d
Merge pull request #82416 from mm4tt/nginx_ingress
...
Create LoadBalancer in nginx ingress tests
2019-09-11 15:28:11 -07:00
Kubernetes Prow Robot
7efc8e33d6
Merge pull request #82367 from jsafrane/cinder-block-tests
...
Enable block tests for Cinder
2019-09-11 15:27:07 -07:00
Kubernetes Prow Robot
3b393e3d17
Merge pull request #82330 from draveness/feature/remove-additional-cost-in-the-scheduler-benchmark
...
fix(scheduler): remove the defer function cost
2019-09-11 15:26:23 -07:00
Kubernetes Prow Robot
411caaf469
Merge pull request #82324 from andyzhangx/fix-azure-pv-e2e-test
...
test: fix azure disk e2e test failure
2019-09-11 15:25:53 -07:00
John Belamaric
84070403da
Add johnbelamaric as conformance approver
2019-09-11 12:36:13 -07:00
Abdullah Gharaibeh
54ac023a53
Scheduler PreBind plugins are currently allowed to return Unschedulable status, which should not according to the KEP and comments.
2019-09-11 14:03:18 -04:00
Kubernetes Prow Robot
c12d8de141
Merge pull request #82245 from jsafrane/use-pause-for-race
...
Don't require any resources in race test
2019-09-11 10:42:02 -07:00
Kubernetes Prow Robot
caf21ac4ff
Merge pull request #82241 from jsafrane/disable-cephfs-test
...
Mark Ceph tests as serial
2019-09-11 10:41:48 -07:00
Kubernetes Prow Robot
51e9ff8579
Merge pull request #82224 from liggitt/debug-kubectl-e2e-log
...
Add debug info to kubectl e2e
2019-09-11 10:41:04 -07:00
Kubernetes Prow Robot
f5ae0604ad
Merge pull request #82175 from yutedz/fld-mgr-conflict
...
Move Update Apply conflict test to field manager test
2019-09-11 10:40:14 -07:00
Kubernetes Prow Robot
e3b5062057
Merge pull request #82170 from vivekbagade/graceTermination
...
Adding termination grace period to Deployment, RC, RCSet, and Job
2019-09-11 10:39:59 -07:00
Kubernetes Prow Robot
4b6c32c097
Merge pull request #82121 from Zhuzhenghao/typo/bound
...
Typo fix: binded -> bound
2019-09-11 10:39:28 -07:00
Kubernetes Prow Robot
4ab4e201aa
Merge pull request #82060 from aojea/isipv6method
...
Add a method to TestContext to check if is IPv6
2019-09-11 10:38:48 -07:00
Kubernetes Prow Robot
aa07db3b77
Merge pull request #82040 from ahmad-diaa/use-scheduler-in-volumescheduling
...
Use scheduler.New() Instead of factory.NewConfigFactory() in volumescheduling Integration Test
2019-09-11 07:03:24 -07:00
Kubernetes Prow Robot
3870692dff
Merge pull request #81983 from carlory/fix-test-04
...
use log functions of core framework in the 'test/e2e/storage/*'
2019-09-11 04:17:24 -07:00
Kubernetes Prow Robot
e60fd899e4
Merge pull request #81982 from s-ito-ts/81427_e2e_scheduling
...
Use log functions of core framework on test/e2e/scheduling
2019-09-11 02:49:25 -07:00
calmkart
00fcce9a58
MOD:fix spelling errors
2019-09-11 16:46:25 +08:00
Kubernetes Prow Robot
3bf2b1258d
Merge pull request #81980 from carlory/fix-test-03
...
cleanup test code in lifecycle, servicecatalog and ui package
2019-09-11 01:17:23 -07:00
calmkart
d558a89437
MOD:fix spelling errors
2019-09-11 15:59:15 +08:00
Kubernetes Prow Robot
5823cfce76
Merge pull request #81974 from carlory/fix-test-01
...
clean up test code
2019-09-10 23:49:21 -07:00
Kubernetes Prow Robot
0f46a8a4c8
Merge pull request #81043 from johnSchnake/whitelistedTaints
...
Add new flag for whitelisting node taints
2019-09-10 20:44:46 -07:00
Kubernetes Prow Robot
86b426932b
Merge pull request #81479 from danwinship/service-test-cleanup-2
...
more e2eservice.TestJig cleanups
2019-09-10 14:31:04 -07:00
Kubernetes Prow Robot
e1a432f08e
Merge pull request #81384 from Huang-Wei/fix-preemption-flakes
...
Apply zero TerminationGracePeriodSeconds to preemption victims
2019-09-10 14:30:17 -07:00
Kubernetes Prow Robot
6d67e3d154
Merge pull request #80780 from s-ito-ts/e2etest_podantiaffinity
...
e2e test: Label all nodes in pod anti-affinity test.
2019-09-10 14:30:01 -07:00
Kubernetes Prow Robot
344054bf4a
Merge pull request #80742 from k-toyoda-pi/fix_shellcheck_image-util
...
Fix shellcheck failure in test/image/image-util.sh
2019-09-10 14:29:45 -07:00
Kubernetes Prow Robot
fddd2bddb8
Merge pull request #80697 from draveness/feature/remove-scheduler-new-config-factory
...
feat: use scheduler.New instead in createSchedulerConfigurator
2019-09-10 14:29:29 -07:00
Kubernetes Prow Robot
1888745c3d
Merge pull request #82520 from sttts/sttts-test-liveness-pod
...
test: fix liveness pod
2019-09-10 02:36:55 -07:00
Dr. Stefan Schimanski
ace8fd945d
test: fix liveness pod
2019-09-10 10:15:11 +02:00
Jordan Liggitt
510140ee27
Avoid encoding from competing goroutines
2019-09-09 12:03:38 -04:00
SataQiu
0a706d3827
e2e_kubeadm: fix command flags description
2019-09-09 18:39:33 +08:00
Claudiu Belu
b91aa9a5c3
tests: Replaces Redis image with Agnhost
...
Some tests are using the Redis image, but they do not explicitly need it.
This commit replaces the usage of the Redis image with the Agnhost image
in such test cases.
2019-09-09 00:25:18 -07:00
Kubernetes Prow Robot
35cf6b6cbc
Merge pull request #82262 from nilo19/t-qini-fix_index_panic
...
Prevent resultPod.Status.ContainerStatuses from being empty.
2019-09-08 21:47:17 -07:00
draveness
2c0d6053fa
feat: remove PersistentLocalVolumes feature gates
2019-09-09 08:10:27 +08:00
Kubernetes Prow Robot
90f41951cd
Merge pull request #82420 from openSUSE/e2e-fix
...
Fix wrong command in e2e agnhost utility function
2019-09-06 17:41:20 -07:00
Kubernetes Prow Robot
e682310dcc
Merge pull request #82438 from liggitt/apply-fallback
...
Fallback to schemaless apply behavior for custom resources with unhandled schemas
2019-09-06 15:37:19 -07:00
Kubernetes Prow Robot
ab73a018de
Merge pull request #82018 from odinuge/prepull-images-after-tests
...
Add pre pull of e2e images after DiskPressure test
2019-09-06 13:49:20 -07:00
Jordan Liggitt
3904e14b40
Fallback to schemaless apply behavior for custom resources with unhandled schemas
2019-09-06 15:39:28 -04:00
Jorge Alarcon Ochoa
849386980c
Added alejandrox1 as test/e2e/framework reviewer
2019-09-06 12:39:16 -04:00
David Eads
95ae353f3a
squash: reaction to comments
2019-09-06 09:58:41 -04:00
David Eads
0355f4482b
add conditions for remaining object totals during ns termination
2019-09-06 09:50:41 -04:00
Matt Matejczyk
bd0691d159
Create LoadBalancer in nginx ingress tests
...
This should fix the nginx ingress test in private clusters.
See https://k8s-testgrid.appspot.com/sig-scalability-experiments#gce-private-cluster-correctness
Ref. https://github.com/kubernetes/kubernetes/issues/77538
2019-09-06 15:36:54 +02:00
Sascha Grunert
c8b656db50
Fix wrong command in e2e agnhost utility function
...
The `Command` will cause the container process not starting correctly,
so we now use the `Args` to end up running `/agnhost pause` as intended.
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-09-06 15:05:40 +02:00
Kubernetes Prow Robot
1866891f71
Merge pull request #79235 from justinsb/fix_73099
...
kubectl attach test: wait for input before proceeding
2019-09-06 04:36:57 -07:00
carlory
910bd000ff
use log functions of core framework in the 'test/e2e/storage/*'
2019-09-06 10:26:16 +08:00
Mayank Gaikwad
eb07002d41
Promote PQDN for services DNS e2e to Conformance
2019-09-06 02:14:46 +05:30
Kubernetes Prow Robot
208cfaad25
Merge pull request #82288 from deads2k/ns-conditions
...
fix namespace termination conditions to be consistent and correct
2019-09-05 13:01:11 -07:00
John Schnake
3c53481d5c
Move from regexp to csv string
2019-09-05 14:37:16 -05:00
Kubernetes Prow Robot
2e6b073a3f
Merge pull request #82335 from rphillips/fixes/e2e_crash
...
kubelet e2e: defer the close to after the error check
2019-09-05 11:30:43 -07:00
carlory
d1290ffdef
clean up test code
2019-09-05 23:44:19 +08:00
Dan Winship
c921c6893b
inline e2eservice.CreatePausePodDeployment into tests
...
This isn't a generically-useful helper; it's specific to 2 test cases.
2019-09-05 11:43:42 -04:00
Dan Winship
0b9fa1146f
Move a bunch of totally non-jiggy code out of e2eservice.TestJig
...
When test/e2e/framework/service was first created, a lot of service
test code got crammed into TestJig even though it didn't use any of
TestJig's members. Make that code available outside of TestJig.
2019-09-05 11:36:26 -04:00
Kubernetes Prow Robot
c4c64673d7
Merge pull request #82199 from dims/update-to-etcd-3.3.15-0-image
...
Update default etcd server to 3.3.15 for kubernetes 1.16
2019-09-05 06:35:10 -07:00
t-qini
56219956ec
Prevent resultPod.Status.ContainerStatuses from being empty.
2019-09-05 20:31:21 +08:00
Jan Safranek
6a433ee5ba
Enable block tests for Cinder
...
Cinder volume plugin has implemented block mode a long while ago.
2019-09-05 13:17:13 +02:00
toyoda
60d8bf4464
Add e2e test for kubectl describe cronjob
2019-09-05 17:08:09 +09:00
draveness
4105fea6eb
fix(scheduler): remove the defer function cost
2019-09-05 10:57:11 +08:00
andyzhangx
4c58dc3a56
test: fix azure disk test failure
2019-09-04 15:16:38 +00:00
Ryan Phillips
6b18285cd2
kubelet e2e: defer the close to after the error check
...
fixes a potential crash
2019-09-04 10:01:52 -05:00
andyzhangx
313cc4278e
test: fix azure disk e2e test failure
2019-09-04 10:30:25 +00:00
Kubernetes Prow Robot
83192d7c7c
Merge pull request #82301 from MrHohn/e2e-delete-lb-service
...
Make sure loadbalancer service is deleted before exiting the test
2019-09-04 01:05:00 -07:00
Kubernetes Prow Robot
6cb788c80e
Merge pull request #82229 from pohly/log-datetime-test-fix
...
e2e log: fix time stamp normalization in unit test
2019-09-03 17:24:58 -07:00
Zihong Zheng
1f0ef69efc
Make sure loadbalancer service is deleted before exiting the test
2019-09-03 17:18:02 -07:00
Kubernetes Prow Robot
570a85e249
Merge pull request #82274 from rajansandeep/addreadytotest
...
Add ready plugin to dns tests
2019-09-03 16:02:01 -07:00
Kubernetes Prow Robot
b47349ad20
Merge pull request #82252 from liggitt/webhook-client-auth-test
...
Match webhook client auth with ports consistently
2019-09-03 16:01:51 -07:00
Kubernetes Prow Robot
8efd51ffc2
Merge pull request #81825 from zouyee/e2e
...
fix ci-kubernetes-node-kubelet-serial which set PodPriority
2019-09-03 16:00:58 -07:00
David Eads
076bf949d7
fix namespace termination conditions to be consistent and correct
2019-09-03 15:33:17 -04:00
Jordan Liggitt
e734c70e03
Add integration test for webhook client auth
2019-09-03 13:58:54 -04:00
Matt Matejczyk
475a374822
Update NodeSSHHosts to support clusters with some public nodes
...
This is to support the setup where we have private nodes and one additional
heapster node with public IP. We plan to use this setup in our scale
tests.
Ref. https://github.com/kubernetes/kubernetes/issues/76374
2019-09-03 16:45:09 +02:00
Sandeep Rajan
95b0c3bde0
add ready plugin to dns tests
2019-09-03 10:34:27 -04:00
Jan Safranek
1e602caea0
Don't require any resources in race test
...
The race test is interested only if all volumes are mounted and pod is
started, it does not need any special CPU.
It de-flakes the test when running on a tight node.
2019-09-02 17:49:13 +02:00
Jan Safranek
1ed97b62fa
Mark Ceph tests as serial
...
The dummy Ceph RBD and CephFS server in test/images/volume/rbd can run only
once on a machine, therefore mark the tests as [Serial].
2019-09-02 15:46:37 +02:00
Kubernetes Prow Robot
d114f33768
Merge pull request #81915 from draveness/feature/add-e2e-tests-for-runtime-class-scheduling
...
[RuntimeClassScheduling] test(runtimeclass): add e2e tests for runtimeclass scheduling - Part3
2019-09-02 05:57:42 -07:00
s-ito-ts
4c69199aaa
e2e test: Label all nodes in pod anti-affinity test.
2019-09-02 09:42:11 +00:00
Patrick Ohly
07d7133837
e2e log: fix time stamp normalization in unit test
...
The date/time regex did not cover that "Sep 1 09:32:17.938" uses " 1"
instead of "1" for the day and thus the test started failing in
September.
2019-09-02 09:39:11 +02:00
Jordan Liggitt
6b961eb08c
Add debug info to kubectl e2e
2019-09-01 21:55:09 -04:00
zouyee
70b93eff37
using const instead
...
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
2019-09-02 09:30:51 +08:00
Kubernetes Prow Robot
b327a729c5
Merge pull request #82198 from roycaihw/crd-discovery-conformance
...
promote crd discovery e2e to conformance
2019-09-01 17:53:41 -07:00
draveness
702646df24
test(runtimeclass): add e2e tests for runtimeclass scheduling
2019-09-01 16:41:48 +08:00
Jordan Liggitt
e577feeb91
Ensure backend is ready in listing webhook e2es
2019-08-31 11:27:54 -04:00
Kubernetes Prow Robot
ab162cd28c
Merge pull request #77354 from jennybuckley/crd-apply
...
Use CRD validation field in server-side apply
2019-08-30 23:53:47 -07:00
Jordan Liggitt
2d9f46f073
Make CRD conversion e2e tests robust in non-aggregator-routing clusters
2019-08-30 23:24:02 -04:00
Jordan Liggitt
21a2951375
Make admission webhook e2e tests robust in non-aggregator-routing clusters
2019-08-30 23:24:01 -04:00
Jordan Liggitt
97ad87df02
Make CRD admission webhook e2e work in parallel test environments
2019-08-30 22:43:21 -04:00
Jordan Liggitt
d150f15d91
Add readiness probes to CRD/Admission webhook pods
2019-08-30 22:42:38 -04:00
Davanum Srinivas
8fbfdf8267
Update default etcd server to 3.3.15 for kubernetes 1.16
...
Change-Id: I68f1a5e5339d83077a1a9f312c4e6e33848886c5
2019-08-30 21:29:45 -04:00
Kubernetes Prow Robot
f4887d692e
Merge pull request #82185 from liggitt/agnhost-readyz
...
agnhost: add /readyz endpoints to converter/webhook commands
2019-08-30 16:15:40 -07:00
Ted Yu
9828f986af
Move Update Apply conflict test to field manager test
2019-08-30 14:47:39 -07:00
Haowei Cai
fd68c41e42
promote crd discovery e2e to conformance
2019-08-30 14:07:19 -07:00
Kubernetes Prow Robot
2c9d76c8bf
Merge pull request #82036 from liggitt/crd-discovery-e2e
...
Add discovery docs crd e2e test
2019-08-30 13:04:05 -07:00
Jordan Liggitt
0558e83867
Add /readyz endpoints to converter/webhook test image
2019-08-30 12:52:52 -04:00
Kubernetes Prow Robot
81f997b3c8
Merge pull request #82129 from liggitt/webhook-timeout-flake
...
Fix out of bounds error in timeout tests
2019-08-30 09:40:35 -07:00
Kubernetes Prow Robot
263e871aa3
Merge pull request #82115 from humblec/dp-e2e-image
...
Migrate the e2e provisioner container image to a different location.
2019-08-30 09:39:54 -07:00
John Schnake
8772187680
Add new flag for whitelisting node taints
...
Adds a new flag which allows users to specify a regexp
which will effectively whitelist certain taints and
allow the test framework to startup tests despite having
tainted nodes.
Fixes an issue where e2e tests were unable to be run
in tainted environments due to the framework waiting for
all the nodes to be schedulable without any tolerations.
2019-08-30 11:15:42 -05:00
Jordan Liggitt
ad33ba5bcc
Add discovery docs crd e2e test
2019-08-30 12:01:22 -04:00
Kubernetes Prow Robot
e176e47719
Merge pull request #82109 from wk8/wk8/gmsa-e2e
...
Adding an e2e test on GMSA support
2019-08-30 08:00:57 -07:00
Kubernetes Prow Robot
7a7b8a7305
Merge pull request #82094 from tallclair/runtime-class-admission
...
Enable the RuntimeClass admission controller on GCE & CI
2019-08-30 08:00:12 -07:00
Kubernetes Prow Robot
f442b6ef32
Merge pull request #82090 from liggitt/webhook-http2
...
Use http/1.1 for apiserver->webhook clients
2019-08-30 06:26:54 -07:00
Vivek Bagade
6392b69a1d
Adding termination grace period to Deployment, RC, RCSet, and Job
2019-08-30 14:47:10 +02:00
Mayank Gaikwad
f5c6eba92d
Add LinuxOnly tag to e2e testing session affinity
2019-08-30 17:37:03 +05:30
Kubernetes Prow Robot
c3463ac4d9
Merge pull request #82035 from liggitt/crd-etcd-deletion
...
Skip deleting custom resource instances that overlap with storage for built-in types
2019-08-30 02:59:31 -07:00
s-ito-ts
8745f02015
Use log functions of core framework on test/e2e/scheduling
2019-08-30 06:27:42 +00:00
Kubernetes Prow Robot
5183669719
Merge pull request #82014 from pohly/logging-stacktrace
...
e2e logging: disable brittle output test
2019-08-29 22:59:30 -07:00
jennybuckley
b0ff8d3f74
Remove defaulting for x-k8s-list-type
2019-08-29 22:40:01 -07:00
Kubernetes Prow Robot
7600f91b30
Merge pull request #82007 from Zhuzhenghao/regex
...
Change the seven blanks to ` {7}` in the regex
2019-08-29 21:22:29 -07:00
Kubernetes Prow Robot
3ebe6a6a5f
Merge pull request #77807 from matthyx/startupProbe
...
Add startupProbe to health checks
2019-08-29 21:21:30 -07:00
Kubernetes Prow Robot
7acb066dbc
Merge pull request #81969 from logicalhan/livez
...
add `/livez` endpoint for liveness probing on the kube-apiserver
2019-08-29 19:56:31 -07:00
Kubernetes Prow Robot
991d71e9fe
Merge pull request #81956 from apelisse/server-side-apply-beta
...
Server side apply beta
2019-08-29 19:56:16 -07:00