Paul Morie
53ec6e60fe
Remove deferred deletion calls from E2E tests
2016-10-17 10:36:22 -04:00
Michail Kargakis
71df8f6544
test: wait for complete rollouts in WaitForDeploymentStatusValid
2016-10-17 13:19:28 +02:00
Kubernetes Submit Queue
b1b8e9e403
Merge pull request #34544 from gmarek/split
...
Automatic merge from submit-queue
Move RunRC-like functions to test/utils
Ref. #34336
cc @timothysc - the "move" part of the small refactoring. @jayunit100
2016-10-14 07:22:38 -07:00
Michail Kargakis
212a26dc95
controller: set minReadySeconds in deployment's replica sets
...
* Estimate available pods for a deployment by using minReadySeconds on
the replica set.
* Stop requeueing deployments on pod events, superseded by following the
replica set status.
* Cleanup redundant deployment utilities
2016-10-13 12:27:47 +02:00
Random-Liu
bab971d002
Fix the wait for pod success in test framework.
2016-10-12 11:33:40 -07:00
gmarek
7681a1bdff
Move RunRC-like functions to test/utils
2016-10-12 15:06:56 +02:00
gmarek
66c82a223c
Inject logFunc into RunPods
2016-10-12 13:44:43 +02:00
Kubernetes Submit Queue
4747e1cc1d
Merge pull request #34597 from gmarek/prompush
...
Automatic merge from submit-queue
Remove prompush from test/e2e
Ref. #34336
cc @timothysc
2016-10-12 03:14:16 -07:00
gmarek
b607c5cbee
Remove prompush from test/e2e
2016-10-12 10:31:45 +02:00
gmarek
1aff115f44
Make logging function injectable in RCConfig
2016-10-11 16:46:33 +02:00
gmarek
8d3973c2f4
Small refactoring of scheduler predicates
2016-10-10 13:13:15 +02:00
Avesh Agarwal
9fa12e3c99
Fix confusing log messages:
...
The status of Pod kibana-logging-v1-j99la is Running, waiting for it to be either Running or Failed
2016-10-07 13:54:36 -04:00
Kubernetes Submit Queue
2db9b3cddc
Merge pull request #34323 from kargakis/bump-status-check-timeout
...
Automatic merge from submit-queue
test: bump deployment test timeout
Matches the timeout used in [WaitForDeploymentStatus](6d56d0337a/test/e2e/framework/util.go (L3610)
)
Fixes https://github.com/kubernetes/kubernetes/issues/31810
2016-10-07 07:34:20 -07:00
Michail Kargakis
b90661af9b
test: bump deployment test timeout
...
Matches the timeout used in WaitForDeploymentStatus
2016-10-07 14:18:29 +02:00
Wojciech Tyczynski
ce1925b829
Don't set timeouts in clients in tests
2016-10-05 14:33:26 +02:00
Chao Xu
75cc05de82
manual changes to let client-gen use versioned options
2016-10-04 20:39:29 -07:00
ymqytw
44eade9b8f
Provide more detailed error message when pod fails to be success state
2016-09-29 20:42:54 -07:00
Kubernetes Submit Queue
19a2a10354
Merge pull request #33389 from Random-Liu/lifecycle-hook
...
Automatic merge from submit-queue
CRI: Fix lifecycle hook and add container lifecycle node e2e test
This PR:
1) Adds pod spec missing handling in kuberuntime. (1st commit)
2) Adds container lifecycle hook node e2e test. (2nd commit)
@yujuhong @feiskyer
2016-09-26 10:48:35 -07:00
deads2k
48ac4d549d
change e2e scale to avoid adapter
2016-09-26 07:58:01 -04:00
deads2k
c22f076561
remove almost all usages of clientadapter
2016-09-26 07:53:03 -04:00
Kubernetes Submit Queue
9455b1de54
Merge pull request #33157 from YuPengZTE/devEG
...
Automatic merge from submit-queue
'eg.' should be 'e.g.'
2016-09-24 00:53:38 -07:00
Random-Liu
5eb41e9acb
Add container lifecycle hook test.
2016-09-23 17:13:19 -07:00
Kubernetes Submit Queue
071927a59d
Merge pull request #32549 from smarterclayton/gc_non_kube_legacy
...
Automatic merge from submit-queue
Allow garbage collection to work against different API prefixes
The GC needs to build clients based only on Resource or Kind. Hoist the
restmapper out of the controller and the clientpool, support a new
ClientForGroupVersionKind and ClientForGroupVersionResource, and use the
appropriate one in both places.
Allows OpenShift to use the GC
2016-09-23 14:06:35 -07:00
Kubernetes Submit Queue
88bcf4a5b4
Merge pull request #33156 from guangxuli/k8s_test_092101
...
Automatic merge from submit-queue
break the loop if pod name was equal
2016-09-22 18:29:26 -07:00
Clayton Coleman
97c35fcc67
Allow garbage collection to work against different API prefixes
...
The GC needs to build clients based only on Resource or Kind. Hoist the
restmapper out of the controller and the clientpool, support a new
ClientForGroupVersionKind and ClientForGroupVersionResource, and use the
appropriate one in both places.
2016-09-22 15:00:58 -04:00
nikhiljindal
bbb27cde10
Dumping federation events if federation test failed
2016-09-20 23:56:23 -07:00
YuPengZTE
5865a31e77
'eg.' should be 'e.g.'
...
Signed-off-by: YuPengZTE <yu.peng36@zte.com.cn>
2016-09-21 14:28:22 +08:00
guangxuli
f411d37363
break the loop if pod name was equal
2016-09-21 13:04:03 +08:00
Kubernetes Submit Queue
224cbeede5
Merge pull request #32871 from wojtek-t/speedup_pod_deletion
...
Automatic merge from submit-queue
Speedup pod deletion in density test
Ref #32571
2016-09-16 08:20:46 -07:00
Wojciech Tyczynski
5aed7aef22
Speedup pod deletion in density test
2016-09-16 16:14:33 +02:00
Wojciech Tyczynski
90cbef418f
Decrease timeout for namespace creation in test
2016-09-16 14:57:10 +02:00
Janet Kuo
e39b777746
Revert "Add test for --quiet flag for kubectl run"
...
This reverts commit 9e52d1cfd0
.
2016-09-15 11:11:09 -07:00
Kubernetes Submit Queue
b77e2728d8
Merge pull request #32560 from dshulyak/enable_signer_for_vagrant
...
Automatic merge from submit-queue
Allow to use GetSigner with vagrant provider
In order to run tests that require ssh access to a node on vagrant
we need to provide path to private ssh key.
Now it will be possible to do using VAGRANT_SSH_KEY environment variable
2016-09-14 05:35:55 -07:00
Kubernetes Submit Queue
1443fffc5d
Merge pull request #30701 from ardnaxelarak/28695_suppress_noisy_output
...
Automatic merge from submit-queue
Add test for --quiet flag for kubectl run
This adds a test for the changes introduced in #30247 and #28801 .
Ref #28695
2016-09-13 23:28:47 -07:00
Janet Kuo
79373b698e
Skip kubectl tests (create quota and exit code) on not supported versions
2016-09-13 17:25:19 -07:00
Dmitry Shulyak
615d1d6336
Allow to use GetSigner with vagrant provider
...
In order to run tests that require ssh access to a node on vagrant
we need to provide path to private ssh key.
Now it will be possible to do using VAGRANT_SSH_KEY environment variable
Change-Id: Ic5fe0037edd46d0db3b8036ad7fc03cf1ea07574
2016-09-13 11:23:55 +03:00
deads2k
519c13745f
convert rest of kubectl to generated clients
2016-09-12 08:22:34 -04:00
Kubernetes Submit Queue
fc30bf7e8b
Merge pull request #32374 from soltysh/e2e_check_resource
...
Automatic merge from submit-queue
Provide an e2e skip helper checking for available resource
@janetkuo @dims this is the promised util function, but unfortunately I just learned that dynamic client suffers from the problem I've fixed in the manually written one (https://github.com/kubernetes/kubernetes/pull/29187 ) I need to look into the dynamic client in that case :/
2016-09-12 03:59:30 -07:00
Kubernetes Submit Queue
dd9d5aa27d
Merge pull request #32378 from kevin-wangzefeng/update-taints-e2e
...
Automatic merge from submit-queue
update taints e2e, restrict taints operation with key, effect
Since taints are now unique by key, effect on a node, this PR is to restrict existing taints adding/removing/updating operations in taints e2e.
Also fixes https://github.com/kubernetes/kubernetes/issues/31066#issuecomment-242870101
Related prior Issue/PR #29362 and #30590
2016-09-10 13:20:51 -07:00
Kubernetes Submit Queue
09efe0457d
Merge pull request #32163 from mtaufen/more-eviction-logging
...
Automatic merge from submit-queue
Log pressure condition, memory usage, events in memory eviction test
I want to log this to help us debug some of the latest memory eviction test flakes, where we are seeing burstable "fail" before the besteffort. I saw (in the logs) attempts by the eviction manager to evict besteffort a while before burstable phase changed to "Failed", but the besteffort's phase appeared to remain "Running". I want to see the pressure condition interleaved with the pod phases to get a sense of the eviction manager's knowledge vs. pod phase.
2016-09-09 18:37:55 -07:00
Michael Taufen
b9f0bd959e
Log the following items in memory eviction test:
...
- memory working set
- pressure condition
- events for the default and test namespaces, after the test completes
2016-09-09 13:42:26 -07:00
Wojciech Tyczynski
dc3dcc27d2
Allow for not-ready nodes in WaitForAllNodesSchedulable
2016-09-09 14:56:43 +02:00
Maciej Szulik
7ee8f867d9
Provide an e2e skip helper checking for available resource.
2016-09-09 13:38:32 +02:00
Kevin
fff139ce32
update taints e2e, respect that taint is unique by key, effect
2016-09-09 19:15:11 +08:00
Wojciech Tyczynski
c517811fc8
Fix checking for allowed not-ready nodes in test framework
2016-09-09 09:38:47 +02:00
Wojciech Tyczynski
e750454c31
Fix allow for non-ready nodes in e2e framework
2016-09-08 14:22:08 +02:00
Kubernetes Submit Queue
58af607f56
Merge pull request #31833 from lavalamp/fixmsg
...
Automatic merge from submit-queue
emit more info on failure
help debug #31810
2016-09-06 21:26:08 -07:00
Kubernetes Submit Queue
008fc22d31
Merge pull request #32108 from wojtek-t/allow_for_not_ready_nodes
...
Automatic merge from submit-queue
Allow for not-ready nodes in e2e test
Ref #31215
2016-09-06 04:41:16 -07:00
Wojciech Tyczynski
4b29d006b0
Allow for not-ready nodes in e2e test
2016-09-06 12:14:45 +02:00
Wojciech Tyczynski
8f0006e8f8
Increase timeout for pods GC in tests
2016-09-06 12:02:54 +02:00
gmarek
a82e54262d
Add a log to help debug #31981
2016-09-05 15:05:49 +02:00
Wojciech Tyczynski
8c1b80c6d5
Fix density test
2016-09-05 13:53:43 +02:00
gmarek
d990720c12
Increase GC timeout for RCs bigger than 40k
2016-09-05 12:08:04 +02:00
Kubernetes Submit Queue
4414882543
Merge pull request #31895 from ymqytw/better_error_message
...
Automatic merge from submit-queue
Return detailed error message for better debugging.
Try to provide more details error message for debugging when this flake #31561 happens again.
@pwittrock
2016-09-02 21:26:59 -07:00
Kubernetes Submit Queue
88c7e25f72
Merge pull request #31923 from bprashanth/logging
...
Automatic merge from submit-queue
Adding logging and fix test race
Fixes https://github.com/kubernetes/kubernetes/issues/31552 , adds clarity for https://github.com/kubernetes/kubernetes/issues/29449
Janet for the job e2e and girish for services. P1 for flake.
2016-09-01 19:50:58 -07:00
ymqytw
e948a69653
Return detailed error message for better debugging. It is for BeforeSuite: Error waiting for all pods to be running and ready
2016-09-01 17:55:48 -07:00
bprashanth
5dac1122b4
Logging for service restart e2e clarity
2016-09-01 14:49:52 -07:00
gmarek
02985c9da2
Create a file from data stored in gobindata to fix kubectl-based examples
2016-09-01 16:40:32 +02:00
Tim St. Clair
f9a2c07c20
Add retries to service environment variable test
2016-08-31 16:46:03 -07:00
Daniel Smith
24a0a5113c
emit more info on failure
2016-08-31 16:07:07 -07:00
Kara Alexandra
9e52d1cfd0
Add test for --quiet flag for kubectl run
...
Signed-off-by: Kara Alexandra <kalexandra@us.ibm.com>
2016-08-31 13:48:42 -07:00
derekwaynecarr
367cc42541
E2E framework ignores whitelisted resources when verifying namespace deletion
2016-08-31 13:41:14 -04:00
derekwaynecarr
83cc808ffb
Fix duplicate namespace deletion errors, improve namespace deletion error output
2016-08-31 13:32:22 -04:00
gmarek
f8dbdc1695
AllNodesReady waits for all system pods to be running
2016-08-31 15:08:01 +02:00
Kubernetes Submit Queue
0f8869d308
Merge pull request #31516 from sttts/sttts-e2e-CheckConnectivityToHost-logs
...
Automatic merge from submit-queue
e2e: log wget output on CheckConnectivityToHost error
Log output might help to diagnose e2e flakes, whether they are caused by dns issues or connection timeouts.
Might help with flake https://github.com/kubernetes/kubernetes/issues/28188 .
2016-08-30 06:27:28 -07:00
Kubernetes Submit Queue
6dd8b975cb
Merge pull request #31578 from kevin-wangzefeng/add-retries-for-taints-e2e
...
Automatic merge from submit-queue
add retries for add/update/remove taints on node in taints e2e
fixes taint update conflict in taints e2e by adding retries for add/update/remove taints on node.
ref #27655 and #31066
2016-08-28 15:32:37 -07:00
Kevin
33b1075e0d
add retries for add/update/remove taints on node in taints e2e
2016-08-27 14:56:38 +08:00
Dr. Stefan Schimanski
3262b7fccd
e2e: log wget output on CheckConnectivityToHost error
2016-08-27 08:18:45 +02:00
Kubernetes Submit Queue
1184800cbb
Merge pull request #30730 from janetkuo/prevent-overlapping-deployment
...
Automatic merge from submit-queue
Handle overlapping deployments gracefully
Fixes #30028
2016-08-25 21:50:56 -07:00
Tim St. Clair
a29ad353a6
Increase the AppArmor pod stop timeout to match the start timeout
2016-08-23 17:03:38 -07:00
Janet Kuo
c5cef18735
Add e2e test for overlapping deployments
2016-08-23 14:33:30 -07:00
Piotr Szczesniak
e8135c30d5
Improve ScaleRC function to be more generic
2016-08-23 09:25:00 +02:00
bindata-mockuser
e792d4117d
Add return code support to kubectl-exec and -run
2016-08-20 15:58:47 +02:00
gmarek
d844dd463a
Stop pretending that reaper cares about delete options in e2e tests
2016-08-19 14:44:35 +02:00
Chao Xu
a0c6a664a5
adjust waitForPodsInactive polling interval and timeout
2016-08-18 15:38:24 -07:00
Kubernetes Submit Queue
e2f39fca86
Merge pull request #30807 from caesarxuchao/change_pod_lister_api
...
Automatic merge from submit-queue
Continue on #30774 : Change podNamespacer API
continue on #30774 , credit to @wojtek-t, Ref #30759
I just fixed a test and converted IsActivePod to operate on *Pod.
2016-08-18 02:08:23 -07:00
Madhusudan.C.S
c32c81dc4e
Implement federation API server authentication e2e tests.
2016-08-17 20:03:20 -07:00
Chao Xu
594234d61c
fix tests; convert IsPodActive to operate on *Pod
2016-08-17 13:05:37 -07:00
Chao Xu
3bb159e8f6
fix test failure and address comment
2016-08-16 17:06:32 -07:00
Chao Xu
a12dc2e412
wait for the Reflector to list before polling the PodStore in e2e tests.
2016-08-15 21:40:33 -07:00
Kubernetes Submit Queue
817256a716
Merge pull request #30401 from caesarxuchao/kubemark-gc-upstream
...
Automatic merge from submit-queue
Let load and density e2e tests use GC if it's on
I've run the 100 and 500 nodes tests and they both pass.
The test-infra half of the PR is https://github.com/kubernetes/test-infra/pull/369
cc @lavalamp
2016-08-13 16:04:34 -07:00
Chao Xu
3688a78769
let load and density e2e tests use GC if it's on
2016-08-11 11:48:20 -07:00
Madhusudan.C.S
a91182ae3c
Remove unversioned federation client, clientset and versioned release_1_3 clientset and all their accesses in e2e tests. Switch everything to federation release_1_4 external client.
2016-08-10 13:53:43 -07:00
Kubernetes Submit Queue
be6a9fbb4e
Merge pull request #30234 from intelsdi-x/create_annotation_map_if_doesnt_exist
...
Automatic merge from submit-queue
In AddOrUpdateTaintOnNode create annotation map if its nil
If node didn't have annotations both SchedulerPredicates taints-toleration tests were failing.
@gmarek PTAL
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.kubernetes.io/review_button.svg " height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/30234 )
<!-- Reviewable:end -->
2016-08-08 22:13:22 -07:00
Kubernetes Submit Queue
4ef36882fd
Merge pull request #29935 from janetkuo/deployment-scale-rollout-test
...
Automatic merge from submit-queue
Deployment status validity should be checked in scaled rollout e2e test
Follow up #29889
@kubernetes/deployment
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.kubernetes.io/review_button.svg " height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/29935 )
<!-- Reviewable:end -->
2016-08-08 19:56:20 -07:00
Pawel Skrzynski
292cea1a18
In AddOrUpdateTaintOnNode create annotation map if its nil
2016-08-08 19:48:07 +02:00
Janet Kuo
242c11b580
Deployment status validity should be checked in scaled rollout e2e test
2016-08-05 10:32:24 -07:00
Random-Liu
1a33dffa17
Move configmap, docker_containers, downward_api, expansion and secrets
...
test into common directory.
2016-08-04 23:52:05 -07:00
Kubernetes Submit Queue
1cd07a276c
Merge pull request #29138 from kshafiee/pr-27789
...
Automatic merge from submit-queue
federation: Adding secret API
Adding secret API to federation-apiserver and updating the federation client to include secrets
2016-08-04 18:11:23 -07:00
Robert Rati
fb72b50135
Added test to density that will run maximum capacity pods on all nodes
2016-08-04 11:46:22 -04:00
Kubernetes Submit Queue
74477a83e4
Merge pull request #29889 from janetkuo/deployment-e2e-test-fix
...
Automatic merge from submit-queue
Fix deployment e2e test: waitDeploymentStatus should error when entering an invalid state
Follow up #28162
1. We should check that max unavailable and max surge aren't violated at all times in e2e tests (didn't check this in deployment scaled rollout yet, but we should wait for it to become valid and then continue do the check until it finishes)
2. Fix some minor bugs in e2e tests
@kubernetes/deployment
2016-08-04 00:43:41 -07:00
kshafiee
262ae3d021
Adding secrets to federation-apiserver & clientset, adding e2e tests
2016-08-03 02:43:48 +00:00
Random-Liu
5c7ac701d3
Change TestContainerOutput to use the framework pod client.
2016-08-02 10:26:41 -07:00
k8s-merge-robot
472dcec7b2
Merge pull request #29847 from gmarek/retries
...
Automatic merge from submit-queue
Retry Node updates in e2e tests
Fix #29516
Ref. https://github.com/kubernetes/kubernetes/issues/27655#issuecomment-235940057
cc @kevin-wangzefeng @wojtek-t
2016-08-02 09:53:12 -07:00
gmarek
b27630577c
Retry Node updates in e2e tests
2016-08-02 11:02:04 +02:00
k8s-merge-robot
01cd7f326e
Merge pull request #29621 from resouer/uuid
...
Automatic merge from submit-queue
Refactor uuid into its own pkg util/uuid
Continuing my work ref #15634
Anyone can review this if he/she wants.
2016-08-01 22:21:30 -07:00
Janet Kuo
808041cbd4
Update deployment e2e test to check violated rollingupdate strategy
2016-08-01 17:05:22 -07:00
k8s-merge-robot
f0fa9e588f
Merge pull request #29813 from jayunit100/kill-repo-root-slb-2
...
Automatic merge from submit-queue
[minor] couple of quick cleanups for kill reporoot
quick fixes from last one, cc @spxtr @ixdy follow on to https://github.com/kubernetes/kubernetes/pull/25584
2016-07-29 21:42:42 -07:00
Harry Zhang
c495397cae
Refactor uuid into its own pkg
2016-07-30 00:07:02 -04:00
Random-Liu
268f458ea4
Add exec util in test framework.
2016-07-29 18:29:43 -07:00