Commit Graph

3153 Commits (62a8394eb491e82e5445e36542907608bf7b95f3)

Author SHA1 Message Date
Random-Liu 3876972d3f Clean up go-dockerclient reference. 2016-04-29 13:32:19 -07:00
Joe Finney 4c298678af Remove metadata-cache. 2016-04-29 11:50:55 -07:00
k8s-merge-robot 11298d02e0 Merge pull request #24455 from hongchaodeng/fl
Automatic merge from submit-queue

Provide flags to use etcd3 backed storage

ref: #24405

What's in this PR?
- Add a new flag "storage-backend" to choose "etcd2" or "etcd3". By default (i.e. empty), it's "etcd2".
- Take out etcd config code into a standalone package and let it create etcd2 or etcd3 storage backend given user input.
2016-04-29 08:49:04 -07:00
k8s-merge-robot f1fca6fd9d Merge pull request #24969 from gmarek/jenkins
Automatic merge from submit-queue

Fix zone in kubemark-100
2016-04-29 03:08:34 -07:00
gmarek f53ba39a7a Fix zone in kubemark-100 2016-04-29 10:43:11 +02:00
k8s-merge-robot b16fb60c87 Merge pull request #24956 from fejta/own
Automatic merge from submit-queue

Create OWNERS for jenkins data

Assigne jenkins changes to more precise owners.
2016-04-28 23:17:59 -07:00
Erick Fejta d8456690c0 Create OWNERS for jenkins data 2016-04-28 18:03:11 -07:00
jianhuiz d169fa6864 generate v1alpha and unversioned clientset for federation/clusters 2016-04-28 16:27:22 -07:00
k8s-merge-robot 5fc5967059 Merge pull request #24941 from gmarek/jenkins
Automatic merge from submit-queue

Move kubemark-100 to us-central
2016-04-28 12:33:29 -07:00
Jeff Grafton 03934a9081 Enable docker-in-docker and run Kubemark tests in dockerized-e2e. 2016-04-28 11:53:49 -07:00
Jeff Grafton 0db145c15d Support docker-in-docker in containerized e2e when needed. 2016-04-28 11:52:47 -07:00
gmarek 89c39bc3eb Move kubemark-100 to us-central 2016-04-28 20:11:28 +02:00
Ryan Hitchman a563c0173c Fix test-history. RE objects aren't callable. 2016-04-28 11:11:11 -07:00
k8s-merge-robot 8179a0d30e Merge pull request #24616 from gmarek/jenkins
Automatic merge from submit-queue

Add kubemark-100 for testing out new performance measurements

cc @spxtr
2016-04-28 06:49:48 -07:00
Hongchao Deng c0071a1595 add flags to enable etcd3 2016-04-28 09:48:16 +08:00
Clayton Coleman 4636af5b87
mungedocs should not assume upstream remote
The standard Git convention is "origin", not "upstream", so make it
flexible in the scripts for those who are set up differently.
2016-04-27 21:33:09 -04:00
k8s-merge-robot bc1756c56c Merge pull request #24370 from fejta/crit
Automatic merge from submit-queue

Add blocking suites to daily summary

Add a section for blocking suites, and refactor some of the code.

![blocking](https://cloud.githubusercontent.com/assets/940341/14578274/40415830-0338-11e6-8d8e-9434c87a7288.png)


/cc @rmmh
2016-04-27 17:24:23 -07:00
gmarek b5dcf822c8 Add bi-hourly kubemark-100 for testing out new performance measurements 2016-04-27 22:17:48 +02:00
CJ Cullen 3253739505 Use ABAC authz instead of AllowAll. 2016-04-27 11:38:15 -07:00
k8s-merge-robot 3a19ad7908 Merge pull request #24559 from derekwaynecarr/eviction_flags
Automatic merge from submit-queue

Add kubelet flags for eviction threshold configuration

This PR just adds the flags for kubelet eviction and the associated generated code.

I am happy to tweak text, but we can also do that later at this point in the release.

Since this causes codegen, I wanted to stage this first.

/cc @vishh @kubernetes/sig-node
2016-04-27 10:25:48 -07:00
Zach Loafman d1dadf70f4 Jenkins: Clean up even if we can't bring cluster up
We're gathering all the cluster logs, go ahead and clean up the
resources.
2016-04-27 09:44:14 -07:00
k8s-merge-robot 9db40b6b8d Merge pull request #24345 from gmarek/enable_gatherer
Automatic merge from submit-queue

Enable resource gatherer in Kubemark tests

Depends on #24291

Ref. #23820

cc @jlowdermilk
2016-04-27 08:32:20 -07:00
k8s-merge-robot 3fa84134cd Merge pull request #24124 from vmware/photon-controller
Automatic merge from submit-queue

Initial kube-up support for VMware's Photon Controller

This is for: https://github.com/kubernetes/kubernetes/issues/24121

Photon Controller is an open-source cloud management platform. More
information is available at:
http://vmware.github.io/photon-controller/

This commit provides initial support for Photon Controller. The
following features are tested and working:
- kube-up and kube-down
- Basic pod and service management
- Networking within the Kubernetes cluster
- UI and DNS addons

It has been tested with a Kubernetes cluster of up to 10
nodes. Further work on scaling is planned for the near future.

Internally we have implemented continuous integration testing and will
run it multiple times per day against the Kubernetes master branch
once this is integrated so we can quickly react to problems.

A few things have not yet been implemented, but are planned:
- Support for kube-push
- Support for test-build-release, test-setup, test-teardown

Assuming this is accepted for inclusion, we will write documentation
for the kubernetes.io site.

We have included a script to help users configure Photon Controller
for use with Kubernetes. While not required, it will help some
users get started more quickly. It will be documented.

We are aware of the kube-deploy efforts and will track them and
support them as appropriate.
2016-04-27 01:02:03 -07:00
k8s-merge-robot b7e4672db9 Merge pull request #23847 from XiaoningDing/federation-apiobject-cluster
Automatic merge from submit-queue

Federation apiobject cluster

add federation api group
add cluster api object and registry
~~generate cluster client~~ moved to #24117
update scripts to generate files for /federation

#19313 #23653 #23554
@nikhiljindal  @quinton-hoole, @deepak-vij, @XiaoningDing, @alfred-huangjian @mfanjie @huangyuqi @colhom
2016-04-27 00:26:22 -07:00
Erick Fejta e01825bfee Add blocking suites to daily summary
Add title and optional script to html header
2016-04-26 20:15:25 -07:00
Jeff Grafton 6367cd135f Only remove day+ old containers in Jenkins daily cleanup 2016-04-26 17:08:23 -07:00
k8s-merge-robot 64fbb4a81e Merge pull request #24740 from caesarxuchao/change-update-all-order
Automatic merge from submit-queue

update codegen before update codecgen

Currently if I remove an API field, update-codecgen will complain generated deepcopy functions referring to invalid fields. Running update-codegen before update-codecgen solves the problem.
2016-04-26 15:13:40 -07:00
Isaac Hollander McCreery 215872613b Revert "Always use long format in git tag." 2016-04-26 15:03:15 -07:00
Joe Finney 6b012493c3 Revert "Shallow clone for kubernetes-build and kubernetes-test-go jobs."
This reverts commit 5121ce3dc3.
2016-04-26 14:15:42 -07:00
k8s-merge-robot 95f2ca2ff6 Merge pull request #24766 from spxtr/shallow-ye
Automatic merge from submit-queue

Shallow clone for kubernetes-build and kubernetes-test-go jobs.

This should save us about 160M per clone.
2016-04-26 13:00:23 -07:00
gmarek 24bf07cc20 Enable resource gatherer in Kubemark tests 2016-04-26 21:53:05 +02:00
k8s-merge-robot 96586e7c60 Merge pull request #23958 from petervo/byte-args
Automatic merge from submit-queue

kubectl: Allow []byte config fields to be set by the cli

Allows []byte config fields such as 'certificate-authority-data' to be set using `kubectl config set` commands.
2016-04-26 10:23:07 -07:00
k8s-merge-robot 9b08bc62d1 Merge pull request #24623 from ixdy/kubemark-cluster-logs
Automatic merge from submit-queue

Use cluster/log-dump.sh to collect base cluster logs in kubemark

Fixes #24415.

cc @fejta @spxtr @wojtek-t
2016-04-26 09:13:42 -07:00
k8s-merge-robot d609e6cc98 Merge pull request #24676 from jeffvance/hack-pv
Automatic merge from submit-queue

added claim_binder sync period

simple addition to local-up-cluster to support pvclaimbinder-sync-period.
2016-04-26 08:07:15 -07:00
k8s-merge-robot b8131feaf4 Merge pull request #24131 from fejta/cron
Automatic merge from submit-queue

Script to cache metadata requests on the jenkins master

Fixes https://github.com/kubernetes/kubernetes/issues/23545

Create an http server which caches most requests to the metadata server. Use special logic to cache access tokens such that the expires_on json field is correct. Add a script to simplify enabling/disabling the cache by editing `/etc/hosts`
2016-04-26 08:07:13 -07:00
jianhuiz 3bdd4130cd add protobuf generation 2016-04-26 02:08:10 -07:00
jianhuiz 1c1ad1ad3f add cluster registry 2016-04-26 02:06:47 -07:00
Erick Fejta 7605ff0380 Script to cache metadata requests on the jenkins master 2016-04-25 23:15:27 -07:00
Clayton Coleman 4752d1a181
Allow test-cmd to run on non-Linux OS 2016-04-25 19:40:25 -04:00
Joe Finney 5121ce3dc3 Shallow clone for kubernetes-build and kubernetes-test-go jobs. 2016-04-25 15:43:55 -07:00
Zach Loafman a505882adb gke-large-cluster: Allow up to 1% of 1000 = 10 nodes
Per 2016/03/16 GKE release note, CreateCluster can return success with
only 99% success.
2016-04-25 14:16:26 -07:00
Alain Roy fa9d79df75 Initial kube-up support for VMware's Photon Controller
This is for: https://github.com/kubernetes/kubernetes/issues/24121

Photon Controller is an open-source cloud management platform. More
information is available at:
http://vmware.github.io/photon-controller/

This commit provides initial support for Photon Controller. The
following features are tested and working:
- kube-up and kube-down
- Basic pod and service management
- Networking within the Kubernetes cluster
- UI and DNS addons

It has been tested with a Kubernetes cluster of up to 10
nodes. Further work on scaling is planned for the near future.

Internally we have implemented continuous integration testing and will
run it multiple times per day against the Kubernetes master branch
once this is integrated so we can quickly react to problems.

A few things have not yet been implemented, but are planned:
- Support for kube-push
- Support for test-build-release, test-setup, test-teardown

Assuming this is accepted for inclusion, we will write documentation
for the kubernetes.io site.

We have included a script to help users configure Photon Controller
for use with Kubernetes. While not required, it will help some
users get started more quickly. It will be documented.

We are aware of the kube-deploy efforts and will track them and
support them as appropriate.
2016-04-25 13:24:16 -07:00
Zach Loafman cc7634f84a Change kubernetes-e2e-gke-large-cluster to n1-highmem-2
c.f. internal b/27776043
2016-04-25 11:19:42 -07:00
Chao Xu 5cd4929764 update codegen before update codecgen 2016-04-25 11:15:53 -07:00
Jeff Vance f4f6a53a3b added claim_binder sync period 2016-04-25 09:40:50 -07:00
Jeff Lowdermilk 1baa473ef2 kubectl rolling-update support for same image 2016-04-25 09:20:15 -07:00
derekwaynecarr 1ff0a793d7 Add generated artifacts for kubelet flags 2016-04-24 19:03:23 -04:00
k8s-merge-robot 945daaae91 Merge pull request #24626 from nikhiljindal/kubeapiversions
Automatic merge from submit-queue

Removing KUBE_API_VERSIONS from our test scripts

We dont need to specify them.
Its an unnecessary extra change that people have to make while adding a group.

We also need this change for ubernetes.

cc @caesarxuchao @jianhuiz
2016-04-22 16:36:19 -07:00
petervo 4f9d3ace5d kubectl: Allow []byte config fields to be set by the cli
Allows []byte config fields such as 'certificate-authority-data'
to be set using `kubectl config set` commands.
2016-04-22 15:53:24 -07:00
k8s-merge-robot 2e9bcb8311 Merge pull request #24025 from ZJU-SEL/fix-working-dirctory-mistake
Automatic merge from submit-queue

fix relative working dirctory of KUBE_ROOT

fix relative working dirctory of `KUBE_ROOT`, do not need to change to `KUBE_ROOT` in the first place

Signed-off-by: Crazykev <zcq8989@gmail.com>
2016-04-22 15:01:16 -07:00
Joe Finney 009ea19bf6 Up to go 1.6.2. 2016-04-22 14:21:52 -07:00
k8s-merge-robot 19a106f61e Merge pull request #24274 from euank/configurable-release-bucket
Automatic merge from submit-queue

jenkins: Allow configuration of release bucket

This allows others to leverage the existing E2E code to test some
patched kube binary by simply overriding the bucket and reusing many of
the existing scripts
2016-04-21 23:09:05 -07:00
k8s-merge-robot 7acb5db00f Merge pull request #24637 from caesarxuchao/disable-linkcheck-jenkins
Automatic merge from submit-queue

disable linkcheck jenkins job

I don't have time to fix linkcheck any soon, so temporarily disable the job.

ref #23162
2016-04-21 19:04:00 -07:00
Chao Xu 68e474381e disable linkcheck jenkins job 2016-04-21 16:07:47 -07:00
k8s-merge-robot c9ab0ebbd4 Merge pull request #24627 from zmerlynn/1000nodes
Automatic merge from submit-queue

First pass at a GKE large cluster Jenkins job

Runs a 1000 node GKE parallel e2e test. On demand only. We'll add more
tests as I see what actually works - this is going to have some
flakiness on its own.
2016-04-21 15:40:54 -07:00
k8s-merge-robot e73606b974 Merge pull request #24574 from nikhiljindal/buildFederatedServer
Automatic merge from submit-queue

update hack/build-go to build federation/cmd/federated-apiserver as well

federation/cmd/federated-apiserver was added in https://github.com/kubernetes/kubernetes/pull/23509

cc @jianhuiz
2016-04-21 15:00:06 -07:00
Jeff Grafton 308692a0c5 Use cluster/log-dump.sh to collect base cluster logs in kubemark 2016-04-21 14:39:10 -07:00
Zach Loafman fa2a516fce First pass at a GKE large cluster Jenkins job
Runs a 1000 node GKE parallel e2e test. On demand only. We'll add more
tests as I see what actually works - this is going to have some
flakiness on its own.
2016-04-21 14:36:56 -07:00
nikhiljindal 75b0842388 Removing KUBE_API_VERSIONS from our test scripts 2016-04-21 13:56:04 -07:00
k8s-merge-robot 34fc7f0401 Merge pull request #24461 from wojtek-t/enable_components_to_use_protobufs
Automatic merge from submit-queue

Allow components to use protobufs while talking to apiserver.
2016-04-21 12:46:17 -07:00
nikhiljindal aa4cdac005 hack/build-go tp build federation/cmd/federated-apiserver as well 2016-04-21 12:38:53 -07:00
k8s-merge-robot de3ce4f465 Merge pull request #24519 from fejta/heapster
Automatic merge from submit-queue

 Disable heapster job which has been broken for a month

https://github.com/kubernetes/kubernetes/issues/23538

This job is no longer producing a useful signal. http://kubekins.dls.corp.google.com/ shows that the last pass was nearly two months ago. I would like to disable the job until someone has the chance to fix it so we are not wasting jenkins resources, contributing to system instability.
2016-04-21 11:29:19 -07:00
Wojciech Tyczynski 43f5102903 Verify protobufs 2016-04-21 16:22:52 +02:00
Wojciech Tyczynski 31e2f8e485 Regenerate files 2016-04-21 14:12:13 +02:00
Erick Fejta e5dfba496d Disable heapster job which has been broken for a month 2016-04-20 20:09:09 -07:00
Prashanth Balasubramanian 0ac10c6cc2 PetSet type, apps apigroup 2016-04-20 18:49:31 -07:00
k8s-merge-robot 2599607a64 Merge pull request #24521 from fejta/flannel
Automatic merge from submit-queue

Disable flannel job until it works

https://github.com/kubernetes/kubernetes/issues/24520

See bug, this job is fails every time and has done so for two months. Until someone has time to investigate and fix disable the job on jenkins so we're not wasting resources and reducing system stability.
2016-04-20 18:27:28 -07:00
k8s-merge-robot cee4273e43 Merge pull request #24374 from smarterclayton/proto_default_on
Automatic merge from submit-queue

Enable protobuf compilation by default

Enables protobuf compilation, build verification checks, and generates all initial code.

kubectl is now 47M on OSX, build time from clean on a 2014 MBP (4 core) on Go 1.6 is ~150s.

@wojtek-t
2016-04-20 18:27:26 -07:00
Erick Fejta 7c2eb2c43e Disable flannel job until it works 2016-04-20 17:18:01 -07:00
k8s-merge-robot 49741c71aa Merge pull request #24270 from gtank/swaggergen-defaults
Automatic merge from submit-queue

hack: change update-swagger-spec.sh apiserver defaults

Removing the explicit list of KUBE_API_VERSIONS will cause the apiserver
to enable all APIs by default. This change reduces the amount of script
hacking needed to add new API groups in the future.
2016-04-20 17:13:34 -07:00
goltermann 3fa6c6f6d9 Enable vet 2016-04-20 09:48:24 -07:00
Clayton Coleman befe95869b Add generated-protobuf to hack/update-all.sh 2016-04-20 12:13:10 -04:00
Clayton Coleman ddb7b54006 Ensure a newline at the end of all API docs 2016-04-20 12:13:08 -04:00
Clayton Coleman cea4c010a6 Strip the proto build guard 2016-04-20 12:12:29 -04:00
k8s-merge-robot 86544c2288 Merge pull request #24426 from pwittrock/flaky
Automatic merge from submit-queue

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-19 22:36:40 -07:00
CJ Cullen 760568796f Masquerade traffic from off-cluster going through kube-proxy. 2016-04-19 21:39:34 -07:00
k8s-merge-robot 265c7df39e Merge pull request #24232 from spxtr/e2e-docs
Automatic merge from submit-queue

Add some more info to the Jenkins README.

This is a bit of a work-in-progress, and I'd appreciate feedback on what to add or remove. I'm not sure that I need to say so much about the GCS format, and I should probably say some more about JJB.

@kubernetes/sig-testing
2016-04-19 16:37:15 -07:00
k8s-merge-robot c1fe51c7f8 Merge pull request #24439 from nikhiljindal/fixVerifySwaggerDocs
Automatic merge from submit-queue

Removing call to update-swagger-spec.sh from update-generated-swagger-docs.sh

Fixes https://github.com/kubernetes/kubernetes/issues/24233

Right now `update-generated-swagger-docs.sh` calls `update-swagger-spec.sh`, but `verify-generated-swagger-docs.sh` does not verify swagger spec (that is done by `verify-swagger-spec.sh`).
Hence, `verify-swagger-spec` breaks if it is called after `verify-generated-swagger-docs`.

Fixing it by removing the call to `update-swagger-spec.sh` from `update-generated-swagger-docs.sh`.
This will require users to run both `update-swagger-spec` and `update-generated-swagger-docs` when they update api types, but they already need to run many more scripts (`update-api-reference-docs`, `update-codegen`). 
People should mostly be running hack/update-all.sh directly :)
2016-04-19 15:07:10 -07:00
Jeff Lowdermilk d5425708a6 Merge pull request #24425 from jlowdermilk/list-resources
Always pull list-resources.sh from head
2016-04-19 14:54:49 -07:00
k8s-merge-robot d01939e604 Merge pull request #24283 from andyzheng0831/e2e
Automatic merge from submit-queue

Shorten cluster names in GKE Jenkins on Trusty

We identified an issue that the PD tests in GKE Jenkins on Trusty fail because the PD name is longer than the limit of 63 characters. The PD name embeds the "E2E_NAME" env variable exported in the Jenkins job configuration. This PR shortens that string for all GKE Jenkins on Trusty. As a result, the PD name will meet the limit requirement.
2016-04-19 14:31:30 -07:00
k8s-merge-robot 02a133e21f Merge pull request #24468 from johscheuer/fix-kube-root-codegen
Automatic merge from submit-queue

Remove double assignment of KUBE_ROOT

`KUBE_ROOT` got assigned twice in the codegen script.
2016-04-19 13:51:16 -07:00
k8s-merge-robot d1c5ae65d8 Merge pull request #24480 from spxtr/bump-test-go
Automatic merge from submit-queue

Bump kubernetes-test-go timeout.

It looks like the run times got more inconsistent because of load on the VM. Adding another Jenkins slave improved things so we're not constantly timing out, but it still gets a little close to timing out at times.

Average runtime is ~45 mins so I went with a 100 min timeout.

Fixes #24285
2016-04-19 13:03:30 -07:00
k8s-merge-robot 705837683a Merge pull request #24346 from spxtr/remove-1-1-soak
Automatic merge from submit-queue

Remove soak and disruptive 1.1 Jenkins jobs.

They're both in the kubernetes-jenkins project, not their own. The disruptive one isn't a critical build, and I don't think the soak should be critical at all, since it's never green for a week anyway and I don't think we ever plan for it to be.
2016-04-19 13:03:28 -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
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
Johannes Scheuermann 38cb577cd3 Remove double assignment of KUBE_ROOT 2016-04-19 16:18:16 +02: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 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
Alex Robinson 27096ccf5c Use 3 nodes per zone in the GKE multizone test instead of 1 2016-04-18 21:32:52 -07: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
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
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
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 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
k8s-merge-robot a275a045d1 Merge pull request #23914 from sky-uk/make-etcd-cache-size-configurable
Automatic merge from submit-queue

Make etcd cache size configurable

Instead of the prior 50K limit, allow users to specify a more sensible size for their cluster.

I'm not sure what a sensible default is here. I'm still experimenting on my own clusters. 50 gives me a 270MB max footprint. 50K caused my apiserver to run out of memory as it exceeded >2GB. I believe that number is far too large for most people's use cases.

There are some other fundamental issues that I'm not addressing here:
- Old etcd items are cached and potentially never removed (it stores using modifiedIndex, and doesn't remove the old object when it gets updated)
- Cache isn't LRU, so there's no guarantee the cache remains hot. This makes its performance difficult to predict. More of an issue with a smaller cache size.
- 1.2 etcd entries seem to have a larger memory footprint (I never had an issue in 1.1, even though this cache existed there). I suspect that's due to image lists on the node status.

This is provided as a fix for #23323
2016-04-17 00:06:31 -07:00
k8s-merge-robot bfc953cd4b Merge pull request #23890 from pmorie/kubectl-describe-envs
Automatic merge from submit-queue

Correctly handle secret and configMap envs in kubectl describe

Fixes #23679 

cc @kubernetes/kubectl @jwforres
2016-04-16 17:08:58 -07:00
k8s-merge-robot 957ee1d50a Merge pull request #23819 from rrati/controller-manager-startup-delay
Automatic merge from submit-queue

Added optional delays to starting controller managers. #22669
2016-04-16 15:33:32 -07:00
Andy Zheng b2b738eed3 Shorten cluster names in GKE Jenkins on Trusty 2016-04-16 08:56:43 -07:00
k8s-merge-robot e87d8bacc4 Merge pull request #24273 from gtank/local-up-advertise
Automatic merge from submit-queue

hack: specify --advertise-address in hack/local-up-cluster.sh

This fixes the bug where the script fails to launch an apiserver on a
machine without active networking (issue #24272).
2016-04-16 07:31:14 -07:00
k8s-merge-robot d40bf503ed Merge pull request #24256 from porridge/fix-newlines
Automatic merge from submit-queue

Fix spacing in usage_from_stdin and info_from_stdin (issue #24186).

If "a" is a bash array, then the syntax to append the contents of $line as a
new element to the array is a+=("$line"), not messages+=$line

Using the former syntax just seems to append to the first element, creating a
long string and thus losing newline information.

Fixing this allows us to drop some empty lines from invocations of
usage_from_stdin.
2016-04-16 07:31:12 -07:00
k8s-merge-robot 8a44115cc5 Merge pull request #24338 from spxtr/linkcheck
Automatic merge from submit-queue

Move cmd/linkcheck to test targets.

https://github.com/kubernetes/kubernetes/issues/24285#issuecomment-210306681
2016-04-16 00:00:30 -07:00
k8s-merge-robot 7bc49fb085 Merge pull request #24243 from hodovska/master
Automatic merge from submit-queue

Remove --api-version usage in test-cmd.sh.

Kubectl flag `--api-version` has been deprecated.

Fixes #24053
2016-04-16 00:00:27 -07:00
Joe Finney e0f585ae93 Revert "Revert "Revert "Run most GCE, GKE, and Kubemark e2e jobs inside Docker"""
This reverts commit 93ea0252fd.
2016-04-15 18:41:40 -07:00
Joe Finney 009b0f051d Merge pull request #24356 from spxtr/revert-revert
Revert "Revert "Run most GCE, GKE, and Kubemark e2e jobs inside Docker""
2016-04-15 16:02:30 -07:00
k8s-merge-robot 985b5f14e2 Merge pull request #24168 from ixdy/jenkins-daily-maintenance-job
Automatic merge from submit-queue

Rename "gcloud-update" jobs to "daily-maintenace" and add Docker cleanup

I'm guessing Jenkins Job Builder won't delete the old job, and we'll need to do that manually?

@spxtr @fejta
2016-04-15 15:41:03 -07:00
k8s-merge-robot 03f48e730e Merge pull request #22810 from amygdala/cassandra2
Automatic merge from submit-queue

phase 2 of cassandra example overhaul

Here's the next iteration in overhauling this example, towards https://github.com/kubernetes/kubernetes/issues/20961.  This removes the pod adoption part, but doesn't (yet) otherwise change any of the resources used.

It also includes some README cleanup, and removes some explicit specification of labels in the rc yaml.

This PR doesn't yet add any commentary on how we're using the seed provider (re: https://github.com/kubernetes/kubernetes/issues/20961#issuecomment-190405959 etc.).  Maybe we should add that.

Also: LMK if this PR should include any changes to the links out to the docs.

cc @bgrant0607 @johndmulhausen
2016-04-15 15:41:01 -07:00
Joe Finney 93ea0252fd Revert "Revert "Run most GCE, GKE, and Kubemark e2e jobs inside Docker""
This reverts commit b2f8b1962f.
2016-04-15 14:56:48 -07:00
k8s-merge-robot 82458d8f46 Merge pull request #24281 from ixdy/dockerized-e2e
Automatic merge from submit-queue

Set metadata.google.internal IP in dockerized e2e based on /etc/hosts

Support the metadata cacher from #24131 inside dockerized e2e runs.

cc @fejta
2016-04-15 14:48:15 -07:00
Jeff Grafton 9fa35d0bc6 Set metadata.google.internal IP in dockerized e2e based on /etc/hosts 2016-04-15 12:12:12 -07:00
k8s-merge-robot 75d9b36a2a Merge pull request #24175 from fejta/fast
Automatic merge from submit-queue

Restart job 5m after the previous failure.

If a job flakes at the beginning of it scripts, it will likely sit around doing nothing for 30m blocking the merge queue. Decreasing this to 5m.
2016-04-15 12:04:08 -07:00
Mike Danese c5cc0c34fb Merge pull request #24277 from ihmccreery/upgrade-timeout
Use a sane timeout for experimental upgrade jobs, and skip v1.1 tests
2016-04-15 11:40:09 -07:00
Joe Finney c2906ee09d
Remove soak and disruptive 1.1 Jenkins jobs. 2016-04-15 11:34:30 -07:00
Joe Finney 7179296e30
Move cmd/linkcheck to test targets. 2016-04-15 09:55:04 -07:00
Erick Fejta f5cc8f772b Restart job 5m after the previous failure. 2016-04-15 07:33:18 -07:00
k8s-merge-robot ff1da7674d Merge pull request #24268 from wojtek-t/remove_old_conversions_generator
Automatic merge from submit-queue

Remove old conversion generator
2016-04-15 04:25:19 -07:00
Wojciech Tyczynski 89e860e622 Remove old conversion generator 2016-04-15 12:07:57 +02:00
Amy Unruh 8846b313dc phase 2 of cassandra example overhaul 2016-04-14 21:55:23 -07:00
Daniel Smith 225f4786af Merge pull request #24026 from gmarek/gofmt
Add go1.4 and 1.6 to hack/verify-gofmt.sh and fail verify check if go…
2016-04-14 16:56:33 -07:00
Daniel Smith a42d7fa31c Merge pull request #23756 from smarterclayton/force_delete
Add a client flag to delete "--now" for grace period 0
2016-04-14 16:55:07 -07:00
Daniel Smith d8532e0746 Merge pull request #24294 from spxtr/build-boop
Bump kubernetes-build timeout.
2016-04-14 16:23:11 -07:00
Daniel Smith f778cb3bc7 Merge pull request #24223 from tyangliu/generate-yaml-docs
Include genyaml in update/verify generated docs scripts
2016-04-14 16:22:03 -07:00
Joe Finney 21e664aa95 Bump kubernetes-build timeout. 2016-04-14 16:16:21 -07:00
Daniel Smith 276665f774 Merge pull request #24289 from spxtr/bandaid
Bump the kubernetes-test-go timeout.
2016-04-14 15:52:12 -07:00
Joe Finney b00ade13e5 Bump the kubernetes-test-go timeout. 2016-04-14 15:48:37 -07:00
Daniel Smith a4e0aaab9d Merge pull request #24068 from ixdy/jjb-diff
Compute Jenkins job config XML changes easily
2016-04-14 15:12:09 -07:00
Daniel Smith 4389aa1364 Merge pull request #23931 from luxas/build_for_arm64
Build Kubernetes, etcd and flannel for arm64 and ppc64le
2016-04-14 15:10:37 -07:00
Joe Finney e6919f335e
Update Jenkins documentation. 2016-04-14 14:13:32 -07:00
Isaac Hollander McCreery 5e1a268511 Use a sane timeout for experimental upgrade jobs, and skip v1.1 tests properly 2016-04-14 13:13:20 -07:00
Euan Kemp 9f9c54cdd2 jenkins: Allow configuration of release bucket
This allows others to leverage the existing E2E code to test some
patched kube binary by simply overriding the bucket and reusing many of
the existing scripts
2016-04-14 12:26:43 -07:00
George Tankersley 07eb9ec305 hack: specify advertise address for local-up-cluster.sh
This fixes the bug where the script fails to launch an apiserver on a
machine without active networking.
2016-04-14 12:08:21 -07:00
George Tankersley 64b11a0b79 hack: change update-swagger-spec.sh apiserver defaults
Removing the explicit list of KUBE_API_VERSIONS will cause the apiserver
to enable all APIs by default. This change reduces the amount of script
hacking needed to add new API groups in the future.
2016-04-14 11:48:11 -07:00
Daniel Smith 490c68dbe3 Merge pull request #23768 from wojtek-t/conversions_with_framework_6
Migrate to new conversions generator - part 2
2016-04-14 11:30:21 -07:00
Marcin Owsiany 9ce855269e Fix spacing in usage_from_stdin and info_from_stdin (issue #24186).
If "a" is a bash array, then the syntax to append the contents of $line as a
new element to the array is a+=("$line"), not messages+=$line

Using the former syntax just seems to append to the first element, creating a
long string and thus losing newline information.

Fixing this allows us to drop some empty lines from invocations of
usage_from_stdin.
2016-04-14 18:19:02 +02:00
Dominika Hodovska 70a43aa043 Remove --api-version usage in test-cmd.sh. 2016-04-14 10:14:11 +02:00
Lucas Käldström 4559a84d3b Build Kubernetes, etcd and flannel for arm64 and ppc64le 2016-04-14 07:29:10 +03:00
Daniel Smith d19bc6b245 Merge pull request #24222 from pwittrock/jjbto
Increase kubelet timeout from 30->45 minutes to address long build ti…
2016-04-13 17:15:25 -07:00
Phillip Wittrock e79483ab0b Increase kubelet timeout from 30->45 minutes to address long build times. 2016-04-13 15:14:12 -07:00
Thomas Liu f4f04e2985 Include genyaml in update/verify generated docs scripts 2016-04-13 15:11:31 -07:00
goltermann a3104ba96c Final vet fixes; enabling vet checks in verify scripts. 2016-04-13 13:51:51 -07:00
Tim St. Clair b0d3f32e88 Update test/e2e for test/e2e/framework refactoring 2016-04-13 10:50:17 -07:00
Robert Rati 83de3e9733 Added optional delays to starting controller managers. #22669 2016-04-13 09:52:28 -04:00
k8s-merge-robot d8680feda6 Merge pull request #24184 from fejta/kubemark
Automatic merge from submit-queue

Increase 5 node kubemark to a 60m timeout, schedule every 5m

Closes https://github.com/kubernetes/kubernetes/issues/24183 and should reduce mergebot flakes

http://kubekins.dls.corp.google.com/view/Submit%20Queue/job/kubernetes-kubemark-5-gce/1354/consoleFull is an example where everything seemed to be running find but ran out of time after 30m, which is only slightly slower than its average passing runtime of 20m. I'm increasing to 3x average runtime.
2016-04-13 04:43:05 -07:00
Erick Fejta e1ed4d48a4 Increase 5 node kubemark to a 60m timeout and start every 5m (when not already running) 2016-04-13 01:28:46 -07:00
k8s-merge-robot 42ac05fa20 Merge pull request #24115 from rmmh/test-history-suites
Automatic merge from submit-queue

Add suite pages to test-history

This changes http://storage.googleapis.com/kubernetes-test-history/static/index.html to look like:

![image](https://cloud.githubusercontent.com/assets/211868/14445317/f263e1da-0000-11e6-9bd9-01150d9ae4ba.png)

And adds sub-pages to show test results for specific suites:

![image](https://cloud.githubusercontent.com/assets/211868/14445339/1bb8555c-0001-11e6-9e5c-41d671af39a1.png)
2016-04-12 19:48:56 -07:00
Erick Fejta b2f8b1962f Revert "Run most GCE, GKE, and Kubemark e2e jobs inside Docker" 2016-04-12 18:40:21 -07:00
Ryan Hitchman 5683c0b087 Make test-history generator create pages for individual suites
This makes it easier to determine which tests cause particular suites to
fail.

All static HTML pages are now generated by one invocation of gen_html.py.

- make index include good/flake/fail numbers for each link
- consistently use % for string interpolation
2016-04-12 18:07:59 -07:00
Jeff Grafton d82a8cb282 Add a verify check to check Jenkins job config changes 2016-04-12 16:49:28 -07:00
Jeff Grafton 47967d0756 Add script to compute diff in Jenkins job config changes 2016-04-12 16:49:22 -07:00
Jeff Grafton 5bcd1f8d7b Rename "gcloud-update" jobs to "daily-maintenace" and add Docker cleanup 2016-04-12 16:43:34 -07:00
Abhi Shah 405656eff8 Merge pull request #24149 from ihmccreery/upgrade-clean
e2e-runner: don't clean old binaries before upgrade
2016-04-12 15:19:56 -07:00
Jeff Grafton 0fb747882d Merge pull request #24109 from ixdy/dockerized-e2e
Run most GCE, GKE, and Kubemark e2e jobs inside Docker
2016-04-12 14:38:04 -07:00
k8s-merge-robot 95871a3582 Merge pull request #24066 from wonderfly/serial_tests_trusty
Automatic merge from submit-queue

Start running [Serial] tests in Trusty CI jobs and the release job of Trusty-dev

Adding these tests as requested in https://github.com/kubernetes/kubernetes/issues/23956#issuecomment-207096136

@spxtr Can you review this?
cc/ @dchen1107 @andyzheng0831
2016-04-12 13:28:40 -07:00
Isaac Hollander McCreery 7fb421bdc3 e2e-runner: don't clean old binaries before upgrade 2016-04-12 11:12:59 -07:00
Alex Robinson 80a75ff76c Merge pull request #24075 from a-robinson/multizone
Add an e2e test suite for multi-zone GKE clusters.
2016-04-12 09:31:24 -07:00
James Ravn 5bb0595260 Make deserialization cache size configurable
Instead of the default 50K entries, allow users to specify more sensible
sizes for their cluster.
2016-04-12 13:42:27 +01:00
Jeff Grafton a639e702f0 Run most GCE, GKE, and Kubemark e2e jobs inside Docker
Explicitly pin all <= 1.1 e2e jobs, upgrade, soak, and AWS jobs to
the master node and "legacy" e2e runner.
2016-04-11 14:26:00 -07:00
Jordan Liggitt 37c86041ca Preserve int64 data when patching 2016-04-11 16:23:28 -04:00
Jeff Grafton 1816582fda Remove "dirty workspace" check in e2e-runner.sh 2016-04-11 12:02:14 -07:00
Jeff Grafton 94d4a3eca3 Merge pull request #24010 from ixdy/dockerized-e2e
Run kubernetes-e2e-g[ck]e-flaky inside Docker
2016-04-11 11:36:18 -07:00
Isaac Hollander McCreery f9ffeb8244 Merge pull request #24077 from ihmccreery/upgrade-version-1.1
Fix upgrade jobs again
2016-04-11 09:52:46 -07:00
Wojciech Tyczynski 7448cc04e1 Switch to new generator 2016-04-11 08:04:45 +02:00
k8s-merge-robot e31177219b Merge pull request #23962 from fejta/test-cmd
Automatic merge from submit-queue

Update hack/test-cmd.sh to use tagged, gcr.io images

Migrate hack/test-cmd.sh and related test data to use tagged, gcr.io versions of the images for #13288 and #20836
2016-04-09 20:37:45 -07:00
Isaac Hollander McCreery a2fc84878e Use 1.1 as published version for experimental upgrade jobs 2016-04-08 17:31:10 -07:00
Alex Robinson e686ba978f Add an e2e test suite for multi-zone GKE clusters. 2016-04-09 00:14:44 +00:00
Jeff Grafton fde3545351 Use dockerized e2e for g[ck]e-flaky jobs, and run on the Jenkins slave
Force all other e2e jobs to run on master.
2016-04-08 16:45:00 -07:00
Jeff Grafton 253711016e Make e2e-runner.sh work inside Docker and add wrapper script 2016-04-08 16:42:09 -07:00
Jeff Lowdermilk 3a1767fda0 Merge pull request #23649 from ihmccreery/release-pin
Create test job against release/latest on GKE
2016-04-08 16:38:42 -07:00
Erick Fejta 7d2055a762 Increase *-slow workflow timeouts to 150 as avg runtime is 50m 2016-04-08 15:54:49 -07:00
Daniel Wang f7b674533c Start running [Serial] tests in Trusty CI jobs and the release job of Trusty-dev 2016-04-08 14:25:11 -07:00
Jeff Lowdermilk 9ee4d79a62 Merge pull request #23821 from spxtr/retry-404
Retry the cloudsdk gsutil copy.
2016-04-08 12:56:28 -07:00
Jeff Lowdermilk 8b6ab71901 Merge pull request #23760 from spxtr/disable-jobs
Disable autoscaling Jenkins job.
2016-04-08 12:54:41 -07:00
Jeff Lowdermilk 653bc04eb2 Merge pull request #24032 from ixdy/update-job
Only keep 7 days' worth of logs for kubernetes-update-jenkins-jobs
2016-04-08 12:44:29 -07:00
Jeff Lowdermilk c0567e3b5f Merge pull request #24046 from ihmccreery/fix-upgrade-splits
Fix upgrade tests
2016-04-08 12:43:51 -07:00
Jeff Lowdermilk 48ea7cae48 Merge pull request #23970 from fejta/slow
Increase standard e2e suite timeout to 50m, twice mean runtime
2016-04-08 09:33:32 -07:00
Isaac Hollander McCreery 1c28cf016c Fix upgrade tests 2016-04-08 08:28:18 -07:00
gmarek c36e965c45 Change the go version checking in go format to the same as in contrib. 2016-04-08 10:14:01 -04:00
Jeff Grafton c924f5aa87 Only keep 7 days' worth of logs for kubernetes-update-jenkins-jobs 2016-04-08 00:21:47 -07:00
Clayton Coleman ea3467f822 Add a client flag for --now delete
Is equivalent to --grace-period=0 but is more intuitive for end users.
2016-04-07 23:45:08 -04:00
Crazykev 7c9dfd8620 fix relative working dirctory of KUBE_ROOT
Signed-off-by: Crazykev <zcq8989@gmail.com>
2016-04-08 11:00:27 +08:00
Erick Fejta 5fd47873dd Update hack/test-cmd.sh to use tagged, gcr.io images 2016-04-07 17:55:22 -07:00
Jeff Lowdermilk d427eeea10 Merge pull request #23842 from mml/gcloud
Set CLOUDSDK_CORE_PRINT_UNHANDLED_TRACEBACKS on GCE e2e runs.
2016-04-07 15:59:23 -07:00
k8s-merge-robot 25ffc6ab03 Merge pull request #23984 from vishh/skip-tests-node-e2e
Automatic merge from submit-queue

Add an option to focus or skip tests in the node e2e makefile rule.

cc @kubernetes/sig-node
2016-04-07 14:09:12 -07:00
Paul Morie 9069cbb086 Correctly handle secret and configMap envs in kubectl describe 2016-04-07 14:16:59 -04:00
Vishnu kannan 1e7e941dae Add an option to focus or skip tests in the node e2e makefile rule.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-04-07 10:22:22 -07:00
Erick Fejta 7416c4470c Increase standard e2e suite timeout to 50m, twice mean runtime 2016-04-06 19:11:17 -07:00
Joe Finney 5f5639da1e
Retry the cloudsdk gsutil copy. 2016-04-06 16:42:14 -07:00
k8s-merge-robot 7b0766ad67 Merge pull request #23712 from freehan/jenkins
Automatic merge from submit-queue

add jenkins project for kubenet

added a jenkins project for gce using kubenet as network provider


`k8s-jkns-e2e-gce-kubenet` has been created and configured
2016-04-06 15:33:49 -07:00
Matt Liggett 42b8fa8ca6 Stop using storage.cloud.google.com in test logs. 2016-04-06 12:59:53 -07:00
Isaac Hollander McCreery 9a7860855c Merge pull request #22962 from ihmccreery/split-upgrade-jobs
Add configuration for splitting upgrade jobs instead of using Jenkins steps
2016-04-05 13:05:25 -07:00
Matt Liggett 3a4beb1ef1 Set CLOUDSDK_CORE_PRINT_UNHANDLED_TRACEBACKS on GCE e2e runs.
This should help us debug the large number of gcloud crashes we are
seeing.
2016-04-04 15:07:53 -07:00
Isaac Hollander McCreery 53c3a5626d Add configuration for splitting upgrade jobs instead of using Jenkins steps 2016-04-04 14:21:21 -07:00
Vishnu kannan a3cfe90b14 Transfer ownership of cadvisor e2es to Tim St. Clair.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-04-04 13:15:03 -07:00
Isaac Hollander McCreery e5d900a23f Remove cloud-kubernetes-alerts from notifications, since the emails aren't going through anyway 2016-04-04 10:47:08 -07:00
Isaac Hollander McCreery 718c5b0d2f Create test job against release/latest on GKE 2016-04-04 10:47:08 -07:00