Skip to content

Commit e307766

Browse files
Enable upstream tests
1 parent 4ca6e96 commit e307766

File tree

2 files changed

+66
-47
lines changed

2 files changed

+66
-47
lines changed

test/extended/extended_test.go

+19
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,25 @@ import (
55

66
_ "k8s.io/kubernetes/test/e2e"
77

8+
// test sources
9+
_ "k8s.io/kubernetes/test/e2e/apimachinery"
10+
_ "k8s.io/kubernetes/test/e2e/apps"
11+
_ "k8s.io/kubernetes/test/e2e/auth"
12+
_ "k8s.io/kubernetes/test/e2e/autoscaling"
13+
_ "k8s.io/kubernetes/test/e2e/common"
14+
_ "k8s.io/kubernetes/test/e2e/instrumentation"
15+
_ "k8s.io/kubernetes/test/e2e/kubectl"
16+
// _ "k8s.io/kubernetes/test/e2e/lifecycle"
17+
// _ "k8s.io/kubernetes/test/e2e/lifecycle/bootstrap"
18+
// _ "k8s.io/kubernetes/test/e2e/multicluster"
19+
_ "k8s.io/kubernetes/test/e2e/network"
20+
_ "k8s.io/kubernetes/test/e2e/node"
21+
_ "k8s.io/kubernetes/test/e2e/scalability"
22+
_ "k8s.io/kubernetes/test/e2e/scheduling"
23+
_ "k8s.io/kubernetes/test/e2e/servicecatalog"
24+
_ "k8s.io/kubernetes/test/e2e/storage"
25+
// _ "k8s.io/kubernetes/test/e2e/ui"
26+
827
_ "github.com/openshift/origin/test/extended/builds"
928
_ "github.com/openshift/origin/test/extended/cli"
1029
_ "github.com/openshift/origin/test/extended/cluster"

test/extended/util/test.go

+47-47
Original file line numberDiff line numberDiff line change
@@ -254,18 +254,28 @@ var (
254254
`\[Flaky\]`,
255255
`\[Disruptive\]`,
256256
`\[local\]`,
257-
258-
// not enabled in Origin yet
259-
//`\[Feature:GarbageCollector\]`,
257+
`\[Local\]`,
260258

261259
// Doesn't work on scaled up clusters
262260
`\[Feature:ImagePrune\]`,
263261
// Quota isn't turned on by default, we should do that and then reenable these tests
264262
`\[Feature:ImageQuota\]`,
265-
// Currently disabled by default
266-
`\[Feature:Initializers\]`,
267263
// Needs special configuration
268264
`\[Feature:Audit\]`,
265+
// has cleanup issues
266+
`\[Feature:Example\]`,
267+
// admission controller disabled
268+
`\[Feature:Initializers\]`,
269+
// openshift-sdn doesn't support yet
270+
`\[Feature:Networking-IPv6\]`,
271+
// disable from the default set for now
272+
`\[sig-scalability\]`,
273+
274+
// Don't run kube-dns
275+
`kube-dns-autoscaler`,
276+
277+
// vSphere tests can be skipped generally
278+
`vsphere`,
269279

270280
// Depends on external components, may not need yet
271281
`Monitoring`, // Not installed, should be
@@ -275,78 +285,67 @@ var (
275285
`kube-ui`, // Not installed by default
276286
`^Kubernetes Dashboard`, // Not installed by default (also probably slow image pull)
277287

278-
`\[Feature:Federation\]`, // Not enabled yet
279-
`\[Feature:Federation12\]`, // Not enabled yet
280-
`Ingress`, // Not enabled yet
281-
`Cinder`, // requires an OpenStack cluster
282-
`should support r/w`, // hostPath: This test expects that host's tmp dir is WRITABLE by a container. That isn't something we need to guarantee for openshift.
283-
`should check that the kubernetes-dashboard instance is alive`, // we don't create this
284-
// `\[Feature:ManualPerformance\]`, // requires /resetMetrics which we don't expose
288+
`Ingress`, // Not enabled yet
289+
`Cinder`, // requires an OpenStack cluster
285290

286291
// See the CanSupport implementation in upstream to determine wether these work.
287-
`Ceph RBD`, // Works if ceph-common Binary installed (but we can't guarantee this on all clusters).
288-
`GlusterFS`, // May work if /sbin/mount.glusterfs to be installed for plugin to work (also possibly blocked by serial pulling)
289-
`should support r/w`, // hostPath: This test expects that host's tmp dir is WRITABLE by a container. That isn't something we need to guarantee for openshift.
292+
`Ceph RBD`, // Works if ceph-common Binary installed (but we can't guarantee this on all clusters).
293+
`GlusterFS`, // May work if /sbin/mount.glusterfs to be installed for plugin to work (also possibly blocked by serial pulling)
290294

291-
// Failing because of https://github.com/openshift/origin/issues/12365 against a real cluster
292-
//`should allow starting 95 pods per node`,
295+
`NetworkPolicy between server and client should allow egress access on one named port`, // not yet implemented
293296

294297
// Need fixing
295-
`Horizontal pod autoscaling`, // needs heapster
296-
//`PersistentVolume`, // https://github.com/openshift/origin/pull/6884 for recycler
297-
`mount an API token into pods`, // We add 6 secrets, not 1
298-
`ServiceAccounts should ensure a single API token exists`, // We create lots of secrets
299-
`should test kube-proxy`, // needs 2 nodes
300-
`authentication: OpenLDAP`, // needs separate setup and bucketing for openldap bootstrapping
301-
`NFS`, // no permissions https://github.com/openshift/origin/pull/6884
302-
`\[Feature:Example\]`, // has cleanup issues
303-
`NodeProblemDetector`, // requires a non-master node to run on
304-
//`unchanging, static URL paths for kubernetes api services`, // the test needs to exclude URLs that are not part of conformance (/logs)
298+
`Horizontal pod autoscaling`, // needs heapster
299+
`mount an API token into pods`, // We add 6 secrets, not 1
300+
`ServiceAccounts should ensure a single API token exists`, // We create lots of secrets
301+
`should test kube-proxy`, // needs 2 nodes
302+
`authentication: OpenLDAP`, // needs separate setup and bucketing for openldap bootstrapping
303+
`NodeProblemDetector`, // requires a non-master node to run on
304+
`unchanging, static URL paths for kubernetes api services`, // the test needs to exclude URLs that are not part of conformance (/logs)
305+
"PersistentVolumes NFS when invoking the Recycle reclaim policy", // failing for some reason
306+
`should propagate mounts to the host`, // https://github.com/openshift/origin/issues/18931
307+
`AdmissionWebhook`, // needs to be enabled
308+
`Advanced Audit should audit API calls`, // expects to be able to call /logs
309+
`Simple pod should handle in-cluster config`, // kubectl cp is not preserving executable bit
310+
`Services should be able to up and down services`, // we don't have wget installed on nodes
311+
`Network should set TCP CLOSE_WAIT timeout`, // possibly some difference between ubuntu and fedora
312+
`should allow ingress access on one named port`, // broken even with network policy on
305313

306314
// Needs triage to determine why it is failing
307-
`Addon update`, // TRIAGE
308-
`SSH`, // TRIAGE
309-
`\[Feature:Upgrade\]`, // TRIAGE
310-
`SELinux relabeling`, // https://github.com/openshift/origin/issues/7287
315+
`SSH`, // TRIAGE
316+
`SELinux relabeling`, // https://github.com/openshift/origin/issues/7287 still broken
311317
`openshift mongodb replication creating from a template`, // flaking on deployment
312-
//`Update Demo should do a rolling update of a replication controller`, // this is flaky and needs triaging
318+
`Volumes CephFS`, // permission denied, selinux?
313319

314320
// Test will never work
315321
`should proxy to cadvisor`, // we don't expose cAdvisor port directly for security reasons
316322

317-
// Need to relax security restrictions
318-
//`validates that InterPod Affinity and AntiAffinity is respected if matching`, // this *may* now be safe
319-
320-
// Requires too many pods per node for the per core defaults
321-
//`should ensure that critical pod is scheduled in case there is no resources available`,
322-
323-
// Need multiple nodes
324-
`validates that InterPodAntiAffinity is respected if matching 2`,
325-
326323
// Inordinately slow tests
327324
`should create and stop a working application`,
328-
//`should always delete fast`, // will be uncommented in etcd3
329325

330326
// We don't install KubeDNS
331327
`should check if Kubernetes master services is included in cluster-info`,
332328

333329
// this tests dns federation configuration via configmap, which we don't support yet
334330
`DNS configMap`,
335331

336-
// this tests the _kube_ downgrade. we don't support that.
337-
`\[Feature:Downgrade\]`,
338-
339332
// upstream flakes
340-
`validates resource limits of pods that are allowed to run`, // can't schedule to master due to node label limits, also fiddly
333+
// `validates resource limits of pods that are allowed to run`, // can't schedule to master due to node label limits, also fiddly
341334

342335
// TODO undisable:
343-
`should provide basic identity`, // needs a persistent volume provisioner in single node, host path not working
336+
// `should provide basic identity`, // needs a persistent volume provisioner in single node, host path not working
344337
`should idle the service and DeploymentConfig properly`, // idling with a single service and DeploymentConfig [Conformance]
345338

339+
// TODO: would be good to use
340+
`Metadata Concealment`,
341+
346342
// slow as sin and twice as ugly (11m each)
347343
"Pod should avoid to schedule to node that have avoidPod annotation",
348344
"Pod should be schedule to node that satisify the PodAffinity",
349345
"Pod should be prefer scheduled to node that satisify the NodeAffinity",
346+
347+
// Upstream-install specific
348+
`Firewall rule should have correct firewall rules for e2e cluster`,
350349
}
351350
excludedTestsFilter = regexp.MustCompile(strings.Join(excludedTests, `|`))
352351

@@ -361,6 +360,7 @@ var (
361360
serialTests = []string{
362361
`\[Serial\]`,
363362
`\[Disruptive\]`,
363+
`\[Feature:Performance\]`, // requires isolation
364364
`\[Feature:ManualPerformance\]`, // requires isolation
365365
`\[Feature:HighDensityPerformance\]`, // requires no other namespaces
366366
`Service endpoints latency`, // requires low latency

0 commit comments

Comments
 (0)