Skip to content

Commit 7ca0fa4

Browse files
committed
Merge pull request kubernetes#19385 from kubernetes/revert-19297-skip-labels
Revert "Label [Skipped] tests appropriately"
2 parents 57c4091 + ce96ff4 commit 7ca0fa4

File tree

4 files changed

+33
-23
lines changed

4 files changed

+33
-23
lines changed

hack/jenkins/e2e.sh

Lines changed: 31 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -265,14 +265,20 @@ fi
265265
# When 1.2.0-beta.0 comes out, e.g., this will become "ci/latest-1.2"
266266
CURRENT_RELEASE_PUBLISHED_VERSION="ci/latest-1.1"
267267

268+
# Specialized to skip when running reboot tests.
269+
REBOOT_SKIP_TESTS=(
270+
"Restart\sshould\srestart\sall\snodes"
271+
"\[Example\]"
272+
)
273+
268274
# Specialized tests which should be skipped by default for projects.
269275
GCE_DEFAULT_SKIP_TESTS=(
270-
"\[Example\]" # previously in REBOOT_SKIP_TESTS..., dates back before version control (#10078)
276+
"${REBOOT_SKIP_TESTS[@]}"
271277
"\[Skipped\]"
278+
"Reboot"
279+
"ServiceLoadBalancer"
272280
)
273281

274-
# PROVIDER SKIPS --------------------------------------
275-
276282
# Tests which cannot be run on GKE, e.g. because they require
277283
# master ssh access.
278284
GKE_REQUIRED_SKIP_TESTS=(
@@ -301,7 +307,6 @@ AWS_REQUIRED_SKIP_TESTS=(
301307
"GCE\sL7\sLoadBalancer\sController" # GCE L7 loadbalancing
302308
)
303309

304-
# END PROVIDER SKIPS --------------------------------------
305310

306311
# Tests which kills or restarts components and/or nodes.
307312
DISRUPTIVE_TESTS=(
@@ -321,6 +326,10 @@ GCE_FLAKY_TESTS=(
321326
# comments below, and for poorly implemented tests, please quote the
322327
# issue number tracking speed improvements.
323328
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.
324333
"\[Slow\]"
325334
)
326335

@@ -332,6 +341,21 @@ GCE_PARALLEL_SKIP_TESTS=(
332341
"\[Disruptive\]"
333342
)
334343

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+
335359
# Define environment variables based on the Jenkins project name.
336360
# NOTE: Not all jobs are defined here. The hack/jenkins/e2e.sh in master and
337361
# release branches defines relevant jobs for that particular version of
@@ -592,13 +616,10 @@ case ${JOB_NAME} in
592616
: ${E2E_UP:="false"}
593617
# Clear out any orphaned namespaces in case previous run was interrupted.
594618
: ${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)
598619
: ${GINKGO_TEST_ARGS:="--ginkgo.skip=$(join_regex_allow_empty \
599620
${GCE_DEFAULT_SKIP_TESTS[@]:+${GCE_DEFAULT_SKIP_TESTS[@]}} \
600621
${GCE_FLAKY_TESTS[@]:+${GCE_FLAKY_TESTS[@]}} \
601-
${DISRUPTIVE_TESTS[@]:+${DISRUPTIVE_TESTS[@]}} \
622+
${GCE_SOAK_CONTINUOUS_SKIP_TESTS[@]:+${GCE_SOAK_CONTINUOUS_SKIP_TESTS[@]}} \
602623
)"}
603624
: ${KUBE_GCE_INSTANCE_PREFIX:="gce-soak-weekly"}
604625
: ${PROJECT:="kubernetes-jenkins"}
@@ -626,6 +647,7 @@ case ${JOB_NAME} in
626647
: ${GINKGO_TEST_ARGS:="--ginkgo.skip=$(join_regex_allow_empty \
627648
"\[Skipped\]" \
628649
${GKE_DEFAULT_SKIP_TESTS[@]:+${GKE_DEFAULT_SKIP_TESTS[@]}} \
650+
${REBOOT_SKIP_TESTS[@]:+${REBOOT_SKIP_TESTS[@]}} \
629651
${GCE_FLAKY_TESTS[@]:+${GCE_FLAKY_TESTS[@]}} \
630652
${GCE_SLOW_TESTS[@]:+${GCE_SLOW_TESTS[@]}} \
631653
)"}
@@ -668,14 +690,11 @@ case ${JOB_NAME} in
668690
: ${E2E_CLEAN_START:="true"}
669691
: ${PROJECT:="kubernetes-jenkins"}
670692
: ${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)
674693
: ${GINKGO_TEST_ARGS:="--ginkgo.skip=$(join_regex_allow_empty \
675694
${GKE_REQUIRED_SKIP_TESTS[@]:+${GKE_REQUIRED_SKIP_TESTS[@]}} \
676695
${GCE_DEFAULT_SKIP_TESTS[@]:+${GCE_DEFAULT_SKIP_TESTS[@]}} \
677696
${GCE_FLAKY_TESTS[@]:+${GCE_FLAKY_TESTS[@]}} \
678-
${DISRUPTIVE_TESTS[@]:+${DISRUPTIVE_TESTS[@]}} \
697+
${GCE_SOAK_CONTINUOUS_SKIP_TESTS[@]:+${GCE_SOAK_CONTINUOUS_SKIP_TESTS[@]}} \
679698
)"}
680699
;;
681700

test/e2e/ingress.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -390,11 +390,6 @@ func (cont *IngressController) Cleanup(del bool) error {
390390
return fmt.Errorf(errMsg)
391391
}
392392

393-
// Before enabling this loadbalancer test in any other test list you must
394-
// make sure the associated project has enough quota. At the time of this
395-
// writing a GCE project is allowed 3 backend services by default. This
396-
// test requires at least 5.
397-
//
398393
// Slow by design (10 min)
399394
// Flaky issue #17518
400395
var _ = Describe("GCE L7 LoadBalancer Controller [Serial] [Slow] [Flaky]", func() {

test/e2e/restart.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,7 @@ const (
4848
restartPodReadyAgainTimeout = 5 * time.Minute
4949
)
5050

51-
// TODO(ihmccreery): This is skipped because it was previously in
52-
// REBOOT_SKIP_TESTS, dates back before version control (#10078)
53-
var _ = Describe("Restart [Skipped]", func() {
51+
var _ = Describe("Restart", func() {
5452
var c *client.Client
5553
var ps *podStore
5654
var skipped bool

test/e2e/serviceloadbalancers.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,7 @@ func (s *ingManager) test(path string) error {
203203
})
204204
}
205205

206-
// TODO(ihmccreery) Skipped originally in #14988, never sent follow-up PR, as
207-
// far as I can tell.
208-
var _ = Describe("ServiceLoadBalancer [Skipped]", func() {
206+
var _ = Describe("ServiceLoadBalancer", func() {
209207
// These variables are initialized after framework's beforeEach.
210208
var ns string
211209
var repoRoot string

0 commit comments

Comments
 (0)