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
Sandeep Sunny
6b0748d3b5
Added e2e test to verify zone support across datacenters in the same vCenter
2019-09-10 23:14:41 -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
Kubernetes Prow Robot
1e6686e6af
Merge pull request #81864 from jpbetz/crd-conformance
...
Promote CRD e2e tests to conformance
2019-08-29 19:55:59 -07:00
Kubernetes Prow Robot
bc089a3ac6
Merge pull request #81857 from jpbetz/admission-conformance
...
Promote admission webhook e2e tests to conformance
2019-08-29 19:55:45 -07:00
jennybuckley
badd5b9a26
Update generated
2019-08-29 19:10:28 -07:00
jennybuckley
cf24968309
Fix validation and add many tests
2019-08-29 19:10:28 -07:00
jennybuckley
c0617933d4
Use CRD validation field in server-side apply
2019-08-29 18:42:24 -07:00
Kubernetes Prow Robot
21cdcd5776
Merge pull request #81436 from roycaihw/crd-openapi/skip-duplicate-path-definition
...
apiextensions: ignore path conflict and resolve definition conflict when merging openapi spec
2019-08-29 18:07:43 -07:00
Kubernetes Prow Robot
6c62ddc85b
Merge pull request #81435 from gyuho/with-block
...
Block etcd client creation until connection is up
2019-08-29 18:07:27 -07:00
Matthias Bertschy
a042a4b0ee
startupProbe: make update
2019-08-30 00:42:43 +02:00
Matthias Bertschy
1a08ea5984
startupProbe: Test changes
2019-08-30 00:40:26 +02:00
Han Kang
aa1b2d6d35
add /livez as a liveness endpoint for kube-apiserver
...
go fmt
make func private
refactor config_test
Two primary refactorings:
1. config test checkPath method is now each a distinct test
run (which makes it easier to see what is actually failing)
2. TestNewWithDelegate's root path check now parses the json output and
does a comparison against a list of expected paths (no more whitespace
and ordering issues when updating this test, yay).
go fmt
modify and simplify existing integration test for readyz/livez
simplify integration test
set default rbac policy rules for livez
rename a few functions and the entrypoint command line argument (and etcetera)
simplify interface for installing readyz and livez and make auto-register completion a bootstrapped check
untangle some of the nested functions, restructure the code
2019-08-29 14:13:19 -07:00
Joe Betz
68bafe4404
Promote admission webhook e2e tests to conformance
2019-08-29 13:50:14 -07:00
Haowei Cai
c81d69952c
webhook-e2e: add denying CR update test case, check CR patch and
...
mutation results
2019-08-29 13:37:41 -07:00
Kubernetes Prow Robot
c80d2c2283
Merge pull request #82019 from liggitt/admission-discovery-e2e
...
Add discovery docs webhook e2e test
2019-08-29 13:31:59 -07:00
Kubernetes Prow Robot
b362655242
Merge pull request #81792 from j-griffith/move_cloning_to_beta
...
Promote VolumePVCDataSource to beta for 1.16
2019-08-29 13:31:25 -07:00
Kubernetes Prow Robot
3cf2d32f87
Merge pull request #78098 from soltysh/remove_logs
...
Remove kubectl log
2019-08-29 13:31:11 -07:00
Patrick Ohly
0ffbbec6d8
bazel update
2019-08-29 21:21:13 +02:00
Patrick Ohly
dc06e76d10
e2e logging: disable brittle output test
...
Because unrelated changes to util.go change the test output, it is
better to exclude the test case where util.go (incorrectly!) is
included.
2019-08-29 21:20:42 +02:00
Joe Betz
c7919e64ff
Promote CRD e2e tests to conformance
2019-08-29 11:50:24 -07:00
Tim Allclair
2c01dc0ebf
Update RuntimeClass E2E expectations
2019-08-29 10:56:48 -07:00
Kubernetes Prow Robot
cd9519fe95
Merge pull request #82004 from pohly/ephemeral-beta
...
ephemeral inline CSI volumes as beta
2019-08-29 09:30:25 -07:00
Gyuho Lee
93b9545f48
vendor: update with "update-vendor.sh" script
...
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-08-29 08:46:02 -07:00
Gyuho Lee
b61433ef0f
test/integration: block etcd client creation until connection is up
...
The new etcd balancer (>3.3.14, 3.4.0) uses an asynchronous resolver for
endpoints. Without "WithBlock", the client may return before the
connection is up.
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2019-08-29 08:38:29 -07:00
Jean Rouge
fd788f3476
Adding an e2e test on GMSA support
...
The previously existing e2e GMSA test really only tests a small part of the
whole GMSA set up process, namely that once the API has inlined the GMSA
contents in the pod's spec, and sent that to a worker's kubelet, then the
kubelet passes that down to the runtime.
This new test, in contrast, really tests the whole thing, i.e. deploying the
admission webhook, then deploying a GMSA custom resource, and using that
resource within a pod.
The downside of this test though, is that it does need to make a lot of
assumptions about the cluster it runs against, notably that it runs on a worker
node that's already been joined to a working Active Directory domain (there are
other assumptions, all documented at the beginning of the test file); for that
reason, it is only intended to ever be run against an AKS cluster with the
custom AKS extension from
https://github.com/kubernetes-sigs/windows-testing/pull/98 .
Note that this test doesn't aim at testing every edge-case, such as
a pod trying to use a GMSA it doesn't have access to; the webhook has
its own tests for these. This test's goal is to ensure the happy path
doesn't break.
Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-08-29 14:51:23 +00:00
Jordan Liggitt
b451b86131
Fix out of bounds error in timeout tests
2019-08-29 10:33:20 -04:00
Kubernetes Prow Robot
06dc8cf4cb
Merge pull request #81996 from hwdef/fix-t/e/i/m
...
use log functions of core framework
2019-08-29 07:28:56 -07:00
Kubernetes Prow Robot
fad8f538e6
Merge pull request #81993 from hwdef/fix-test/e2e/gke_node_pools.go
...
fix test/e2e/gke_node_pools.go
2019-08-29 07:28:39 -07:00
Kubernetes Prow Robot
fd6c380047
Merge pull request #81973 from oomichi/replace-e2elog-framework-r-p
...
Use log functions of core framework on sub [p-s]
2019-08-29 07:28:09 -07:00
Maciej Szulik
6939e77277
Remove kubectl log
2019-08-29 16:10:48 +02:00
Odin Ugedal
b9071991e3
Add pre pull of e2e images after DiskPressure test
...
The "system_node_critical_test" causes DiskPressure on the node,
resulting in eviction of some of the pre pulled images. This makes all
the resulting tests to fail, since their pod spec use PullPolicy: Never
The PrePullImages is now inside a defer, so it will be executed even tho
the assertions inside the "AfterEach" fail.
2019-08-29 15:53:05 +02:00
Haowei Cai
b2c9b1f729
add a test to make sure the CRD OpenAPI path and defintion are protected
...
from user-defined CRDs
2019-08-29 04:24:47 -07:00
朱正浩,Zhu Zhenghao
aa20910e24
Typo fix: binded -> bound
2019-08-29 18:28:36 +08:00
Kubernetes Prow Robot
acf5411774
Merge pull request #81108 from oomichi/issue/81103
...
Make nodeList schedulable
2019-08-29 02:55:57 -07:00
Humble Chirammal
daa19ef44c
Migrate the e2e provisioner container image to a different location.
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-08-29 13:10:22 +05:30
Kubernetes Prow Robot
37016c3364
Merge pull request #80182 from wongma7/windows-hostpath-test-master
...
Create C:\tmp if DNE
2019-08-28 22:11:55 -07:00
Kubernetes Prow Robot
550fb1bfc3
Merge pull request #79386 from khenidak/phase2-dualstack
...
Phase 2 dualstack
2019-08-28 20:39:56 -07:00
Haowei Cai
626c4770e6
crd-e2e: check watch observes CR modified events; use WatchUnsafe
...
creation method when the test doesn't exercise CR API
2019-08-28 18:42:29 -07:00
Kubernetes Prow Robot
4ba225a541
Merge pull request #81486 from wongma7/aws-testdriver
...
Re-implement AWS test driver interfaces
2019-08-28 18:26:23 -07:00
Kubernetes Prow Robot
c4ccb623e8
Merge pull request #80247 from jsafrane/e2e-volume-limits
...
Add e2e test for CSI volume limits
2019-08-28 18:25:56 -07:00
Kenichi Omichi
da85510bd3
Reduce redundant Nodes().List() call
...
dumpAllNodeInfo() called Nodes().List() internally, but the function
is called from DumpAllNamespaceInfo() only and DumpAllNamespaceInfo()
calls Nodes().List() before calling dumpAllNodeInfo().
So this makes the result of Nodes().List() being passed to
dumpAllNodeInfo() then reduce a call of Nodes().List().
2019-08-28 23:10:06 +00:00
Kenichi Omichi
02a2d79bde
Reduce indents of DumpAllNamespaceInfo()
...
During cleanup of DumpAllNamespaceInfo(), the code was a little
unreadable. This reduces the indents for the code readability.
2019-08-28 23:04:06 +00:00
Antoine Pelisse
a3f4e6e933
Rename --experimental-* flags to --* for server-side apply
2019-08-28 15:03:41 -07:00
Kubernetes Prow Robot
af54eae69a
Merge pull request #81612 from rikatz/issue81060
...
Remove watching Endpoints of Headless Services
2019-08-28 14:44:25 -07:00
Kubernetes Prow Robot
6c9f26ca3a
Merge pull request #80766 from robscott/discovery-api
...
Adding Discovery API for EndpointSlice
2019-08-28 14:44:09 -07:00
Kubernetes Prow Robot
b9c6f559bd
Merge pull request #80726 from wangzhen127/npd-0.7
...
Bump NPD version to v0.7.1 for GCI
2019-08-28 14:43:55 -07:00
Jordan Liggitt
ddc697866a
Use http/1.1 in apiserver->webhook clients
2019-08-28 16:51:57 -04:00
Kubernetes Prow Robot
8b4fd4104d
Merge pull request #81960 from pohly/ephemeral-tests
...
ephemeral volume tests
2019-08-28 12:02:07 -07:00
Kubernetes Prow Robot
92a320aeb6
Merge pull request #80238 from smarterclayton/disable_node_role
...
Clarify use of node-role labels within Kubernetes
2019-08-28 12:01:27 -07:00
Kenichi Omichi
9aae71fa4a
Use log functions of core framework on sub [p-s]
...
This makes sub packages of e2e test framework to use log functions
of core framework instead for avoiding circular dependencies.
NOTE: test/e2e/framework/ssh will make circular dependencies if
updating it. It is necessary to solve the issue in advance
before this work.
2019-08-28 17:05:28 +00:00
Khaled Henidak(Kal)
313a5c5734
phase 2: ipam filter secondary service cidr
2019-08-28 15:59:43 +00:00
Khaled Henidak(Kal)
93c06821e6
Phase 2: service and endpoint processing
2019-08-28 15:59:43 +00:00
Kubernetes Prow Robot
d7ecc85239
Merge pull request #81955 from danwinship/add-hairpin-test
...
e2e/network: add service hairpin test
2019-08-28 08:56:16 -07:00
Kubernetes Prow Robot
20bd60cb9b
Merge pull request #81935 from k-toyoda-pi/use_log_e2e_apps
...
Use log functions of core framework on test/e2e/apps
2019-08-28 08:55:26 -07:00
Clayton Coleman
a49a554211
Move the IsMasterNode function to tests and mark it Deprecated
...
A future change will stop using this signal and instead use a
label selector passed on creation.
2019-08-28 11:17:27 -04:00
Kubernetes Prow Robot
af359c38e9
Merge pull request #81948 from beautytiger/ginkgo_fail
...
Cleanup ginkgo.Fail calls from the e2e test framework
2019-08-28 05:11:55 -07:00
Kubernetes Prow Robot
8f17e46e5c
Merge pull request #81943 from dims/update-import-aliases-for-1.16-test-e2e
...
Use preferred import packages for test/e2e
2019-08-28 05:11:25 -07:00
Kubernetes Prow Robot
6c45b3c230
Merge pull request #79539 from bclau/tests/run-as-username
...
tests: Adds Windows RunAsUserName tests
2019-08-28 05:11:11 -07:00
Patrick Ohly
5088b2ee2f
e2e storage: read/write + read-only ephemeral inline volume test, data sharing
...
The assumption so far was that all drivers support read/write
volumes. That might not necessarily be true, so we have to let the
test driver specify it and then test accordingly.
Another aspect that is worth testing is whether the driver correctly
creates a new volume for each pod even if the volume attributes are
the same. However, drivers are not required to do that, so again we
have to let the test driver specify that.
2019-08-28 12:20:54 +02:00
Patrick Ohly
cead39cc97
e2e storage: wait for pod deletion
...
After deleting a pod, we need to be sure that it really is gone,
otherwise there is a race condition: if we remove the CSI driver that
is responsible for the volume used by the pod before the pod is
actually deleted, deleting the pod will fail.
2019-08-28 12:20:54 +02:00
Patrick Ohly
7d2ad805a9
e2e storage: multi-volume and multi-pod tests for inline ephemeral volumes
...
Multiple pods using the same data and multiple inline ephemeral
volumes per pod are additional cases that are worth checking.
2019-08-28 12:20:54 +02:00
Patrick Ohly
55334fb9e9
e2e storage: check NodeUnpublishVolume in csi-mock tests
...
Once we have deleted the pod and the volume, we want to be sure that
NodeUnpublishVolume was called for it. The main motivation was to
check this for inline ephemeral volumes, but the same additional check
also makes sense for other volumes.
2019-08-28 12:20:54 +02:00
Patrick Ohly
cf125a2db3
e2e storage: enable testing of ephemeral inline volumes with hostpath CSI driver
...
We need the 1.2.0 driver for that because that has support for
detecting the volume mode dynamically, and we need to deploy a
CSIDriver object which enables pod info (for the dynamic detection)
and both modes (to satisfy the new mode sanity check).
2019-08-28 12:20:54 +02:00
Patrick Ohly
6c6930a088
e2e storage: synchronize .yaml files with latest upstream releases
...
This ensures that the files are in sync with:
hostpath: v1.2.0-rc3
external-attacher: v2.0.1
external-provisioner: v1.3.0
external-resizer: v0.2.0
external-snapshotter: v1.2.0
driver-registrar/rbac.yaml is obsolete because only
node-driver-registrar is in use now and does not need RBAC rules.
mock/e2e-test-rbac.yaml was not used anywhere.
The README.md files were updated to indicate that these really are
files copied from elsewhere. To avoid the need to constantly edit
these files on each update, <version> is used as placeholder in the URL.
2019-08-28 12:18:36 +02:00
Jan Safranek
90d09919e8
Add e2e test for volume limits
...
The test creates as many PVs and pods as the driver/plugin reports to support on a
single node.
2019-08-28 10:39:08 +02:00
Kubernetes Prow Robot
61e2f52e38
Merge pull request #81754 from apelisse/version-fields
...
Add FieldsType field to ManagedFields to track content format
2019-08-28 01:37:50 -07:00
Kubernetes Prow Robot
dccd28269a
Merge pull request #81467 from bertinatto/e2e_volume_expand
...
Graduate Volume Expansion to Beta + e2e tests
2019-08-28 01:37:25 -07:00
Kubernetes Prow Robot
0a784c5dc9
Merge pull request #78738 from jennybuckley/apply-only
...
Don't start tracking field management until object has been applied
2019-08-27 22:41:18 -07:00
Zhen Wang
d874dbfcb1
Bump NPD version to v0.7 for GCI
2019-08-27 22:26:30 -07:00
toyoda
5563e20a56
fix shellcheck failure in test/image/image-util.sh
2019-08-28 13:56:44 +09:00
Patrick Ohly
482a900e83
storage: make CSIInlineVolume a beta feature
...
The feature is complete and supported by an increasing number of CSI
drivers, but before it can be really used, it should be moved out of
alpha into beta.
2019-08-28 05:32:44 +02:00
Ted Yu
07ba65df6d
Break out of loop when finalizer is found
2019-08-27 19:56:13 -07:00
Kubernetes Prow Robot
07e0cce409
Merge pull request #81750 from aojea/fixdnsIPv6
...
Fix e2e DNS IPv6 CI
2019-08-27 19:38:06 -07:00
Kubernetes Prow Robot
ab13cf1055
Merge pull request #81691 from MrHohn/svc-finalizer-beta
...
Promote service load balancer finalizer to Beta
2019-08-27 19:37:48 -07:00
Kubernetes Prow Robot
870bed8522
Merge pull request #80998 from alejandrox1/e2e-frmaework-pv-util
...
Refactoring pod related functions from pv_util to pod pkg
2019-08-27 19:37:21 -07:00
Jennifer Buckley
f99252f2c6
Add issue to TODO
2019-08-27 15:00:15 -07:00
Antoine Pelisse
ff4e1f3592
Add new FieldsType to clarify the format of Fields
2019-08-27 14:52:36 -07:00
Ahmad Diaa
071e64d4da
replace factory.NewConfigFactory with scheduler.New in volumescheduling
2019-08-27 23:22:23 +02:00
Caleb Woodbine
4041b538b8
Update ConfigMap test
2019-08-28 08:41:39 +12:00
Jordan Liggitt
485741ed67
Skip deleting custom resource instances that overlap with storage for built-in types
2019-08-27 16:27:28 -04:00
Matthew Wong
7851929acf
Re-implement AWS test driver interfaces
2019-08-27 11:01:38 -07:00
carlory
3c70201d1b
remove blank lines
2019-08-28 01:27:31 +08:00
alejandrox1
7c161d6a5f
Refactoring pod related functions from pv_util to pod pkg
...
Moving pod related functions from e2e/framework/pv_util.go to
e2e/framework/pod in order to allow refactoring of pv_util.go into its
own package.
Signed-off-by: alejandrox1 <alarcj137@gmail.com>
2019-08-27 12:27:45 -04:00
Kubernetes Prow Robot
001bb43ad8
Merge pull request #74925 from lee0c/windows-dns-config-tests
...
Windows dns config test
2019-08-27 09:24:42 -07:00
Fabio Bertinatto
81572e5254
Enable CSI e2e tests for volume expansion
2019-08-27 17:33:41 +02:00
Fabio Bertinatto
73f31afd5d
Graduate volume expansion to beta
2019-08-27 17:33:41 +02:00
Antonio Ojea
45d6f08868
Add a method to TestContext to check if is IPv6
2019-08-27 15:41:10 +02:00
Jordan Liggitt
4396046033
Add discovery docs webhook e2e test
2019-08-27 09:31:28 -04:00
Antonio Ojea
930a1321da
DNS e2e tests differentiate between IP family
...
The e2e DNS tests differentiate between IP family to
avoid false positives with dual stack clusters.
2019-08-27 12:57:40 +02:00
Antonio Ojea
766d79bbf5
Make TestContext.IPFamily global for parallel testing
...
it turns out that the framework.TestContext.IPFamily variable is
not available for the DNS tests if they don't run in the initial
Ginkgo node when running in parallel.
We add a function to the framework to allow us to run command
only once per each Ginkgo node parallel execution.
It also adds a method to detect if the cluster is IPv6.
The use of the framework.TestContext.IPFamily variable guarantees
consistency all over the testing because this variable is only
assigned at the beginning of the testing.
2019-08-27 12:54:52 +02:00
Guangming Wang
fcf4e69640
run hack/update-bazel.sh
2019-08-27 17:48:46 +08:00
朱正浩,Zhu Zhenghao
e1df7c2b64
Change the seven blanks to {7}
in the regex, so it will be more readable .
2019-08-27 17:01:13 +08:00
Kubernetes Prow Robot
bccf68b4ee
Merge pull request #81662 from bclau/test-images/documentation-update
...
test images: Adds README containing image building process
2019-08-27 00:53:08 -07:00
Kubernetes Prow Robot
927f45191e
Merge pull request #81527 from yastij/move-controller-util
...
move WaitForCacheSync to the sharedInformer package
2019-08-27 00:52:54 -07:00
hwdef
888c8476a9
use log functions of core framework
2019-08-27 14:03:02 +08:00
hwdef
11e0873d24
use log functions of core framework
2019-08-27 13:52:14 +08:00
hwdef
3035943c30
fix test/e2e/gke_node_pools.go
2019-08-27 13:28:16 +08:00
Kubernetes Prow Robot
ee73d27d51
Merge pull request #81727 from odinuge/flaky-hugepage-test
...
Fix flaky hugepages tests by decreasing page count
2019-08-26 20:54:52 -07:00
carlory
4e3e4e058c
use log funcs of core framework in the test/e2e/scalability and test/e2e/cloud package
2019-08-27 11:30:01 +08:00
Guangming Wang
0776bc67ec
revert wrongly replaced log function ginkgo.Fail
2019-08-27 10:46:50 +08:00
carlory
2301a3b15b
cleanup test code in lifecycle, servicecatalog and ui package
2019-08-27 09:51:23 +08:00
Patrick Lang
0fd18fc06f
Updating log after framework code refactor
2019-08-26 21:52:57 +00:00
Lee Cattarin
9e0a1d20c4
Remove ndots check as it doesn't apply to windows
2019-08-26 21:52:57 +00:00
Lee Cattarin
c0e079bb15
Run hack/update-bazel
2019-08-26 21:52:57 +00:00
Lee Cattarin
d63c90e25f
Change custom DNS test to use ipconfig instead of resolv.conf
2019-08-26 21:52:57 +00:00
Michelle Cone
8858425a89
Add e2e DNS tests to windows tests
2019-08-26 21:52:57 +00:00
Rob Scott
f80cee9280
Adding discovery/v1alpha1 API for EndpointSlices
2019-08-26 14:50:00 -07:00
Kubernetes Prow Robot
39724859b5
Merge pull request #81849 from oomichi/move-PrintPerfData
...
Move PrintPerfData to the test
2019-08-26 11:54:38 -07:00
Kubernetes Prow Robot
2bd3226564
Merge pull request #81814 from oomichi/replace-e2elog-framework-job-node
...
Use log functions of core framework on sub [j-l]
2019-08-26 11:54:22 -07:00
Kubernetes Prow Robot
f81ab5a9fc
Merge pull request #81342 from knight42/fix/kubectl-patch-scale
...
Refactor `kubectl scale` to patch scale subresource
2019-08-26 11:53:54 -07:00
Kubernetes Prow Robot
087aafc18d
Merge pull request #80568 from pohly/ephemeral-mode-check
...
ephemeral mode check
2019-08-26 11:53:40 -07:00
Dan Winship
8d91e9e2b6
e2e/network: add service hairpin test
2019-08-26 14:47:43 -04:00
Kubernetes Prow Robot
1810bc8d82
Merge pull request #81925 from SataQiu/fix-test-kubeadm
...
e2e_kubeadm: use log functions of core framework
2019-08-26 10:20:50 -07:00
Kubernetes Prow Robot
52f708dc28
Merge pull request #81855 from oomichi/replace-e2elog-framework-perf-replicaset
...
Use log functions of core framework on sub p*
2019-08-26 10:20:24 -07:00
Guangming Wang
169cfd9fa1
Cleanup ginkgo.Fail calls from the e2e test framework
2019-08-26 22:24:29 +08:00
Davanum Srinivas
46cc8adcc3
Use preferred import packages for test/e2e
...
Ran `hack/update-import-aliases.sh`
Change-Id: Ieaf3599a80ec90026b2c83f25c797d121a461549
2019-08-26 08:56:42 -04:00
Patrick Ohly
cdaba2bea3
e2e logger test: handle paths in Kubernetes CI
...
Source code paths during //test/e2e/framework/log:go_default_test in
the Kubernetes CI start with relative paths. To avoid too broad
matching of the regex, those paths that occur in practice are named
explicitly as alternatives to the leading slash.
2019-08-26 12:39:08 +02:00
Patrick Ohly
f021d6590e
bazel update
2019-08-26 12:39:00 +02:00
Patrick Ohly
259bb3bef5
e2e: consistent failure logging
...
All failures are worth logging immediately, not just unexpected
errors. That helps understand tests that have long-running cleanup
operations with their own logging, because the failure will be visible
inside the test output.
The logging in framework.ExpectNoError also was rather poor, because
it only showed the error, but not the additional information about it.
Tests suites now should use log.Fail as Gomega failure handler instead
of ginkgowrapper.Fail. log.Fail will handle the logging for all
failures before proceeding to record the failure in Ginkgo.
Because logging is always done also after a test failure, additional
failures during cleanup are now visible. Ginkgo itself just ignores
them.
2019-08-26 12:38:35 +02:00
Patrick Ohly
311b66ada1
e2e: unit test for logger.go and ginkgowrapper.go
...
This test runs a fake Ginkgo suite with various errors and checks how
logger.go respectively ginkgowrapper.go handle this. Right now, the
outcome is sub-optimal:
- some test failures (those that use framework.Failf or
framework.ExpectNoError) are logged immediately, Gomega failures
are not
- framework.ExpectNoError logs just the error, which is often useless
without the additional explanation
- failures that occur after some others are not reported at all;
this can happen in cleanup code and while that code should better
be written so that it contines instead of failing on an assertion,
in practice quite a lot of code fails and when it does, the output
would be useful to have
- the full stack trace is odd and doesn't start with the expected
function name
Example output:
• Failure [0.002 seconds]
log
/nvme/gopath/src/k8s.io/kubernetes/test/e2e/framework/log/logger_test.go:35
fails [It]
/nvme/gopath/src/k8s.io/kubernetes/test/e2e/framework/log/logger_test.go:39
Jul 17 12:00:52.545: I'm failing.
/nvme/gopath/src/k8s.io/kubernetes/test/e2e/framework/log/logger_test.go:41
Full Stack Trace
/nvme/gopath/src/k8s.io/kubernetes/test/e2e/framework/log/logger.go:51 +0x143
k8s.io/kubernetes/test/e2e/framework/log.Failf(...)
/nvme/gopath/src/k8s.io/kubernetes/test/e2e/framework/log/logger.go:43
k8s.io/kubernetes/test/e2e/framework/log_test.glob..func1.2.1(...)
/nvme/gopath/src/k8s.io/kubernetes/test/e2e/framework/log/logger_test.go:41
k8s.io/kubernetes/test/e2e/framework/log_test.glob..func1.2()
/nvme/gopath/src/k8s.io/kubernetes/test/e2e/framework/log/logger_test.go:42 +0x52
k8s.io/kubernetes/vendor/github.com/onsi/ginkgo/internal/leafnodes.(*runner).runSync(0xc00029b020, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/nvme/gopath/src/k8s.io/kubernetes/test/e2e/framework/log/logger_test.go:65 +0x1c8
testing.tRunner(0xc000358600, 0x19818c0)
/nvme/gopath/go/src/testing/testing.go:865 +0xc0
created by testing.(*T).Run
/nvme/gopath/go/src/testing/testing.go:916 +0x35a
------------------------------
Jul 17 12:00:52.545: INFO: before
Jul 17 12:00:52.545: INFO: I'm failing.
Jul 17 12:00:52.547: INFO: after
• Failure [0.002 seconds]
log
/nvme/gopath/src/k8s.io/kubernetes/test/e2e/framework/log/logger_test.go:35
asserts [It]
/nvme/gopath/src/k8s.io/kubernetes/test/e2e/framework/log/logger_test.go:44
false is never true
Expected
<bool>: false
to equal
<bool>: true
/nvme/gopath/src/k8s.io/kubernetes/test/e2e/framework/log/logger_test.go:45
Full Stack Trace
/nvme/gopath/src/k8s.io/kubernetes/vendor/github.com/onsi/gomega/internal/assertion/assertion.go:75 +0x1f1
k8s.io/kubernetes/vendor/github.com/onsi/gomega/internal/assertion.(*Assertion).To(0xc00035f6c0, 0x1b42140, 0xc000350dd0, 0xc000350de0, 0x1, 0x1, 0x42e35f)
/nvme/gopath/src/k8s.io/kubernetes/vendor/github.com/onsi/gomega/internal/assertion/assertion.go:38 +0xc7
k8s.io/kubernetes/test/e2e/framework/log_test.glob..func1.3()
/nvme/gopath/src/k8s.io/kubernetes/test/e2e/framework/log/logger_test.go:45 +0x17e
k8s.io/kubernetes/vendor/github.com/onsi/ginkgo/internal/leafnodes.(*runner).runSync(0xc00029b0e0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/nvme/gopath/src/k8s.io/kubernetes/test/e2e/framework/log/logger_test.go:65 +0x1c8
testing.tRunner(0xc000358600, 0x19818c0)
/nvme/gopath/go/src/testing/testing.go:865 +0xc0
created by testing.(*T).Run
/nvme/gopath/go/src/testing/testing.go:916 +0x35a
------------------------------
Jul 17 12:00:52.548: INFO: before
Jul 17 12:00:52.549: INFO: after
• Failure [0.002 seconds]
log
/nvme/gopath/src/k8s.io/kubernetes/test/e2e/framework/log/logger_test.go:35
error [It]
/nvme/gopath/src/k8s.io/kubernetes/test/e2e/framework/log/logger_test.go:47
hard-coded error
Unexpected error:
<*errors.errorString | 0xc000351930>: {
s: "I'm an error, nice to meet to.",
}
I'm an error, nice to meet to.
occurred
/nvme/gopath/src/k8s.io/kubernetes/test/e2e/framework/log/logger_test.go:49
Full Stack Trace
/nvme/gopath/src/k8s.io/kubernetes/test/e2e/framework/util.go:1376 +0x191
k8s.io/kubernetes/test/e2e/framework.ExpectNoError(...)
/nvme/gopath/src/k8s.io/kubernetes/test/e2e/framework/util.go:1367
k8s.io/kubernetes/test/e2e/framework/log_test.glob..func1.4()
/nvme/gopath/src/k8s.io/kubernetes/test/e2e/framework/log/logger_test.go:49 +0xc9
k8s.io/kubernetes/vendor/github.com/onsi/ginkgo/internal/leafnodes.(*runner).runSync(0xc00029b200, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/nvme/gopath/src/k8s.io/kubernetes/test/e2e/framework/log/logger_test.go:65 +0x1c8
testing.tRunner(0xc000358600, 0x19818c0)
/nvme/gopath/go/src/testing/testing.go:865 +0xc0
created by testing.(*T).Run
/nvme/gopath/go/src/testing/testing.go:916 +0x35a
------------------------------
Jul 17 12:00:52.550: INFO: before
Jul 17 12:00:52.550: INFO: Unexpected error occurred: I'm an error, nice to meet to.
Jul 17 12:00:52.551: INFO: after
2019-08-26 11:32:25 +02:00
toyoda
c3fdb5e7d9
Use log functions of core framework on test/e2e/apps
2019-08-26 17:38:11 +09:00
SataQiu
d9bfff9976
e2e_kubeadm: use log functions of core framework
2019-08-26 13:56:14 +08:00
Kubernetes Prow Robot
36b2914207
Merge pull request #81809 from oomichi/replace-e2elog-framework-p
...
Use log functions of core framework on p*
2019-08-25 21:40:21 -07:00
Ricardo Pchevuzinske Katz
6c30d23e6c
Remove watching Endpoints of Headless Services
...
Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@serpro.gov.br>
2019-08-25 17:27:08 -03:00
Kubernetes Prow Robot
8e05e8346a
Merge pull request #81693 from oomichi/replace-e2elog-framework-c-n
...
Use log functions of core framework on [c-n]
2019-08-24 04:48:24 -07:00
Kubernetes Prow Robot
e2f57be0c0
Merge pull request #77824 from roycaihw/webhook-trace
...
mutating webhook: audit log mutation existence and patch
2019-08-23 22:26:24 -07:00
Kubernetes Prow Robot
8dc4b1b585
Merge pull request #80213 from bclau/tests/skips-windows-unrelated-tests
...
tests: Skips Windows-unrelated tests on Windows
2019-08-23 20:56:25 -07:00
Kubernetes Prow Robot
220498b83a
Merge pull request #81107 from wongma7/expand-cleanup
...
Don't overwrite PVC with nil/empty object returned by failed Update
2019-08-23 13:31:31 -07:00
jennybuckley
2e669a7f22
Fix failing test
2019-08-23 13:11:09 -07:00
Kenichi Omichi
9e9c1709db
Use log functions of core framework on sub p*
...
This makes sub packages of e2e test framework to use log functions
of core framework instead for avoiding circular dependencies.
NOTE: subpackage pod would make circular dependency if changing here.
So we need to take care of it with another PR.
2019-08-23 19:50:47 +00:00
jennybuckley
3279c73945
Add tests
2019-08-23 12:45:36 -07:00
jennybuckley
9a12e37a6d
Only update managedFields on update if it already exists
2019-08-23 12:38:08 -07:00
Kenichi Omichi
c8e0c94a8a
Move PrintPerfData to the test
...
PrintPerfData is called at e2e node tests and it depends on e2elog
and e2emetrics. This moves the function to the place which calls
the function for removing unnecessary dependencies from e2e node
subpackage.
2019-08-23 19:33:24 +00:00
Haowei Cai
98ad20cc8f
generated
2019-08-23 11:08:54 -07:00
Haowei Cai
d35757c653
tests
2019-08-23 11:08:54 -07:00
Claudiu Belu
dd2f11d722
tests: Adds RunAsUserName tests
...
Currently, Kubernetes supports running as different user (RunAsUser),
but it only supports UIDs, which does not work on Windows.
Which is why the field SecurityContext.WindowsOptions.RunAsUserName
was introduced, to allow us to run the container entrypoints with
a different user than its default one.
This commit adds E2E tests which will validate this behaviour. The
tests are Windows only, and they will be skipped if --node-os-distro
is not "windows".
2019-08-23 09:31:35 -07:00
Kubernetes Prow Robot
e5ca30cbe0
Merge pull request #81684 from jpbetz/conformance-prep
...
Prepare admission and CRD e2e tests to be promoted to conformance
2019-08-23 08:23:17 -07:00
Kubernetes Prow Robot
518ff2a405
Merge pull request #81811 from oomichi/replace-e2elog-framework-deployment-ingress
...
Use log functions of core framework on [d-i]
2019-08-23 06:54:17 -07:00
Kubernetes Prow Robot
3ede02028f
Merge pull request #81800 from draveness/feature/update-post-filter-plugin-name
...
feat: update scheduling framework interface with camelcase
2019-08-23 06:53:49 -07:00
Kubernetes Prow Robot
61aa39a25b
Merge pull request #81790 from ethan-daocloud/typo-terminator
...
Cleanup: fix typo in flag help message
2019-08-23 06:53:38 -07:00
Kubernetes Prow Robot
da470c6c5f
Merge pull request #81767 from schrodit/fix-e2e-node-lease
...
Do not cleanup node lease namespace in e2e setup suite
2019-08-23 04:55:44 -07:00
Kubernetes Prow Robot
66d3572853
Merge pull request #79828 from akremsa/remove_eq_cache_tests
...
Removed equivalence cache tests
2019-08-23 04:55:18 -07:00
Kubernetes Prow Robot
15812bc1c7
Merge pull request #81755 from wongma7/skip-ssh-volumes
...
Skip spec.volumes mount/map test if no SSH
2019-08-23 03:27:43 -07:00
Kubernetes Prow Robot
994bc115f9
Merge pull request #81510 from serathius/stable-metrics-analysis
...
Finish implementation of stable metrics static analysis
2019-08-23 03:27:17 -07:00
Kubernetes Prow Robot
56aded4db0
Merge pull request #81721 from mattjmcnaughton/mattjmcnaughton/close-open-files-in-conformance
...
Close leaking files in `conformance/walk.go`
2019-08-23 00:51:45 -07:00
Kubernetes Prow Robot
81c0febcd0
Merge pull request #81715 from SataQiu/fix-test-e2e-framework
...
Fix static check for test/e2e/framework
2019-08-22 23:27:55 -07:00
Kubernetes Prow Robot
8bf4bdc7f3
Merge pull request #79910 from k-toyoda-pi/replace_KubeDescribe_e2e_kubectl
...
Replace KubeDescribe with ginkgo.Describe in e2e/kubectl
2019-08-22 23:27:16 -07:00
Kubernetes Prow Robot
4a4d5f47d5
Merge pull request #81695 from oomichi/ExpectEqual-node
...
Use framework functions under test/e2e/node/
2019-08-22 22:03:58 -07:00
Kubernetes Prow Robot
9ac0c5942d
Merge pull request #81673 from jennybuckley/grouping-etcd
...
Make sure no op updates don't affect the resource version due to serverside apply
2019-08-22 20:07:57 -07:00
Joe Betz
a5bf6e6797
Replace time.Sleep with poll.wait in admission e2e tests
2019-08-22 19:24:44 -07:00
knight42
92c4c2ec72
test(scale): fix tests
2019-08-23 10:19:09 +08:00
Kubernetes Prow Robot
09a4b7e257
Merge pull request #81488 from oomichi/move-HandleFlags
...
Move HandleFlags to e2e package
2019-08-22 17:33:33 -07:00
Kenichi Omichi
acc0c0c980
Use log functions of core framework on sub [j-l]
...
This makes sub packages of e2e test framework to use log functions
of core framework instead for avoiding circular dependencies.
NOTE: test/e2e/framework/kubelet, test/e2e/framework/metrics and
test/e2e/framework/node will make circular dependencies if
updating them. It is necessary to solve them in advance before
this work.
2019-08-23 00:11:36 +00:00
Matthew Wong
b125bdda20
Don't overwrite PVC with nil/empty object returned by failed Update
2019-08-22 17:03:06 -07:00
Joe Betz
363d1fec08
Switch to v1 for admission and CRDs for all api-machinery e2e tests
2019-08-22 16:01:07 -07:00
Kenichi Omichi
20f507fc6a
Use log functions of core framework on [d-i]
...
This makes sub packages of e2e test framework to use log functions
of core framework instead for avoiding circular dependencies.
2019-08-22 22:12:47 +00:00
Kubernetes Prow Robot
f14e88ad6e
Merge pull request #81414 from wojtek-t/lease_e2e_test
...
Add e2e test for Lease API
2019-08-22 15:09:59 -07:00
Kenichi Omichi
0adcf14477
Use log functions of core framework on p*
...
This makes sub packages of e2e test framework to use log functions
of core framework instead for avoiding circular dependencies.
2019-08-22 20:55:25 +00:00
Kubernetes Prow Robot
6b47754740
Merge pull request #81627 from tallclair/copy
...
Delete duplicate resource.Quantity.Copy()
2019-08-22 11:13:13 -07:00
draveness
af2e0428f6
feat: use PreBind instead of Prebind in the scheduling framework
2019-08-23 02:09:19 +08:00
draveness
03f0934c80
feat: use PostBind instead of Postbind in the scheduling framework
2019-08-23 02:09:12 +08:00
draveness
f3816fb757
feat: use PreFilter instead of Prefilter in the scheduling framework
2019-08-23 02:09:00 +08:00
j-griffith
280b3313a0
Promote VolumePVCDataSource to beta for 1.16
...
Promotes the VolumePVCDataSource feature (cloning) to beta for the 1.16
release.
Since alpha release in 1.15 there have been a number of minor bug fixes
in the CSI Hospath Provisioner and the CSI provisioner sidecar. We've
also added e2e tests using the Hostpath provisioner.
2019-08-22 10:22:58 -06:00
Kubernetes Prow Robot
315dcca341
Merge pull request #53185 from dixudx/fix_admission_attributes_populate_name
...
populate object name for admission attributes when CREATE
2019-08-22 08:42:32 -07:00
Yassine TIJANI
7e4c3096fe
move WaitForCacheSync to the sharedInformer package
...
Signed-off-by: Yassine TIJANI <ytijani@vmware.com>
2019-08-22 16:13:41 +01:00
Guangming Wang
8ffba14ce4
Cleanup: fix typo in flag help message
...
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
2019-08-22 22:58:18 +08:00
Alexey Kremsa
ff7b07c43c
removed equivalence cache tests
...
fix build
2019-08-22 14:55:30 +03:00
Kubernetes Prow Robot
8dea3310e5
Merge pull request #81376 from logicalhan/health-checks
...
rename healthz methodNames to be more consistent w/ present day usages
2019-08-22 03:48:32 -07:00
wojtekt
4be5ebd4dc
Add e2e test for Lease API
2019-08-22 12:19:43 +02:00
Joe Betz
d4958c0bee
Remove all skips from admission and CRD e2e tests that will be promoted to conformance
2019-08-22 02:04:35 -07:00
Kubernetes Prow Robot
c008cf95a9
Merge pull request #77865 from mgdevstack/promote-service-types-updates
...
Promote e2e verifying different types of services and their behaviours
2019-08-22 00:50:32 -07:00
Patrick Ohly
8270fe81e4
bazel update
2019-08-22 08:57:53 +02:00
Tim Schrodi
e88b6310ce
Do not cleanup node lease namespace in e2e setup suite
2019-08-22 08:44:31 +02:00
Kubernetes Prow Robot
68d6ec9d4a
Merge pull request #80979 from jiatongw/e2e/framework/printstack
...
[e2e] Dump the stacktrace while an error occurs
2019-08-21 23:00:32 -07:00
Di Xu
2771503626
drop unused check
2019-08-22 11:46:12 +08:00
Matthew Wong
a81ca7ec5f
Skip spec.volumes mount/map test if no SSH
2019-08-21 16:39:49 -07:00
Zihong Zheng
0a7c085b14
Check service finalizer on upgrade test and fix-up test cases
2019-08-21 15:19:56 -07:00
Marek Siarkowicz
53fc6f9b58
Finish implementation of stable metrics static analysis
...
Handle "DeprecatedVersion" field
Fix kube metrics framework path
Implement handling prometheus util functions for generating buckets
2019-08-21 23:46:36 +02:00
Kubernetes Prow Robot
bad4d0ee96
Merge pull request #81602 from liggitt/admission-context
...
Plumb context timeout to admission webhooks
2019-08-21 12:42:32 -07:00
Jiatong Wang
9a2ccc2c4f
Dump the stacktrace while an error occurs
...
Signed-off-by: Jiatong Wang <wangjiatong@vmware.com>
2019-08-21 11:28:59 -07:00
Kubernetes Prow Robot
dd0fb73a61
Merge pull request #81393 from oomichi/cleanup-ReadOrDie
...
Remove fail argument from ReadOrDie()
2019-08-21 10:36:31 -07:00
jennybuckley
aa1f01ec7e
Make sure no op updates don't affect the resource version
2019-08-21 10:27:01 -07:00
Odin Ugedal
7df6a84902
Fix flaky hugepages tests by decreasing page count
...
If requesting an substantial amount of huge page memory
(like the tests), it is recommended to to it as early
after boot as possible, or by using the kernel cmd line.
2019-08-21 17:59:56 +02:00
mattjmcnaughton
f7128535bd
Close leaking files in conformance/walk.go
...
We want to ensure we close this file handler if it was opened
successfully.
2019-08-21 08:59:35 -04:00
draveness
6cfec4d919
feat: remove factory.Config from mustSetupScheduler
2019-08-21 19:54:28 +08:00
draveness
6d77624bc3
feat: use scheduler.New instead in createSchedulerConfigurator
2019-08-21 19:09:57 +08:00
SataQiu
c60377c682
fix static check for test/e2e/framework
2019-08-21 17:28:36 +08:00
Kubernetes Prow Robot
ab1413ccb6
Merge pull request #81551 from odinuge/gce-typo
...
Fix GCE typo in test output
2019-08-21 00:30:03 -07:00
Kubernetes Prow Robot
fd724dbed4
Merge pull request #81541 from jpbetz/alternate-port
...
Use non-default container port and scoped port vars in webhook e2e tests
2019-08-21 00:29:46 -07:00
Kubernetes Prow Robot
b47f9a43fe
Merge pull request #81499 from chendave/apparmor
...
Initialize flags to support extra flags
2019-08-21 00:29:31 -07:00
Kubernetes Prow Robot
0dfb87dfa5
Merge pull request #81537 from spiffxp/mv-hpa-tests-out-of-release-blocking
...
Demote HPA tests from release-blocking
2019-08-20 23:06:09 -07:00
Kubernetes Prow Robot
14338a1a90
Merge pull request #81460 from hex108/refactor_test
...
Refactor NewXXXPlugin in framework_test to avoid package variables
2019-08-20 23:05:57 -07:00
Kubernetes Prow Robot
11abd6dca0
Merge pull request #81389 from oomichi/remove-invalid-dependency-node
...
Move ProxyRequest to kubelet e2e fw
2019-08-20 23:05:42 -07:00
Kubernetes Prow Robot
9c7c9916e3
Merge pull request #81363 from bclau/tests/fixes-dns-tests-for-windows
...
tests: Fixes DNS tests for Windows
2019-08-20 23:05:29 -07:00
Kubernetes Prow Robot
efcb62abff
Merge pull request #81196 from mkimuram/issue/71748
...
Speed up block volume e2e test by checking events
2019-08-20 20:40:16 -07:00
Kubernetes Prow Robot
d935e06dd4
Merge pull request #80682 from mgdevstack/dns-google-cloud
...
Remove cloud specific DNS check to make e2e Conformance eligible
2019-08-20 20:39:43 -07:00
Jordan Liggitt
c63284b1f3
Use lesser of context or webhook-specific timeout in webhooks
2019-08-20 22:20:19 -04:00
Kubernetes Prow Robot
7a81ecd191
Merge pull request #77794 from saiyan86/fixAzureE2ETest
...
Use TCP instead of ICMP to check outbound connectivity
2019-08-20 19:13:18 -07:00
Kenichi Omichi
0d2e5866d4
Use framework functions under test/e2e/node/
...
There are some functions of e2e test framework and it is useful to
read the test code by using these functions.
This replaces gomega calls with these functions under test/e2e/node/
2019-08-21 02:01:49 +00:00
Kenichi Omichi
f3f14f9698
Use log functions of core framework on [c-n]
...
This makes sub packages of e2e test framework to use log functions
of core framework instead for avoiding circular dependencies.
2019-08-21 00:55:32 +00:00
Claudiu Belu
8812720148
tests: Skips Windows-unrelated tests on Windows
...
Skips IPv6 tests on Windows.
Skips sysctl tests on Windows.
Skips network policy tests on Windows.
Skips RunAsUser / FSGroup / file permissions related tests, as those are
not supported on Windows.
Skips the test "should preserve source pod IP for traffic thru service cluster IP"
on Windows, as it creates a Pod with HostNetwork=true, which is unsupported.
What works and what doesn't work on Windows has been documented here:
https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/conformance-tests.md#windows--linux-considerations
2019-08-20 14:19:14 -07:00
Claudiu Belu
210d7622fb
test images: Updates image building process README
...
Updates the README with the given suggestions.
2019-08-20 13:14:18 -07:00
Joe Betz
a3e187d86a
Use non-default container port and scoped port vars in webhook e2e tests
2019-08-20 13:13:55 -07:00
Kubernetes Prow Robot
5c68a231ab
Merge pull request #81620 from wongma7/nfs-alpha
...
Bump nfs-provisioner to include GetReference fix
2019-08-20 10:47:15 -07:00
Kubernetes Prow Robot
cda22916c5
Merge pull request #81611 from gnufied/fix-block-volume-e2e-csi
...
Fix e2e for block volume expansion
2019-08-20 02:00:17 -07:00
Kubernetes Prow Robot
77ee754b4c
Merge pull request #81540 from roycaihw/webhook-e2e-dial-timeout
...
Handle tcp dial timeout in webhook e2e test
2019-08-20 02:00:01 -07:00
Kubernetes Prow Robot
6f13032fb4
Merge pull request #81524 from jennybuckley/apply-group-updates-by-manager
...
Group managedFieldsEntries for update by manager name
2019-08-20 01:59:46 -07:00
Kubernetes Prow Robot
8f887cad45
Merge pull request #81497 from jpbetz/crd-e2e-v1
...
Upgrade e2e tests to use CRD v1 APIs
2019-08-20 01:59:33 -07:00
Claudiu Belu
aade8f8591
test images: Adds README containing image building process
...
Adds tests/images/README.md, which contains information regarding
the image modification / building process.
2019-08-20 00:22:51 -07:00
Kubernetes Prow Robot
461a628101
Merge pull request #81558 from liggitt/admissionregistration-v1-e2e
...
Use v1 admissionregistration APIs in e2e
2019-08-19 20:44:18 -07:00
Kubernetes Prow Robot
081db915d3
Merge pull request #81426 from oomichi/make-e2elog-back
...
Add log.go back to core of e2e test framework
2019-08-19 20:43:47 -07:00
Jun Gong
d9a7439ca0
Refactor NewXXXPlugin in framework_test to avoid package variable and do some other refactor
2019-08-20 09:52:26 +08:00
Joe Betz
5abf6b5d3e
Bump agnhost image version to 2.5
2019-08-19 18:31:23 -07:00
Joe Betz
1d429a615c
Update e2e tests to use CRD v1 API
2019-08-19 18:31:14 -07:00
Tim Allclair
49f50484b8
Delete duplicate resource.Quantity.Copy()
2019-08-19 17:23:14 -07:00
Haowei Cai
c8cd0bcd0e
accept dial timeout in webhook e2e
2019-08-19 15:39:42 -07:00
Hemant Kumar
f5175d9f76
Fix e2e for block volume expansion
2019-08-19 17:50:14 -04:00
jennybuckley
87eabcdbfa
Group update managedFieldsEntries by manager name
2019-08-19 13:50:15 -07:00
Masaki Kimura
2be543d879
Add messages for framework.Expect* in volumeMode tests
2019-08-19 16:39:17 +00:00
Masaki Kimura
00456d0a11
Speed up block volume e2e test by checking events
2019-08-19 16:39:11 +00:00
Masaki Kimura
04300826fd
Rename WaitTimeoutForPodEvent to WaitTimeoutForEvent and move it to common/events.go
2019-08-19 16:11:30 +00:00
Kubernetes Prow Robot
091a5dc53b
Merge pull request #81314 from jpbetz/crd-test-image
...
Upgrade ConversionReview e2e test image to also support v1
2019-08-17 19:08:04 -07:00
Kubernetes Prow Robot
f12a40df19
Merge pull request #81547 from BenTheElder/typecheck-cleanup
...
typecheck cleanup
2019-08-17 16:44:04 -07:00
Jordan Liggitt
0999bae14c
Use v1 admissionregistration APIs in e2e
2019-08-17 16:45:43 -04:00
Kubernetes Prow Robot
3f00331452
Merge pull request #80944 from apelisse/add-update-bench
...
Add benchmark for updates and get with/without server-side apply
2019-08-17 13:30:06 -07:00
Joe Betz
3f519b0ee2
Upgrade ConversionReview e2e test image to also support v1
2019-08-17 10:28:39 -07:00
Odin Ugedal
4f31d322a4
Fix GCE typo in test output
2019-08-17 13:11:19 +02:00
Odin Ugedal
e20c2b1f32
Add support for preemptible instances in node-e2e
...
Preemptible instances are cheaper, and the small chanse of a vm being
killed doesn't matter when running during development. This is a
tradeoff the user should be able to decide on.
More info here:
https://cloud.google.com/compute/docs/instances/preemptible
The default setting is false, so unless setting
PREEMPTIBLE_INSTANCES=true, everything will behave as before.
Signed-off-by: Odin Ugedal <odin@ugedal.com>
2019-08-17 13:09:45 +02:00
Kubernetes Prow Robot
fb64b76036
Merge pull request #81008 from bclau/test-images/agnhost-enhancements
...
test images: Adds version and bind-tools to agnhost
2019-08-17 02:42:07 -07:00
Benjamin Elder
6b038f3d1e
swap BenTheElder for rmmh in typecheck / go-srcimporter reviewers
2019-08-17 00:33:24 -07:00
Benjamin Elder
f1a7e78d4b
remove unnecessary ignore
2019-08-17 00:22:48 -07:00
Kubernetes Prow Robot
732b8ca58c
Merge pull request #81535 from spiffxp/mv-resource-tracking-tests-out-of-release-blocking
...
Demote regular resource tracking tests from release-blocking
2019-08-16 21:44:35 -07:00
Kubernetes Prow Robot
5b685ffd27
Merge pull request #81472 from damemi/taint-toleration-80922
...
Taints and tolerations e2e test re-work
2019-08-16 21:44:21 -07:00
Kubernetes Prow Robot
ef397e5b36
Merge pull request #79604 from liggitt/crd-v1
...
promote CRD to v1
2019-08-16 21:44:08 -07:00
Kubernetes Prow Robot
6b50f1ae38
Merge pull request #81514 from liggitt/agnhost-cleanup
...
Delete agnhost binary
2019-08-16 19:10:35 -07:00
Kubernetes Prow Robot
654df1da15
Merge pull request #81470 from ethan-daocloud/patch-10
...
cleanup: fix typos in error message in e2e test
2019-08-16 19:10:07 -07:00
Kubernetes Prow Robot
73b66e8ccb
Merge pull request #81207 from ahmad-diaa/flatten-sched-struct
...
Flatten Scheduler Struct
2019-08-16 17:02:54 -07:00
Kubernetes Prow Robot
e319abf274
Merge pull request #81163 from jsafrane/skip-unused-volumes
...
Skip unused volumes in VolumeManager
2019-08-16 17:02:36 -07:00
Matthew Wong
9da84cfbdf
Bump nfs-provisioner to include GetReference fix
2019-08-16 16:54:08 -07:00
Aaron Crickenberger
194e91bd17
Demote HPA tests from release-blocking
...
Add a Feature:HPA tag to these tests so they're not picked up by
the release-blocking job that focuses on [Serial] tests (but
excludes [Feature:.*] tests)
They take a combined 70 minutes on average. If they really need
to be in release-blocking as implemented, we should consider a
separate job to focus just on this feature.
2019-08-16 16:53:34 -07:00
Aaron Crickenberger
79cff6cd10
Demote regular resource tracking tests from release-blocking
...
Add a Feature:RegularResourceUsageTracking tag to these tests so
they're not picked up by the release-blocking job that focuses
on [Serial] tests (but excludes [Feature:.*] tests)
They take a combined 65 minutes on average. If they really need
to be in release-blocking as implemented, we should consider a
separate job to focus just on this feature.
2019-08-16 16:26:28 -07:00
Antoine Pelisse
4de7b6ddfb
Add benchmark for updates and get with/without server-side apply
2019-08-16 15:18:22 -07:00
Kubernetes Prow Robot
8f0d626228
Merge pull request #81375 from msau42/reduce-storage-e2es
...
Skip preprovisioned and inline volume tests if driver supports dynamic provisioning
2019-08-16 10:26:24 -07:00
Jordan Liggitt
fec2d3717a
CRD v1: require schema
2019-08-16 13:13:39 -04:00
Kenichi Omichi
c76291b8d3
Move HandleFlags to e2e package
...
HandleFlags() was used at e2e package and it depends on sub e2e
framework "config" in core e2e framework. That was invalid dependency.
So this moves HandleFlags() to e2e package for simple dependency.
2019-08-16 16:43:50 +00:00
Mayank Gaikwad
78741f149a
Modify dns e2e to individualise GCE specific dns checks into seperate e2e
2019-08-16 22:12:29 +05:30
Jordan Liggitt
8ae7696028
ignore agnhost binary
2019-08-16 10:54:44 -04:00
Jordan Liggitt
145882dfda
Delete agnhost binary
2019-08-16 10:21:25 -04:00
Kubernetes Prow Robot
1955467f9d
Merge pull request #80117 from j-griffith/cloning_e2e_tests
...
Add e2e tests for CSI PVCDataSources
2019-08-16 06:44:31 -07:00
Ahmad Diaa
61ab77ef7a
use factory.Config fields directly in scheduler struct
2019-08-16 15:21:28 +02:00
Kubernetes Prow Robot
e283836fb2
Merge pull request #81489 from BenTheElder/go-1.12.9
...
update go to 1.12.9
2019-08-16 03:32:44 -07:00
Kubernetes Prow Robot
bb55368fc6
Merge pull request #81478 from oomichi/move-ConfirmStatefulPodCount
...
Move ConfirmStatefulPodCount to e2e test
2019-08-16 03:32:31 -07:00
Dave Chen
129fa77aae
Initialize flags to support extra flags
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2019-08-16 14:05:21 +08:00
Yongli Chen
b158098401
replace ping with connect in msg
2019-08-15 20:44:55 -07:00
Yongli Chen
68e553ae6c
use agnhost image
...
add back ServeHostnameImage
2019-08-15 20:40:07 -07:00
Benjamin Elder
54c6744f8c
update go to 1.12.9
2019-08-15 17:37:06 -07:00
Kenichi Omichi
5e1743cfb1
Add log.go back to core of e2e test framework
...
We tried to separate logger functionality as subpackage of e2e test
framework, but we've recognized that should be core functionality
and we should keep it as core of e2e test framework after facing
circular dependency issues.
So this adds log.go back to core of e2e test framework. In addition,
this makes volume sub package use the core logger as a sample.
2019-08-16 00:06:04 +00:00
Michelle Au
62f0b7df7b
Disable kubelet restart tests for file volmode
...
Change-Id: I016cba4aba11d6e8574d4bc2d1f26284a068e562
2019-08-15 15:08:14 -07:00
Michelle Au
33c213577e
Skip preprovisioned and inline volume tests if driver supports dynamic provisioning.
...
Also remove FS VolMode disruptive tests because they are already covered
through the subpath disruptive test cases.
Change-Id: Ice4b30b0d8fdcb1f7fd61e54d27f53557de9f13a
2019-08-15 15:07:47 -07:00
j-griffith
47facf91b9
Add e2e tests for CSI PVCDataSources
...
address unit test comments
2019-08-15 13:25:10 -06:00
Kubernetes Prow Robot
d8c8c8eded
Merge pull request #79931 from skarthiksrinivas/vsphere_volume_selectednode
...
Provision vSphere volume as per selectedNode
2019-08-15 11:06:35 -07:00
Kenichi Omichi
a5a23d2845
Move ConfirmStatefulPodCount to e2e test
...
ConfirmStatefulPodCount() was used at e2e statefulset test only,
and that added dependency on another sub framework to statefulset
sub framework. This moves ConfirmStatefulPodCount() to the e2e test
for clean dependency.
2019-08-15 17:36:04 +00:00
Jordan Liggitt
6278447bde
CRD v1: install/register types
2019-08-15 12:26:13 -04:00
Mike Dame
a9f1314b60
Taints and tolerations e2e test re-work
...
Includes the changes from #80922 (that were reverted), and updates the test to appropriately add intolerable taints to all nodes except the target node
2019-08-15 11:00:24 -04:00
Guangming Wang
05d322bbb0
cleanup: fix typos in error message in e2e test
...
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
2019-08-15 22:34:25 +08:00
Kubernetes Prow Robot
fec7d35f26
Merge pull request #81391 from oomichi/cleanup-GetGPUDevicePluginImage
...
Move GetGPUDevicePluginImage to the test
2019-08-15 07:20:48 -07:00
Kubernetes Prow Robot
273e9262bb
Merge pull request #80342 from draveness/feature/remove-critical-pod-annotation
...
feat: cleanup pod critical pod annotations feature
2019-08-15 07:20:34 -07:00
Kubernetes Prow Robot
7a35f8c92d
Merge pull request #81015 from draveness/feature/update-normalize-score-extension-point
...
feat: return error when score is out of range
2019-08-15 02:32:35 -07:00
Jan Safranek
2c79ffe274
Add test for unused volumes
2019-08-15 10:48:41 +02:00
Jan Safranek
5b69362ff0
Skip unused volumes in VolumeManager
...
DesiredStateOfWorldPopulator should skip a volume that is not used in any
pod. "Used" means either mounted (via volumeMounts) or used as raw block
device (via volumeDevices).
Especially when block feature is disabled, a block volume must not get into
DesiredStateOfWorld, because it would be formatted and mounted there.
2019-08-15 10:48:38 +02:00
Jan Safranek
8d580262f9
Refactor makeMountsMap into GetPodVolumeNames
...
The function will be handy in subsequent patches. Also change custom maps
into sets.String.
2019-08-15 10:48:38 +02:00
Kubernetes Prow Robot
661e4d5b38
Merge pull request #81271 from jpbetz/webhok-agnhost-v1
...
Upgrade AdmissionReview e2e test image to also support v1
2019-08-14 23:12:32 -07:00
Kubernetes Prow Robot
44c0f64411
Merge pull request #80801 from SataQiu/fix-cert-length
...
Follow up #80734 : update RSA keys to 2048 bits
2019-08-14 21:44:44 -07:00
Kubernetes Prow Robot
1c4a7dbe7b
Merge pull request #78245 from k-toyoda-pi/add_test_cronjob_failedJobsHistoryLimit
...
add e2e test for cronjob failedJobsHistoryLimit
2019-08-14 21:44:31 -07:00
Kubernetes Prow Robot
0d579bfecf
Merge pull request #79796 from jsafrane/block-test-mismatch
...
Add test for mismatched usage of filesystem/block volumes
2019-08-14 19:00:37 -07:00
Kubernetes Prow Robot
3526a6162e
Merge pull request #81390 from cblecker/go-1.12.8
...
Update to go 1.12.8
2019-08-14 16:53:15 -07:00
Kubernetes Prow Robot
93e9abe6af
Merge pull request #81381 from jpbetz/admission-e2e-operations
...
Add admission e2e tests for untested stable operations
2019-08-14 16:53:02 -07:00
Joe Betz
4f7543e42a
Upgrade AdmissionReview e2e test image to also support v1
2019-08-14 14:57:55 -07:00
Kubernetes Prow Robot
12f1898e51
Merge pull request #81328 from hex108/fix_permit_plugin
...
Fix flaky test TestPreemptWithPermitPlugin
2019-08-14 12:46:38 -07:00
Kubernetes Prow Robot
95a5781b9d
Merge pull request #81304 from j-griffith/update_hostpathplugin_to_rc4
...
Update CSI hostpathplugin to include cloning fix
2019-08-14 12:46:11 -07:00
Kubernetes Prow Robot
9ac0470a31
Merge pull request #81240 from jpbetz/crd-base-operations-conformance
...
Add CRD e2e tests for untested stable operations
2019-08-14 12:45:57 -07:00
Joe Betz
3121773af7
Add admission e2e tests for untested stable operations
2019-08-14 09:54:49 -07:00
Kubernetes Prow Robot
f6a70ef271
Merge pull request #80376 from ehashman/issue-66790-2
...
Drop deprecated cadvisor metric labels
2019-08-14 09:10:38 -07:00
draveness
9fb0df5096
feat(scheduler): return error when score is out of range
2019-08-14 19:16:41 +08:00
Mayank Gaikwad
7c64fc9d98
Promote e2e verifying service type updates
2019-08-14 16:07:59 +05:30
Kubernetes Prow Robot
5dad5c726f
Merge pull request #81341 from mgdevstack/unflake-service-reach
...
Add service reachability polling to avoid flakiness
2019-08-14 00:40:39 -07:00
Joe Betz
472555152c
Add CRD e2e tests for list, delete collection, and status sub-resource operations
2019-08-13 23:08:11 -07:00
Kubernetes Prow Robot
4441f1d9c3
Merge pull request #81330 from tedyu/hide-auth-hdr
...
Hide bearer token in logs
2019-08-13 21:38:49 -07:00
Christoph Blecker
f2a4522be1
Update to go 1.12.8
2019-08-13 20:20:45 -07:00
Kubernetes Prow Robot
1e82e1ca1f
Merge pull request #81099 from oomichi/remove-golint-e2e-framework
...
Rename MetricsForE2E for golint failure
2019-08-13 19:36:24 -07:00
Mayank Gaikwad
eddd7da462
Add service reachability polling to avoid flakiness
2019-08-14 06:22:33 +05:30
Kenichi Omichi
cd24b24725
Remove fail argument from ReadOrDie()
...
Every caller of ReadOrDie() specified ginkgo.Fail as fail argument,
and that was intentional to avoid depending on Ginkgo.
However that just spreaded the dependency on Ginkgo to caller sides.
Especially that was unnecessary e2e test framework "ingress" depended
on Ginkgo only for the above reason.
Now we are cleaning up the dependencies on e2e tests, so let's just
remove such dependencies.
2019-08-14 00:35:51 +00:00
Kenichi Omichi
2efa60b849
Move GetGPUDevicePluginImage to the test
...
GetGPUDevicePluginImage() was called in some e2e node test only.
So it is not worth keeping the function as a part of e2e test
framework. This moves GetGPUDevicePluginImage() to the e2e node
test for code cleanup.
2019-08-14 00:01:50 +00:00
Kenichi Omichi
2cd45b2c54
Move ProxyRequest to kubelet e2e fw
...
In e2e test framework, ProxyRequest() is called in kubelet e2e test
framework only. In addition, the function works for kubelet as tests
which call the function do. So this moves the function into kubelet
e2e test framework to make the dependency simple.
2019-08-13 23:25:47 +00:00
Patrick Ohly
7bbc06fcd4
storage: check CSIDriver.Spec.VolumeLifecycleModes
...
Using a "normal" CSI driver for an inline ephemeral volume may have
unexpected and potentially harmful effects when the driver gets a
NodePublishVolume call that it isn't expecting. To prevent that mistake,
driver deployments for a driver that supports such volumes must:
- deploy a CSIDriver object for the driver
- set CSIDriver.Spec.VolumeLifecycleModes such that it contains "ephemeral"
The default for that field is "persistent", so existing deployments
continue to work and are automatically protected against incorrect
usage.
For the E2E tests we need a way to specify the driver mode. The
existing cluster-driver-registrar doesn't support that and also was
deprecated, so we stop using it altogether and instead deploy and
patch a CSIDriver object.
2019-08-13 23:12:52 +02:00
Wei Huang
3cd7277361
Apply zero TerminationGracePeriodSeconds to preemption victims
2019-08-13 13:39:17 -07:00
Han Kang
2e23788fda
rename healthz methodNames to be more consistent w/ present day usages
2019-08-13 12:52:30 -07:00
Ted Yu
010d838264
Hide bearer token in logs
2019-08-13 09:36:15 -07:00
Kubernetes Prow Robot
77fca12f66
Merge pull request #81296 from msau42/update-csi-e2e
...
Update csi-provisioner and snapshotter to get selflink fix
2019-08-13 07:56:34 -07:00
Kubernetes Prow Robot
43fa5ca693
Merge pull request #81087 from johnSchnake/addSkipsIfSSHNotPresent
...
Ensure tests which rely on SSH behavior are skipped if unavailable
2019-08-13 07:56:07 -07:00
Kubernetes Prow Robot
2e72cdd7b1
Merge pull request #81081 from p0lyn0mial/gc_transition_delete
...
changes the way `gc` detect that an object needs to be deleted
2019-08-13 02:28:33 -07:00
Kubernetes Prow Robot
193c30fd01
Merge pull request #81069 from aojea/GlusterDynamicProvisioner
...
Add IPv6 support to e2e GlusterDynamicProvisioner
2019-08-13 02:28:20 -07:00
Kubernetes Prow Robot
b680c7c898
Merge pull request #80906 from serathius/static-analysis-prototype
...
Static analysis prototype
2019-08-13 02:27:41 -07:00
Jun Gong
d0d46fdc7b
Fix flaky test TestPreemptWithPermitPlugin
2019-08-13 11:48:32 +08:00
Kubernetes Prow Robot
61af419d38
Merge pull request #81291 from danwinship/service-test-cleanup-1
...
Inline/simplify two used-only-once service test helper functions
2019-08-12 20:12:38 -07:00
Kubernetes Prow Robot
feb6da78f9
Merge pull request #81235 from oomichi/make-simple-dependency-endpoints
...
Remove core dependency from endpoints e2e fw
2019-08-12 20:12:25 -07:00
Kubernetes Prow Robot
890b50f98b
Merge pull request #80952 from tedyu/storage-ret-err
...
Propagate error from NewREST
2019-08-12 18:21:52 -07:00
Michelle Au
7c1f55f400
Update csi-provisioner and snapshotter to get selflink fix
...
Change-Id: I5aa44d5d530dad04968429369aff65e369a86e2e
2019-08-12 15:28:40 -07:00
Kubernetes Prow Robot
f2c82f49e8
Merge pull request #81295 from ravisantoshgudimetla/revert-80922-fix-priority-toleration
...
Revert "Toleration priority function score computation"
2019-08-12 15:00:16 -07:00
Kubernetes Prow Robot
e1f667765b
Merge pull request #81251 from oomichi/followup-pr81231
...
Remove runDeployment() from e2e test
2019-08-12 14:59:50 -07:00
Ted Yu
87b2a3129b
Propagate error from NewREST
2019-08-12 13:55:35 -07:00
Kubernetes Prow Robot
5d5b6d779d
Merge pull request #81252 from draveness/patch-3
...
doc: add Draven as a reviewer to test package
2019-08-12 12:11:42 -07:00
Kubernetes Prow Robot
8756c9d18b
Merge pull request #80842 from chendave/guide
...
doc: fix couple of issues for the doc of agnhost
2019-08-12 12:11:29 -07:00
j-griffith
11f14de6e2
Update CSI hostpathplugin to include cloning fix
...
Update to hostpathplugin:v1.2.0-rc4 to include storageClass comparison
fix.
2019-08-12 13:09:17 -06:00
RaviSantosh Gudimetla
afce8f7f44
Revert "Toleration priority function score computation"
2019-08-12 12:03:04 -04:00
Dan Winship
6a42e102b7
Inline/simplify two used-only-once service test helper functions
2019-08-12 09:51:54 -04:00
Lukasz Szaszkiewicz
34eda804ca
adds an integration test for double deletion with a custom finalizer
2019-08-12 14:35:49 +02:00
Marek Siarkowicz
a5377a684c
Implement stable metric validation and verification
...
Based on KEP:
https://github.com/kubernetes/enhancements/blob/master/keps/sig-instrumentation/20190605-metrics-validation-and-verification.md
Add //test/instrumentation:stable_metric_test that compares metrics
in source code to those available in
"test/instrumentation/testdata/stable-metrics-list.yaml".
2019-08-12 12:01:35 +02:00
Claudiu Belu
a8c63d132b
tests: Fixes DNS tests for Windows
...
A previous commit replaced the usage of hostname -i with getent hosts
in DNS probe commands (for testing IPv6), which breaks the Windows tests
(getent hosts is a Linux-specific command that looks into the /etc/hosts
file, which, on Windows, is not managed by Kubelet).
This commit addresses this issue by executing getent hosts on IPv6 clusters
and hostname -i on IPv4 clusters (Windows does not support IPv6 at this
moment).
2019-08-11 11:19:31 -07:00
Kubernetes Prow Robot
0610bf0c7e
Merge pull request #81241 from oomichi/cleanup-unused-BusyBoxImage
...
Remove unused BusyBoxImage
2019-08-11 11:11:10 -07:00
Kubernetes Prow Robot
3e962cb61a
Merge pull request #81157 from openSUSE/localhost-nodeport-e2e-fix
...
[e2e] Fix node port service reachability test for nodes running on localhost
2019-08-10 04:19:14 -07:00
Draven
5f9ba3fae4
doc: add Draven as a reviewer to test package
2019-08-10 11:28:15 +08:00
Kenichi Omichi
9e17433ccf
Remove runDeployment() from e2e test
...
As https://github.com/kubernetes/kubernetes/pull/81231/files#r312670943
this removes runDeployment() by just moving some code into the test.
2019-08-10 00:10:09 +00:00
Kubernetes Prow Robot
6ed4ed1ff0
Merge pull request #81231 from oomichi/make-simple-dependency-deployment
...
Remove core dependency from deployment e2e fw
2019-08-09 16:33:39 -07:00
Kenichi Omichi
bb6da9e356
Remove unused BusyBoxImage
...
The core e2e framework contains BusyBoxImage. The sub e2e "pod"
framework also contains it but not used at all.
So this removes this unused BusyBoxImage for code cleanup.
2019-08-09 22:09:21 +00:00
Kubernetes Prow Robot
31bade3822
Merge pull request #81046 from liggitt/admission-side-effects
...
Limit v1 webhooks to None and NoneOnDryRun side effects classes
2019-08-09 13:55:27 -07:00
Kenichi Omichi
19c474fc4d
Remove core dependency from endpoints e2e fw
...
WaitForEndpoint() of the endpoints e2e framework was used in
test/e2e/network/proxy.go only. In addition, the endpoints e2e
framework imported the core of e2e framework only for the function.
So this moves the function into test/e2e/network/proxy.go then we
can remove dependency of core framework from the sub e2e framework.
2019-08-09 20:22:56 +00:00
Kenichi Omichi
bf221a09b5
Remove core dependency from deployment e2e fw
...
RunDeployment() of the deployment e2e framework was used in
autoscaling_utils only. In addition, the deployment e2e framework
imported the core of e2e framework only for the function.
So this moves the function into autoscaling_utils then we can remove
dependency of core framework from the deployment e2e framework.
2019-08-09 19:31:14 +00:00
Sascha Grunert
715627d95e
Fix node port service reachability test for nodes running on localhost
...
If a node's internal address points to 127.0.0.1, then we skip the node
port reachability test.
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-08-09 08:36:23 +02:00
Kubernetes Prow Robot
eadf68ebd9
Merge pull request #81203 from oomichi/remove-printOnce
...
Remove printOnce() on e2e tests
2019-08-08 19:36:17 -07:00
Kubernetes Prow Robot
386035a988
Merge pull request #81176 from spiffxp/test-owners-maint
...
Update test/OWNERS
2019-08-08 19:36:04 -07:00
Kubernetes Prow Robot
e73bc5613a
Merge pull request #78715 from liggitt/cleanup-crd-proto
...
Remove unnecessary serializer override for CRD status, test proto requests on CRD status
2019-08-08 19:35:38 -07:00
Kubernetes Prow Robot
01dc5b1da3
Merge pull request #80939 from draveness/feature/use-workqueue-in-volume-binding
...
fix: use workqueue to speed up of volume binding tests
2019-08-08 17:57:51 -07:00
Kubernetes Prow Robot
9d3d20114a
Merge pull request #78331 from mgdevstack/master-promote-resourcequota
...
Promote resourceQuota e2e verifying 'object count quota' and 'quota scope' to Conformance
2019-08-08 17:57:25 -07:00
draveness
495faa22db
feat: cleanup pod critical pod annotations feature
2019-08-09 08:41:23 +08:00
Kubernetes Prow Robot
a3e9dbe4d1
Merge pull request #80803 from serathius/static-analysis-directories
...
Setup directories for Metrics validation and verification KEP
2019-08-08 16:12:05 -07:00
Kubernetes Prow Robot
e0dccace6f
Merge pull request #79216 from verb/debug-api-test
...
Add integration test for ephemeral containers
2019-08-08 16:11:26 -07:00
Aaron Crickenberger
7919dfe795
remove redundant reviewers in test/OWNERS
...
all of these folks are either approvers (in which case they will
get selected as potential reviewers), or emeritus_approvers (in
which case they've become inactive and would be poor choices for
reviewers)
2019-08-08 10:31:47 -07:00
Aaron Crickenberger
0f1d903c3b
promote andrewsykim to approver in test/OWNERS
...
out of 200 most recently updated merged PRs in 'kubernetes/kubernetes' involving 'andrewsykim'...
85 touched files matching regex '^test/'
of those, andrewsykim authored 8, and commented '/lgtm' on 34
I read through a number of reviews, they're substantive feedback
and not rubber stamps. Keep up the good work!
2019-08-08 10:31:40 -07:00
Kubernetes Prow Robot
072528e5f6
Merge pull request #80787 from ii/wip-configmap-contents-patch
...
Add validation to ConfigMap patch test
2019-08-08 10:04:11 -07:00
Jordan Liggitt
0feb99f9bd
Remove unnecessary serializer override for CRD status, test proto requests on CRD status
2019-08-08 12:49:08 -04:00
draveness
65f6da3467
fix: update provisional delay seconds to 10s
2019-08-09 00:45:20 +08:00
draveness
d2df5a19b1
fix: reduce the number of pods and volumes
2019-08-09 00:45:20 +08:00
draveness
bd3c8390c6
fix: use workqueue to speed up of volume binding tests
2019-08-09 00:45:20 +08:00
draveness
0d7636a92f
feat: add logs to volume binding test
2019-08-09 00:42:16 +08:00
Kubernetes Prow Robot
f0474ba868
Merge pull request #81050 from msau42/integration-test2
...
Move volume scheduling integration tests into a separate pkg
2019-08-08 07:59:19 -07:00
Kubernetes Prow Robot
cbdb20c10d
Merge pull request #81049 from MrHohn/svc-e2e-reachability-verbose
...
[e2e] Add verbose to reachability test commands
2019-08-08 06:28:10 -07:00
Kubernetes Prow Robot
1d83daf8a7
Merge pull request #81032 from liggitt/isolate-webhook-e2e
...
Scope e2e webhooks to avoid cross-test interference
2019-08-08 06:27:44 -07:00
Kubernetes Prow Robot
678bc948d3
Merge pull request #81006 from hex108/fix_test
...
Refine TestFilterPlugin
2019-08-08 06:27:18 -07:00
Jan Safranek
40b186785f
Use events to speed up the test
2019-08-08 14:24:52 +02:00
Jan Safranek
683b9782b2
Add test for mismatched usage of filesystem/block volumes
2019-08-08 14:24:52 +02:00
Kenichi Omichi
e8c41b8892
Remove printOnce() on e2e tests
...
Originally, printOnce() was implemented for printing debugging message
once for checking actual value is the same as expected value.
However even if an error doesn't happen in ExpectEqual(), printOnce()
is called internally. Then the second ExpectEqual() doesn't output
the debugging message if an error happens. This makes debugging
difficult, let's just remove it for debugging.
2019-08-08 07:29:56 +00:00
Kenichi Omichi
47a4d1a8ec
Rename MetricsForE2E for golint failure
...
This renames MetricsForE2E to ComponentCollection for solving golint
failure.
2019-08-08 04:15:36 +00:00
Kubernetes Prow Robot
a8d71390cf
Merge pull request #81053 from oomichi/cleanup-indent-e2e-framework-metrics
...
Reduce indents of resource_usage_gatherer
2019-08-07 14:45:36 -07:00
Kubernetes Prow Robot
f96fcd095f
Merge pull request #80947 from Nordix/kubeadm-ds-e2e-pod-network-cidr
...
kubeadm e2e networking test for dual-stack podSubnet check.
2019-08-07 14:44:58 -07:00
Michelle Au
d38bcde9b8
add scheduling utils
...
Change-Id: I238e6486473aef68f1600d8b574e971e86e70089
2019-08-07 11:21:02 -07:00
Michelle Au
323f000e4f
move volume scheduling tests
...
Change-Id: I80d9e806090099b9e53cc14a023735ed9f0a2b8b
2019-08-07 11:09:34 -07:00
John Schnake
37212fa934
Ensure tests which rely on SSH behavior are skipped if unavailable
...
A number of tests rely on SSH behavior but are not marked with
SkipUnlessSSHKeysPresent(). This means that the tests will run and
hang. This can be confusing for users because they may not know why
the tests failed. Instead, we should be reporting on the known issue
and skipping the test (hence why the helper Skip... function exists).
2019-08-07 10:24:39 -05:00
Kubernetes Prow Robot
28e88e3f19
Merge pull request #79659 from liggitt/test-webhook-watch-cache
...
Test webhooks with and without watch cache enabled
2019-08-07 07:02:50 -07:00
Kubernetes Prow Robot
1e962072f1
Merge pull request #79909 from vinicyusmacedo/simplify-e2e
...
Moving e2e boilerplate to separate functions
2019-08-07 04:46:50 -07:00
Kenichi Omichi
7f949e1fcc
Make nodeList schedulable
...
The conformance test "validates resource limits of pods that are
allowed to run" is failed if master node doesn't have taints.
The reason is that nodeList which should consist of schedulable
nodes is gotten with GetMasterAndWorkerNodes() and master nodes
were excluded from nodeList.
This makes nodeList be gotten with GetReadySchedulableNodesOrDie()
and nodeList can consist of schedulable nodes.
2019-08-07 10:34:52 +00:00
Antonio Ojea
10ef878e08
Add IPv6 support to e2e GlusterDynamicProvisioner
2019-08-07 09:47:36 +02:00
Kubernetes Prow Robot
3cb2eaa4ba
Merge pull request #80953 from Moriadry/feature/package-collides
...
Fix error collides with imported package name
2019-08-06 23:57:42 -07:00
Kubernetes Prow Robot
48b7301440
Merge pull request #80843 from draveness/feature/use-expect-equal-again
...
feat: update multiple files in e2e node with framework helpers
2019-08-06 23:57:16 -07:00
Kubernetes Prow Robot
ee8ed53e0e
Merge pull request #80790 from k-toyoda-pi/use_expectequal_e2e_node_a-d
...
Use framework.ExpectEqual() in test/e2e_node/[a-d]
2019-08-06 23:57:03 -07:00
Kubernetes Prow Robot
cc4301025d
Merge pull request #80655 from johnbelamaric/promote-nodeport-creation
...
Promote NodePort service creation e2e test to conformance
2019-08-06 23:56:50 -07:00
Jordan Liggitt
38ec458703
Test webhooks with and without watch cache enabled
2019-08-07 00:45:25 -04:00
Kubernetes Prow Robot
64a67184ce
Merge pull request #80654 from spiffxp/promote-taint-e2e-tests
...
Promote taint-based eviction e2e tests to Conformance
2019-08-06 21:05:43 -07:00
Kubernetes Prow Robot
1a01d10f5f
Merge pull request #80590 from alculquicondor/refactor/configurator-pod
...
Remove Configurator interface
2019-08-06 21:05:31 -07:00
Caleb Woodbine
7218182f11
Update configMap data checking
2019-08-07 03:35:36 +00:00
Kenichi Omichi
de66a736e8
Reduce indents of resource_usage_gatherer
...
test/e2e/framework/resource_usage_gatherer contained much indents
and they can be reduced with `continue` for code readability.
2019-08-07 01:23:18 +00:00
Jordan Liggitt
190c926d1f
Limit v1 webhooks to None and NoneOnDryRun side effects classes
2019-08-06 20:54:06 -04:00
Arvinderpal Wander
a0da7a1d89
kubeadm e2e networking test for dual-stack podSubnet check.
2019-08-06 17:42:36 -07:00
John Belamaric
60a51ce020
Promote NodePort service creation e2e test to conformance
2019-08-06 16:23:40 -07:00
Zihong Zheng
8d84a1ea76
[e2e] Add verbose to reachability test commands
2019-08-06 15:27:57 -07:00
Jordan Liggitt
a8918405e6
Scope e2e webhooks to avoid cross-test interference
2019-08-06 16:44:11 -04:00
Marek Siarkowicz
0260d4f287
Setup directories for Metrics validation and verification KEP
...
KEP link: https://github.com/kubernetes/enhancements/blob/master/keps/sig-instrumentation/20190605-metrics-validation-and-verification.md
2019-08-06 15:11:39 +02:00
Kubernetes Prow Robot
345e58b434
Merge pull request #75071 from mkimuram/issue/74552e2e
...
Fix volume reconstruction and add e2e tests
2019-08-06 06:05:55 -07:00
Jun Gong
a2f178ecd7
Refine TestFilterPlugin
2019-08-06 13:41:32 +08:00
moriadry
4b8080dda8
Fix error collides with imported package name
...
Fix error collides with imported package name
fix
fix
2019-08-06 12:20:29 +08:00
Kubernetes Prow Robot
65e5439faf
Merge pull request #80991 from davidz627/fix/testMani
...
Add davidz627 to testing manfiests csi owners
2019-08-05 19:58:28 -07:00
Kubernetes Prow Robot
3fdf5cf2ac
Merge pull request #80879 from ravisantoshgudimetla/fix-taint-manager
...
Wait for pods to be running before eviction starts
2019-08-05 19:58:07 -07:00
Kubernetes Prow Robot
da4248602d
Merge pull request #80516 from adelina-t/refactor_kubectl_test
...
Refactor kubectl retrieve logs test to use agnhost
2019-08-05 19:57:53 -07:00
Caleb Woodbine
b10743236e
Update function for data inequality verification
2019-08-06 01:53:08 +00:00
Kubernetes Prow Robot
4d337d2d32
Merge pull request #80990 from davidz627/fix/pdDriverMani
...
Bump GCE PD CSI Driver testing manifests to v0.5.2-gke.0 for volume limits fix
2019-08-05 18:18:44 -07:00
Kubernetes Prow Robot
f18d1ad6c1
Merge pull request #80821 from damemi/duplicate-e2e
...
Remove duplicate scheduler anti-affinity preemption e2e
2019-08-05 18:18:06 -07:00
Kubernetes Prow Robot
b409073e99
Merge pull request #80496 from alejandrox1/e2e-framework-import-restrictions
...
Added import restrictions file to e2e framework
2019-08-05 15:08:43 -07:00
David Zhu
f5e95d1897
Add davidz627 to testing manfiests csi owners
2019-08-05 14:04:22 -07:00
Kubernetes Prow Robot
a56f3ed0b8
Merge pull request #80706 from WanLinghao/refactor_e2e_kubelet_stats
...
Refactor and clean up e2e framework utils, this patch handles test/e2e/framework/kubelet_stats.go file
2019-08-05 13:36:16 -07:00
Kubernetes Prow Robot
cce048123d
Merge pull request #80610 from aojea/ipv6kubectl
...
Add ipv6 support to the e2e kubectl tests
2019-08-05 13:36:02 -07:00
David Zhu
6d6faff491
Bump GCE PD CSI Driver testing manifests to v0.5.2-gke.0 for volume limits fix
2019-08-05 13:23:17 -07:00
Vinicyus Macedo
0f21b692e4
Moved e2e boilerplate to framework
2019-08-05 16:23:56 -03:00
alejandrox1
f948ce176d
Added import restrictions file to e2e framework
...
Signed-off-by: alejandrox1 <alarcj137@gmail.com>
2019-08-05 14:27:12 -04:00
Kubernetes Prow Robot
cc270c138d
Merge pull request #78097 from draveness/feature/post-filter-extension-point
...
feat: implement "post-filter" extension point for scheduling framework
2019-08-03 09:43:51 -07:00
Kubernetes Prow Robot
7c86bdb8e5
Merge pull request #80928 from logicalhan/flake
...
increase timeout for maximum-startup-sequence-duration as a stopgap
2019-08-03 01:27:58 -07:00
Kubernetes Prow Robot
9827a6edc8
Merge pull request #80922 from ravisantoshgudimetla/fix-priority-toleration
...
Toleration priority function score computation
2019-08-02 20:28:44 -07:00
ravisantoshgudimetla
7c53ccfd68
Toleration priority function score computation
...
I think, if a pod doesn't have any tolerations, we don't prefer node without taints to
the one which has taints in https://github.com/kubernetes/kubernetes/blob/master/pkg/scheduler/algorithm/priorities/taint_toleration.go#L29 , so there is no point in testing that particular functionality. The side effect of the above is, since we're going round-robin in every scheduling cycle sometimes we're choosing first node and in the next cycle we'd move onto next node(where taints are not being applied), so it's causing problem unnecessarily
2019-08-02 14:18:25 -07:00
Han Kang
981a4c95d9
increase timeout for maximum-startup-sequence-duration to decrease probability of a flake
2019-08-02 13:48:02 -07:00
Kubernetes Prow Robot
c68eeb230a
Merge pull request #80902 from bskiba/fix-prom-to-sd-image
...
Fix registry for prometheus-to-sd
2019-08-02 12:40:48 -07:00
Kubernetes Prow Robot
cd04b13a1d
Merge pull request #80882 from ravisantoshgudimetla/add-logging
...
Don't supress the node update error while logging
2019-08-02 12:40:22 -07:00
ravisantoshgudimetla
b4ea510529
Wait for pods to be running before eviction starts
2019-08-02 11:00:26 -07:00
Kubernetes Prow Robot
6278b90731
Merge pull request #80805 from mgdevstack/flaky-execPod
...
Fix failing service e2e due to execPod unavailability
2019-08-02 08:43:52 -07:00
Kubernetes Prow Robot
f370abb230
Merge pull request #80595 from aojea/e2e_preserve
...
Add IPv6 support to preserve source pod IP test
2019-08-02 06:53:53 -07:00
Kubernetes Prow Robot
231a6a7850
Merge pull request #80861 from mborsz/addon
...
Update kube-addon-manager to v9.0.2
2019-08-02 04:53:58 -07:00
Beata Skiba
3e96208700
Fix registry for prometheus-to-sd
2019-08-02 13:36:08 +02:00
Kubernetes Prow Robot
666d58bccc
Merge pull request #80778 from oomichi/cleanup-resource-quota
...
Removed unsed return values of createResourceQuota
2019-08-02 02:35:53 -07:00
draveness
aeadd793cb
feat: update multiple files in e2e node with framework helpers
2019-08-02 14:39:05 +08:00
Kubernetes Prow Robot
9743d7f270
Merge pull request #80730 from jennybuckley/apply-raw
...
Use raw bytes instead of nested map in metav1.Fields
2019-08-01 20:11:52 -07:00
draveness
feb64858aa
feat: implement "post-filter" extension point for scheduling framework
2019-08-02 10:12:54 +08:00
ravisantoshgudimetla
2d8a021bb1
Don't supress the node update error while logging
2019-08-01 17:43:45 -07:00
Kubernetes Prow Robot
c981c65c90
Merge pull request #80231 from liggitt/admissionreview-v1
...
Promote admissionreview to v1
2019-08-01 17:20:05 -07:00
Kubernetes Prow Robot
e857ae090c
Merge pull request #80011 from Huang-Wei/eps-int-test
...
Even Pods Spread - 6. Integration Test
2019-08-01 17:19:51 -07:00
Antonio Ojea
48f1756b93
Add IPv6 support to preserve source pod IP test
...
Co-Authored-By: Benjamin Elder <bentheelder@google.com>
2019-08-02 00:16:05 +02:00
Kubernetes Prow Robot
3287bf7a3a
Merge pull request #80859 from wojtek-t/fix_selflinks_in_tests
...
Fix selflinks in tests
2019-08-01 15:01:30 -07:00
Jordan Liggitt
308c23cf89
Generated
2019-08-01 17:17:42 -04:00
Jordan Liggitt
dda9bcb082
AdmissionReview: Allow webhook admission to dispatch v1 or v1beta1
2019-08-01 17:17:42 -04:00
Kubernetes Prow Robot
bb707c8fe2
Merge pull request #80860 from AdamDang/patch-29
...
Typo fix: DaemonsSet->DaemonSet
2019-08-01 13:39:07 -07:00
Masaki Kimura
2306d2ff31
Refactor e2e tests
2019-08-01 20:09:47 +00:00
Jan Safranek
d79b7c754f
Add in-line filesystem volumes to MakeSecPod
2019-08-01 20:04:11 +00:00
Masaki Kimura
f1d2d9d670
Move disruptive tests to testsuites and add ones for block volume
2019-08-01 20:04:10 +00:00
Caleb Woodbine
b845fee7f7
Add ConfigMap patch e2e test with validation step
...
Test originally written by draveness for this PR:
https://github.com/kubernetes/kubernetes/pull/78924
This commit adds a validation step to the test.
2019-08-01 13:00:59 -07:00
Claudiu Belu
103498f538
test images: Adds version and bind-tools to agnhost
...
Adds bind-tools to the agnhost image. With this, dig will available
in the agnhost image, which can be used in DNS related tests.
Adds the --version flag to the agnhost binary, which will be useful for
debugging purposes (e.g.: when the image version does not match the binary
version).
Bumps version to 2.5.
2019-08-01 12:27:35 -07:00
Wei Huang
caab8b74ba
EvenPodsSpread: integration test
2019-08-01 10:42:27 -07:00
Kubernetes Prow Robot
9fdda3f610
Merge pull request #77534 from WanLinghao/psp_refactor
...
Refactor and clean up e2e framework utils, this patch handles test/e2e/framework/psp_util.go file
2019-08-01 09:46:15 -07:00
Kubernetes Prow Robot
e40cfd984d
Merge pull request #80378 from davidz627/fix/gceAM
...
Add a field 'RequiredAccessModes' to the driver info object that is propagated to pvc creation
2019-08-01 08:16:42 -07:00
Maciej Borsz
e442a427f5
Update kube-addon-manager to v9.0.2.
2019-08-01 16:15:51 +02:00
AdamDang
799fb862a5
Typo fix: DaemonsSet->DaemonSet
...
Typo fix: DaemonsSet->DaemonSet
2019-08-01 22:11:15 +08:00
wojtekt
bc00248e71
Fix selflinks in tests
2019-08-01 15:50:03 +02:00
Kubernetes Prow Robot
a1727472b2
Merge pull request #79195 from xychu/fix-shellchecks-d
...
Fix shellcheck failures in test/cmd/{d,l}.*.sh
2019-08-01 05:46:14 -07:00
Aldo Culquicondor
d935b1054c
Remove Configurator interface
...
The Configurator has been used as a holder for listers that tests need,
which is not its purpose. By making the tests obtain listers from more
appropriate places, such as informers, there is no need for various
accessors to the Configurator.
Also, FakeConfigurator is not being used anymore, so there's no need for
an interface instead of a plain pointer.
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2019-08-01 08:36:38 -04:00
WanLinghao
92b0310cc5
Refactor and clean up e2e framework utils, this patch handles test/e2e/framework/kubelet_stats.go file
2019-08-01 17:40:02 +08:00
Kubernetes Prow Robot
86ebaaa023
Merge pull request #80816 from msau42/update-hostpath-csi
...
fix snapshotter rbac rules
2019-08-01 00:52:41 -07:00
Kubernetes Prow Robot
e4dfed624a
Merge pull request #80427 from mlmhl/kubemark-e2e
...
fix kubemark e2e test script
2019-08-01 00:52:28 -07:00
Kubernetes Prow Robot
e694959038
Merge pull request #80708 from WanLinghao/util_pods_refacotr
...
Move pod related functions in file test/e2e/framework/util.go to its sub directory
2019-07-31 20:08:38 -07:00
Kubernetes Prow Robot
fb46ec8455
Merge pull request #80383 from liu-cong/normalizescore
...
Add NormalizeScore extension point for scheduler framework.
2019-07-31 20:08:24 -07:00
Kubernetes Prow Robot
a6dca16d99
Merge pull request #80144 from Huang-Wei/stateless-ApplyFeatureGates
...
scheduler: make ApplyFeatureGates() stateless
2019-07-31 20:08:14 -07:00
Mayank Gaikwad
bf1597f665
Fix failing service e2e due to execPod IP unavailability
2019-08-01 08:34:22 +05:30
Dave Chen
aba7e7597b
doc: fix couple of issues for the doc of agnhost
...
- The code for google analytics is not well-formatted, which cause its not
rendered well and properly not work as expected.
- webhook v1beta1 is out, the `TODO` in the guide could be removed.
Signed-off-by: Dave Chen <dave.chen@arm.com>
2019-08-01 10:54:57 +08:00
toyoda
c9ec5210e9
Use ExpectEqual in test/e2e_node/[a-d]
2019-08-01 09:27:52 +09:00
jennybuckley
addad99b6f
Use raw bytes in metav1.Fields instead of map
...
Also define custom proto unmarshaller that understands the old format
2019-07-31 16:05:54 -07:00
Kubernetes Prow Robot
39af3cccd6
Merge pull request #80769 from liggitt/admission-conformance
...
Convert e2e webhook tests to use v1 API
2019-07-31 13:48:28 -07:00
Kubernetes Prow Robot
a9a68c5e44
Merge pull request #80809 from bskiba/fix-exporter-image
...
Fix registry for PrometheusDummyExporter
2019-07-31 11:42:27 -07:00
Mike Dame
66b7d86a2f
Remove duplicate scheduler anti-affinity preemption e2e
2019-07-31 14:40:02 -04:00
Kubernetes Prow Robot
873e1fca75
Merge pull request #80795 from s-ito-ts/e2e_kubeadm
...
Use framework.ExpectEqual() under test/e2e_kubeadm
2019-07-31 08:55:01 -07:00
Kubernetes Prow Robot
ffc2947149
Merge pull request #80772 from seans3/move-scale-updater-staging
...
Refactor pkg/kubectl/{scale.go|rollingupdater.go} for move to staging
2019-07-31 06:56:35 -07:00
Beata Skiba
f629d26611
Fix registry for PrometheusDummyExporter
2019-07-31 15:38:36 +02:00
Kubernetes Prow Robot
14f4288ef4
Merge pull request #80739 from mlmhl/e2e
...
report error message when reset scheduler metrics in e2e test
2019-07-31 05:29:00 -07:00
Kubernetes Prow Robot
db2c55a86c
Merge pull request #80680 from SataQiu/clean-e2e-node
...
e2e_node: clean up non-recommended import
2019-07-31 05:28:21 -07:00
Kubernetes Prow Robot
e5cec2edc8
Merge pull request #80646 from danwinship/network-granular-checks
...
Un-[Slow] a bunch of networking tests
2019-07-31 03:04:21 -07:00
SataQiu
b5d5e7a9b4
update RSA keys to 2048 bits
2019-07-31 17:48:35 +08:00
s-ito-ts
1a33b58a9c
Use framework.ExpectEqual() under test/e2e_kubeadm
2019-07-31 06:56:50 +00:00
Sean Sullivan
c011df28a4
Refactor pkg/kubectl/{scale.go|rollingupdater.go} for move to staging
2019-07-30 23:15:15 -07:00
WanLinghao
e43572f02b
Move pod related functions file in test/e2e/framework/util.go to its sub direcotry
2019-07-31 13:53:41 +08:00
Kubernetes Prow Robot
17c533ac05
Merge pull request #80645 from verb/debug-api-test-owners
...
Assign OWNERS for pod integration tests to sig-node
2019-07-30 22:44:20 -07:00
Kenichi Omichi
23b7ec523d
Removed unsed return values of createResourceQuota
...
These values are not used at all, so let's remove them.
In addition, this adds framework.ExpectNoError() to the place
there was not error handling of createResourceQuota().
2019-07-31 01:53:44 +00:00
Jordan Liggitt
7f51beebb1
Fix hanging webhook error checking
2019-07-30 21:04:46 -04:00
Cong Liu
34373662d3
Add NormalizeScore extension point for scheduler framework.
2019-07-30 20:02:13 -04:00
Kubernetes Prow Robot
75d5189612
Merge pull request #80678 from seans3/move-polymorphic-staging
...
Move pkg/kubectl/polymorphichelpers staging
2019-07-30 16:11:11 -07:00
Jordan Liggitt
bfaea07b06
Convert e2e webhook tests to use v1 API
2019-07-30 18:13:11 -04:00
Adelina Tuvenie
f8a38220e3
Refactor kubectl retrieve logs test to use agnhost
...
Windows is having trouble running this test because the Redis
port for Windows is older than the one used by the test, as
described in the issue #80265 .
Changing the "Kubectl should retrieve and filter logs" test
to use the agnhost image to generate the logs.
Fixes: https://github.com/kubernetes/kubernetes/issues/80265
2019-07-30 21:57:43 +03:00
Wei Huang
eb3ed24853
scheduler: make ApplyFeatureGates() stateless
2019-07-30 11:41:57 -07:00
Sean Sullivan
9f3384f02f
Move pkg/kubectl/polymorphichelpers staging
2019-07-30 10:10:30 -07:00
Kubernetes Prow Robot
269183a7a8
Merge pull request #80666 from oomichi/cleanup-ResourceEventHandlerFuncs
...
Remove duplicated check in ObserveEventAfterAction
2019-07-30 10:09:43 -07:00
Kubernetes Prow Robot
e116b6f09d
Merge pull request #80615 from jeefy/e2e-test-fixes
...
Support passing `Args` for `newrc` function within `test/e2e`
2019-07-30 08:53:17 -07:00
Kubernetes Prow Robot
a1a8641eff
Merge pull request #80424 from chendave/doc
...
update guide to make the command works as expected
2019-07-30 05:33:31 -07:00
Kubernetes Prow Robot
d248bd099d
Merge pull request #80233 from alculquicondor/refactor/configurator
...
Remove NodeLister from Scheduler Configurator
2019-07-30 05:33:17 -07:00
Kubernetes Prow Robot
a23fc83fcd
Merge pull request #79751 from aojea/e2eDownwardAPI
...
Add e2e test for downward API with host network
2019-07-30 03:35:44 -07:00
Kubernetes Prow Robot
80d32e8ca2
Merge pull request #75000 from oomichi/cleanup-ingress
...
Fix error message of ListTargetHTTPSProxies
2019-07-30 03:34:50 -07:00
Kubernetes Prow Robot
614aab80f5
Merge pull request #78740 from oomichi/extend-check
...
Make the check strict to use ExpectNoError()
2019-07-30 01:59:04 -07:00
mlmhl
f2cf68b2a0
report error message when reset scheduler metrics in e2e test
2019-07-30 14:30:48 +08:00
Antonio Ojea
d20698a7a8
Debug values when test fail
2019-07-30 00:42:34 +02:00
Sean Sullivan
6c96a059dd
Move pkg/kubectl/cmd/util and subdirs to staging
2019-07-29 13:08:41 -07:00
skarthiksrinivas
73271c1970
Provision vSphere volume as per selectedNode
2019-07-28 22:03:02 -07:00
Kubernetes Prow Robot
c1d2ac43ee
Merge pull request #80259 from Nordix/kubeadm-e2e-networking-config
...
Kubeadm Networking Configuration E2E Tests
2019-07-28 18:21:53 -07:00
Jeffrey Sica
ea2f6c80d7
support args for newrc funcs
2019-07-28 11:45:43 -04:00
Dave Chen
5d268b9570
update guide to make the command works as expected
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2019-07-28 17:27:54 +08:00
SataQiu
641d330f89
e2e_node: clean up non-recommended import
2019-07-28 12:49:36 +08:00
Arvinderpal Wander
ca3bdfd793
kubeadm networking related tests.
...
* podSubnet check: if a podSubnet is specified in kubeadm-config
then the e2e test will check that pod-cidrs of individual nodes
fall within this range.
* serviceSubnet check: if a serviceSubnet is specified in
kubeadm-config then the e2e test will check that the kubernetes
service created in the default namespace got a service IP
from the configured range.
2019-07-27 07:30:26 -07:00
WanLinghao
d288bc0368
Refactor and clean up e2e framework utils, this patch handles test/e2e/framework/psp_util.go file
2019-07-27 16:24:08 +08:00
Kubernetes Prow Robot
0f32f9ef0e
Merge pull request #77100 from chardch/add-driver-version
...
Emit the nvidia driver version in gpu e2e test
2019-07-27 00:49:57 -07:00
Kubernetes Prow Robot
a63446d5c7
Merge pull request #80669 from oomichi/dig-predicates
...
Add message which shows how much CPU used
2019-07-26 23:23:57 -07:00
Michelle Au
b60a55dc4f
fix snapshotter rbac rules
...
Change-Id: Ic6ebec87fd6d230a8e6cc2998df4b20d7a04a02b
2019-07-26 21:55:37 -07:00
Kubernetes Prow Robot
5e7c707e3c
Merge pull request #80662 from BenTheElder/fix-bazel
...
fix building test/e2e_node/ with bazel 0.28.1
2019-07-26 21:33:56 -07:00
Kubernetes Prow Robot
7075853a70
Merge pull request #80254 from hex108/preempt_with_permit
...
Send a reject message to permit plugin when preempting a WaitingPod
2019-07-26 20:16:11 -07:00
Kenichi Omichi
c6c274e8c9
Add message which shows how much CPU used
...
"validates resource limits of pods that are allowed to run" test of
conformance tests are flake on some local environments.
The CPU workload pods don't seem work well and nodes have still CPU
capacity after running the workload pods. Then the conformance test
failed unexpectedly.
This adds message which shows how much CPU used by the workload pods
for investigating it easily.
2019-07-27 02:13:52 +00:00
Kenichi Omichi
18e3807cd7
Remove duplicated check in ObserveEventAfterAction
...
In ObserveEventAfterAction(), observedMatchingEvent is set if ok is
true. Now the ok is already checked with framework.ExpectEqual().
So this removes duplicated check for code cleanup.
2019-07-27 01:03:10 +00:00
Kubernetes Prow Robot
a300104f0a
Merge pull request #80578 from tsmetana/revert-pr78697
...
Revert "e2e: Skip multi-node PV test when pods scheduled on the same node
2019-07-26 16:52:10 -07:00
David Zhu
0313dc217e
Add a field 'RequiredAccessModes' to the driver info object that is propagated to pvc creation
2019-07-26 15:20:47 -07:00
Benjamin Elder
4542cb937f
fix building test/e2e_node/ with bazel 0.28.1
2019-07-26 14:32:40 -07:00
Kenichi Omichi
7ca57877b0
Fix error message of ListTargetHTTPSProxies
...
The error message of ListTargetHTTPSProxies operation contained
ListTargetHTTPProxies(HTTP instead of HTTPS) wrongly.
This fixes it.
2019-07-26 20:25:11 +00:00
Aaron Crickenberger
e0750bd8db
Promote taint-based eviction e2e tests to Conformance
2019-07-26 11:50:25 -07:00
Dan Winship
28526721b8
Un-[Slow] a bunch of networking tests
2019-07-26 12:25:03 -04:00
Lee Verberne
db5c348e43
Assign OWNERS for pod integration tests
2019-07-26 15:57:29 +00:00
Kubernetes Prow Robot
ee84c95bdb
Merge pull request #80634 from aojea/translatev4v6
...
Don´t translate to IPv6 empty addresses
2019-07-26 08:06:12 -07:00
Kubernetes Prow Robot
2c17bc39cb
Merge pull request #80617 from SataQiu/cleanup-e2e_kubeadm
...
e2e_kubeadm: clean up non-recommended import
2019-07-26 08:05:59 -07:00
Antonio Ojea
be8bedef7b
Don´t translate to IPv6 empty addresses
2019-07-26 12:43:26 +02:00
Kubernetes Prow Robot
fc4cbf743a
Merge pull request #80543 from davidz627/fix/makePV
...
Document and improve defaulting for MakePersistentVolume, dedupe some manual PV creations
2019-07-26 03:24:25 -07:00
Kubernetes Prow Robot
9e4b126e18
Merge pull request #80550 from spiffxp/promote-jobs-complete-after-restart
...
Promote job completion after failure e2e test to Conformance
2019-07-25 22:35:58 -07:00
SataQiu
fc2d6aea48
e2e_kubeadm: clean up non-recommended import
2019-07-26 12:02:26 +08:00
Kubernetes Prow Robot
8497639221
Merge pull request #80544 from spiffxp/promote-jobs-adopt-release-orphan-pods
...
Promote job pod orphaning/adotion e2e test to Conformance
2019-07-25 20:48:36 -07:00
Kubernetes Prow Robot
cc0137cdc6
Merge pull request #80398 from aojea/ipfamily
...
Add ip family autodetection to the testing framework
2019-07-25 18:12:00 -07:00
Kubernetes Prow Robot
2321d1e9e8
Merge pull request #80150 from ii/promote-statefulset-replica-scaling
...
Promote StatefulSet Replica scaling
2019-07-25 16:02:07 -07:00
Kubernetes Prow Robot
a3750501b0
Merge pull request #79983 from pohly/persistent-and-ephemeral-csi-volumes
...
persistent and ephemeral csi volumes
2019-07-25 16:01:54 -07:00
Kubernetes Prow Robot
ba989a1e2b
Merge pull request #77593 from tathagatachowdhury/tathagata-e2e-network-policy
...
Added code for e2e tests for network policy.
2019-07-25 16:01:27 -07:00
Antonio Ojea
8988965df1
Add ipv6 support to the e2e kubectl tests
2019-07-26 00:40:46 +02:00
Kubernetes Prow Robot
f243bd4787
Merge pull request #79955 from msau42/update-hostpath-csi
...
Update csi hostpath driver in e2e
2019-07-25 14:34:11 -07:00
Kubernetes Prow Robot
63a43402a3
Merge pull request #77532 from WanLinghao/perf_refactor
...
Refactor and clean up e2e framework utils, this patch handles test/e2e/framework/perf_util.go file
2019-07-25 13:02:45 -07:00
David Zhu
862ba3fc05
Document and improve defaulting for MakePersistentVolume, dedupe some manual PV creations
2019-07-25 10:57:29 -07:00
Patrick Ohly
4bc5d065c9
updated Bazel files
2019-07-25 16:45:46 +02:00
Patrick Ohly
608b0e7097
e2e storage: csi-mock tests for ephemeral inline volumes
...
The PodInfo tests can be extended to also cover the new
csi.storage.k8s.io/ephemeral flag. However, the presence of that flag
depends on whether inline volume support is enabled, so tests that run
with and without the feature have to detect that at runtime.
Other tests have a feature tag and thus can assume that they only run
when that feature is enabled. However, we need a newer csi-mock driver
before we can actually ask it to publish an ephemeral inline volume.
2019-07-25 16:45:46 +02:00
Patrick Ohly
555ff7ef10
CSI: allow drivers that can handle persistent and ephemeral volumes
...
The conceptual change is that the mode in which a volume gets handled
is derived from it's spec, not from the ability of the driver. In
practice, that is already how the code worked because it didn't
actually look at CSIDriver.Spec.Mode at all.
Therefore the code change itself is mostly just renaming "driver mode"
to "volume mode". In some places (CanDeviceMount, CanAttach) the
feature check that was used elsewhere seemed to be missing. Now their
code path for ephemeral volumes are also only entered if that feature
is enabled.
The sanity check whether a CSI driver is being used correctly still
needs to be implemented.
Related-to: https://github.com/kubernetes/kubernetes/issues/79624
2019-07-25 16:45:46 +02:00
Patrick Ohly
be9f9091ca
e2e: remove unused ShortName from external driver definition
...
The name was meant to be used as shorter replacement for potentially
long CSI driver names, but was never used in practice.
2019-07-25 16:45:46 +02:00
Mayank Gaikwad
a921970745
Promote resourceQuota e2e verifying 'object count quota' and 'quota scope' to Conformance
2019-07-25 20:01:35 +05:30
Antonio Ojea
bd15f3f9f7
Clarify IP family meaning
2019-07-25 16:14:57 +02:00
Kubernetes Prow Robot
79d128ae74
Merge pull request #80166 from chendave/webhook
...
cleanup: remove useless code
2019-07-25 04:43:52 -07:00
Tomas Smetana
4f3e31e978
Revert "e2e: Skip multi-node PV test when pods scheduled on the same node"
...
This reverts commit d4f43e8e19
.
2019-07-25 13:32:39 +02:00
Kubernetes Prow Robot
a0a0146419
Merge pull request #80382 from davidz627/fix/refactor
...
Dedupe all Make PVC API object functions into the one MakePersistentVolumeClaim to rule them all
2019-07-25 01:37:53 -07:00
Xiangyang Chu
23ce08a7d0
Fix review comments, will squash later.
2019-07-25 14:42:23 +08:00
Kubernetes Prow Robot
79e82a6345
Merge pull request #79417 from draveness/feature/remove-factory-in-scheduler
...
feat: use scheduler.New in daemonset integration test
2019-07-24 23:29:51 -07:00
Kubernetes Prow Robot
4ed5ea601d
Merge pull request #80417 from k-toyoda-pi/expectequal_e2e_node_density_test
...
use ExpectEqual in density_test.go
2019-07-24 21:20:04 -07:00
WanLinghao
4c394ddf3b
Refactor and clean up e2e framework utils, this patch handles test/e2e/framework/perf_util.go
2019-07-25 09:41:00 +08:00
Aaron Crickenberger
e0b9d77609
Promote job completion after failure e2e test to Conformance
2019-07-24 17:17:07 -07:00
Aaron Crickenberger
275b7b2fa0
Promote job pod orphaning/adotion e2e test to Conformance
2019-07-24 16:28:10 -07:00
Aldo Culquicondor
0ce1c95232
Store config args instead of config factory in test context
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2019-07-24 17:16:30 -04:00
Aldo Culquicondor
8e9af0185d
Remove NodeLister from Scheduler Configurator
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2019-07-24 17:16:30 -04:00
Mayank Gaikwad
1438a3c8fc
Add service reachability test util function and e2e fixes
2019-07-24 23:08:16 +05:30
Kubernetes Prow Robot
60c2d44129
Merge pull request #79552 from wongma7/windows-ebs
...
Add support for AWS EBS on windows
2019-07-23 17:14:28 -07:00
Kubernetes Prow Robot
0ba6ecca72
Merge pull request #77155 from draveness/feature/refactor-util-service
...
refactor: move service related functions in service pkg
2019-07-23 15:52:15 -07:00
Antonio Ojea
54f81c3bb8
add ipv6 support to the hostport/HostIP e2e test
2019-07-23 22:55:38 +02:00
Antonio Ojea
0655ad338f
e2e: add a function to map IPv4 in IPv6
2019-07-23 22:55:33 +02:00
David Zhu
e194cf24cc
Dedupe all Make PVC API object functions into the one MakePersistentVolumeClaim to rule them all
2019-07-23 12:59:00 -07:00
Matthew Wong
02530b9ffb
Enable windows ntfs e2e storage tests for aws driver
2019-07-23 19:28:14 +00:00
Antonio Ojea
daff471766
e2e: Autodetect the IP family of the cluster
2019-07-23 20:09:19 +02:00
Kubernetes Prow Robot
16b65b259d
Merge pull request #80393 from smarterclayton/pod_failure
...
Pod e2e for reading last line can flake if pod runs to completion
2019-07-23 10:01:46 -07:00
Kubernetes Prow Robot
3ea28073a4
Merge pull request #80375 from wongma7/framework-csidriver
...
Add CSIDriver creation factory to e2e framework
2019-07-23 01:28:54 -07:00
Kubernetes Prow Robot
7dc5d1f064
Merge pull request #80377 from davidz627/fix/testAMDefault
...
Change default PVC AccessModes to RWO in test framework
2019-07-22 23:52:55 -07:00
Jun Gong
df14adf474
Send a reject message to permit plugin when preempting a WaitingPod
2019-07-23 10:23:54 +08:00
mlmhl
8ca6de6d20
fix kubemark e2e test script
2019-07-23 10:07:14 +08:00
Kubernetes Prow Robot
f31d786927
Merge pull request #78477 from YoubingLi/filter
...
Fixes 78001 The implementation of Filter extension for the new framework
2019-07-22 16:48:53 -07:00
Matthew Wong
5060704a76
Add CSIDriver creation factory to e2e framework
2019-07-22 10:20:02 -07:00
Lee Verberne
477f17475d
Generated code for ephemeral containers integration tests
2019-07-22 14:21:36 +00:00
Lee Verberne
3995ca5a82
Add integration tests for ephemeral containers
2019-07-22 14:21:36 +00:00
Lee Verberne
013f049ce0
Add Ephemeral Containers to the Kubernetes core API
2019-07-22 11:19:22 +00:00
toyoda
799026a7ee
use ExpectEqual in density_test.go
2019-07-22 16:11:11 +09:00
Clayton Coleman
86426b9f60
Pod e2e for reading last line can flake if pod runs to completion
...
Pod completes so fast the current check fails:
```
Jul 18 07:09:24.858: INFO: Running '/usr/bin/kubectl --server=https://api.ci-op-ziq360tf-12fbf.origin-ci-int-aws.dev.rhcloud.com:6443 --kubeconfig=/tmp/admin.kubeconfig run run-log-test --generator=run-pod/v1 --image=docker.io/library/busybox:1.29 --restart=OnFailure --namespace=e2e-tests-kubectl-nxzxx -- sh -c sleep 10; seq 100 | while read i; do echo $i; sleep 0.01; done; echo EOF'
...
Jul 18 07:09:25.116: INFO: Waiting up to 5m0s for pod "run-log-test" in namespace "e2e-tests-kubectl-nxzxx" to be "running and ready"
Jul 18 07:09:25.135: INFO: Pod "run-log-test": Phase="Pending", Reason="", readiness=false. Elapsed: 19.221661ms
...
Jul 18 07:09:57.456: INFO: Pod "run-log-test": Phase="Pending", Reason="", readiness=false. Elapsed: 32.339426605s
Jul 18 07:09:59.477: INFO: Pod "run-log-test": Phase="Succeeded", Reason="", readiness=false. Elapsed: 34.360446811s
...
Jul 18 07:14:24.023: INFO: Pod "run-log-test": Phase="Succeeded", Reason="", readiness=false. Elapsed: 4m58.906706065s
Jul 18 07:14:26.023: INFO: Pod run-log-test failed to be running and ready.
```
The test should be reporting running and ready or succeeded.
2019-07-20 22:09:27 -04:00
Kubernetes Prow Robot
2e6eea5517
Merge pull request #80276 from tallclair/apparmor-upgrade
...
Don't expect pod to stay up during node upgrade
2019-07-20 05:56:54 -07:00
Kubernetes Prow Robot
febc95282a
Merge pull request #80331 from wongma7/framework-panic
...
Surface error returned by LoadConfig
2019-07-19 21:24:54 -07:00
Kubernetes Prow Robot
65b094676f
Merge pull request #78350 from globervinodhn/hostip_hostport_promote
...
Promote existing E2Es for hostport/HostIP resolution to conformance
2019-07-19 14:25:24 -07:00
Kubernetes Prow Robot
b1bea169f5
Merge pull request #78000 from mkimuram/issue/77999
...
Move volume_expand tests to storage e2e testsuites
2019-07-19 14:25:11 -07:00
David Zhu
37aed97d62
Change default PVC AccessModes to RWO in test framework
2019-07-19 13:37:06 -07:00
Kubernetes Prow Robot
de9fb9c61c
Merge pull request #75632 from globervinodhn/correct_testname_backofflimit
...
Correct test name for existing E2E related to backofflimit in jobs
2019-07-19 12:37:11 -07:00
Elana Hashman
e0b66c792b
Drop "pod_name" and "container_name" metric labels
...
These labels were deprecated in 1.14 (#69099 ) and should no longer be
used in metric queries.
2019-07-19 10:08:21 -07:00
Kubernetes Prow Robot
b22cbcab75
Merge pull request #80327 from bparees/params
...
fix parameterization of test error message
2019-07-19 03:27:12 -07:00
Kubernetes Prow Robot
15ade86935
Merge pull request #79921 from s-ito-ts/remove_unnecessary_check
...
e2e test: Remove unnecessary return value check
2019-07-19 00:19:11 -07:00
Kubernetes Prow Robot
c45b77541b
Merge pull request #80329 from BenTheElder/less-sudo
...
remove sudo from storage tests
2019-07-18 22:55:11 -07:00
Kubernetes Prow Robot
3aa4fba780
Merge pull request #80153 from ii/promote-api-metadata-return-value
...
Promote API metadata return value
2019-07-18 21:33:23 -07:00
Kubernetes Prow Robot
49f6510d9a
Merge pull request #80277 from draveness/feature/revert-cleanup-critical-pod
...
Revert "feat: cleanup pod critical pod annotations feature"
2019-07-18 19:31:37 -07:00
draveness
c38ae01f8e
feat: move service_util to separated package
2019-07-19 08:32:39 +08:00
Matthew Wong
84b53966fd
Surface error returned by LoadConfig
2019-07-18 16:54:28 -07:00
Ben Parees
0feca84ea5
fix parameterization of test error message
2019-07-18 18:28:59 -04:00
Michelle Au
f8a7050d42
Update csi hostpath driver in e2e
...
Change-Id: I159a9554126b967f76fbb7f76c4336833bf2a910
2019-07-18 13:31:00 -07:00
Jiatong Wang
e24a962821
Fix error log issue, remove OrDie suffix in methods naming
2019-07-17 23:18:21 -07:00
Jiatong Wang
0b37152f17
Refactor and Move node related methods to framework/node package
...
Signed-off-by: Jiatong Wang <wangjiatong@vmware.com>
2019-07-17 22:54:15 -07:00
draveness
d83526d253
Revert "feat: cleanup pod critical pod annotations feature"
...
This reverts commit b6d41ee5cc
.
2019-07-18 13:31:12 +08:00
Kubernetes Prow Robot
7b25fd4846
Merge pull request #80261 from kubernetes/revert-79954-promote-pod-autoscaling
...
Revert "Promote pod autoscaling"
2019-07-17 21:28:35 -07:00
Kubernetes Prow Robot
cabcd215c5
Merge pull request #80256 from ahg-g/ahg-score-test-flaky
...
Fixes TestScorePlugin flakiness.
2019-07-17 19:35:02 -07:00
Kubernetes Prow Robot
84937aeaf2
Merge pull request #75629 from globervinodhn/correct_testname_active_deadline
...
Correct test name for existing E2E related to active deadline in jobs
2019-07-17 18:16:12 -07:00
Xiangyang Chu
4ef227c682
Fix of review comments. Will squash later.
...
Including:
- Remove external usage of resource name vars
- Add commments about why we export field helpers
2019-07-18 09:12:28 +08:00
Tim Allclair
0a01ce1afd
Don't expect pod to stay up during node upgrade
2019-07-17 17:31:47 -07:00
Clayton Coleman
ffe52b4100
Revert "Promote pod autoscaling"
2019-07-17 13:21:23 -04:00
globervinodhn
c4e324196f
correct testname for existing E2E for testing backoff limit for jobs
2019-07-17 21:46:31 +05:30
globervinodhn
7c8b81a30b
correct testname for E2E related to active deadline in jobs
2019-07-17 21:42:52 +05:30
Abdullah Gharaibeh
83f79d846e
Fixes TestScorePlugin flakiness.
2019-07-17 10:03:55 -04:00
Kubernetes Prow Robot
29669a5e21
Merge pull request #74703 from johscheuer/refactor-csi-e2e-tests
...
Add patch method for container images
2019-07-17 02:40:34 -07:00
Xiangyang Chu
313044abd7
Fix shellcheck failures in test/cmd/l.*.sh
2019-07-17 17:07:22 +08:00
Xiangyang Chu
3a344c7168
Fix shellcheck failures in test/cmd/d.*.sh
2019-07-17 17:07:22 +08:00
Kubernetes Prow Robot
835552ecb6
Merge pull request #80191 from davidz627/fix/mountStage
...
Add passthrough for MountOptions for NodeStageVolume for CSI
2019-07-17 00:42:33 -07:00
Youbing Li
7f9dd949e0
The implementation of Filter extension for the new framework
2019-07-17 03:28:30 -04:00
Kubernetes Prow Robot
a3898dc41d
Merge pull request #79109 from ahg-g/scoring
...
Score plugin for the scheduling framework.
2019-07-16 21:22:34 -07:00
Kubernetes Prow Robot
bdb0e51f6e
Merge pull request #79954 from ii/promote-pod-autoscaling
...
Promote pod autoscaling
2019-07-16 17:36:59 -07:00
David Zhu
b6a38d7e2b
Add supportedMountOptions for GCE PD CSI Driver tests
2019-07-16 16:17:54 -07:00
Kubernetes Prow Robot
77a7366486
Merge pull request #79945 from misterikkit/vsphere-e2e
...
More consistent env var handling in vsphere e2e test
2019-07-16 15:24:18 -07:00
Caleb Woodbine
5db35e67ee
Fix placement of test in conformance.txt
2019-07-16 21:36:55 +00:00
Benjamin Elder
21aedffe0d
remove sudo from storage tests
2019-07-16 11:38:18 -07:00
Abdullah Gharaibeh
c54c4d1962
Score plugin for the scheduling framework.
2019-07-16 09:38:37 -04:00
Kubernetes Prow Robot
9ac3fadbad
Merge pull request #80126 from aojea/redis
...
Use docker official redis images
2019-07-15 21:51:24 -07:00
Kubernetes Prow Robot
d900746422
Merge pull request #80188 from davidz627/fix/migrateTest
...
Fix error shadowing error for createPDWithRetry so failures return actual error
2019-07-15 20:28:13 -07:00
Kubernetes Prow Robot
fe0404171c
Merge pull request #80142 from loqutus/master
...
remove github.com/kardianos/osext
2019-07-15 20:28:00 -07:00
Kubernetes Prow Robot
40edce1235
Merge pull request #79730 from jsafrane/add-block-tests
...
Consolidate block and filesystem tests
2019-07-15 20:27:23 -07:00
Kubernetes Prow Robot
fc5ef37db1
Merge pull request #79313 from chenchun/fix-flaky
...
Add Bind extension point to the scheduling framework
2019-07-15 18:31:38 -07:00
Kubernetes Prow Robot
d0dc9c84c0
Merge pull request #76328 from pontiyaraja/limitRangeCNF
...
removed flaky watch code and added NewIndexerInformerWatcher for LimitRange test case
2019-07-15 16:33:25 -07:00
David Zhu
0974db4634
Fix error shadowing error for createPDWithRetry so failures return actual error
2019-07-15 16:26:07 -07:00
Matthew Wong
d5e838f864
Create C:\tmp if DNE
2019-07-15 15:10:38 -07:00
Kubernetes Prow Robot
b8a10b4e12
Merge pull request #79753 from alejandrox1/framework-metrics
...
Refactored metrics-related functions from framework/metrics_util.go
2019-07-15 14:54:02 -07:00
Caleb Woodbine
91da6fd565
Promote API metadata return value
2019-07-15 21:40:14 +00:00
Ruslan Gustomiasov
b4ce777b79
remove github.com/kardianos/osext
2019-07-15 23:40:13 +02:00
Johannes M. Scheuermann
302e9d9f6b
Add patch method for container images
...
Return error if registry is missing otherwise the log message could be
overlooked by a developer
2019-07-15 19:05:09 +02:00
Chun Chen
e04f03d3cb
Fix flaky test TestBindPlugin
2019-07-15 23:36:06 +08:00
Chun Chen
3bb1a081ab
Revert "Revert "Add Bind extension point of the scheduling framework""
...
This reverts commit b8950dab50
.
2019-07-15 23:36:02 +08:00
Dave Chen
c540fd8b84
cleanup: remove useless code
...
`failOpenHook` is validate against `configmaps`, it has nothing to
do with pod attaching.
Signed-off-by: Dave Chen <dave.chen@arm.com>
2019-07-15 18:46:32 +08:00
Caleb Woodbine
1e8f5feffd
Fix imports, Formatting of text
2019-07-15 03:53:56 +00:00
Caleb Woodbine
a062367251
Promote StatefulSet Replica scaling
2019-07-15 02:02:39 +00:00
Antonio Ojea
048f7a212b
Adjust redis matching strings
2019-07-13 18:37:43 +02:00
Antonio Ojea
dc7694405a
Remove GBRedisSlave image
2019-07-13 17:18:12 +02:00
Antonio Ojea
33e1b1d8a5
Use docker official redis images
2019-07-13 17:01:25 +02:00
Kubernetes Prow Robot
ed935df86d
Merge pull request #80071 from msau42/update-pd-e2es
...
Update pd csi driver images to most recent stable
2019-07-13 00:07:04 -07:00
Kubernetes Prow Robot
c7f9dd0baf
Merge pull request #80086 from danwinship/no-endpoints-agnhost
...
Make service "no endpoints" test use agnhost connect
2019-07-12 20:19:29 -07:00
draveness
f49c9f5cb6
feat: use scheduler.New in daemonset integration test
2019-07-13 09:32:59 +08:00
Kubernetes Prow Robot
bc33fc8dfe
Merge pull request #74177 from dims/stop-testing-containerized-kubelet-in-e2e-node
...
Stop testing containerized kubelet in e2e-node
2019-07-12 10:57:05 -07:00
Michelle Au
46b720fe8c
Update pd csi driver images to most recent stable
...
Change-Id: If83847ca8ef2c65a90b1fc2065889dd7e74c9ab7
2019-07-12 09:30:08 -07:00
Kubernetes Prow Robot
b0d08f6a47
Merge pull request #78447 from yastij/scheduler-eventf
...
Migrate scheduler to use v1beta1 Event API
2019-07-12 06:31:06 -07:00
Dan Winship
9f5e1a140d
Make service "no endpoints" test use agnhost connect
2019-07-12 07:25:37 -04:00
Yassine TIJANI
08522f8e5a
move scheduler to use v1beta1.events
...
Signed-off-by: Yassine TIJANI <ytijani@vmware.com>
2019-07-12 11:39:01 +02:00
tathagatachowdhury
f2c38e4d17
Added code for e2e tests for network policy.
2019-07-12 07:29:15 +00:00
Kubernetes Prow Robot
de091d102f
Merge pull request #80053 from bclau/tests/fix-jessie-dnsutils
...
tests: Fixes jessie-dnsutils image build
2019-07-11 22:03:29 -07:00
Kubernetes Prow Robot
642a06e552
Merge pull request #79554 from draveness/feature/remove-critical-pod-annotation
...
feat: cleanup pod critical pod annotations feature
2019-07-11 22:03:04 -07:00
Kubernetes Prow Robot
824dfe9389
Merge pull request #79966 from tao12345666333/go-1.12.7
...
Update to go 1.12.7
2019-07-11 20:17:07 -07:00
Stephen Heywood
8e7d6540da
Update testname to match requested case
2019-07-12 02:00:22 +00:00
Kubernetes Prow Robot
9ef075f359
Merge pull request #80049 from davidz627/david/owners
...
Add davidz627 (David Zhu) to Approvers for OperationExecutor and GCE PD
2019-07-11 18:34:00 -07:00
Kubernetes Prow Robot
ebe60078e6
Merge pull request #80044 from BenTheElder/dashboard-feature
...
mark dashboard tests [Feature:Dashboard]
2019-07-11 18:33:47 -07:00
Stephen Heywood
a87ea6f83e
Fix case and update to follow RFC2119
2019-07-12 01:25:18 +00:00
Kubernetes Prow Robot
3dd8add5d2
Merge pull request #79549 from liggitt/admission-webhooks-v1
...
Promote admission webhook API to v1
2019-07-11 17:01:34 -07:00
Jintao Zhang
dfa46f8d47
Update to go 1.12.7
...
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
2019-07-12 07:16:25 +08:00
Kubernetes Prow Robot
1c99825adf
Merge pull request #79566 from sukeesh/auditlog
...
Cleanup: Audit log and error capitalization
2019-07-11 14:33:59 -07:00
Kubernetes Prow Robot
25dc90aa8a
Merge pull request #79423 from danwinship/agnhost-connect
...
Add new agnhost subcommand for a networking test
2019-07-11 14:33:46 -07:00
Kubernetes Prow Robot
91b26341f4
Merge pull request #78742 from smarterclayton/client_gc
...
The garbage collector and quota counter should use the metadata client and protobuf to access resources
2019-07-11 14:33:33 -07:00
David Zhu
2820c1d8c8
Add davidz627 (David Zhu) to Approvers for OperationExecutor and GCE PD
2019-07-11 13:14:31 -07:00
Masaki Kimura
ea4f4c8432
Move volume_expand tests to storage e2e testsuites
2019-07-11 18:49:49 +00:00
Kubernetes Prow Robot
e75bf58aea
Merge pull request #80001 from aramase/dualstack-e2e-cleanup
...
Cleanup for dualstack e2e tests
2019-07-11 11:25:08 -07:00
Benjamin Elder
1e831eff55
mark dashboard tests [Feature:Dashboard]
2019-07-11 10:07:33 -07:00
Clayton Coleman
d631f9b7e9
Use metadata informers instead of dynamic informers in controller manager
...
All controllers in controller-manager that deal with objects generically
work with those objects without needing the full object. Update the GC
and quota controller to use PartialObjectMetadata input objects which
is faster and more efficient.
2019-07-11 12:18:52 -04:00
Clayton Coleman
98d87a4f03
Rename metadata.NewConfigOrDie to be consistent
...
Updated name to match dynamic client
2019-07-11 12:18:51 -04:00
Clayton Coleman
637cc83341
Switch the garbage collector to use metadata client and protobuf
2019-07-11 12:18:51 -04:00
Maciej Borsz
bf5424bbbf
Add support for HA kubemark
2019-07-11 11:56:36 +02:00
Maciej Borsz
bb47330bd7
Remove support for KUBEMARK_MASTER_COMPONENTS_QPS_LIMITS
2019-07-11 08:28:01 +02:00
Kubernetes Prow Robot
4c68fa8243
Merge pull request #79239 from apelisse/400-instead-of-500
...
Return 400 on invalid patch requests
2019-07-10 21:39:20 -07:00
Devan Carpenter
4b8a9d4467
Update testname and fix typo
2019-07-10 21:01:37 -07:00
Devan Carpenter
4d1d096945
Update Conformance test Metadata
2019-07-10 20:59:19 -07:00
Kubernetes Prow Robot
8341344b75
Merge pull request #79862 from draveness/feature/add-expect-not-equal
...
feat: use framework.ExpectNotEqual in e2e test
2019-07-10 18:49:31 -07:00
draveness
b6d41ee5cc
feat: cleanup pod critical pod annotations feature
2019-07-11 08:54:19 +08:00
Antoine Pelisse
7e96438748
Return 400 on invalid patch requests
2019-07-10 15:22:10 -07:00
Anish Ramasekar
6c5cca323a
clean up and fix nits
2019-07-10 15:14:39 -07:00
Claudiu Belu
9ae1f41ca9
tests: Fixes jessie-dnsutils image build
...
Currently, the jessie-dnsutils image cannot be built for arm64, ppc64le, s390x,
as its mirrors has been moved to the archive.
This PR will replace its regular mirrors with the archive ones.
2019-07-10 14:38:36 -07:00
Clayton Coleman
50fd47258d
Switch the namespace controller to use the metadata client
...
The metadata client uses protobuf and returns only a subset of object
data (the metadata) which allows operations that act only on objects
generically to work much faster. Use the metadata client in the
namespace controller to reduce the amount of work the namespace controller
has to do in large namespaces.
2019-07-10 14:31:18 -04:00
Kubernetes Prow Robot
79aab0b90d
Merge pull request #78246 from mborsz/kubemark
...
Migrate kubemark to e2e-up/e2e-down scripts
2019-07-10 07:42:27 -07:00
draveness
d3158b2c71
feat: use framework.ExpectNotEqual in e2e test
2019-07-10 21:36:26 +08:00
Jan Safranek
a9e838f2e9
Remove redundant provisioning tests
2019-07-10 15:27:00 +02:00
Jan Safranek
b5a800e765
Remove redundant tests
...
We check that block / filesystem volume is writable in volumes.go
2019-07-10 15:17:09 +02:00
Jan Safranek
5fc9e23b50
Add block volume support to InjectContent / TestVolumeClient
2019-07-10 15:17:09 +02:00
Jan Safranek
a2c9052716
Refactor TestVolumeClient and InjectContent into common function
...
These two functions do almost the same thing - one writes data to volumes
in a pod, the second reads them. Let them share the code.
2019-07-10 15:17:09 +02:00
Maciej Borsz
4646594f29
Migrate kubemark to e2e-up/e2e/down scripts.
2019-07-10 11:23:55 +02:00
Kubernetes Prow Robot
3c09a870a4
Merge pull request #79692 from chendave/issue_79689
...
Address couple of issue on image build for ARM arch
2019-07-09 23:02:38 -07:00
Kubernetes Prow Robot
2c912e3516
Merge pull request #79685 from oomichi/use-ExpectEqual-apimachinery
...
Use ExpectEqual under e2e/apimachinery
2019-07-09 20:20:38 -07:00
Kubernetes Prow Robot
98a1c25203
Merge pull request #78801 from aramase/dualstacke2e
...
Add e2e tests for ipv6 dual stack feature
2019-07-09 20:20:25 -07:00
Caleb Woodbine
180ce027e8
Promote pod autoscaling
2019-07-10 01:15:41 +00:00
toyoda
6ce0d547e5
add failedJobsHistoryLimit to successfulJobsHistoryLimit test
2019-07-10 09:17:38 +09:00
toyoda
b4ccb62c39
add e2e test for cronjob failedJobsHistoryLimit
2019-07-10 09:10:58 +09:00
Kubernetes Prow Robot
2d1ee3db83
Merge pull request #79864 from draveness/feature/use-framework-expect-equal-instead
...
feat: use framework.ExpectEqual instead of should
2019-07-09 13:47:03 -07:00
Jonathan Basseri
ceb31f747b
More consistent env var handling in vsphere e2e test
...
This adds a useful error message when VSPHERE_WORKING_DIR is not set,
and replaces some explicit checks with the GetAndExpectStringEnvVar
helper.
2019-07-09 12:44:20 -07:00
Pandiyaraja Ramamoorthy
ecf3bb0c03
removed flaky watch code and added NewIndexerInformerWatcher
2019-07-10 00:02:04 +05:30
Kubernetes Prow Robot
b130ff4502
Merge pull request #79724 from deads2k/update-raw
...
make kubectl --raw consistent for create, update, get, delete
2019-07-09 08:26:17 -07:00
David Eads
09c55bd117
make kubectl --raw consistent for create, update, get, delete
2019-07-09 09:03:56 -04:00
Kubernetes Prow Robot
4b5dc0a06d
Merge pull request #78697 from tsmetana/fix-multinode-e2e
...
e2e: Skip multi-node PV test when pods scheduled on the same node
2019-07-09 03:10:16 -07:00
Kubernetes Prow Robot
a61006bbc4
Merge pull request #75593 from pohly/e2e-no-global-flags
...
e2e: avoid mandatory command line flags
2019-07-09 03:10:03 -07:00
s-ito-ts
0f8b7c92f3
Remove unnecessary return value check
2019-07-09 05:58:43 +00:00
Kubernetes Prow Robot
d4476f7f9e
Merge pull request #79869 from odinuge/hugetlb-feature-flag
...
Remove use of HugePages feature flag in test
2019-07-08 20:30:39 -07:00
Kubernetes Prow Robot
b6adfd09dd
Merge pull request #79860 from SataQiu/fix-test-20190707
...
e2e: use framework.ExpectEqual() for test/e2e/lifecycle
2019-07-08 20:30:26 -07:00
Kubernetes Prow Robot
d228123ad6
Merge pull request #79840 from sttts/sttts-chain-prepare-run
...
apiserver: chain delegated PrepareRun
2019-07-08 20:30:14 -07:00
Kubernetes Prow Robot
6d69cd1895
Merge pull request #75895 from msau42/enable-multipod-e2es
...
enable multipod e2es for intree volumes
2019-07-08 20:30:01 -07:00
Kubernetes Prow Robot
2cfd4a5eb9
Merge pull request #79168 from tnozicka/fix-sigapps-owners
...
Update Sig-Apps OWNERS to aliases in places that were missed in #76669
2019-07-08 17:30:01 -07:00
alejandrox1
348fd0805e
Refactored metrics-related functions from framework/metrics_util.go
...
This a refactoring of framework/metrics_utils.go into framework/metrics.
Signed-off-by: alejandrox1 <alarcj137@gmail.com>
2019-07-08 19:35:10 -04:00
Kubernetes Prow Robot
dd9ae9a1d2
Merge pull request #76227 from sawlanipradeep/window-plugin-fix
...
Replace syscall.Execve with exec.Command.
2019-07-08 13:00:36 -07:00
Antonio Ojea
9c75f4a40a
Add e2e test for downward API with host network
...
Co-authored-by: BenTheElder <bentheelder@google.com>
2019-07-08 21:50:16 +02:00
Pradeep Sawlani
13be373ce7
For windows, use exec.Command instead of syscall.Execve.
...
sycall.Execve is not supported on windows.
2019-07-08 10:09:51 -07:00
Odin Ugedal
1c79157065
Remove use of HugePages feature flag in test
...
The flag was removed in 1.14, and huge pages are now enabled by
default.
2019-07-08 17:05:05 +02:00
Jordan Liggitt
e24377f190
Install/register v1 admission registration types
2019-07-08 09:49:29 -04:00
Kubernetes Prow Robot
d771dfac3d
Merge pull request #79765 from clarklee92/use-ExpectEqual-autoscaling
...
use ExpectEqual under e2e/autoscaling
2019-07-08 05:06:34 -07:00
Dr. Stefan Schimanski
f82bc712de
aggregator: wire OpenAPI correctly into PrepareRun flow
2019-07-08 13:59:00 +02:00
Sukeesh
346fdbccf0
Cleanup: Audit log and error capitalization
2019-07-08 20:20:12 +09:00
ClarkLee
5030064d2e
use ExpectEqual under e2e/autoscaling
2019-07-08 18:57:18 +08:00
toyoda
baddd2fd3b
Replace KubeDescribe with ginkgo.Describe in e2e/kubectl
2019-07-08 18:03:40 +09:00
Anish Ramasekar
bc13a39ccf
use framework.ExpectEqual for tests
2019-07-08 00:24:28 -07:00
draveness
0ec95afb76
feat: use framework.ExpectEqual instead of should
2019-07-07 21:07:48 +08:00
SataQiu
02585c8a08
e2e: use framework.ExpectEqual() for test/e2e/lifecycle
2019-07-07 17:09:11 +08:00
Kubernetes Prow Robot
80bfec44a0
Merge pull request #79756 from draveness/feature/use-framework-expect-equal-in-e2e-test
...
feat: use framework.ExpectEqual in upgrades and windows e2e test
2019-07-05 20:34:34 -07:00
Kubernetes Prow Robot
448b15562e
Merge pull request #79842 from zh1314/expectequal_e2e_scalability
...
Use ExpectEqual in e2e/scalability
2019-07-05 19:01:13 -07:00
Kubernetes Prow Robot
a44cb287dd
Merge pull request #79769 from clarklee92/use-ExpectEqual-common
...
Use ExpectEqual in e2e/common
2019-07-05 19:01:00 -07:00
Kubernetes Prow Robot
2054590481
Merge pull request #79695 from tanshanshan/e2e-apps
...
Use ExpectEqual under apps
2019-07-05 19:00:48 -07:00
Kubernetes Prow Robot
0304cda3e3
Merge pull request #79821 from frankjiao/ExpectEqual
...
Use framework.ExpectEqual() for e2e/cloud tests
2019-07-05 16:48:58 -07:00
Kubernetes Prow Robot
f1d0793621
Merge pull request #79762 from clarklee92/use-ExpectEqual-auth
...
Use ExpectEqual in e2e/auth
2019-07-05 16:48:46 -07:00
Kubernetes Prow Robot
4921e84841
Merge pull request #79699 from k-toyoda-pi/expectequal_e2e_kubectl
...
Use ExpectEqual in e2e/kubectl
2019-07-05 16:48:34 -07:00
Kubernetes Prow Robot
9e2fc16115
Merge pull request #79792 from SataQiu/fix-test-2019070402
...
e2e: use framework.ExpectEqual() for test/e2e/node
2019-07-05 14:15:00 -07:00
Kubernetes Prow Robot
b8fa7c4bb7
Merge pull request #79791 from SataQiu/fix-test-20190704
...
e2e: use framework.ExpectEqual() for test/e2e/network
2019-07-05 14:14:48 -07:00
Kubernetes Prow Robot
d97f08f0b3
Merge pull request #79781 from s-ito-ts/79686_scheduling
...
Use framework.ExpectEqual() under e2e/scheduling
2019-07-05 14:14:36 -07:00
Kubernetes Prow Robot
1addcf4715
Merge pull request #79755 from draveness/feature/use-framework-expect-equal-in-storage
...
feat: use framework.ExpectEqual in storage e2e test
2019-07-05 12:02:49 -07:00
Kubernetes Prow Robot
5865a7e3cf
Merge pull request #79754 from draveness/feature/use-framework-expect-equal-instead
...
feat: use framework.ExpectEqual in servicecatalog e2e test
2019-07-05 12:02:37 -07:00
zhanghui31
afee64477a
Use ExpectEqual in e2e/scalability
2019-07-05 22:02:08 +08:00
Kubernetes Prow Robot
915be28b61
Merge pull request #79733 from yastij/consolidate-etcd-version
...
consolidate etcd version per file
2019-07-05 05:06:36 -07:00
Frank Jiao
049b652c35
Use framework.ExpectEqual() for e2e/cloud tests
2019-07-05 14:15:54 +08:00
SataQiu
5234f2e668
e2e: use framework.ExpectEqual() for test/e2e/network
2019-07-05 11:05:09 +08:00
Tomas Smetana
d4f43e8e19
e2e: Skip multi-node PV test when pods scheduled on the same node
2019-07-04 17:15:43 +02:00
Patrick Ohly
1822895ce2
update Bazel
2019-07-04 17:15:14 +02:00
Patrick Ohly
b86a007057
e2e: avoid mandatory command line flags
...
Tests should never directly add to the global command line, because
some users of the tests might not want them there. For example,
options might only get set directly from a config file.
To achieve that, e2e/framework/config, e2e/framework/viperconfig, and
e2e/framework/test_context.go avoid using the global flag set and
instead expect to be told by the caller which flag set to use. Tests
that called flag directly either get updated or obsolete flags get
removed.
The exception is framework.HandleFlags, which as before directly
implements global command line handling.
This is a breaking change for test suites which do not use that
function (and only those): they now need to ensure that they copy
individual flags from tests. Because the RegisterCommonFlags prototype
has changed, test suite authors will notice due to the resulting
compilation errors.
2019-07-04 17:15:14 +02:00
draveness
4c2e77a53e
feat: use framework.ExpectEqual in storage e2e test
2019-07-04 22:24:29 +08:00
Patrick Ohly
3630cfca2b
e2e: fix full path support when reading viper config file
...
Something changed in Viper such that it now returns the
ConfigFileNotFound error when the config file is not found, for
example when it is specified including the .yaml or .json suffix.
When the code was originally was written, it returned "Unsupported
Config Type".
Found when adding a unit test for this code (separate commit because
it depends on the flag changes).
2019-07-04 15:56:00 +02:00
SataQiu
03e4527a87
e2e: use framework.ExpectEqual() for test/e2e/node
2019-07-04 20:21:04 +08:00
Krzysztof Siedlecki
1e7a4d1cd5
Closing stopCh when pod_store is not created
...
If there is an error and pod store is not created, reflector should be stopped.
2019-07-04 13:41:14 +02:00
s-ito-ts
e7752f72e4
Use framework.ExpectEqual() under e2e/scheduling
2019-07-04 08:51:24 +00:00
ClarkLee
867c88471f
Use ExpectEqual in e2e/common
2019-07-04 13:50:19 +08:00
ClarkLee
b94b1672f9
Use ExpectEqual in e2e/auth
2019-07-04 11:41:20 +08:00
draveness
ff09cc5405
feat: use framework.ExpectEqual in upgrades and windows e2e test
2019-07-04 09:38:38 +08:00
draveness
36167cffd6
feat: use framework.ExpectEqual in servicecatalog e2e test
2019-07-04 09:07:27 +08:00
tanshanshan
2c130b236c
Use ExpectEqual under apps
2019-07-04 08:43:42 +08:00
Kubernetes Prow Robot
3c675ade25
Merge pull request #79731 from rajansandeep/ptrtest
...
Edit google DNS hostname
2019-07-03 13:53:05 -07:00
Kubernetes Prow Robot
a7cde2e70f
Merge pull request #78540 from immutableT/kms-plugin-healthz-check
...
Add healthz check for KMS Providers on kube-apiserver.
2019-07-03 13:52:13 -07:00
Kubernetes Prow Robot
8765ed365f
Merge pull request #79636 from liggitt/crd-preserve-unknown-openapi
...
Fix publishing x-kubernetes-preserve-unknown-fields working with kubectl
2019-07-03 12:29:52 -07:00
Kubernetes Prow Robot
024c7bd84f
Merge pull request #77819 from smarterclayton/client
...
Add a metadata client to client-go that can read PartialObjectMetadata
2019-07-03 10:34:32 -07:00
immutablet
05fdbb201f
Allow kube-apiserver to test the status of kms-plugin.
2019-07-03 10:03:32 -07:00
Yassine TIJANI
1efc45b790
consolidate etcd version
...
Signed-off-by: Yassine TIJANI <ytijani@vmware.com>
2019-07-03 18:27:37 +02:00
Jordan Liggitt
990c656adb
Test kubectl with x-kubernetes-preserve-unknown-fields
2019-07-03 12:18:05 -04:00
Kubernetes Prow Robot
3c38115a32
Merge pull request #79045 from odinuge/file-perms
...
Fix file permissions for non executable files
2019-07-03 09:12:45 -07:00
Sandeep Rajan
9e683fab30
edit google dns hostname
2019-07-03 10:40:16 -04:00
Dave Chen
c60181317e
Address couple of issue on image build for ARM arch
...
- `GOARM` should not be hardcoded
- `GOARM` needn't be set when the `ARCH` is not `arm`
- make it also possible to build binary within `agnhost` dir as well
- fix image build failure when the user is root
Signed-off-by: Dave Chen <dave.chen@arm.com>
2019-07-03 16:56:23 +08:00
Anish Ramasekar
789920955a
add e2e for dualstack
...
add test for network connectivity check
update tests
complete tests
Review feedback
run update-bazel
feature flag connectivity test
remove dead code
add todo
2019-07-02 22:47:03 -07:00
toyoda
5a5886035b
Use ExpectEqual in e2e/kubectl
2019-07-03 13:55:19 +09:00
Kenichi Omichi
66b1dc230e
Use ExpectEqual under e2e/apimachinery
...
Since https://github.com/kubernetes/kubernetes/pull/78922 ExpectEqual()
is implemented as test framework. This makes e2e tests use the function
under test/e2e/apimachinery.
2019-07-03 02:49:35 +00:00
Kubernetes Prow Robot
a33840e023
Merge pull request #73977 from khenidak/ipv6dualstack
...
ipv6 dual stack (Phase 1 - ALPHA)
2019-07-02 18:07:12 -07:00
Kubernetes Prow Robot
57416ef5ec
Merge pull request #78177 from MaysaMacedo/add-more-e2e-np-tests
...
Increase Network Policy tests coverage
2019-07-02 14:27:12 -07:00
Clayton Coleman
21f5e643d9
Add a metadata client to client-go that can read PartialObjectMetadata
...
This client exposes operations on generic metadata (get, list, watch, delete)
and allows patch operations. The client always uses protobuf and requests
the server transform the response into the appropriate object. Using this
client simplifies the work of generic controllers by allowing them to treat
all objects the same, and also improves performance both in the amount of
data sent as well as allowing protobuf on CRD resources.
2019-07-02 16:42:41 -04:00
Khaled Henidak(Kal)
584d7103e2
node ipam controller for ipv6 dualstack
2019-07-02 15:39:06 +00:00
Jan Safranek
2a08bd64af
Add public functions to define CSI external tests
...
3rd party test suites that want to include external CSI tests may not use
"flags" for cmdline parsing.
2019-07-02 12:01:55 +02:00
Kubernetes Prow Robot
b959e9a25a
Merge pull request #79322 from s-ito-ts/e2e_ephemeral_storage
...
e2e test: change from milli bytes to bytes in ephemeral-storage resource limits
2019-07-02 00:57:08 -07:00
Kubernetes Prow Robot
6d8dd21111
Merge pull request #79594 from wojtek-t/cleanup_etcd_dir_2
...
Cleanup etcd directory - part 2
2019-07-01 21:33:34 -07:00
Kubernetes Prow Robot
6f73ab2219
Merge pull request #78908 from dcbw/cni-0.7.1-snapshot
...
vendor: bump CNI to v0.7.1 snapshot
2019-07-01 21:33:21 -07:00
Kubernetes Prow Robot
cdddcf9b48
Merge pull request #71170 from atlassian/rand-cleanup2
...
Cleanup math/rand package usage
2019-07-01 21:33:08 -07:00
Kubernetes Prow Robot
f7f1b2d5f7
Merge pull request #72168 from brahmaroutu/conformance_hdr
...
Allow version field in the title to be changeable
2019-07-01 19:09:08 -07:00
Kubernetes Prow Robot
da0f51ffed
Merge pull request #78820 from haosdent/fix_typos
...
Fix typos.
2019-07-01 15:09:20 -07:00
Kubernetes Prow Robot
d3be556e1c
Merge pull request #77150 from chardch/gpu-test-pod-number
...
Only create one pod per node with gpus in E2E test
2019-07-01 15:09:07 -07:00
Kubernetes Prow Robot
b4e3bd381b
Merge pull request #79524 from bertinatto/add_missing_informer
...
Add missing CSINodeInformer when creating ConfigFactoryArgs
2019-07-01 12:53:33 -07:00
Kubernetes Prow Robot
ce2836831f
Merge pull request #76315 from globervinodhn/new_e2e_removejobpods
...
New E2E proposal: Validate that all the pods are removed when the job is deleted
2019-07-01 12:53:21 -07:00
Kubernetes Prow Robot
f2c4237605
Merge pull request #74847 from draveness/feature/filter-active-pods
...
refactor: use controller.FilterActivePods in test/e2e/framework/util.go
2019-07-01 11:07:20 -07:00
Dan Williams
8739ade3fa
kubelet: add CNI cache dir option and plumb through to CNI and kubenet
...
libcni 0.7.0 caches ADD operation results and allows the runtime to
retrieve these from the cache. In case the user wants a different
cache directory than the defaul, plumb that through like we do
for --cni-bin-dir and --cni-conf-dir.
2019-07-01 12:14:07 -05:00
Kubernetes Prow Robot
8756e2c5e4
Merge pull request #79588 from wojtek-t/deprecate_scalability_tests
...
Deprecate scalability tests (we use ClusterLoader already)
2019-07-01 07:24:00 -07:00
Kubernetes Prow Robot
c52df2a637
Merge pull request #79218 from neolit123/kubeadm-1.16-owners
...
kubeadm: update OWNERS for 1.16
2019-07-01 07:23:47 -07:00
Kubernetes Prow Robot
3f221551b6
Merge pull request #78728 from mborsz/firewall
...
Modify firewall rules names to make them shorter.
2019-07-01 07:23:34 -07:00
wojtekt
a756e20cb5
Update autogenerated files
2019-07-01 15:02:49 +02:00
wojtekt
7497260e54
Move etcd/testing to etcd3/testing
2019-07-01 15:02:49 +02:00
draveness
83e0d99614
refactor: use controller.FilterActivePods in framework e2e test
2019-07-01 18:12:02 +08:00
wojtekt
dcd064a482
Deprecate scalability tests
2019-07-01 09:15:15 +02:00
Alena Varkockova
853a47c4ed
Fix TestUnreservePlugin
2019-06-30 08:29:19 +02:00
Dan Winship
66b9611945
agnhost: add connect subcommand
...
This can be used by networking tests that need to distinguish
different connect errors.
2019-06-29 08:55:59 -04:00
Kubernetes Prow Robot
ad79598a36
Merge pull request #79172 from bclau/tests/windows-image-pulling-fix
...
tests: Fixes Windows image pulling tests
2019-06-28 19:21:25 -07:00
Kubernetes Prow Robot
39c20fdcf1
Merge pull request #79530 from liggitt/remove-print-internal
...
Remove internal object printing from kubectl
2019-06-28 16:09:42 -07:00
Kubernetes Prow Robot
8e55b5dd40
Merge pull request #79392 from Bowenislandsong/master
...
adding pre-condition for an e2e scheduler test
2019-06-28 12:43:44 -07:00
Kubernetes Prow Robot
d1d111496a
Merge pull request #79238 from bclau/tests/reduce-to-agnhost-part-3
...
tests: Replaces images used with agnhost (part 3)
2019-06-28 12:43:19 -07:00
Kubernetes Prow Robot
7417360054
Merge pull request #79142 from bclau/test-images/centralize-image-to-agnhost-part-3
...
Centralizes images into agnhost (part 3)
2019-06-28 12:42:54 -07:00
Jordan Liggitt
cf3e75de70
Remove internal object printing from kubectl
2019-06-28 10:54:50 -07:00
Kubernetes Prow Robot
ce9d4a947e
Merge pull request #79500 from BenTheElder/node-run-tests
...
fix shellcheck failures in test/e2e_node/conformance/run_test.sh
2019-06-28 08:05:51 -07:00
Bowen Song
d39453c35e
Adding an if statement to check the number of worker nodes available before running a test that needs 2 nodes.
...
Checking avoids error assertion in function 'CreateHostPortPods' to fail.
2019-06-28 09:25:39 -04:00
Fabio Bertinatto
dfc78caa21
Add missing CSINodeInformer when creating ConfigFactoryArgs
2019-06-28 13:32:03 +02:00
Andrea Nodari
b31f5c7233
Fix golint failures related to docs
2019-06-28 12:31:06 +01:00
Andrea Nodari
35f6ad187b
Fix golint failures for test/e2e/scalability
2019-06-28 12:31:06 +01:00
Benjamin Elder
30bf22c10e
fix shellcheck failures in test/e2e_node/conformance/run_test.sh
2019-06-27 21:12:08 -07:00
Mayank Gaikwad
49cc8ef60f
Replace buzybox and pause pod image with agnhost
2019-06-28 07:44:31 +05:30
Kubernetes Prow Robot
8f41397210
Merge pull request #79490 from seans3/remove-kubectl-dep
...
Removes test-cmd inappropriate dependency on kubectl
2019-06-27 17:44:11 -07:00
Kubernetes Prow Robot
f3a03f71af
Merge pull request #79473 from wojtek-t/coordination_v1
...
Use coordination v1 API
2019-06-27 15:30:14 -07:00
Kubernetes Prow Robot
d009936151
Merge pull request #79405 from spiffxp/fix-walker-to-walk-all-describes
...
Conformance walker should handle nested/adjacent Describes
2019-06-27 15:29:35 -07:00
Richard Chen
9368b2ce87
Only create one pod per gpu node in E2E test
2019-06-27 13:40:35 -07:00
Sean Sullivan
e851af0aab
Removes test-cmd inappropriate dependency on kubectl
2019-06-27 10:49:42 -07:00
Kubernetes Prow Robot
6fe4119998
Merge pull request #79467 from jsafrane/fix-mock-selinux
...
Run sidecars for csi-mock as privileged
2019-06-27 09:39:21 -07:00
wojtekt
e8ca50c43c
Use coordination v1 API
2019-06-27 18:08:40 +02:00
Kubernetes Prow Robot
8245461a8d
Merge pull request #79008 from jpbetz/fix-addlabel-mutation-example
...
Fix mutating webhook test image 'addlabel' to not clobber labels
2019-06-27 07:11:21 -07:00
Jan Safranek
d6077c717d
Run sidecars for csi-mock as privileged
...
The driver and provisioner runs as privileged, so make all the other
sidecar containers privileged too.
This helps on system with SELinux, non-privileged container can't access
socket of a privileged one.
2019-06-27 13:39:14 +02:00
Claudiu Belu
54be382552
tests: Clarifies agnhost's entrypoint-tester's usage
...
Some of the entrypoint-tester related tests overrides agnhost's default entrypoint
with agnhost-2, and this function's args will only contain the subcommand's
args (./agnhost entrypoint-tester these args), but we need to print *all* the
args, which is why os.Args should be printed instead.
2019-06-26 22:14:28 -07:00
Claudiu Belu
af5c0c9e09
Centralizes images into agnhost (part 3)
...
Centralizes the following images into agnhost:
- audit-proxy
- crd-conversion-webhook
- entrypoint-tester
- inclusterclient
- iperf
- porter
- serve-hostname
2019-06-26 22:14:28 -07:00
Kubernetes Prow Robot
6b5cb97fba
Merge pull request #77397 from jsafrane/scheduler-benchmark-volumes
...
Add benchmark for scheduling of pods with PVs
2019-06-26 20:03:20 -07:00
Kubernetes Prow Robot
cd89631620
Merge pull request #79424 from draveness/feature/remove-sharing-plugins-in-framework-tests
...
refactor: add reset method to all test plugins
2019-06-26 18:51:32 -07:00
Lubomir I. Ivanov
f87223fbf8
kubeadm: update OWNERS for 1.16
...
- comment out Liz and Chuck until further notice.
Feel free to come back to kubeadm!!
- Add SataQiu as reviewer. Welcome.
- Add ereslibre as approver. Congrats!
2019-06-27 00:01:05 +03:00
Claudiu Belu
c752ea8134
tests: Replaces images used with agnhost (part 3)
...
Quite a few images are only used a few times in a few tests. Thus,
the images are being centralized into the agnhost image, reducing
the number of images that have to be pulled and used.
This PR replaces the usage of the following images with agnhost:
- audit-proxy
- crd-conversion-webhook
- entrypoint-tester
- inclusterclient
- iperf
- porter
- serve-hostname
2019-06-26 13:33:55 -07:00
Claudiu Belu
6b7a641c96
tests: Fixes agnhost logs-generator usage
...
Cobra flags have 2 dashes, not 1.
2019-06-26 11:38:38 -07:00
draveness
40090e8563
refactor: add reset method to all test plugins
2019-06-26 23:06:34 +08:00
Jan Safranek
f6430c0159
Add benchmark for scheduling of pods with PVs
2019-06-26 14:07:17 +02:00
Aaron Crickenberger
ffe70f1a6e
Conformance walker should handle nested/adjacent Describes
...
This also revealed that the regex for Context was too generous and would
catch things like SecurityContext or ContextWithFoo(...) calls
This ensures that test suites with a ineligible tag in their top-level
Describe will be rejected from promotion to conformance
2019-06-25 21:41:38 -07:00
Kubernetes Prow Robot
20e97a6b4b
Merge pull request #79388 from aojea/e2e_ipv6_guestbook
...
Add ipv6 support to the e2e guestbook test
2019-06-25 19:25:13 -07:00
Kubernetes Prow Robot
ab618571b1
Merge pull request #78291 from goodluckbot/refactor-cleanup-e2e-statefulset-util
...
Refactor and cleanup for statefulset_utils.go
2019-06-25 18:15:26 -07:00
Kubernetes Prow Robot
5305532fcf
Merge pull request #75243 from aojea/e2e_ipv6_dns
...
Add ipv6 support to the DNS e2e tests
2019-06-25 18:15:14 -07:00
Kubernetes Prow Robot
22fb6fd174
Merge pull request #77595 from bertinatto/volume_limits
...
Volume Scheduling Limits
2019-06-25 17:01:16 -07:00
Antonio Ojea
207c00aa8c
Add ipv6 support to the DNS e2e tests
...
Current DNS e2e test are only looking for A records, thus all IPv6
tests fail because we should look for AAAA records.
We can ask for both records in the same query, that allows us to
have the same tests for both scenarios.
` dig <name> A <name> AAAA`
In addition, the logic to find the hostname address has to be changed
because the command `hostname -i` fails in an IPv6 environemnt.
However, using `getent hosts $(hostname | ...)` give us the IPv6 adddress
of the current host.
Reference: https://github.com/kubernetes/kubernetes/issues/70248
Signed-off-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>
2019-06-25 23:44:17 +02:00
Antonio Ojea
2017d9e03f
Add ipv6 support to the e2e guestbook test
2019-06-25 22:40:08 +02:00
Maysa Macedo
5fdddd31d2
Increase Network Policy tests coverage
2019-06-25 16:25:52 -04:00
Kubernetes Prow Robot
68aaf8b91f
Merge pull request #79352 from aojea/e2eIpv6Prestop
...
add IPv6 support to the e2e PreStop test
2019-06-25 11:44:49 -07:00
Fabio Bertinatto
00b0ab86af
Update scheduler to use volume limits from CSINode
2019-06-25 16:30:54 +02:00
Fabio Bertinatto
33c8bacd41
Update nodeinfomanager to store volume limits in CSINode
2019-06-25 16:30:54 +02:00
Kubernetes Prow Robot
1db31d474f
Merge pull request #79057 from rphillips/fixes/e2e_kubelet_stats_fix
...
kubelet_stats: fix potential e2e crash dereferencing ContainerStats.CPU
2019-06-25 03:48:39 -07:00
Antonio Ojea
028206e13b
add IPv6 support to the e2e PreStop test
2019-06-25 11:52:07 +02:00
Kubernetes Prow Robot
38e95b1a78
Merge pull request #79317 from BenTheElder/yikeshell
...
fix test/e2e_node/gubernator.sh shellcheck failures
2019-06-25 01:15:29 -07:00
Kubernetes Prow Robot
bbc17310fc
Merge pull request #78922 from oomichi/add-ExpectEqual
...
Add ExpectEqual() to e2e framework
2019-06-25 01:14:50 -07:00
goodluckbot
032dde8754
Refactor statefulset e2e tests
2019-06-25 11:33:58 +08:00
s-ito-ts
ea06a1c936
change from milli bytes to bytes in ephemeral-storage resource limits
2019-06-24 02:29:53 +00:00
Benjamin Elder
21d1d273c8
fix test/e2e_node/gubernator.sh shellcheck failures
2019-06-23 17:01:54 -07:00
Antonio Ojea
410df752cd
Add ipv6 support to [sig-apps] StatefulSet e2e test
...
Use httpd docker images instead of nginx because they listen
by default both in IPv4 and IPv6
2019-06-23 17:23:28 +02:00
Kubernetes Prow Robot
8ce45b642e
Merge pull request #79262 from draveness/feature/graduate-pod-priority-to-ga
...
feat: cleanup PodPriority features gate
2019-06-23 02:45:54 -07:00
draveness
ca6003bc75
feat: cleanup PodPriority features gate
2019-06-23 11:57:24 +08:00
Jordan Liggitt
6ca80760fd
Switch test manifests to apps/v1, remove beta workloads calls
2019-06-22 13:58:07 -07:00
Kubernetes Prow Robot
1dff339905
Merge pull request #67928 from vikaschoudhary16/e2e-dp
...
Add stub device plugin for e2e tests
2019-06-22 13:46:12 -07:00
Justin SB
0c57ad0004
kubectl attach test: wait for input before proceeding
...
This way we know stdin is attached and we are in a known state.
2019-06-22 15:45:58 -04:00
Kubernetes Prow Robot
eb145bef43
Merge pull request #79293 from SataQiu/cleanup-test-20190622
...
e2e: remove framework.Failf
2019-06-22 12:32:12 -07:00
draveness
b8950dab50
Revert "Add Bind extension point of the scheduling framework"
2019-06-22 22:52:57 +08:00
SataQiu
492c8c6f24
e2e: remove framework.Failf
2019-06-22 21:33:16 +08:00
Kubernetes Prow Robot
6efc5a8c9a
Merge pull request #78513 from chenchun/binder
...
Add Bind extension point of the scheduling framework
2019-06-21 18:52:25 -07:00
Kubernetes Prow Robot
dc8b928136
Merge pull request #79162 from SataQiu/fix-test-20190619
...
Refactor: replace framework.Failf with e2elog.Failf
2019-06-21 12:17:04 -07:00
Kubernetes Prow Robot
0c2830c560
Merge pull request #79084 from k-toyoda-pi/common_sysctlgo_remove_duplicate_comment
...
remove duplicate comment in e2e/common/sysctl.go
2019-06-21 12:16:39 -07:00
Kubernetes Prow Robot
80e844defa
Merge pull request #79150 from alejandrox1/framework-refactor-runtime-obj
...
Refactored runtime.Object helper functions into subpkg
2019-06-21 07:52:37 -07:00
Kubernetes Prow Robot
737d74d12d
Merge pull request #79092 from lubinsz/pr_bzl_rundir2
...
rundir attribute was missing for some new integration test cases
2019-06-20 22:50:34 -07:00
vikaschoudhary16
53c0641686
Add stub device plugin for e2e tests
2019-06-21 11:07:12 +05:30
Kubernetes Prow Robot
0f2b01ab33
Merge pull request #78022 from xychu/fix-shellchecks-g
...
Fix shellcheck failures in test/cmd/g.*sh
2019-06-20 20:46:35 -07:00
Jorge Alarcon Ochoa
4147d727a6
Refactored runtime.Object helper functions into subpkg
...
Organized functions that abstract the access of
k8s.io/apimachinery/pkg/runtime.Objects into a framework subpackge.
Signed-off-by: Jorge Alarcon Ochoa <alarcj137@gmail.com>
2019-06-20 21:42:59 -04:00
Kubernetes Prow Robot
ee0c2e31e8
Merge pull request #78780 from spiffxp/name-test-e2e-api-imports
...
rename test/e2e{,_node} api imports to groupversion
2019-06-20 17:14:35 -07:00
Kubernetes Prow Robot
c898ab2043
Merge pull request #78378 from k-toyoda-pi/golint_test_e2e_common_s-v
...
Fix golint failure in e2e/common/util.go
2019-06-20 12:58:35 -07:00
Aaron Crickenberger
cb88d87dab
add import-alias for k8s.io/kubernetes/pkg/kubelet/apis/resourcemetrics/v1alpha1
2019-06-20 11:41:23 -07:00
Aaron Crickenberger
4ca8821154
add import-alias for k8s.io/kubernetes/pkg/kubelet/apis/podresources/v1alpha1
2019-06-20 11:41:21 -07:00
Aaron Crickenberger
4d5d5b71d2
add import-alias for k8s.io/kubernetes/pkg/kubelet/apis/deviceplugin/v1beta1
2019-06-20 11:41:12 -07:00
Aaron Crickenberger
efe97e4b0a
add import-alias for k8s.io/api/storage/v1beta1
2019-06-20 11:41:02 -07:00
Aaron Crickenberger
9a6600f9f4
add import-alias for k8s.io/api/storage/v1
2019-06-20 11:40:57 -07:00
Aaron Crickenberger
35cef7369e
add import-alias for k8s.io/api/settings/v1alpha1
2019-06-20 11:40:54 -07:00
Aaron Crickenberger
9d5aac1845
add import-alias for k8s.io/api/scheduling/v1
2019-06-20 11:40:47 -07:00
Aaron Crickenberger
32f8aef97b
add import-alias for k8s.io/api/rbac/v1
2019-06-20 11:40:39 -07:00
Aaron Crickenberger
1d0d98dbc5
add import-alias for k8s.io/api/policy/v1beta1
2019-06-20 11:40:37 -07:00
Aaron Crickenberger
2a8bee4b37
add import-alias for k8s.io/api/extensions/v1beta1
2019-06-20 11:40:21 -07:00
Aaron Crickenberger
b8d0ce4019
add import-alias for k8s.io/api/core/v1
2019-06-20 11:40:15 -07:00
Aaron Crickenberger
f3fd3cff8e
add import-alias for k8s.io/api/coordination/v1beta1
2019-06-20 11:40:12 -07:00
Aaron Crickenberger
291658725b
add import-alias for k8s.io/api/certificates/v1beta1
2019-06-20 11:40:06 -07:00
Aaron Crickenberger
03ad7d2d6f
add import-alias for k8s.io/api/batch/v1
2019-06-20 11:40:01 -07:00
Aaron Crickenberger
426ffe0913
add import-alias for k8s.io/api/auditregistration/v1alpha1
2019-06-20 11:39:47 -07:00
Aaron Crickenberger
f38e47dd9d
add import-alias for k8s.io/api/apps/v1beta2
2019-06-20 11:39:45 -07:00
Aaron Crickenberger
0aae740ede
add import-alias for k8s.io/api/apps/v1
2019-06-20 11:39:40 -07:00
Aaron Crickenberger
ba36cc9ebb
add import-alias for k8s.io/api/admissionregistration/v1beta1
2019-06-20 11:39:35 -07:00
Kubernetes Prow Robot
ab3b24ac0a
Merge pull request #77798 from xychu/fix-shellchecks-b
...
Fix shellchecks in test/cmd/{b,c}.*.sh
2019-06-20 10:00:52 -07:00
Chun Chen
b339c0a8bf
Add Bind extension point of the scheduling framework
2019-06-20 15:56:01 +08:00
Kubernetes Prow Robot
00e13dbc12
Merge pull request #78187 from dims/update-vendored-dependencies-to-released-versions-2
...
Update vendored dependencies to released version
2019-06-19 23:46:48 -07:00
Kubernetes Prow Robot
465e96535d
Merge pull request #78836 from dims/verify-import-aliases-during-typecheck
...
Verify import aliases
2019-06-19 21:11:01 -07:00
Kubernetes Prow Robot
ef03129821
Merge pull request #78396 from bclau/tests/reduce-to-agnhost-part-2
...
tests: Replaces images used with agnhost (part 2)
2019-06-19 21:10:48 -07:00
Xiangyang Chu
38a785b1ee
Fix review comments to use ${}
2019-06-20 10:46:41 +08:00
Kubernetes Prow Robot
96a2f12b4e
Merge pull request #79088 from s-ito-ts/golint_e2e_storage_testsuites
...
Fix golint failures of test/e2e/storage/testsuites
2019-06-19 18:37:25 -07:00
Kubernetes Prow Robot
bd35a48815
Merge pull request #78958 from tao12345666333/go-1.12.6
...
Update to go 1.12.6
2019-06-19 18:37:00 -07:00
Kubernetes Prow Robot
c47ab33e67
Merge pull request #79170 from soltysh/test_approver
...
Move soltysh back to approvers
2019-06-19 14:57:39 -07:00
Kubernetes Prow Robot
06656ce1ae
Merge pull request #79160 from vikaschoudhary16/e2e-upgrade-flake
...
e2e Flake: Pass updated deployment for comparison of replica count
2019-06-19 14:57:26 -07:00
Kubernetes Prow Robot
50181f3e90
Merge pull request #79151 from bclau/test-images/agnhost-baseimage-prefix
...
test images: Removes linux/ prefix from agnhost BASEIMAGE
2019-06-19 14:57:14 -07:00
Kubernetes Prow Robot
c2ff62c28c
Merge pull request #78779 from odinuge/test-cleanup
...
Enforce test style on e2e_node and e2e_kubeadm tests
2019-06-19 14:56:49 -07:00
Joe Betz
aa9999c8f1
Fix mutating webhook test image 'addlabel' to update existing labels instead of clobbering
2019-06-19 14:30:17 -07:00
Maciej Szulik
8a56562d8b
Move soltysh back to approvers
2019-06-19 16:31:38 +02:00
Tomas Nozicka
d4261ba741
Update Sig-Apps OWNERS in places that were missed in #76669
2019-06-19 15:36:16 +02:00
SataQiu
332be4b1e3
refactor: replace framework.Failf with e2elog.Failf
2019-06-19 17:52:35 +08:00
Vikas Choudhary
cc8facda70
Pass updated deployment for comparison of replica count
2019-06-19 14:21:42 +05:30
Kubernetes Prow Robot
9162d932cf
Merge pull request #78703 from MrHohn/svc-e2e-name-cleanup
...
[e2e] Make meaningful service name in test
2019-06-19 00:56:31 -07:00
Kubernetes Prow Robot
0a3557bc29
Merge pull request #75544 from pontiyaraja/pos
...
re-named conformance test name for pod creating with CPU and memory resources
2019-06-18 20:38:32 -07:00
Richard Chen
794ec63bbd
Output the nvidia gpu information in the E2E test.
...
Including the gpu information simplifies driver version verification.
nvidia-smi is used in order to display gpu information, which contains the driver version.
2019-06-18 17:11:19 -07:00
Kubernetes Prow Robot
0f9077d0af
Merge pull request #78934 from SataQiu/fix-test-20190612
...
[e2e] move Failf from e2e/framework to e2e/framework/log
2019-06-18 16:36:46 -07:00
Kenichi Omichi
d5bc1ae8aa
Make the check strict to use ExpectNoError()
...
As https://github.com/kubernetes/kubernetes/pull/78478 we can use
ExpectNoError() instead of Expect(err).ToNot(HaveOccurred()) also.
This makes the test code check strict to cover the above case and
replaces the remaining in test/e2e/common/expansion.go
2019-06-18 16:55:16 +00:00
Kubernetes Prow Robot
0e499be526
Merge pull request #78687 from pohly/WaitForPodsWithLabelRunningReady
...
e2e: fix return value of WaitForPodsWithLabelRunningReady
2019-06-18 08:04:22 -07:00
Kubernetes Prow Robot
1545b28b58
Merge pull request #79097 from xychu/fix-shellchecks-n
...
Fix shellcheck failures in test/cmd
2019-06-18 01:08:15 -07:00
Patrick Ohly
baef3e44cd
e2e: fix return value of WaitForPodsWithLabelRunningReady
...
Because of a := assignment, the anonymous function assigned the pod
list to a local variable instead of the
WaitForPodsWithLabelRunningReady return value which therefore always
was nil.
The correct code is an assignment with = as in WaitForPodsWithLabelScheduled.
2019-06-18 09:07:31 +02:00
s-ito-ts
85ba101947
Fix golint failures of test/e2e/storage/testsuites
2019-06-18 03:02:46 +00:00
Jiatong Wang
b1c346c295
Move node related methods to framework/node package
...
- Add a package "node" under e2e/framework and alias e2enode;
- Rename some functions whose name have redundant string.
Signed-off-by: Jiatong Wang <wangjiatong@vmware.com>
2019-06-17 16:59:07 -07:00
Han Kang
54dcf5c9c4
add readyz endpoint for kube-apiserver readiness checks
...
add startup sequence duration and readyz endpoint
add rbac bootstrapping policy for readyz
add integration test around grace period and readyz
rename startup sequence duration flag
copy health checks to fields
rename health-check installed boolean, refactor clock injection logic
cleanup clock injection code
remove todo about poststarthook url registration from healthz
2019-06-17 11:16:13 -07:00
Ryan Phillips
997e1f6442
kubelet_stats: fix potential e2e crash dereferencing CPU
2019-06-17 09:57:21 -05:00
Kubernetes Prow Robot
8f927d8815
Merge pull request #78277 from k-toyoda-pi/change_betrue_equal_for_cronjob_test
...
Change BeTrue to Equal/BeNumerically in cronjob e2e test
2019-06-17 07:14:11 -07:00
Claudiu Belu
9e81f3b50b
tests: Replaces images used with agnhost (part 2)
...
Quite a few images are only used a few times in a few tests. Thus,
the images are being centralized into the agnhost image, reducing
the number of images that have to be pulled and used.
This PR replaces the usage of the following images with agnhost:
- net
- netexec
- nettest
- webhook
2019-06-17 06:04:18 -07:00
pontiyaraja
40146c85f4
re-named conformance test name for pod creating with CPU and memory resources
2019-06-17 14:54:08 +05:30
Claudiu Belu
d274107620
tests: Fixes Windows image pulling tests
...
A previous commit removed all hardcoded image names from the tests
and centralized them into kubernetes/test/utils/image/manifest.go,
but it contained a few errors, which causes the image pulling tests
to fail on Windows:
1. No entry was written for AuthenticatedWindowsNanoServer, causing
one of the tests to try to spawn a pod with the image name /.
2. The registry set for WindowsNanoServer was e2eRegistry, which is
set to a dockerhub registry (e2eteam) in all sig-windows jobs,
which is not the purpose of the test itself (the test tries to
spawn a pod using an image from gcr.io).
The reason why e2eRegistry is set to e2eteam is because that
registry contains the Windows images needed for all the Kubernetes
E2E tests.
This commit addresses this issue.
2019-06-17 01:42:30 -07:00
Bin Lu
53e639ab9d
rundir attribute was missing for some new integration test cases
...
Signed-off-by: Bin Lu <bin.lu@arm.com>
2019-06-17 01:00:05 -07:00
Xiangyang Chu
99b2184993
Fix shellcheck faulures in test/cmd
...
Including files after test/cmd/n*
2019-06-17 14:04:34 +08:00
Claudiu Belu
4ccdcd7ab1
test images: Removes linux/ prefix from agnhost BASEIMAGE
...
A previous commit added the BASEIMAGE file for agnhost, but with
the linux/ prefix, which is supposed to be added in the Windows
support PR [1].
This is needed in order to be able to build the image.
[1]: https://github.com/kubernetes/kubernetes/pull/76838
2019-06-16 21:57:12 -07:00
toyoda
c4a96d3215
fix golint failure in e2e/common/util.go
2019-06-17 10:10:36 +09:00
toyoda
12cc719e62
remove duplicate comment in e2e/common/sysctl.go
2019-06-17 09:20:51 +09:00
Davanum Srinivas
a6f8d575ba
Add kubeletstatsv1alpha1 as the preferred alias for k8s.io/kubernetes/pkg/kubelet/apis/stats/v1alpha1
...
Change-Id: I05a8390a667dba307c09d95f836e08e0759c12ee
2019-06-15 22:31:51 -04:00
Kubernetes Prow Robot
c5087f25c0
Merge pull request #78916 from mkimuram/rem-dot-import
...
Remove . import from e2e test
2019-06-15 16:34:08 -07:00