265
265
# When 1.2.0-beta.0 comes out, e.g., this will become "ci/latest-1.2"
266
266
CURRENT_RELEASE_PUBLISHED_VERSION=" ci/latest-1.1"
267
267
268
+ # Specialized to skip when running reboot tests.
269
+ REBOOT_SKIP_TESTS=(
270
+ " Restart\sshould\srestart\sall\snodes"
271
+ " \[Example\]"
272
+ )
273
+
268
274
# Specialized tests which should be skipped by default for projects.
269
275
GCE_DEFAULT_SKIP_TESTS=(
270
- " \[Example\] " # previously in REBOOT_SKIP_TESTS..., dates back before version control (#10078)
276
+ " ${REBOOT_SKIP_TESTS[@]} "
271
277
" \[Skipped\]"
278
+ " Reboot"
279
+ " ServiceLoadBalancer"
272
280
)
273
281
274
- # PROVIDER SKIPS --------------------------------------
275
-
276
282
# Tests which cannot be run on GKE, e.g. because they require
277
283
# master ssh access.
278
284
GKE_REQUIRED_SKIP_TESTS=(
@@ -301,7 +307,6 @@ AWS_REQUIRED_SKIP_TESTS=(
301
307
" GCE\sL7\sLoadBalancer\sController" # GCE L7 loadbalancing
302
308
)
303
309
304
- # END PROVIDER SKIPS --------------------------------------
305
310
306
311
# Tests which kills or restarts components and/or nodes.
307
312
DISRUPTIVE_TESTS=(
@@ -321,6 +326,10 @@ GCE_FLAKY_TESTS=(
321
326
# comments below, and for poorly implemented tests, please quote the
322
327
# issue number tracking speed improvements.
323
328
GCE_SLOW_TESTS=(
329
+ # Before enabling this loadbalancer test in any other test list you must
330
+ # make sure the associated project has enough quota. At the time of this
331
+ # writing a GCE project is allowed 3 backend services by default. This
332
+ # test requires at least 5.
324
333
" \[Slow\]"
325
334
)
326
335
@@ -332,6 +341,21 @@ GCE_PARALLEL_SKIP_TESTS=(
332
341
" \[Disruptive\]"
333
342
)
334
343
344
+ # Tests that should not run on soak cluster.
345
+ GCE_SOAK_CONTINUOUS_SKIP_TESTS=(
346
+ " GCE\sL7\sLoadBalancer\sController" # issue: #17119
347
+ " Density.*30\spods"
348
+ " Elasticsearch"
349
+ " external\sload\sbalancer"
350
+ " identically\snamed\sservices"
351
+ " network\spartition"
352
+ " Services.*Type\sgoes\sfrom"
353
+ " ${DISRUPTIVE_TESTS[@]} " # avoid component restarts.
354
+ )
355
+
356
+ GCE_RELEASE_SKIP_TESTS=(
357
+ )
358
+
335
359
# Define environment variables based on the Jenkins project name.
336
360
# NOTE: Not all jobs are defined here. The hack/jenkins/e2e.sh in master and
337
361
# release branches defines relevant jobs for that particular version of
@@ -592,13 +616,10 @@ case ${JOB_NAME} in
592
616
: ${E2E_UP:= " false" }
593
617
# Clear out any orphaned namespaces in case previous run was interrupted.
594
618
: ${E2E_CLEAN_START:= " true" }
595
- # We should be testing the reliability of a long-running cluster. The
596
- # DISRUPTIVE_TESTS kill/restart components or nodes in the cluster,
597
- # defeating the purpose of a soak cluster. (#15722)
598
619
: ${GINKGO_TEST_ARGS:= " --ginkgo.skip=$( join_regex_allow_empty \
599
620
${GCE_DEFAULT_SKIP_TESTS[@]: +${GCE_DEFAULT_SKIP_TESTS[@]} } \
600
621
${GCE_FLAKY_TESTS[@]: +${GCE_FLAKY_TESTS[@]} } \
601
- ${DISRUPTIVE_TESTS [@]: +${DISRUPTIVE_TESTS [@]} } \
622
+ ${GCE_SOAK_CONTINUOUS_SKIP_TESTS [@]: +${GCE_SOAK_CONTINUOUS_SKIP_TESTS [@]} } \
602
623
) " }
603
624
: ${KUBE_GCE_INSTANCE_PREFIX:= " gce-soak-weekly" }
604
625
: ${PROJECT:= " kubernetes-jenkins" }
@@ -626,6 +647,7 @@ case ${JOB_NAME} in
626
647
: ${GINKGO_TEST_ARGS:= " --ginkgo.skip=$( join_regex_allow_empty \
627
648
" \[Skipped\]" \
628
649
${GKE_DEFAULT_SKIP_TESTS[@]: +${GKE_DEFAULT_SKIP_TESTS[@]} } \
650
+ ${REBOOT_SKIP_TESTS[@]: +${REBOOT_SKIP_TESTS[@]} } \
629
651
${GCE_FLAKY_TESTS[@]: +${GCE_FLAKY_TESTS[@]} } \
630
652
${GCE_SLOW_TESTS[@]: +${GCE_SLOW_TESTS[@]} } \
631
653
) " }
@@ -668,14 +690,11 @@ case ${JOB_NAME} in
668
690
: ${E2E_CLEAN_START:= " true" }
669
691
: ${PROJECT:= " kubernetes-jenkins" }
670
692
: ${E2E_OPT:= " --check_version_skew=false" }
671
- # We should be testing the reliability of a long-running cluster. The
672
- # DISRUPTIVE_TESTS kill/restart components or nodes in the cluster,
673
- # defeating the purpose of a soak cluster. (#15722)
674
693
: ${GINKGO_TEST_ARGS:= " --ginkgo.skip=$( join_regex_allow_empty \
675
694
${GKE_REQUIRED_SKIP_TESTS[@]: +${GKE_REQUIRED_SKIP_TESTS[@]} } \
676
695
${GCE_DEFAULT_SKIP_TESTS[@]: +${GCE_DEFAULT_SKIP_TESTS[@]} } \
677
696
${GCE_FLAKY_TESTS[@]: +${GCE_FLAKY_TESTS[@]} } \
678
- ${DISRUPTIVE_TESTS [@]: +${DISRUPTIVE_TESTS [@]} } \
697
+ ${GCE_SOAK_CONTINUOUS_SKIP_TESTS [@]: +${GCE_SOAK_CONTINUOUS_SKIP_TESTS [@]} } \
679
698
) " }
680
699
;;
681
700
0 commit comments