|
|
@@ -272,20 +272,14 @@ fi
|
|
|
|
# When 1.2.0-beta.0 comes out, e.g., this will become "ci/latest-1.2"
|
|
|
|
# When 1.2.0-beta.0 comes out, e.g., this will become "ci/latest-1.2"
|
|
|
|
CURRENT_RELEASE_PUBLISHED_VERSION="ci/latest-1.1"
|
|
|
|
CURRENT_RELEASE_PUBLISHED_VERSION="ci/latest-1.1"
|
|
|
|
|
|
|
|
|
|
|
|
# Specialized to skip when running reboot tests.
|
|
|
|
|
|
|
|
REBOOT_SKIP_TESTS=(
|
|
|
|
|
|
|
|
"Restart\sshould\srestart\sall\snodes"
|
|
|
|
|
|
|
|
"\[Example\]"
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Specialized tests which should be skipped by default for projects.
|
|
|
|
# Specialized tests which should be skipped by default for projects.
|
|
|
|
GCE_DEFAULT_SKIP_TESTS=(
|
|
|
|
GCE_DEFAULT_SKIP_TESTS=(
|
|
|
|
"${REBOOT_SKIP_TESTS[@]}"
|
|
|
|
"\[Example\]" # previously in REBOOT_SKIP_TESTS..., dates back before version control (#10078)
|
|
|
|
"\[Skipped\]"
|
|
|
|
"\[Skipped\]"
|
|
|
|
"Reboot"
|
|
|
|
|
|
|
|
"ServiceLoadBalancer"
|
|
|
|
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# PROVIDER SKIPS --------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
# Tests which cannot be run on GKE, e.g. because they require
|
|
|
|
# Tests which cannot be run on GKE, e.g. because they require
|
|
|
|
# master ssh access.
|
|
|
|
# master ssh access.
|
|
|
|
GKE_REQUIRED_SKIP_TESTS=(
|
|
|
|
GKE_REQUIRED_SKIP_TESTS=(
|
|
|
@@ -314,6 +308,7 @@ AWS_REQUIRED_SKIP_TESTS=(
|
|
|
|
"GCE\sL7\sLoadBalancer\sController" # GCE L7 loadbalancing
|
|
|
|
"GCE\sL7\sLoadBalancer\sController" # GCE L7 loadbalancing
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# END PROVIDER SKIPS --------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
# Tests which kills or restarts components and/or nodes.
|
|
|
|
# Tests which kills or restarts components and/or nodes.
|
|
|
|
DISRUPTIVE_TESTS=(
|
|
|
|
DISRUPTIVE_TESTS=(
|
|
|
@@ -333,10 +328,6 @@ GCE_FLAKY_TESTS=(
|
|
|
|
# comments below, and for poorly implemented tests, please quote the
|
|
|
|
# comments below, and for poorly implemented tests, please quote the
|
|
|
|
# issue number tracking speed improvements.
|
|
|
|
# issue number tracking speed improvements.
|
|
|
|
GCE_SLOW_TESTS=(
|
|
|
|
GCE_SLOW_TESTS=(
|
|
|
|
# Before enabling this loadbalancer test in any other test list you must
|
|
|
|
|
|
|
|
# make sure the associated project has enough quota. At the time of this
|
|
|
|
|
|
|
|
# writing a GCE project is allowed 3 backend services by default. This
|
|
|
|
|
|
|
|
# test requires at least 5.
|
|
|
|
|
|
|
|
"\[Slow\]"
|
|
|
|
"\[Slow\]"
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
@@ -348,21 +339,6 @@ GCE_PARALLEL_SKIP_TESTS=(
|
|
|
|
"\[Disruptive\]"
|
|
|
|
"\[Disruptive\]"
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
# Tests that should not run on soak cluster.
|
|
|
|
|
|
|
|
GCE_SOAK_CONTINUOUS_SKIP_TESTS=(
|
|
|
|
|
|
|
|
"GCE\sL7\sLoadBalancer\sController" # issue: #17119
|
|
|
|
|
|
|
|
"Density.*30\spods"
|
|
|
|
|
|
|
|
"Elasticsearch"
|
|
|
|
|
|
|
|
"external\sload\sbalancer"
|
|
|
|
|
|
|
|
"identically\snamed\sservices"
|
|
|
|
|
|
|
|
"network\spartition"
|
|
|
|
|
|
|
|
"Services.*Type\sgoes\sfrom"
|
|
|
|
|
|
|
|
"${DISRUPTIVE_TESTS[@]}" # avoid component restarts.
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
GCE_RELEASE_SKIP_TESTS=(
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Define environment variables based on the Jenkins project name.
|
|
|
|
# Define environment variables based on the Jenkins project name.
|
|
|
|
# NOTE: Not all jobs are defined here. The hack/jenkins/e2e.sh in master and
|
|
|
|
# NOTE: Not all jobs are defined here. The hack/jenkins/e2e.sh in master and
|
|
|
|
# release branches defines relevant jobs for that particular version of
|
|
|
|
# release branches defines relevant jobs for that particular version of
|
|
|
@@ -619,10 +595,13 @@ case ${JOB_NAME} in
|
|
|
|
: ${E2E_UP:="false"}
|
|
|
|
: ${E2E_UP:="false"}
|
|
|
|
# Clear out any orphaned namespaces in case previous run was interrupted.
|
|
|
|
# Clear out any orphaned namespaces in case previous run was interrupted.
|
|
|
|
: ${E2E_CLEAN_START:="true"}
|
|
|
|
: ${E2E_CLEAN_START:="true"}
|
|
|
|
|
|
|
|
# We should be testing the reliability of a long-running cluster. The
|
|
|
|
|
|
|
|
# DISRUPTIVE_TESTS kill/restart components or nodes in the cluster,
|
|
|
|
|
|
|
|
# defeating the purpose of a soak cluster. (#15722)
|
|
|
|
: ${GINKGO_TEST_ARGS:="--ginkgo.skip=$(join_regex_allow_empty \
|
|
|
|
: ${GINKGO_TEST_ARGS:="--ginkgo.skip=$(join_regex_allow_empty \
|
|
|
|
${GCE_DEFAULT_SKIP_TESTS[@]:+${GCE_DEFAULT_SKIP_TESTS[@]}} \
|
|
|
|
${GCE_DEFAULT_SKIP_TESTS[@]:+${GCE_DEFAULT_SKIP_TESTS[@]}} \
|
|
|
|
${GCE_FLAKY_TESTS[@]:+${GCE_FLAKY_TESTS[@]}} \
|
|
|
|
${GCE_FLAKY_TESTS[@]:+${GCE_FLAKY_TESTS[@]}} \
|
|
|
|
${GCE_SOAK_CONTINUOUS_SKIP_TESTS[@]:+${GCE_SOAK_CONTINUOUS_SKIP_TESTS[@]}} \
|
|
|
|
${DISRUPTIVE_TESTS[@]:+${DISRUPTIVE_TESTS[@]}} \
|
|
|
|
)"}
|
|
|
|
)"}
|
|
|
|
: ${KUBE_GCE_INSTANCE_PREFIX:="gce-soak-weekly"}
|
|
|
|
: ${KUBE_GCE_INSTANCE_PREFIX:="gce-soak-weekly"}
|
|
|
|
: ${PROJECT:="kubernetes-jenkins"}
|
|
|
|
: ${PROJECT:="kubernetes-jenkins"}
|
|
|
@@ -650,7 +629,6 @@ case ${JOB_NAME} in
|
|
|
|
: ${GINKGO_TEST_ARGS:="--ginkgo.skip=$(join_regex_allow_empty \
|
|
|
|
: ${GINKGO_TEST_ARGS:="--ginkgo.skip=$(join_regex_allow_empty \
|
|
|
|
"\[Skipped\]" \
|
|
|
|
"\[Skipped\]" \
|
|
|
|
${GKE_DEFAULT_SKIP_TESTS[@]:+${GKE_DEFAULT_SKIP_TESTS[@]}} \
|
|
|
|
${GKE_DEFAULT_SKIP_TESTS[@]:+${GKE_DEFAULT_SKIP_TESTS[@]}} \
|
|
|
|
${REBOOT_SKIP_TESTS[@]:+${REBOOT_SKIP_TESTS[@]}} \
|
|
|
|
|
|
|
|
${GCE_FLAKY_TESTS[@]:+${GCE_FLAKY_TESTS[@]}} \
|
|
|
|
${GCE_FLAKY_TESTS[@]:+${GCE_FLAKY_TESTS[@]}} \
|
|
|
|
${GCE_SLOW_TESTS[@]:+${GCE_SLOW_TESTS[@]}} \
|
|
|
|
${GCE_SLOW_TESTS[@]:+${GCE_SLOW_TESTS[@]}} \
|
|
|
|
)"}
|
|
|
|
)"}
|
|
|
@@ -693,11 +671,14 @@ case ${JOB_NAME} in
|
|
|
|
: ${E2E_CLEAN_START:="true"}
|
|
|
|
: ${E2E_CLEAN_START:="true"}
|
|
|
|
: ${PROJECT:="kubernetes-jenkins"}
|
|
|
|
: ${PROJECT:="kubernetes-jenkins"}
|
|
|
|
: ${E2E_OPT:="--check_version_skew=false"}
|
|
|
|
: ${E2E_OPT:="--check_version_skew=false"}
|
|
|
|
|
|
|
|
# We should be testing the reliability of a long-running cluster. The
|
|
|
|
|
|
|
|
# DISRUPTIVE_TESTS kill/restart components or nodes in the cluster,
|
|
|
|
|
|
|
|
# defeating the purpose of a soak cluster. (#15722)
|
|
|
|
: ${GINKGO_TEST_ARGS:="--ginkgo.skip=$(join_regex_allow_empty \
|
|
|
|
: ${GINKGO_TEST_ARGS:="--ginkgo.skip=$(join_regex_allow_empty \
|
|
|
|
${GKE_REQUIRED_SKIP_TESTS[@]:+${GKE_REQUIRED_SKIP_TESTS[@]}} \
|
|
|
|
${GKE_REQUIRED_SKIP_TESTS[@]:+${GKE_REQUIRED_SKIP_TESTS[@]}} \
|
|
|
|
${GCE_DEFAULT_SKIP_TESTS[@]:+${GCE_DEFAULT_SKIP_TESTS[@]}} \
|
|
|
|
${GCE_DEFAULT_SKIP_TESTS[@]:+${GCE_DEFAULT_SKIP_TESTS[@]}} \
|
|
|
|
${GCE_FLAKY_TESTS[@]:+${GCE_FLAKY_TESTS[@]}} \
|
|
|
|
${GCE_FLAKY_TESTS[@]:+${GCE_FLAKY_TESTS[@]}} \
|
|
|
|
${GCE_SOAK_CONTINUOUS_SKIP_TESTS[@]:+${GCE_SOAK_CONTINUOUS_SKIP_TESTS[@]}} \
|
|
|
|
${DISRUPTIVE_TESTS[@]:+${DISRUPTIVE_TESTS[@]}} \
|
|
|
|
)"}
|
|
|
|
)"}
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
|
|