From 804c986f875b60006da52c928a682a242a290938 Mon Sep 17 00:00:00 2001 From: Isaac Hollander McCreery Date: Thu, 28 Jan 2016 10:22:44 -0800 Subject: [PATCH] Make slow tests run in parallel, add gke-slow suite --- hack/jenkins/e2e.sh | 17 ++++++++++++++--- hack/jenkins/job-configs/kubernetes-e2e.yaml | 3 +++ 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/hack/jenkins/e2e.sh b/hack/jenkins/e2e.sh index 0af96b13ae2..8c3e4eb7a67 100755 --- a/hack/jenkins/e2e.sh +++ b/hack/jenkins/e2e.sh @@ -418,9 +418,9 @@ case ${JOB_NAME} in kubernetes-e2e-gce-slow) : ${E2E_CLUSTER_NAME:="jenkins-gce-e2e-slow"} : ${E2E_NETWORK:="e2e-slow"} - : ${GINKGO_TEST_ARGS:="--ginkgo.focus=$(join_regex_no_empty \ - ${GCE_SLOW_TESTS[@]:+${GCE_SLOW_TESTS[@]}} \ - )"} + : ${GINKGO_TEST_ARGS:="--ginkgo.focus=\[Slow\] \ + --ginkgo.skip=\[Serial\]|\[Disruptive\]|\[Flaky\]|\[Feature:.+\]"} + : ${GINKGO_PARALLEL:="y"} : ${KUBE_GCE_INSTANCE_PREFIX:="e2e-slow"} : ${PROJECT:="k8s-jkns-e2e-gce-slow"} : ${FAIL_ON_GCP_RESOURCE_LEAK:="true"} @@ -639,6 +639,17 @@ case ${JOB_NAME} in )"} ;; + kubernetes-e2e-gke-slow) + : ${E2E_CLUSTER_NAME:="jkns-gke-e2e-slow"} + : ${E2E_NETWORK:="e2e-gke-slow"} + : ${E2E_SET_CLUSTER_API_VERSION:=y} + : ${PROJECT:="k8s-jkns-e2e-gke-slow"} + : ${FAIL_ON_GCP_RESOURCE_LEAK:="true"} + : ${GINKGO_TEST_ARGS:="--ginkgo.focus=\[Slow\] \ + --ginkgo.skip=\[Serial\]|\[Disruptive\]|\[Flaky\]|\[Feature:.+\]"} + : ${GINKGO_PARALLEL:="y"} + ;; + # Run the GCE_PARALLEL_SKIP_TESTS on GKE. kubernetes-e2e-gke-ci-reboot) : ${E2E_CLUSTER_NAME:="jkns-gke-e2e-ci-reboot"} diff --git a/hack/jenkins/job-configs/kubernetes-e2e.yaml b/hack/jenkins/job-configs/kubernetes-e2e.yaml index d86935da498..7df04effa2f 100644 --- a/hack/jenkins/job-configs/kubernetes-e2e.yaml +++ b/hack/jenkins/job-configs/kubernetes-e2e.yaml @@ -83,6 +83,9 @@ - cluster (k8s): ci/latest.txt
- tests: ci/latest.txt timeout: 300 + - 'gke-slow': + description: 'Run slow E2E tests on GKE using the latest successful build.' + timeout: 300 - 'gke-ci-reboot': description: | Run e2e tests using the following config: