Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
146a9e60
Commit
146a9e60
authored
Jan 28, 2016
by
Fabio Yeon
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #19667 from ihmccreery/fix-provider-skip-lists
Remove provider skip lists
parents
95244958
a51f291b
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
46 deletions
+7
-46
e2e.sh
hack/jenkins/e2e.sh
+2
-41
daemon_set.go
test/e2e/daemon_set.go
+1
-1
deployment.go
test/e2e/deployment.go
+1
-1
horizontal_pod_autoscaling.go
test/e2e/horizontal_pod_autoscaling.go
+2
-2
kubelet_perf.go
test/e2e/kubelet_perf.go
+1
-1
No files found.
hack/jenkins/e2e.sh
View file @
146a9e60
...
...
@@ -54,7 +54,6 @@ function join_regex_no_empty() {
# Assumes globals:
# $JOB_NAME
# $KUBERNETES_PROVIDER
# $GKE_DEFAULT_SKIP_TESTS
# $GCE_DEFAULT_SKIP_TESTS
# $GCE_FLAKY_TESTS
# $GCE_SLOW_TESTS
...
...
@@ -87,7 +86,6 @@ function configure_upgrade_step() {
${
GCE_SLOW_TESTS
[@]
:+
${
GCE_SLOW_TESTS
[@]
}}
\
)
"
local
-r
gke_test_args
=
"--ginkgo.skip=
$(
join_regex_allow_empty
\
${
GKE_DEFAULT_SKIP_TESTS
[@]
:+
${
GKE_DEFAULT_SKIP_TESTS
[@]
}}
\
${
GCE_DEFAULT_SKIP_TESTS
[@]
:+
${
GCE_DEFAULT_SKIP_TESTS
[@]
}}
\
${
GCE_FLAKY_TESTS
[@]
:+
${
GCE_FLAKY_TESTS
[@]
}}
\
${
GCE_SLOW_TESTS
[@]
:+
${
GCE_SLOW_TESTS
[@]
}}
\
...
...
@@ -272,37 +270,6 @@ GCE_DEFAULT_SKIP_TESTS=(
"
\[
Feature:.+
\]
"
)
# PROVIDER SKIPS --------------------------------------
# Tests which cannot be run on GKE, e.g. because they require
# master ssh access.
GKE_REQUIRED_SKIP_TESTS
=(
"Nodes"
"Etcd
\s
Failure"
"MasterCerts"
"experimental
\s
resource
\s
usage
\s
tracking"
# Expect --max-pods=110
"ServiceLoadBalancer"
# issue: #16602
"Shell"
# Alpha features, remove from skip when these move to beta
"Daemon
\s
set"
"Deployment"
)
# Specialized tests which should be skipped by default for GKE.
GKE_DEFAULT_SKIP_TESTS
=(
# Perf test, slow by design
"resource
\s
usage
\s
tracking"
"
${
GKE_REQUIRED_SKIP_TESTS
[@]
}
"
)
# Tests which cannot be run on AWS.
AWS_REQUIRED_SKIP_TESTS
=(
"experimental
\s
resource
\s
usage
\s
tracking"
# Expect --max-pods=110
"GCE
\s
L7
\s
LoadBalancer
\s
Controller"
# GCE L7 loadbalancing
)
# END PROVIDER SKIPS --------------------------------------
# Tests which kills or restarts components and/or nodes.
DISRUPTIVE_TESTS
=(
"
\[
Disruptive
\]
"
...
...
@@ -364,7 +331,6 @@ case ${JOB_NAME} in
${
GCE_DEFAULT_SKIP_TESTS
[@]
:+
${
GCE_DEFAULT_SKIP_TESTS
[@]
}}
\
${
GCE_FLAKY_TESTS
[@]
:+
${
GCE_FLAKY_TESTS
[@]
}}
\
${
GCE_SLOW_TESTS
[@]
:+
${
GCE_SLOW_TESTS
[@]
}}
\
${
AWS_REQUIRED_SKIP_TESTS
[@]
:+
${
AWS_REQUIRED_SKIP_TESTS
[@]
}}
\
)
"
}
:
${
KUBE_GCE_INSTANCE_PREFIX
=
"e2e-aws"
}
:
${
PROJECT
:
=
"k8s-jkns-e2e-aws"
}
...
...
@@ -472,7 +438,6 @@ case ${JOB_NAME} in
${
GCE_DEFAULT_SKIP_TESTS
[@]
:+
${
GCE_DEFAULT_SKIP_TESTS
[@]
}}
\
${
GCE_PARALLEL_SKIP_TESTS
[@]
:+
${
GCE_PARALLEL_SKIP_TESTS
[@]
}}
\
${
GCE_FLAKY_TESTS
[@]
:+
${
GCE_FLAKY_TESTS
[@]
}}
\
${
AWS_REQUIRED_SKIP_TESTS
[@]
:+
${
AWS_REQUIRED_SKIP_TESTS
[@]
}}
\
)
"
}
:
${
ENABLE_DEPLOYMENTS
:
=true
}
# Override AWS defaults.
...
...
@@ -633,9 +598,9 @@ case ${JOB_NAME} in
:
${
PROJECT
:
=
"k8s-jkns-e2e-gke-ci"
}
:
${
FAIL_ON_GCP_RESOURCE_LEAK
:
=
"true"
}
:
${
GINKGO_TEST_ARGS
:
=
"--ginkgo.skip=
$(
join_regex_allow_empty
\
${
GKE_DEFAULT_SKIP_TESTS
[@]
:+
${
GKE_DEFAULT_SKIP_TESTS
[@]
}}
\
${
GCE_DEFAULT_SKIP_TESTS
[@]
:+
${
GCE_DEFAULT_SKIP_TESTS
[@]
}}
\
${
GCE_FLAKY_TESTS
[@]
:+
${
GCE_FLAKY_TESTS
[@]
}}
\
${
GCE_SLOW_TESTS
[@]
:+
${
GCE_SLOW_TESTS
[@]
}}
\
)
"
}
;;
...
...
@@ -651,7 +616,6 @@ case ${JOB_NAME} in
)
--ginkgo.skip=
$(
join_regex_no_empty
\
${
GCE_DEFAULT_SKIP_TESTS
[@]
:+
${
GCE_DEFAULT_SKIP_TESTS
[@]
}}
\
${
GCE_FLAKY_TESTS
[@]
:+
${
GCE_FLAKY_TESTS
[@]
}}
\
${
GKE_DEFAULT_SKIP_TESTS
[@]
:+
${
GKE_DEFAULT_SKIP_TESTS
[@]
}}
\
)
"
}
;;
...
...
@@ -661,9 +625,7 @@ case ${JOB_NAME} in
:
${
E2E_SET_CLUSTER_API_VERSION
:
=y
}
:
${
PROJECT
:
=
"k8s-jkns-e2e-gke-ci-flaky"
}
:
${
FAIL_ON_GCP_RESOURCE_LEAK
:
=
"true"
}
:
${
GINKGO_TEST_ARGS
:
=
"--ginkgo.skip=
$(
join_regex_allow_empty
\
${
GKE_REQUIRED_SKIP_TESTS
[@]
:+
${
GKE_REQUIRED_SKIP_TESTS
[@]
}})
\
--ginkgo.focus=
$(
join_regex_no_empty
\
:
${
GINKGO_TEST_ARGS
:
=
"--ginkgo.focus=
$(
join_regex_no_empty
\
${
GCE_FLAKY_TESTS
[@]
:+
${
GCE_FLAKY_TESTS
[@]
}}
\
)
"
}
;;
...
...
@@ -696,7 +658,6 @@ case ${JOB_NAME} in
# 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
\
${
GKE_REQUIRED_SKIP_TESTS
[@]
:+
${
GKE_REQUIRED_SKIP_TESTS
[@]
}}
\
${
GCE_DEFAULT_SKIP_TESTS
[@]
:+
${
GCE_DEFAULT_SKIP_TESTS
[@]
}}
\
${
GCE_FLAKY_TESTS
[@]
:+
${
GCE_FLAKY_TESTS
[@]
}}
\
${
DISRUPTIVE_TESTS
[@]
:+
${
DISRUPTIVE_TESTS
[@]
}}
\
...
...
test/e2e/daemon_set.go
View file @
146a9e60
...
...
@@ -48,7 +48,7 @@ const (
daemonsetColorLabel
=
daemonsetLabelPrefix
+
"color"
)
var
_
=
Describe
(
"Daemon set"
,
func
()
{
var
_
=
Describe
(
"Daemon set
[Feature:DaemonSet]
"
,
func
()
{
var
f
*
Framework
AfterEach
(
func
()
{
...
...
test/e2e/deployment.go
View file @
146a9e60
...
...
@@ -30,7 +30,7 @@ import (
.
"github.com/onsi/gomega"
)
var
_
=
Describe
(
"Deployment"
,
func
()
{
var
_
=
Describe
(
"Deployment
[Feature:Deployment]
"
,
func
()
{
f
:=
NewFramework
(
"deployment"
)
It
(
"deployment should create new pods"
,
func
()
{
...
...
test/e2e/horizontal_pod_autoscaling.go
View file @
146a9e60
...
...
@@ -31,7 +31,7 @@ const (
subresource
=
"scale"
)
var
_
=
Describe
(
"Horizontal pod autoscaling (scale resource: CPU) [
Skipped
]"
,
func
()
{
var
_
=
Describe
(
"Horizontal pod autoscaling (scale resource: CPU) [
Feature:Autoscaling
]"
,
func
()
{
var
rc
*
ResourceConsumer
f
:=
NewFramework
(
"horizontal-pod-autoscaling"
)
...
...
@@ -48,7 +48,7 @@ var _ = Describe("Horizontal pod autoscaling (scale resource: CPU) [Skipped]", f
})
})
Describe
(
"ReplicationController
[Feature:Autoscaling]
"
,
func
()
{
Describe
(
"ReplicationController"
,
func
()
{
// CPU tests via replication controllers
It
(
titleUp
,
func
()
{
scaleUp
(
"rc"
,
kindRC
,
rc
,
f
)
...
...
test/e2e/kubelet_perf.go
View file @
146a9e60
...
...
@@ -184,7 +184,7 @@ var _ = Describe("Kubelet [Serial] [Slow]", func() {
})
}
})
Describe
(
"experimental resource usage tracking"
,
func
()
{
Describe
(
"experimental resource usage tracking
[Feature:ExperimentalResourceUsageTracking]
"
,
func
()
{
density
:=
[]
int
{
100
}
for
i
:=
range
density
{
podsPerNode
:=
density
[
i
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment