Commit Graph

1141 Commits (23f0743c5811b0025142ca823735ab7c4f533693)

Author SHA1 Message Date
Jeff Lowdermilk 85d0838496 Remove kubectl expose from GCE_PARALLEL_FLAKY_TESTS 2015-10-02 16:55:51 -07:00
Jeff Lowdermilk deddfeb9ee Merge pull request #14919 from jlowdermilk/rc-e2e-config
Test config for release candidate e2e run
2015-10-02 14:32:20 -07:00
Isaac Hollander McCreery cedc07568b Don't check for version skew when testing an upgraded-to-CI cluster 2015-10-02 13:36:53 -07:00
k8s-merge-robot 5d47e88e66 Merge pull request #14928 from mikedanese/upgrade
Auto commit by PR queue bot
2015-10-02 06:11:58 -07:00
Wojciech Tyczynski 5456b4519b Remove reference to Shell from jenkins/e2e.sh 2015-10-02 13:16:32 +02:00
k8s-merge-robot ff85f0ba95 Merge pull request #14698 from yujuhong/gce_only
Auto commit by PR queue bot
2015-10-02 02:53:27 -07:00
gmarek e58aff001b Stop existing Kubemark cluster before creating new one in Jenkins 2015-10-02 10:32:57 +02:00
David Oppenheimer f01e124ca5 Merge pull request #14760 from ihmccreery/gke-upgrade-tests
First pass at getting visibility into 1.0/1.1 upgrades & version skew
2015-10-01 13:53:57 -07:00
Jeff Lowdermilk aef32aa1a5 Test config for release candidate e2e run 2015-10-01 13:23:30 -07:00
Mike Danese 905e971651 be explicit about minion group size in upgrade test 2015-10-01 12:01:04 -07:00
k8s-merge-robot f579f8edc3 Merge pull request #14790 from yujuhong/restart_count
Auto commit by PR queue bot
2015-10-01 11:34:32 -07:00
Yu-Ju Hong 15cdc45b09 Split kubelet e2e resource usage tracking tests
Some tests in this test suite expects --max-pods (i.e. the maximum pod capacity
on kubelet) to be greater than default, which applies only to the GCE test
environment. Split the tests into two sets so that we can better categorize
the tests in the jenkins setup, without making the test itself aware of the
environment.
2015-10-01 11:09:06 -07:00
gmarek a1e0ce8972 Fix Kubemark on Jenkins 2015-10-01 16:33:28 +02:00
Brendan Burns 40bb24d692 Revert "Fix 'flock' command in hack/jenkins/e2e.sh" 2015-09-30 12:27:02 -07:00
Brendan Burns 0a16257df5 Re-activate DaemonRestart tests, they've been clean in gce-flaky for > 10 runs 2015-09-30 11:00:17 -07:00
gmarek 8e56866a0a Change the Jenkins kubemark Job name to match kubernetes-.*-gce regexp 2015-09-30 16:16:31 +02:00
gmarek fd14fa5c48 Add first attempt of Kubemark config to jenkins/e2e.sh 2015-09-30 16:11:39 +02:00
Filip Grzadkowski 28d71418ca Merge pull request #14824 from gmarek/fix-jenkins
Fix 'flock' command in hack/jenkins/e2e.sh
2015-09-30 15:29:15 +02:00
gmarek cf31d16d94 Fix 'flock' command in hack/jenkins/e2e.sh 2015-09-30 15:27:53 +02:00
Yu-Ju Hong 5177e82d3a e2e: restore the test for monotonically increasing restart count
The test was disabled because sometimes restart count could not reach the
target before timeout. This change lowers the target restart count, increases
the timeout threshold to 5 minutes, and adds the test to the SLOW suite.
Running the test in a local cluster takes ~1m40s to complete.
2015-09-29 17:22:12 -07:00
Isaac Hollander McCreery 5ddadc5f62 First pass at getting visibility into 1.0/1.1 upgrades & version skew 2015-09-29 14:28:48 -07:00
Jeff Lowdermilk e849c00b08 Disable Deployment tests in GKE
unbreak gke-ci. again.
2015-09-29 10:21:36 -07:00
k8s-merge-robot 4645ad3cb0 Merge pull request #14594 from nikhiljindal/deploymentE2e
Auto commit by PR queue bot
2015-09-28 20:22:14 -07:00
Mike Danese ae7d3d5a54 add gce-upgrade to jenkins/e2e.sh 2015-09-28 13:52:42 -07:00
nikhiljindal d61ed52799 Adding an e2e test for deployment 2015-09-25 17:14:31 -07:00
Brian Grant 10a7f2b1fa Merge pull request #14453 from yujuhong/kubelet_benchmark
Add a slow e2e test to monitor kubelet resource usage
2015-09-25 13:31:59 -07:00
Jerzy Szczepkowski c8238c079a E2E tests for horizontal pod autoscaler.
Fixes & tuning in horiontal pod autoscaler and its e2e tests; two of the tests added to "Autoscaling suite".
2015-09-24 14:14:35 +02:00
gmarek 24b03c4db2 Move broken service tests to the flaky suite to make GCE suite happy again 2015-09-24 09:13:00 +02:00
Yu-Ju Hong 0b8244505c Add a slow e2e test to monitor kubelet resource usage
This test tracks kubelet resource usage over a long period of time (1hr)
when running N pods (e.g., N=0,50), and prints out the resource usage. This
would give us an idea how much kubelet's management overhead is in a stable
cluster.

Some followup items:
 * Use a more realistic workload (e.g., including probing)
 * Fail the test if the resource usage is too high.

Caveat:
 * We assume the scheduler would do a decent job distributing the pause pods,
   but we should double check.
 * Cluster addon pods could be unevenly distributed and skews the resource
   usage on nodes.
2015-09-23 18:22:20 -07:00
Eric Tune 13821de107 Merge pull request #14427 from mesosphere/sttts-resource-tests
Avoid assumption of a fixed list of cgroups in e2e conformance tests
2015-09-23 16:22:53 -07:00
Dr. Stefan Schimanski f9f91fd99d Remove cgroup list dependent e2e test from conformance test suite
As discussed @gmarek the given test does not belong into the conformance test
suite because it makes a lot of static assumptions about the cgroup setup of the
nodes which cannot be fulfilled by all cluster providers. Depending on the
installation the kubelet is not allowed to move around process
into specific containers.

Fixes https://github.com/mesosphere/kubernetes-mesos/issues/439.
2015-09-23 16:52:56 +02:00
gmarek 816b20a179 Move one of the service tests to skipped. 2015-09-23 15:18:19 +02:00
Abhishek Shah a64dad04c7 Make KubeProxy test faster 2015-09-22 13:43:43 -07:00
Quinton Hoole 62a0aba550 Fix regex to banish KubeProxy test as slow. 2015-09-19 00:59:03 -07:00
Jeff Grafton 85179f3352 Demote "KubeProxy should test kube-proxy" to slow tests 2015-09-18 15:00:41 -07:00
Quinton Hoole e1c75e91fe Spaces don't work in e2e regex's. Doh! 2015-09-17 15:47:02 -07:00
Quinton Hoole ceea590f7e Demote e2e test "Daemon set ... launch a pod on every node of the cluster" to flaky. 2015-09-17 13:11:51 -07:00
Jeff Lowdermilk 12010e9832 Add kubectl expose to GCE_PARALLEL_FLAKY_TESTS
It's essentially the same as Services.*expose, just using kubectl
instead of client lib.

Fixes #14078
2015-09-16 16:26:36 -07:00
Jeff Grafton 42dc0ca484 Mark "Networking should function for intra-pod communication" as flaky in parallel. 2015-09-16 16:09:19 -07:00
Alex Mohr b44714da1d Merge pull request #14007 from quinton-hoole/2015-09-15-make-daemon-restart-e2e-run
Make Restart e2e regex more specific so that it doesn't accidentally …
2015-09-16 15:42:21 -07:00
k8s-merge-robot d007c9141d Merge pull request #13951 from ixdy/jenkins-go-tests
Auto commit by PR queue bot
2015-09-15 22:48:20 -07:00
Quinton Hoole d3996beb07 Make Restart e2e regex more specific so that it doesn't accidentally match DaemonRestart. 2015-09-15 15:41:47 -07:00
Jeff Grafton beb476d96b Add script to run unit/integration tests on Jenkins 2015-09-15 13:42:59 -07:00
Jeff Grafton 8a41cb46fa Jenkins gke e2e: don't use sudo with gsutil cp 2015-09-15 13:31:00 -07:00
Jeff Lowdermilk 4c01b2a589 Merge pull request #13927 from jlowdermilk/gke-upgrade-tests
Add gke upgrade tests to hack/jenkins/e2e.sh
2015-09-15 13:30:14 -07:00
Jeff Lowdermilk 7fa7852205 disable Daemon set test when running e2e on gke 2015-09-14 13:34:13 -07:00
Jeff Lowdermilk 8e509be45f Add gke upgrade tests to hack/jenkins/e2e.sh 2015-09-14 10:03:11 -07:00
k8s-merge-robot 4aa412e04d Merge pull request #13810 from quinton-hoole/2015-09-10-banish-flaky-tests
Auto commit by PR queue bot
2015-09-12 21:10:49 -07:00
Jeff Lowdermilk 7229096453 Add config for the main gke-jenkins jobs to e2e.sh 2015-09-11 11:05:30 -07:00
Quinton Hoole 662e41cdcc Banish services up and down e2e test in parallel to flaky. 2015-09-10 09:08:19 -07:00
Quinton Hoole 72cfaf4955 Demote namespace e2e test to flaky in parallel (and fix it's name). 2015-09-10 08:55:11 -07:00
Quinton Hoole a66087c83f Remove service latency e2e test from the flaky bucket. 2015-09-04 11:52:59 -07:00
Quinton Hoole eff8ea2432 Banish some more Services e2e tests to flaky in parallel. 2015-09-04 08:44:34 -07:00
Jerzy Szczepkowski 2684018bb5 Configurations of jenkins e2e cluster and default private e2e cluster made consistent.
Configurations of jenkins e2e cluster and default private e2e cluster made consistent.
2015-09-04 09:15:01 +02:00
Piotr Szczesniak 97abc950db Merge pull request #13526 from ixdy/jenkins-build-test
Don't override KUBE_RELEASE_RUN_TESTS if set in enviroment
2015-09-04 09:06:31 +02:00
Quinton Hoole ea6238ddc3 Remove redundant filter from e2e-gce-parallel test job. 2015-09-03 15:54:12 -07:00
Quinton Hoole e76e0477f2 Make PR builder and e2e-gce-parallel e2e runs use the same number of nodes. 2015-09-03 11:48:52 -07:00
Jeff Grafton e3bb7834d9 Don't override KUBE_RELEASE_RUN_TESTS if set in enviroment 2015-09-02 14:37:15 -07:00
Quinton Hoole 5b853a2384 Skip GCE_SKIP and GCE_FLAKY e2e tests when soak testing. 2015-08-31 14:58:50 -07:00
Quinton Hoole ac52c996aa Add a regex and Jenkins job for slow e2e tests. 2015-08-28 17:08:02 -07:00
Wojciech Tyczynski 9bdc85a228 Merge pull request #13292 from saad-ali/actuallyFix13257
Move E2E PD Test out of flaky
2015-08-28 09:13:33 +02:00
saadali 33b5616ebc Fix E2E Test "Pod Disks should schedule a pod w/ a RW PD, remove it, then schedule it on another host" out of flaky 2015-08-27 21:39:46 -07:00
Quinton Hoole be1d01e2e4 Don't run flaky e2e tests in parallel test runs. 2015-08-27 10:26:06 -07:00
Piotr Szczesniak 4ef108a92d Moved failing tests to the flaky suite on Jenkins 2015-08-27 15:26:25 +02:00
Yu-Ju Hong 3789da1473 e2e: mark the restart count test flaky 2015-08-26 16:28:00 -07:00
Piotr Szczesniak 99b9de9d76 Started running Autoscaling e2e test on dedicated Jenkins job 2015-08-26 12:12:51 +02:00
Jeff Grafton 22cba0f86e Use GCE defaults for per-PR Jenkins 2015-08-24 15:49:59 -07:00
Zach Loafman 29369b0dde Merge pull request #13030 from justinsb/aws_jenkins_parallel
AWS: e2e: change instance default size, create kubernetes-e2e-aws-parallel
2015-08-21 16:06:56 -07:00
Zach Loafman 21b1453f25 Revert "Promoted Autoscaling e2e tests to standard suite" 2015-08-21 13:21:53 -07:00
Justin Santa Barbara e7ce72cf35 AWS: Add kubernetes-e2e-aws-parallel for Jenkins
This should allow us to run tests on AWS much faster.
2015-08-21 10:24:05 -04:00
Piotr Szczesniak e485a6ca45 Promoted Autoscaling e2e tests to standard suite 2015-08-21 09:59:49 +02:00
Saad Ali bce79d1368 Merge pull request #12850 from wojtek-t/scalability_suite_verbosity
Reduce logs verbosity in scalability tests
2015-08-19 15:37:58 -07:00
Wojciech Tyczynski d9d7f6d964 Reduce logs verbosity in scalability tests 2015-08-18 11:14:14 +02:00
Prashanth Balasubramanian 83f1212e0b Confirms daemons restart and do sane things in an e2e test 2015-08-17 20:39:57 -07:00
Piotr Szczesniak b6f1c9d989 Enabled Autoscaling e2e test for Jenkins flaky job 2015-08-17 10:54:33 +02:00
Piotr Szczesniak fb44d5e045 Enabled Autoscaling e2e test for cpu utilization 2015-08-14 11:50:19 +02:00
Wojciech Tyczynski 77f431649b Merge pull request #12462 from gmarek/cadvisor2
Add e2e test monitoring current container resource usage with updated constants.
2015-08-13 10:19:19 +02:00
Piotr Szczesniak 5e58004131 Actually changed monitoring level on Jenkins 2015-08-11 15:25:36 +02:00
Piotr Szczesniak 63a88dd24a Changed monitoring level to googleinfluxdb in kubernetes-e2e-gce Jenkins job. 2015-08-11 10:07:48 +02:00
gmarek bc8565d55e Add e2e test monitoring current container resource usage with updated
constants.

This reverts commit 1f7ea4f08e.
2015-08-11 09:16:14 +02:00
Alex Robinson f7cab137df Merge pull request #12019 from gmarek/soak
Move initialization of Jenkins variables for GCE soak tests to hack/jenkins/e2e.sh
2015-08-10 16:19:57 -07:00
Satnam Singh 1f7ea4f08e Revert "Add e2e test monitoring current container resource usage" 2015-08-07 22:40:15 -07:00
gmarek 1c22fd39ff Add e2e test monitoring current container resource usage.wq 2015-08-07 10:27:00 +02:00
Alex Mohr e92c63be74 Merge pull request #12172 from GoogleCloudPlatform/revert-12106-demote
Auto commit by PR queue bot
2015-08-04 18:48:49 -07:00
Alex Mohr 2d81775a2d Merge pull request #11151 from gmarek/max_pods_e2e
Auto commit by PR queue bot
2015-08-04 15:11:13 -07:00
gmarek 61d3b250ee Move initialization of Jenkins variables for soak tests to hack/jenkins/e2e.sh 2015-08-04 10:18:52 +02:00
Mike Danese 8e48431ca5 Revert "demote to flaky tests from parallel e2e" 2015-08-03 15:32:04 -07:00
Alex Mohr 2a397671bb Merge pull request #12060 from jlowdermilk/jenkins-default-version
Allow gke to use server-default version for jenkins runs
2015-08-03 13:22:07 -07:00
Mike Danese e376a094af demote to flaky service tests from parallel e2e 2015-07-31 13:25:15 -07:00
Jeff Lowdermilk 2707fab181 Allow gke to use server-default version for jenkins runs 2015-07-30 18:32:57 -07:00
Wojciech Tyczynski 4b9903ec17 Move remaining PD test back from flaky 2015-07-29 08:18:07 +02:00
gmarek 36aff274f1 Add test that verifies that we don't allow resource overallocation on Nodes 2015-07-27 16:37:57 +02:00
Marek Grabowski 831827b4bb Merge pull request #11056 from wojtek-t/rewrite_services_in_go
Rewrite services shell test in Go.
2015-07-27 09:21:44 +02:00
Jeff Grafton 4d45945b3b Require at least one healthy startup pod in GCE Jenkins e2e tests
Includes a small fix relative to e7547b97 to handle
$E2E_MIN_STARTUP_PODS being null.
2015-07-23 15:31:41 -07:00
Wojciech Tyczynski fdd7f1e4b2 Rewrite services shell test in Go. 2015-07-23 16:16:45 +02:00
gmarek be59c5a935 Change a value that join_regex returns for empty input and use it in ginkgo.focus statements 2015-07-23 13:30:01 +02:00
Jeff Grafton 55e050e3f3 Create a Jenkins project to run only the examples e2e tests on GCE. 2015-07-20 13:39:09 -07:00
Wojciech Tyczynski a0f30586dd Move PD on two hosts test to flaky 2015-07-20 11:08:11 +02:00
Eric Tune 8c891cfb70 Merge pull request #11291 from thockin/jenkins
Better handling of ginkgo args in jenkins
2015-07-15 15:00:51 -07:00
Eric Tune c208c1c9a3 Merge pull request #11270 from mbforbes/jenkinsTypo
(jenkins/e2e) Fix typos and clarify instructions in comments
2015-07-15 12:57:46 -07:00
Tim Hockin 38d51f33e5 Better handling of ginkgo args in jenkins 2015-07-14 23:54:39 -07:00
Wojciech Tyczynski 635e82897f Fix tests on Jenkins 2015-07-15 08:27:41 +02:00
Max Forbes 392ca97d90 (jenkins/e2e) Fix typos and clarify instructions in comments 2015-07-14 15:12:05 -07:00
gmarek 9d55842a02 Move MaxPods back from Flaky suite 2015-07-14 12:09:27 +02:00
Brendan Burns 910857a4a8 increase NUM_MINIONS to 3 for e2e + jenkins by default. 2015-07-13 10:35:15 -07:00
Quinton Hoole f653932b87 Demote Shell.*services e2e test as it cannot be run in parallel with other tests (yet)
Fixes #10127
2015-07-10 08:33:22 -07:00
Wojciech Tyczynski dc711ee92d Promote Services shell out of flaky. Demote Elasticsearch 2015-07-10 08:26:42 +02:00
Max Forbes 6b609f644b Jenkins: Allow fetching new tars for multi-job tests 2015-07-09 11:28:51 -07:00
Wojciech Tyczynski 6d864527c9 Merge pull request #10932 from zmerlynn/fork-jenkins-release-21
Add skip/flaky arguments for gce-release job
2015-07-09 15:20:04 +02:00
Wojciech Tyczynski 977b1d9579 Merge pull request #10823 from piosz/real_test
Added load test with pods doing real works
2015-07-09 11:26:47 +02:00
Wojciech Tyczynski e5836cc933 Merge pull request #10952 from mbforbes/JenkinsRemoveServer
Jenkins: remove dead 'use server version' code
2015-07-09 09:09:13 +02:00
Victor Marmol cfbc64e3c5 Merge pull request #10864 from mbforbes/gcloudUpdateJenkins
Fully update gcloud before Jenkins runs
2015-07-08 16:13:27 -07:00
Zach Loafman a6594dc38b Add skip/flaky arguments for the jenkins-gce-e2e-release job
I haven't added the job yet. Want to get the args in place first.

Related to #10676
2015-07-08 16:12:50 -07:00
Max Forbes 38f2f4dab9 Jenkins: remove dead 'use server version' code 2015-07-08 13:32:37 -07:00
Wojciech Tyczynski de3a36c904 Promote ElasticSearch test to non-flaky suite 2015-07-08 16:26:04 +02:00
Piotr Szczesniak 3fb39542d0 Added load test with pods doing real works 2015-07-08 11:01:41 +02:00
Quinton Hoole 4a26114a9a Make merge conflicts less likely in jenkins/e2e.sh with multiline regexs. 2015-07-07 20:10:00 -07:00
Max Forbes 5f9dc8c84c Fully update gcloud before Jenkins runs. 2015-07-07 13:22:54 -07:00
Wojciech Tyczynski 9854d47923 Move Proxy logs out of flaky 2015-07-07 13:54:22 +02:00
Wojciech Tyczynski 78c1117cb9 Promote no-longer flaky tests to gce suite 2015-07-07 08:27:11 +02:00
Quinton Hoole ac3e3db579 Demote e2e test as per #10792
Demote e2e test as per #10792.
2015-07-06 17:43:36 -07:00
Zach Loafman af781d8df4 Ban MaxPods to flaky test list. See #10720.
If you revert this, please notify @zmerlynn to fix the GKE list.
2015-07-04 09:16:50 -07:00
Nikhil Jindal 974377b306 Merge pull request #10481 from gmarek/max_pods_e2e
Add max-pods e2e test
2015-07-02 15:26:46 -07:00
Jeff Grafton 44f3c9e01e Re-enable namespace test on the pull request Jenkins 2015-07-01 17:53:27 -07:00
Zach Loafman c7fb07a6aa Merge pull request #10428 from mikedanese/nightly
add documentation and script on how to get recent and "nightly" builds
2015-07-01 15:55:49 -07:00
Zach Loafman 0b2efd8d28 Merge pull request #10633 from saad-ali/enablePDE2ETest
Enable readonly PD tests for Jenkins GCE E2E run
2015-07-01 14:15:44 -07:00
Zach Loafman 4f9cfc84c4 Merge pull request #10180 from mwielgus/e2e_examples
E2E tests for Redis and Celery-RabbitMq examples
2015-07-01 12:02:27 -07:00
saadali c84b0e0f4f Enable readonly PD tests for Jenkins GCE E2E run 2015-07-01 11:10:00 -07:00
gmarek c86e18846b Add max-pods e2e test 2015-07-01 09:21:42 +02:00
Marcin Wielgus b5600fee12 E2E tests for Redis and Celery-RabbitMq examples 2015-07-01 00:25:58 +02:00
Jeff Grafton 0c321c3759 Jenkins GCE e2e: "Service endpoints latency" is not flaky in parallel 2015-06-30 13:47:46 -07:00
Mike Danese 719870fdcf add publishing of latest-green.txt to jenkins e2e tests on success 2015-06-29 14:50:41 -07:00
Jeff Grafton 8c70fa42ee Determine e2e test configs for GCE using Jenkins project name.
Most parameters can still be overridden by specifying them in the
Jenkins configs.

Additionally, remove --noColor option, since the ANSI Jenkins plugin
can handle the color codes.
2015-06-26 17:32:50 -07:00
Jeff Lowdermilk bdd3602eb7 Allow explicit pinned versions to be specified for jenkins runs 2015-06-19 16:19:02 -07:00
Jeff Lowdermilk 9e4c5bc3b4 fix bash typo in jenkins/e2e.sh 2015-06-19 11:57:44 -07:00
Jeff Lowdermilk 8f5d8da7d6 yet another special case for e2e script 2015-06-19 11:13:55 -07:00
Jeff Lowdermilk e72431033a Fix a few e2e references to allow gke to test dogfood builds 2015-06-18 13:39:51 -07:00
saadali 3bc1c18e12 Jenkins E2E build should not fail if symlink to junit file already exists. 2015-06-15 10:52:47 -07:00
Dawn Chen a1065d1e24 Using bigger node for master node for jenkin-e2e tests. 2015-06-11 14:09:02 -07:00
Dawn Chen bf6d4d6d7e Using bigger node for minions for jenkin-e2e tests. 2015-06-11 14:07:41 -07:00
Quinton Hoole e774717f6c Don't require a space at the end of GINKGO_TEST_ARGS
8703#commitcomment-11336307
2015-06-09 15:48:13 -07:00
Filip Grzadkowski b999e6655c Do not overwrite bash variables in jenkins for scalability tests 2015-06-08 13:51:24 +02:00
Zach Loafman 2eccd87ccb Adjust the Jenkins E2E_REPORT_DIR to something less silly
Start of a fix for complaints on #8852.
2015-05-29 13:54:18 -07:00
Alex Robinson 9d61a95464 Adjust the sleep time before tearing down e2e clusters and add a rough formula
for determining how long the sleep should be.
2015-05-26 21:09:05 +00:00
Alex Robinson 0188e9af8c Sleep before deleting the cluster to give the controller manager time to
delete any cloudprovider resources still around from the last test.
2015-05-26 20:11:03 +00:00
Quinton Hoole b8ca74ab66 Don't clobber GINKGO_TEST_ARGS in hack/jenkins/e2e.go 2015-05-22 14:54:05 -07:00
Jeff Lowdermilk 553f9f822b Add ga-beacon analytics to gendocs scripts
hack/run-gendocs.sh puts ga-beacon analytics link into all md files,
hack/verify-gendocs.sh verifies presence of link.
2015-05-15 18:56:38 -07:00
Max Forbes 579aed4161 Add zone to jenkins version-getting call. 2015-05-12 09:23:41 -07:00
Max Forbes a161800e13 Allow Jenkins to get the version from the GKE server. 2015-05-11 17:31:29 -07:00
saadali 94643ce6c9 Modify Jenkins E2E to not fetch/unpack Kuberenetes, when deployment is
disabled,
2015-05-11 12:31:31 -07:00
Justin SB a442918d31 AWS: Don't try to copy gce_keys in jenkins e2e job
Should fix e2e builds.

For the AWS jenkins jobs, I've been using the secret plugin.
2015-05-09 08:55:35 -07:00
Max Forbes 590d3873ea Make jenkins e2e runs reuse one key, take two. 2015-05-08 15:52:56 -07:00
Zach Loafman c6400cab1f Revert "Make jenkins e2e runs reuse one SSH key." 2015-05-08 15:46:42 -07:00
Max Forbes 41cc8027ab Make jenkins e2e runs reuse one key. 2015-05-08 14:51:42 -07:00
saadali 7cc25842fa Add control variables to Jenkins E2E script 2015-05-07 17:01:25 -07:00
Eric Paris 6b3a6e6b98 Make copyright ownership statement generic
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2015-05-01 17:49:56 -04:00
Zach Loafman e055ee0b71 Use KUBE_SKIP_UPDATE in Jenkins
After #7146, we need to protect Jenkins from the internal gcloud bug (again).
2015-04-22 10:08:09 -07:00
Max Forbes 5880166845 Add support for using released tars (instead of just ci) as well as using a stable version (instead of just latest). 2015-04-21 15:56:23 -07:00
Zach Loafman d5f02b2970 Use flock around gcloud component update to avoid race 2015-04-17 09:50:15 -07:00
Zach Loafman db7e640bb5 Don't error out if gcloud update fails
Fixes #6974
2015-04-17 06:16:17 -07:00
Wojciech Tyczynski 586bae7948 Bigger performance test cluster 2015-04-15 09:25:35 +02:00
Wojciech Tyczynski 8fb22a750b Explicitly define scalability test suite 2015-04-14 14:55:11 +02:00
Justin Santa Barbara cf02d8cef2 Specify equivalent instance types for AWS, in hack/jenkins/e2e.sh
This should unbreak the AWS e2e tests
2015-04-13 08:28:24 -07:00
Wojciech Tyczynski f7fbc2d0c5 Prepare for running scalability test on Jenkins 2015-04-13 11:36:12 +02:00
Jerzy Szczepkowski ad306c9c6e Merge pull request #6340 from zmerlynn/upgrade_gcloud
Automatically upgrade gcloud in Jenkins (reenable)
2015-04-02 09:37:27 +02:00
Zach Loafman 6ba14f1c28 Skip cleaning docker cache prior to build
This seems to be more trouble than its worth, and much of
the remaining build time (except the push itself). We can
cache the cross-build/golang images between builds - it's
not going to kill us, and it'll save the occasional weird
flake of not finding an image when it tries to rm one of
these.
2015-04-01 20:04:24 -07:00
Zach Loafman 4fa84a4f41 Automatically upgrade gcloud in Jenkins (reenable) 2015-04-01 19:27:17 -07:00
Zach Loafman 8fff5338e2 Fix gke_test (should've realized why the cut -c 2- was there above this) 2015-03-30 13:38:29 -07:00
Zach Loafman ec53868d4f Allow gke-test to run on latest release version 2015-03-30 12:11:23 -07:00
Justin Santa Barbara e2c09f4470 Modify e2e to use local artifacts if present (to avoid GCS requirement) 2015-03-05 13:03:35 -08:00
Tim Hockin 7fe7de45e7 Merge pull request #4873 from justinsb/add_skip_push_gcs_2
Add SKIP_PUSH_GCS env so we can run without a push to GCS
2015-02-26 15:41:39 -08:00
Justin Santa Barbara 27c3031506 Add SKIP_PUSH_GCS env so we can run without a push to GCS 2015-02-26 14:02:16 -08:00
Zach Loafman c0067656fb Revert "Add SKIP_PUSH_GCS env so we can run without a push to GCS" 2015-02-23 11:15:54 -08:00
Zach Loafman 5269e06aa1 Merge pull request #4315 from justinsb/add_skip_push_gcs
Add SKIP_PUSH_GCS env so we can run without a push to GCS
2015-02-23 10:08:38 -08:00
Jeff Grafton 502b95f045 Jenkins e2e tests: ignore test exit status.
Since Jenkins has hopefully been set up properly to read test failures
from junit*.xml files, only exit with a nonzero status when there are
infrastructure failures. If there are only test failures, the nonzero
exit status will be ignored.

Also, disable Ginkgo's colors to make the Jenkin console logs more
readable.
2015-02-18 11:32:41 -08:00
Zach Loafman a08e04dd68 Unpatch Jenkins now that #4177 is fixed
And actually, make it more better: Go ahead and tear down the cluster
even when tests fail, but (hopefully) relay the test exit status
correctly. This fails if there's a double error (if -down *also*
fails, we'll fail due to errexit), but either way is a build failure,
and this means that the teardown of a test failure build isn't getting
charged to the next run.
2015-02-11 13:42:14 -08:00
Justin Santa Barbara 7f142b0ee0 Add SKIP_PUSH_GCS env so we can run without a push to GCS 2015-02-11 12:36:40 -05:00
Zach Loafman 49a1984e98 Breakfix for #4177, not a real solution 2015-02-05 11:24:45 -08:00
Zach Loafman c15595fdf7 Revert jenkins/e2e.sh back to 606b517a, minus -tap 2015-02-05 10:25:59 -08:00
Zach Loafman dad85ef4f1 Add more logging 2015-02-05 10:01:45 -08:00
Zach Loafman 0b456e40bf Fix jenkins/hack/e2e.sh, log errors better 2015-02-05 09:16:11 -08:00
Zach Loafman 688f96cd33 Run shell tests under Ginkgo, changing all reporting to JUnit
* Add a test/e2e/shell.go that slurps up everything in hack/e2e-suite
and runs it as a bash test, borrowing all the code from hack/e2e.go.

* Rip out all the crap in hack/e2e.go that deal with multiple tests

* Move hack/e2e-suite/goe2e.sh to hack/ginkgo-e2e.sh so that it
doesn't get slurped up.
2015-02-05 07:24:05 -08:00
Zach Loafman 67c382b5f0 Clean out dead docker containers and docker images every Jenkins build
This will increase build times on Jenkins, but should make the build
times consistent and make them pull from sources every time versus
leftover artifacts. Also upping timeout. (Try to address recent
some aborted builds.)
2015-01-30 13:53:27 -08:00
Filipe Brandenburger 606b517a07 Enable Go e2e report_dir in Jenkins
Use the E2E_REPORT_DIR global environment variable to define the
location where the JUnit XML reports should be saved.

Modify the Jenkins e2e.sh script to export that variable pointing to the
top of the Jenkins build tree.

Tested by running `E2E_REPORT_DIR=${PWD}/.. hack/e2e-test.sh` and
confirmed ../junit.xml was generated and looked good.
2015-01-28 16:27:43 -08:00
Joe Beda 228659a177 Fix up for posix flags 2015-01-15 09:12:19 -08:00
Zach Loafman ba618db226 Fix kubernetes-e2e-gke build
Got a little aggressive combining options here. Accidentally forgot
that this parameter would bork normal GKE.
2015-01-12 16:55:56 -08:00
Daniel Smith 14b718973a Merge pull request #3415 from zmerlynn/e2e_jenkins_script
Add Jenkins e2e script
2015-01-12 15:11:28 -08:00
Zach Loafman 3095f1bf64 Add Jenkins e2e script
This commit adds and documents the e2e script that Jenkins runs
2015-01-12 13:49:24 -08:00
Zach Loafman 0b3baad0f4 Kill the forced upload to GCS.
This actually tickles the -opipefail, and is only necessary if you're
rebuilding (which isn't really safe, because it can slice downstream
builds.)
2015-01-12 09:52:58 -08:00
Zach Loafman c5ab2412a3 chmod 755 hack/jenkins/build.sh (sorry) 2015-01-12 09:33:50 -08:00
Zach Loafman ca1753e51f Initial commit of Jenkins script + README
And a config description. This doesn't yet have much - first want to
make sure I can do the build job. Next I'll submit the e2e script with
its twiddles and switch those over. (After going to 3 e2es, I think
it's finally time for version control.)
2015-01-09 16:28:48 -08:00