Commit Graph

27886 Commits

Author SHA1 Message Date
Alex Robinson
23a8401c32 Merge pull request #24452 from a-robinson/dpv
Fix gce.getDiskByNameUnknownZone logic.
2016-04-19 11:58:04 -07:00
Jeff Lowdermilk
4402cbc289 Always pull list-resources.sh from head
This should fix tag-pinned GKE tests that are currently broken
because #24058 doesn't exist for v1.2.2.
2016-04-19 11:40:59 -07:00
CJ Cullen
cba5e84fd1 Fix goroutine leak in ssh-tunnel healthcheck. 2016-04-19 11:23:27 -07:00
Chao Xu
442c079e63 generate the fake clients in testoutput 2016-04-19 10:55:19 -07:00
Chao Xu
79c3d6683c Client-gen: add fake clients to testoutput; in fake clients, fix the imports of packages that contains dots in the name 2016-04-19 10:55:01 -07:00
k8s-merge-robot
c9c2a252f6 Merge pull request #24477 from ihmccreery/bump-timeout
Automatic merge from submit-queue

Bump upgrade test timout to 10 hours

@spxtr is it reasonable to expect that running the v1.2 tests in serial would take longer than ~ 5 hours (assuming the upgrade beforehand takes < 1 hour)?
2016-04-19 10:48:46 -07:00
Joe Finney
999ee9a222 Bump kubernetes-test-go timeout. 2016-04-19 10:02:31 -07:00
Isaac Hollander McCreery
59dfea62cc Bump upgrade test timout to 10 hours 2016-04-19 09:35:34 -07:00
k8s-merge-robot
4638f2f355 Merge pull request #24466 from wojtek-t/fix_scheduler_benchmark
Automatic merge from submit-queue

Improve script for running scheduler benchmarks

Without this change, this script didn't work in my environment - it's making more consistent with other scripts.

@hongchaodeng @xiang90
2016-04-19 08:43:50 -07:00
Wojciech Tyczynski
762bfa3d97 Improve script for running scheduler benchmarks 2016-04-19 16:23:23 +02:00
Johannes Scheuermann
38cb577cd3 Remove double assignment of KUBE_ROOT 2016-04-19 16:18:16 +02:00
k8s-merge-robot
7ab0a9f634 Merge pull request #23424 from ddysher/update-api-changes
Automatic merge from submit-queue

Update API change for internal types
2016-04-19 05:16:49 -07:00
deads2k
c33d8bbe63 let admission plugins indicate they want nothing 2016-04-19 08:11:53 -04:00
k8s-merge-robot
8489299324 Merge pull request #24372 from bprashanth/apigroup
Automatic merge from submit-queue

Clarify api-group docs by a tiny bit.

I realize this area is in flux and the doc is out of date, but it's strictly better with this update than without?
2016-04-19 04:29:57 -07:00
Deyuan Deng
998559a99c Update API change for internal types 2016-04-19 18:57:07 +08:00
k8s-merge-robot
b1aabc794d Merge pull request #24448 from a-robinson/multizone
Automatic merge from submit-queue

Use 3 nodes per zone in the GKE multizone test instead of 1

@quinton-hoole @saad-ali
2016-04-19 03:47:10 -07:00
k8s-merge-robot
c37e3cc6b9 Merge pull request #24435 from spxtr/fix-test-go
Automatic merge from submit-queue

Run test-go less often on release branches.

I made 1.2 run every 3 hours and 1.1 run every 6 hours. They'll still run right away once a build completes.

I'm going to have to lower the number of executors on the Jenkins slaves that run test-go jobs, since running 3 at a time makes them use up all the CPU and flake.
2016-04-19 03:47:09 -07:00
k8s-merge-robot
db28f73c3b Merge pull request #24282 from goltermann/spelling
Automatic merge from submit-queue

Fix misspellings in comments
2016-04-19 03:47:07 -07:00
k8s-merge-robot
9ae35f875d Merge pull request #23774 from cjdrake/master
Automatic merge from submit-queue

Replace tab with eight spaces

This file only uses spaces for indentation, and my text editor highlighted the one tab.
2016-04-19 03:47:06 -07:00
Arve Knudsen
425111e02d Fix README link 2016-04-19 12:35:53 +02:00
Filip Grzadkowski
21f7d95f8d Merge pull request #24442 from smarterclayton/third_party_watch
ThirdPartyResourceCodec should implement streaming.Framer
2016-04-19 09:14:54 +02:00
nikhiljindal
50a9aceabb Moving more logic to genericapiserver 2016-04-19 00:03:28 -07:00
Alex Robinson
d69ccd5c8c Fix gce.getDiskByNameUnknownZone logic. 2016-04-18 22:55:59 -07:00
Alex Robinson
27096ccf5c Use 3 nodes per zone in the GKE multizone test instead of 1 2016-04-18 21:32:52 -07:00
Clayton Coleman
a5ff573263 ThirdPartyResourceCodec should implement streaming.Framer
Wrappers must proxy NewFrameReader|Writer for now (until we potentially
refactor the codec factory to separate them).
2016-04-18 21:24:26 -04:00
nikhiljindal
be5b842eb3 Adding note regarding which script requires another script to be run before that 2016-04-18 17:58:02 -07:00
nikhiljindal
ff06f1e200 removing call to update-swagger-spec.sh from update-generated-swagger-docs.sh 2016-04-18 17:58:02 -07:00
nikhiljindal
58ead776b3 Removing ServiceAccount auth options from federated apiserver 2016-04-18 17:22:15 -07:00
nikhiljindal
831c8d7594 Remove federated apiserver's dependency on kubernetes api objects 2016-04-18 17:22:15 -07:00
k8s-merge-robot
5abbc24a86 Merge pull request #24432 from ihmccreery/upg-num-node-fix
Automatic merge from submit-queue

Export NUM_MINIONS and MINION_SIZE for experimental upgrade tests

This has precedent in `e2e.sh`: https://github.com/kubernetes/kubernetes/blob/release-1.1/hack/jenkins/e2e.sh#L811
2016-04-18 16:51:25 -07:00
k8s-merge-robot
56d7579bfd Merge pull request #24359 from janetkuo/rollover-e2e-no-events
Automatic merge from submit-queue

Avoid relying on events in deployment rollover e2e test

Fixes #22028

@kubernetes/sig-config
2016-04-18 16:51:22 -07:00
Hongchao Deng
46214c60bb etcd3/store: support TTL in Create, Update 2016-04-19 07:35:59 +08:00
Yu-Ju Hong
e97eb4dc6a Remove host port in influxdb-grafana-controller.yaml
There is no valid reason to keep the host ports in the pod spec.
2016-04-18 16:29:58 -07:00
Joe Finney
8436b9dc72 Run test-go less often on release branches. 2016-04-18 16:15:53 -07:00
Isaac Hollander McCreery
36d46e6464 Export NUM_MINIONS=3 and MINION_SIZE='n1-standard-2' for experimental upgrade tests starting in v1.1. 2016-04-18 16:02:16 -07:00
Minhan Xia
ad8c67723a add test for udp connection flush 2016-04-18 14:58:08 -07:00
Phillip Wittrock
90d2f9ad5e Incremental improvements to kubelet e2e tests
- Add keep-alive to ssh connection
- Don't try to stop services on image-based runs
- Increase jenkins ci timeout to 90 minutes to accomadate unpredictable go build times
- Remove spammy log statement
2016-04-18 13:56:07 -07:00
Joe Finney
6e99624dd6 Merge pull request #24409 from spxtr/do-it-right-this-time
Use Jenkins slaves
2016-04-18 13:12:07 -07:00
k8s-merge-robot
e5f237a7ff Merge pull request #23807 from k82/k8s-23537
Automatic merge from submit-queue

Added namespace to Spark example.

Issues #23537 [Added namespace to Spark example].
2016-04-18 12:52:23 -07:00
Joe Finney
f3b2490c90 Kubemark tests need to run on the Jenkins master. 2016-04-18 09:56:02 -07:00
Joe Finney
f815be2c72 Revert "Revert "Revert "Revert "Run most GCE, GKE, and Kubemark e2e jobs inside Docker""""
This reverts commit e0f585ae93.
2016-04-18 09:55:09 -07:00
Klaus Ma
326e30772a Added namespace to Spark example. 2016-04-19 00:34:47 +08:00
k8s-merge-robot
616af686cb Merge pull request #23694 from hongchaodeng/w
Automatic merge from submit-queue

etcd3/store: watcher implementation

ref: https://github.com/kubernetes/kubernetes/issues/22448

This PR does:
- Provide a watcher that uses etcd v3 API to watch changes via etcd and process them based on existing logic of storage.Interface.Watch(), WatchList().
- By using the watcher, very trivial to implement Watch() and WatchList() in etcd3 storage.Interface implementation.
2016-04-18 08:23:13 -07:00
k8s-merge-robot
5ad27f2720 Merge pull request #23575 from deads2k/shared-cache
Automatic merge from submit-queue

shared controller informers

Related to https://github.com/kubernetes/kubernetes/issues/14978

This demonstrates how controllers which use an `Informer`, would be able to share the same watch and store.  A similar "setup and run" approach could be done for an `IndexInformer` to share that cache.  I found adding listeners here to be easier than intercepting at the watch interface (problems with resourceVersion) or the reflector (same plumbing, but you have to fan out to multiple stores).

We could also use the cache we build here to back several of the admission plugins that currently run their own lookup caches today.

If there's interest, I can finish out the `SharedInformer` and switch the low hanging fruit over.  

@kubernetes/rh-cluster-infra @smarterclayton @liggitt @wojtek-t
2016-04-18 07:48:29 -07:00
k8s-merge-robot
d37e6ad332 Merge pull request #24126 from Random-Liu/fix-pull-image
Automatic merge from submit-queue

Fix PullImage and add corresponding node e2e test

Fixes #24101. This is a bug introduced by #23506, since ref #23563.

The root cause of #24101 is described [here](https://github.com/kubernetes/kubernetes/issues/24101#issuecomment-208547623).

This PR
1) Fixes #24101 by decoding the messages returned during pulling image, and return error if any of the messages contains error.
2) Add the node e2e test to detect this kind of failure.
3) Get present check out of `ConformanceImage.Remove()` and `ConformanceImage.Pull()`. Because sometimes we may expect error to occur in `PullImage()` and `RemoveImage()`, but even that doesn't happen, the `Present()` check will still return error and let the test pass.

@yujuhong @freehan @liangchenye 

Also /cc @resouer, because he is doing the image related functions refactoring.
2016-04-18 07:05:44 -07:00
Jay Vyas
632a0a81d4 Cluster verification framework supporting declarative definition and iteration against pod spectrum
- rebase: ForEach only on Running pods
- add waitFor step in guestbook describe and wrapper
- simplify logs in polling, make panic immediate, give rolluped stats in
the logs.

Improve logging for failure on ForEach
2016-04-18 10:01:10 -04:00
Hongchao Deng
e18b4e67be etcd3/store: watcher implementation 2016-04-18 21:41:53 +08:00
deads2k
f0c33d65b6 start sharing the pod cache and list/watch 2016-04-18 08:51:55 -04:00
deads2k
96d1f48b0b add SharedInformer 2016-04-18 08:51:55 -04:00
Jan Safranek
3137b4cd02 Increase provisioning test timeouts.
We've encountered flakes in our e2e infrastructure when kubelet took more than
one minute to detach a volume used by a deleted pod.

Let's increase the wait period from 1 to 3 minutes. This slows down the test
by 2 minutes, but it makes the test more stable.

In addition, when kubelet cannot detach a volume for 3 minutes, let the test
wait for additional recycle controller retry interval (10 minutes) and hope the
volume is deleted by then. This should not increase usual test time, it makes
the test stable when kubelet is _extremely_ slow when releasing the volume.
2016-04-18 13:06:09 +02:00