Commit Graph

2926 Commits (6402b04cf39c1f86e596bdf70f1f09f574a13175)

Author SHA1 Message Date
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