Commit Graph

1046 Commits (e5890d9ea5d9e32682d866bf2b224b33b0ab7a5f)

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