Commit Graph

63 Commits (a521a16d0d5f56e0dd7a6d7ef8977352fc29e3e0)

Author SHA1 Message Date
Dawn Chen f04d3ebdd2 Revert "Revert "e2e-runner.sh: don't overwrite readonly var"" 2016-06-10 18:17:51 -07:00
Dawn Chen 3b0fadf396 Revert "Revert "third time charm for #27144"" 2016-06-10 18:17:15 -07:00
Dawn Chen f1651a0d34 Revert "third time charm for #27144" 2016-06-10 17:57:09 -07:00
Dawn Chen da90405844 Revert "e2e-runner.sh: don't overwrite readonly var" 2016-06-10 17:56:03 -07:00
Jeff Lowdermilk f6c3eb8179 e2e-runner.sh: don't overwrite readonly var 2016-06-10 16:45:40 -07:00
Jeff Lowdermilk eab35fb037 third time charm for #27144
We really need a way to test the e2e-runner.
2016-06-10 16:18:53 -07:00
Jeff Lowdermilk e47b9f36aa Fix #27144 2016-06-10 15:54:51 -07:00
Jeff Lowdermilk 427e34a325 Use latest branch build for GKE tests.
Pull the latest build of the release the server is running, rather
than matching exact version. This allows GKE to pick up test fixes
from branch head, instead of waiting for a patch.
2016-06-09 12:34:24 -07:00
Isaac Hollander McCreery 28738ff787 Always skew the client when running version-skew tests 2016-06-03 10:31:23 -07:00
k8s-merge-robot 5b03fd5697 Merge pull request #26448 from pwittrock/fix-26318-kubemark-junit-results
Automatic merge from submit-queue

Kubemark e2e tests should exit 0 for test failures.

Fixed #26318
2016-05-27 23:04:36 -07:00
Phillip Wittrock c3e1c12985 Kubemark e2e tests should exit 0 for test failures.
Jenkins relies on junit.xml to identify test failures
and non-0 exit codes to indentify infrastructure failures.
Test failures in kubemark tests should not cause the test
script to exit non-0.  Infrastructure failures should.

- Add function to dump cluster logs without exiting (refactor)
- Change `test/kubemark/stop-kubemark.sh` to be run regardless of whether tests fail or not
- Exit code for failed tests overwritten to be the exit code of dumping the cluster logs
2016-05-27 15:45:18 -07:00
Erick Fejta 0e1c2ee20c Push public key to project if not already present 2016-05-27 13:56:18 -07:00
k8s-merge-robot 201aa24b85 Merge pull request #25701 from wonderfly/drop_trusty
Automatic merge from submit-queue

e2e-runner: Drop Trusty support in favor of GCI

Now that GCI (Google Container-VM Image) is out, we will start running e2e tests
with it instead of Ubuntu Trusty. This change updates `e2e-runner.sh` to replace
the Trusty related logic with GCI.

_Note that this change has to go in the same time as https://github.com/kubernetes/test-infra/pull/54_

@spxtr Can you review?

cc/ @andyzheng0831 @kubernetes/goog-image
2016-05-25 00:58:18 -07:00
k8s-merge-robot 2c038e38c5 Merge pull request #25817 from ihmccreery/fix-skew-kubectl
Automatic merge from submit-queue

Fix JENKINS_USE_SKEW_KUBECTL

I got this logic wrong; the first is a NOT comparison, so the second should only be available if that NOT comparison returns true.
2016-05-20 04:42:19 -07:00
Daniel Wang fe7dd4cae7 e2e-runner: Drop Trusty support in favor of GCI
Now that GCI (Google Container-VM Image) is out, we will start running e2e tests
with it instead of Ubuntu Trusty. This change updates `e2e-runner.sh` to replace
the Trusty related logic with GCI.
2016-05-19 17:51:53 -07:00
Daniel Wang 967b869c67 Jenkins: start using base images for Trusty tests 2016-05-19 15:23:30 -07:00
Isaac Hollander McCreery 20e220e51c Fix JENKINS_USE_SKEW_KUBECTL 2016-05-18 08:46:45 -07:00
k8s-merge-robot 87403cfe7b Merge pull request #25173 from ixdy/gcloud-grep-awk-cut
Automatic merge from submit-queue

Use --format='value(name)' with gcloud instead of grep/awk/cut

Fixing our fragile parsing of `gcloud` is getting old (#24746, #25159, maybe others?).

Instead, let's just get the proper output out of `gcloud` in the first place.
2016-05-15 07:46:28 -07:00
Isaac Hollander McCreery 3f3e2d9b9a Add infra to e2e-runner to allow running tests with a skewed kubectl 2016-05-11 11:08:19 -07:00
Jeff Grafton bc7922c374 Replace awkward bash pipelines with gcloud's --format='value()'
Also remove old `gcloud compute instance-groups managed get-operation`
code. This command doesn't even exist in gcloud anymore.
2016-05-06 15:49:57 -07:00
k8s-merge-robot a64ef4d3df Merge pull request #25042 from wonderfly/trusty_beta_to_1_2
Automatic merge from submit-queue

Update e2e-runner.sh so it can fetch multiple types of Trusty images

Trusty beta images now work with k8s 1.2.

@spxtr, @andyzheng0831 Can you review this?
2016-05-06 04:51:57 -07:00
k8s-merge-robot 9a1b2540b0 Merge pull request #24739 from zmerlynn/1000nodes
Automatic merge from submit-queue

Jenkins: Clean up even if we can't bring cluster up

We're gathering all the cluster logs, go ahead and clean up the
resources.
2016-05-05 23:16:41 -07:00
Daniel Wang f355222060 e2e-runner.sh: Ability to fetch multiple types of Trusty images 2016-05-02 15:20:19 -07:00
gmarek 07f1b2f4c5 Default KUBEMARK_TEST_ARGS 2016-04-30 01:33:10 +02:00
Zach Loafman d1dadf70f4 Jenkins: Clean up even if we can't bring cluster up
We're gathering all the cluster logs, go ahead and clean up the
resources.
2016-04-27 09:44:14 -07:00
gmarek 24bf07cc20 Enable resource gatherer in Kubemark tests 2016-04-26 21:53:05 +02:00
k8s-merge-robot 9b08bc62d1 Merge pull request #24623 from ixdy/kubemark-cluster-logs
Automatic merge from submit-queue

Use cluster/log-dump.sh to collect base cluster logs in kubemark

Fixes #24415.

cc @fejta @spxtr @wojtek-t
2016-04-26 09:13:42 -07:00
k8s-merge-robot 19a106f61e Merge pull request #24274 from euank/configurable-release-bucket
Automatic merge from submit-queue

jenkins: Allow configuration of release bucket

This allows others to leverage the existing E2E code to test some
patched kube binary by simply overriding the bucket and reusing many of
the existing scripts
2016-04-21 23:09:05 -07:00
Jeff Grafton 308692a0c5 Use cluster/log-dump.sh to collect base cluster logs in kubemark 2016-04-21 14:39:10 -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
Euan Kemp 9f9c54cdd2 jenkins: Allow configuration of release bucket
This allows others to leverage the existing E2E code to test some
patched kube binary by simply overriding the bucket and reusing many of
the existing scripts
2016-04-14 12:26:43 -07:00
Isaac Hollander McCreery 7fb421bdc3 e2e-runner: don't clean old binaries before upgrade 2016-04-12 11:12:59 -07:00
Jeff Grafton 1816582fda Remove "dirty workspace" check in e2e-runner.sh 2016-04-11 12:02:14 -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 9ee4d79a62 Merge pull request #23821 from spxtr/retry-404
Retry the cloudsdk gsutil copy.
2016-04-08 12:56:28 -07:00
Isaac Hollander McCreery 1c28cf016c Fix upgrade tests 2016-04-08 08:28:18 -07:00
Joe Finney 5f5639da1e
Retry the cloudsdk gsutil copy. 2016-04-06 16:42:14 -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
Jeff Grafton 62b3587b62 Use upload-to-gcs.sh everywhere 2016-03-31 13:49:06 -07:00
gmarek 5555cbeb2b When checking for leak look only at additional resources 2016-03-30 15:08:14 -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
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
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
Isaac Hollander McCreery 4ca19568bf Fix CMD_GROUP reference to not fail if CMD_GROUP isn't set 2016-03-17 00:27:30 -07:00
Joe Finney eff5a9c14d Add cluster/log-dump.sh. 2016-03-01 17:13:18 -08:00
Isaac Hollander McCreery 523f18cc0e Fix script again 2016-03-01 09:00:09 -08:00
Justin Santa Barbara c76c167ee0 e2e hotfix: don't quote ci/latest in GS URL
Fix #22287
2016-03-01 11:23:46 -05:00
Isaac Hollander McCreery adbd8a9c94 Refactor e2e-runner.sh in preparation for upgrade job infra improvements 2016-02-29 16:36:37 -08:00
Wojciech Tyczynski c09b470b2b Store logs from base cluster if kubemark fails 2016-02-29 14:22:06 +01:00
Wojciech Tyczynski 1f2fe27122 Store logs from main cluster in kubemark only in case of failure 2016-02-26 10:42:27 +01:00