Commit Graph

2897 Commits

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