Commit Graph

2867 Commits (ba4a5ed39e8c4e2b42ac284387c078429ab6bfb3)

Author SHA1 Message Date
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
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
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
Joe Finney 1358f5c529 Disable autoscaling Jenkins job. 2016-04-01 13:16:05 -07:00
Fabio Yeon bf07a6f5e1 Merge pull request #23452 from david-mcmahon/mungedocs
Add --norecurse bool to allow mungedocs to process kube root.
2016-04-01 12:06:56 -07:00
Jeff Grafton d7f7c7796c Merge pull request #23415 from ixdy/upload-to-gcs-script
Refactor upload-started.sh and upload-finished.sh into upload-to-gcs.sh
2016-04-01 11:54:12 -07:00
k8s-merge-robot a49d5c1fd0 Merge pull request #23714 from wojtek-t/dont_run_without_watch_cache
Automatic merge from submit-queue

Don't run integration tests without watch cache.

@lavalamp - FYI
2016-04-01 09:31:34 -07:00
k8s-merge-robot 14f5eb458d Merge pull request #23454 from wonderfly/bump_timeouts
Automatic merge from submit-queue

Migrate gke-trusty test jobs to 1.2

Following up #23100 and #23139, #23319, migrate all gke-trusty jobs to the
`release-1.2` branch, add parallel and subnet test jobs, and bump timeouts
accordingly.

Tested with `jenkins-jobs test`. Manually diff'ed gke-trusty jobs against their equivalent gke jobs. For example,

```
# diff /tmp/jobs0324/kubernetes-e2e-gke-test /tmp/jobs0324/kubernetes-e2e-gke-trusty-test
4c4
<   <description>Run E2E tests on GKE test endpoint. Test owner: GKE on-call.&lt;!-- Managed by Jenkins Job Builder --&gt;</description>
---
>   <description>Run E2E tests on GKE test endpoint. Test owner: wonderfly@google.com.&lt;!-- Managed by Jenkins Job Builder --&gt;</description>
49c49
< export PROJECT=&quot;k8s-jkns-e2e-gke-test&quot;
---
> export PROJECT=&quot;kubekins-e2e-gke-trusty-test&quot;
51a52
> export E2E_NAME=&quot;jkns-gke-e2e-test-trusty&quot;
228c229
<       <recipientList>$DEFAULT_RECIPIENTS</recipientList>
---
>       <recipientList>wonderfly@google.com,qzheng@google.com</recipientList>
```

@spxtr @roberthbailey @ihmccreery Can you review this?
cc/ @andyzheng0831
2016-04-01 06:38:56 -07:00
k8s-merge-robot 07929972a3 Merge pull request #18835 from brendandburns/3rdparty
Automatic merge from submit-queue

Add support for 3rd party objects to kubectl

@deads2k @jlowdermilk

Instructions for playing around with this:

Run an apiserver with third party resources turned on (`--runtime-config=extensions/v1beta1=true,extensions/v1beta1/thirdpartyresources=true`)

Then you should be able to:

```
kubectl create -f rsrc.json
```

```json
{
  "metadata": {
    "name": "foo.company.com"
  },
  "apiVersion": "extensions/v1beta1",
  "kind": "ThirdPartyResource",
  "versions": [
    {
      "apiGroup": "group",
      "name": "v1"
    },
    {
      "apiGroup": "group",
      "name": "v2"
    }
  ]
}
```

Once that is done, you should be able to:

```
curl http://<server>/apis/company.com/v1/foos
```

```
curl -X POST -d @${HOME}/foo.json http://localhost:8080/apis/company.com/v1/namespaces/default/foos
```

```json
{
  "kind": "Foo",
  "apiVersion": "company.com/v1",
  "metadata": {
    "name": "baz"
  },
  "someField": "hello world",
  "otherField": 1
}
```

After this PR, you can do:

```
kubectl create -f foo.json
```

```
kubectl get foos
```

etc.
2016-03-31 18:09:56 -07:00
k8s-merge-robot f8ea3fab53 Merge pull request #23427 from wojtek-t/conversions_with_framework_4
Automatic merge from submit-queue

Migrate to the new conversion generator - part1

This PR contains two commits:
- few more fixes to the generator
- migration of the pkg/api/v1 to use the new generator

The second commit is big, but I reviewed the changes and they contain:
- conversions between types that we didn't even generating conversion between
- changes in how we handle maps/pointers/slices - previously we were explicitly referencing fields, now we are using "shadowing in, out" to make the code more generic
- lack of auto-generated method for ReplicationControllerSpec (because these types are different (*int vs int for Replicas) and a preexisting conversion already exists

Most of issues in the first commit (e.g. adding references to "in" and "out" for slices/maps/points) were discovered by our tests. So I'm pretty confident that this change is correct now.
2016-03-31 17:28:36 -07:00
David McMahon 37787ffe90 Add --norecurse bool to allow mungedocs to process kube root.
Run hack/after-build/update-generated-docs.sh on kube root with --norecurse and
--skip-munges=unversioned-warning.
2016-03-31 16:53:44 -07:00
Wojciech Tyczynski 70688f84e8 Don't run integration tests without watch cache. 2016-04-01 00:51:23 +02:00
Minhan Xia 2937d8f87f add jenkins project for kubenet 2016-03-31 15:00:36 -07:00
Jeff Grafton 62b3587b62 Use upload-to-gcs.sh everywhere 2016-03-31 13:49:06 -07:00
Jeff Grafton f83a6f1665 Refactor upload-started.sh and upload-finished.sh into upload-to-gcs.sh. 2016-03-31 13:45:23 -07:00
k8s-merge-robot 154ed74424 Merge pull request #23469 from fejta/goget
Automatic merge from submit-queue

Retry github and godep operations in test-dockerized.sh

closes #21887.

Attempt to mitigate go get and godep flakes by retrying a few times inside of jenkins
2016-03-31 12:23:57 -07:00
Brendan Burns be6c5b332b Add third party support to kubectl 2016-03-31 10:53:32 -07:00
k8s-merge-robot 5e159695d9 Merge pull request #23422 from gmarek/diff
Automatic merge from submit-queue

When checking for leak look only at additional resources

This should help with "fake" leaks, when run deletes stuff that was leaked in a previous one.

cc @zmerlynn @ixdy @wojtek-t
2016-03-31 06:32:54 -07:00
gmarek 5555cbeb2b When checking for leak look only at additional resources 2016-03-30 15:08:14 -07:00
Janet Kuo c1596e6711 Update guestbook examples; replace RC concepts with Deployment 2016-03-30 14:16:52 -07:00
Isaac Hollander McCreery 84a6c4588a Fix cluster names to be numeric in upgrade jobs 2016-03-30 13:31:01 -07:00
Erick Fejta 0c0722373c Retry intermittent failures in test-dockerized.sh during go get 2016-03-30 11:44:35 -07:00
Isaac Hollander McCreery fe58dac522 Merge pull request #23096 from ihmccreery/numeric-cluster-names-upgrades
Fix cluster names to be numeric in upgrade jobs
2016-03-30 11:08:21 -07:00
k8s-merge-robot be8ce6c385 Merge pull request #23353 from spiffxp/conformance-docs
Automatic merge from submit-queue

Update conformance test policy

Addresses #14913

/cc @kubernetes/sig-testing
2016-03-30 06:21:13 -07:00
k8s-merge-robot 6226cbe6ca Merge pull request #23308 from yifan-gu/rkt_bump
Automatic merge from submit-queue

rkt: bump rkt version to 1.2.1

Upon bumping the rkt version, `--hostname` is supported. Also we now gets the configs from the rkt api service, so `stage1-image` is deprecated. 

cc @yujuhong @Random-Liu
2016-03-30 05:42:58 -07:00
Daniel Wang a84f4c2af6 Migrate gke-trusty test jobs to 1.2
Following up #23100 and #23139, #23319, migrate all gke-trusty jobs to the
`release-1.2` branch, add parallel and subnet test jobs, and bump timeouts
accordingly.
2016-03-29 15:35:16 -07:00
Phillip Wittrock 9de33fc425 Run node test jobs every 30 minutes instead of daily. This is critical for the kubelet e2e as it is a merge queue blocker. 2016-03-29 09:54:51 -07:00
Wojciech Tyczynski 9ee8278e4a Fix remaining issues with conversion generator. 2016-03-29 09:49:27 +02:00
Yifan Gu d814d973ff rkt: Bump rkt required version. Get options from api service. 2016-03-28 17:06:14 -07:00
k8s-merge-robot 5cb94cfab1 Merge pull request #23302 from spxtr/unittest-1.6
Auto commit by PR queue bot
2016-03-26 11:56:54 -07:00
k8s-merge-robot 23fc7905c1 Merge pull request #23466 from andyzheng0831/fix
Auto commit by PR queue bot
2016-03-26 04:01:49 -07:00
Robert Bailey 44b1f63d16 Set the correct api endpoint for gke prod. 2016-03-25 15:34:55 -07:00
Andy Zheng 364ac85179 Support differentiation of OS distro in e2e tests 2016-03-25 14:53:36 -07:00
k8s-merge-robot 1358dac95d Merge pull request #23418 from roberthbailey/gke-asia
Auto commit by PR queue bot
2016-03-25 06:17:17 -07:00
k8s-merge-robot 548cfa68ca Merge pull request #23202 from ixdy/jenkins-test-go-gopath
Auto commit by PR queue bot
2016-03-25 04:23:39 -07:00
Daniel Wang a06eb5b0c2 Disable gke-trusty-prod
Has been failing constantly due to a known internal issue.
2016-03-24 18:35:05 -07:00
David McMahon 47ee746fcc Merge pull request #23364 from david-mcmahon/godep-licenses
Write a parallel (godeps) _workspace tree to hold all the missing files.
2016-03-24 15:35:50 -07:00
Robert Bailey a39c120cbe Use the right variable to change the GKE zone. 2016-03-24 09:26:48 -07:00
gmarek 6dec136b23 Remove kubemark-gce suite 2016-03-24 10:52:57 +01:00
k8s-merge-robot 8355cefb7b Merge pull request #23373 from wojtek-t/conversions_with_framework_3
Auto commit by PR queue bot
2016-03-24 01:39:23 -07:00
k8s-merge-robot 76fde46b16 Merge pull request #23025 from nikhiljindal/disableSwaggerUI
Auto commit by PR queue bot
2016-03-24 00:55:06 -07:00
Wojciech Tyczynski 42e7ecda5a Fix bunch of issues with conversion generator. 2016-03-24 08:26:51 +01:00
Prashanth Balasubramanian 3ced1eedf5 Give 1-2 ingress tests their own project. 2016-03-23 16:22:49 -07:00
k8s-merge-robot 635bc410a6 Merge pull request #23405 from ixdy/jenkins-job-configs
Auto commit by PR queue bot
2016-03-23 16:19:33 -07:00
k8s-merge-robot f8bb10b479 Merge pull request #22818 from andyzheng0831/enhance
Auto commit by PR queue bot
2016-03-23 16:19:31 -07:00
Jeff Grafton 601ecaff0a Run upload-to-gcs.sh after upload-finished.sh. 2016-03-23 15:28:06 -07:00
k8s-merge-robot 69b3cb36a6 Merge pull request #22726 from chuckbutler/juju-import-layers
Auto commit by PR queue bot
2016-03-23 14:26:42 -07:00
nikhiljindal 1cccfc7074 Disabling swagger ui by default. Adding a flag to enable it 2016-03-23 13:19:22 -07:00
Robert Bailey e2feb28dd6 Migrate the gke-prod e2e test from the 1.1 release branch to the
1.2 release branch and add a gke-prod-parallel test.
2016-03-22 21:14:20 -07:00
David McMahon 3e613ee341 Write a parallel (godeps) _workspace tree to hold all the missing files.
godeps doesn't get everything we want, so fix the problem but write it
to a parallel tree since _workspace is reserved only for godeps auto-generated
files.
2016-03-22 16:51:30 -07:00
k8s-merge-robot b04f27c3be Merge pull request #23136 from spxtr/slow-1-1
Auto commit by PR queue bot
2016-03-22 16:00:01 -07:00
Joe Finney 7fb8a8e46c Disable the vendor experiment in hack/verify-godeps.sh 2016-03-22 13:50:15 -07:00
Aaron Crickenberger 3f501f61ac Remove hack/conformance-test.sh 2016-03-22 13:28:13 -07:00
Marek Grabowski 8a7d8c4f9d Merge pull request #23042 from gmarek/testing
Change scalability test configs
2016-03-22 14:08:58 +01:00
gmarek aa09cb097b Change scalability test configs 2016-03-22 13:39:16 +01:00
Jeff Grafton 2d9671cf27 Revert "Pin to godep v58 in Jenkins unit/integration"
This reverts commit 70813d6bb5.
2016-03-21 17:19:55 -07:00
Jeff Grafton 0d65d310fe Enter /go/src/k8s.io/kubernetes before building/running tests
Also print godep version after installing it.
2016-03-21 17:19:55 -07:00
Joe Finney d3e94fcd78 Up unit/integration test on Jenkins to go 1.6. 2016-03-21 16:14:09 -07:00
Daniel Wang f5460a4bd2 Move e2e test jobs for Trusty dev to 1.2
After this change, jobs that use Trusty dev images will test against the
`release-1.2` branch, and use Trusty images for both the master and the nodes.
Trusty beta and stable jobs are kept in the `release-1.1` branch, and only use
Trusty images on nodes.
2016-03-21 10:35:27 -07:00
gmarek db77843bf0 Remove EXIT_ON_WEAK_ERROR variable 2016-03-21 12:22:03 +01:00
Andy Zheng 0a8e68fb49 Trusty: Avoid reaching GCE custom metadata size limit 2016-03-20 10:22:50 -07:00
k8s-merge-robot 9dd73505c4 Merge pull request #23203 from bprashanth/ingress_1-2
Auto commit by PR queue bot
2016-03-19 16:33:40 -07:00
k8s-merge-robot ed6088a879 Merge pull request #23209 from jlowdermilk/rc-bucket
Auto commit by PR queue bot
2016-03-18 20:57:13 -07:00
k8s-merge-robot 8fb0bfb0d3 Merge pull request #23179 from wojtek-t/remove_old_deep_copy_generator
Auto commit by PR queue bot
2016-03-18 19:35:54 -07:00
k8s-merge-robot d55f096804 Merge pull request #23154 from hongchaodeng/deplic
Auto commit by PR queue bot
2016-03-18 18:20:59 -07:00
Jeff Lowdermilk 49a0809f42 Update gke-staging bucket 2016-03-18 17:27:22 -07:00
Eric Paris 21df2aacf9 Merge pull request #23207 from ixdy/gotest-pin-godep
Pin to godep v58 in Jenkins unit/integration
2016-03-18 15:21:36 -05:00
Prashanth Balasubramanian cee32c0f84 Feature ingress release 1.2 2016-03-18 12:55:47 -07:00
Jeff Grafton 70813d6bb5 Pin to godep v58 in Jenkins unit/integration 2016-03-18 12:45:12 -07:00
Daniel Wang 848c64a17b Correct a typo in env vars
I should have used `KUBE_GCE_MASTER_PROJECT` and `KUBE_GCE_MASTER_IMAGE`.
2016-03-18 11:51:43 -07:00
Joe Finney 4877c988c3 Merge pull request #23086 from wonderfly/ci_jobs_for_trusty
Add CI jobs to track the master and 1.2 branch with Trusty images
2016-03-18 10:31:27 -07:00
gmarek 529af0fb84 Change kubemark-5 to use a single 2-core node 2016-03-18 10:59:43 +01:00
Wojciech Tyczynski ce9b2ab3e3 Remove old deep-copy generator. 2016-03-18 09:42:15 +01:00
k8s-merge-robot 6bd5ecc192 Merge pull request #23164 from david-mcmahon/update-licenses
Auto commit by PR queue bot
2016-03-18 00:26:47 -07:00
k8s-merge-robot d4912eafb5 Merge pull request #23157 from spxtr/fix-tags
Auto commit by PR queue bot
2016-03-17 19:59:36 -07:00
k8s-merge-robot 98bede7f2d Merge pull request #23110 from wojtek-t/migrate_to_new_deep_copy_generator
Auto commit by PR queue bot
2016-03-17 19:21:23 -07:00
k8s-merge-robot 26eab4d69c Merge pull request #23094 from spxtr/more-jobs
Auto commit by PR queue bot
2016-03-17 17:23:41 -07:00
David McMahon ede7bb6793 Add a --retry to curl to help avoid transient failures. 2016-03-17 17:16:40 -07:00
Daniel Wang 3a56b68cc5 Add CI jobs to track the master and 1.2 branch with Trusty images
Add two CI jobs that run e2e tests on GCE with Trusty images (on both the master
and the nodes) on the `master` and `release-1.2` branch. Both tests use the
latest Trusty build from its `HEAD`. We will use these jobs to guard
kubernetes-Trusty compatibility.

These jobs mimic the existing `kubernetes-e2e-gce` and `kubernetes-e2e-gce-1-2`,
which follow `kubernetes-build` and `kubernetes-build-1-2`, respectively.

Additionally, move all Trusty related jobs into one section in the config file.
2016-03-17 15:17:24 -07:00
Joe Finney 9ba006572a Always use long format in git tag. 2016-03-17 15:07:25 -07:00
Hongchao Deng dd6487d0b7 use '/usr/bin/env bash' in update/verify-godep-licenses.sh 2016-03-17 14:55:21 -07:00
Joe Finney eb273e5a4b Add parallel gke-staging job. 2016-03-17 14:39:31 -07:00
Joe Finney 5c3228320c Bump timeouts for 1.2 gke jobs. 2016-03-17 11:28:09 -07:00
k8s-merge-robot 1427a7cf81 Merge pull request #23135 from spxtr/fix-enormous
Auto commit by PR queue bot
2016-03-17 11:24:10 -07:00
Joe Finney 268a670454 Decrease frequency of 1.1 and 1.0 jobs. 2016-03-17 10:41:37 -07:00
Joe Finney 3ecf76b897 Fix enormous-cluster config. 2016-03-17 10:22:28 -07:00
Joe Finney 6bd52b2e7e gke-staging should point to staging. 2016-03-17 10:09:11 -07:00
Marcin Wielgus f396ed51b3 Increase kubernetes-test-go timeout to 50 min for 1.2 and master 2016-03-17 17:16:29 +01:00