Skip to content

Commit a2f51a0

Browse files
authored
Merge pull request #8019 from zalando-incubator/re-enable-skipped-e2e
2 parents ac37646 + e0ab5d6 commit a2f51a0

File tree

3 files changed

+8
-31
lines changed

3 files changed

+8
-31
lines changed

cluster/config-defaults.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ teapot_admission_controller_namespace_delete_protection_enabled: "false"
601601
teapot_admission_controller_resolve_vanity_images: "true"
602602

603603
{{if eq .Cluster.Environment "e2e"}}
604-
teapot_admission_controller_ignore_namespaces: "^kube-system|((downward-api|kubectl|projected|statefulset|pod-network|scope-selectors|resourcequota|limitrange|sysctl|node-tests|e2e-kubelet-etc-hosts|csiinlinevolumes)-.*)$"
604+
teapot_admission_controller_ignore_namespaces: "^kube-system|((downward-api|kubectl|projected|statefulset|pod-network|scope-selectors|resourcequota|limitrange|sysctl|node-tests|e2e-kubelet-etc-hosts|csiinlinevolumes|dns)-.*)$"
605605
teapot_admission_controller_crd_ensure_no_resources_on_delete: "false"
606606
{{else}}
607607
teapot_admission_controller_ignore_namespaces: "^kube-system$"

test/e2e/routegroup.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ rBackend: Path("/backend") -> inlineContent("%s") -> <shunt>;`,
542542
framework.ExpectNoError(err)
543543

544544
// POD
545-
By("Creating 2 PODs with prefix " + nameprefix + " and " + nameprefix + " in namespace " + ns)
545+
By("Creating 2 PODs with prefix " + nameprefix + " and " + nameprefix2 + " in namespace " + ns)
546546
expectedResponse := "blue"
547547
pod := createSkipperPod(
548548
nameprefix,
@@ -654,8 +654,8 @@ rBackend: Path("/blue-green") -> status(202) -> inlineContent("%s") -> <shunt>;`
654654
// +/- 5 for 80/20
655655
res201 := cnt[201] > 75 && cnt[201] < 85
656656
res202 := cnt[202] > 15 && cnt[202] < 25
657-
Expect(res201).To(BeTrue())
658-
Expect(res202).To(BeTrue())
657+
Expect(res201).To(BeTrue(), "201 count should be between 75 and 85, got %d", cnt[201])
658+
Expect(res202).To(BeTrue(), "202 count should be between 15 and 25, got %d", cnt[202])
659659
})
660660

661661
It("Should create NLB routegroup [RouteGroup] [Zalando]", func() {

test/e2e/run_e2e.sh

Lines changed: 4 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -164,36 +164,13 @@ if [ "$e2e" = true ]; then
164164
# * statefulset tests
165165
# * custom 'zalando' tests
166166
#
167-
# Disable DNS tests covering DNS names of format: <name>.<namespace>.svc which
168-
# we don't support with the ndots:2 configuration:
169-
#
170-
# * "should resolve DNS of partial qualified names for the cluster [DNS] [Conformance]"
171-
# https://github.com/kubernetes/kubernetes/blob/66049e3b21efe110454d67df4fa62b08ea79a19b/test/e2e/network/dns.go#L71-L98
172-
#
173-
# * "should resolve DNS of partial qualified names for services [LinuxOnly]"
174-
# https://github.com/kubernetes/kubernetes/blob/06ad960bfd03b39c8310aaf92d1e7c12ce618213/test/e2e/network/dns.go#L181-L234
175-
176167
# Disable Tests for setups which we don't support
177168
#
178-
# These are disabled because they assume nodePorts are reachable via the public
179-
# IP of the node, we don't currently support that.
180-
#
181-
# * "[Fail] [sig-network] Services [It] should be able to change the type from ExternalName to NodePort [Conformance]"
182-
# https://github.com/kubernetes/kubernetes/blob/224be7bdce5a9dd0c2fd0d46b83865648e2fe0ba/test/e2e/network/service.go#L1037
183-
# * "[Fail] [sig-network] Services [It] should be able to create a functioning NodePort service [Conformance]"
184-
# https://github.com/kubernetes/kubernetes/blob/224be7bdce5a9dd0c2fd0d46b83865648e2fe0ba/test/e2e/network/service.go#L551
185-
# * "[Fail] [sig-network] Services [It] should have session affinity work for NodePort service [LinuxOnly] [Conformance]"
186-
# https://github.com/kubernetes/kubernetes/blob/v1.19.2/test/e2e/network/service.go#L1813
187-
# * "[Fail] [sig-network] Services [It] should have session affinity timeout work for NodePort service [LinuxOnly] [Conformance]"
188-
# https://github.com/kubernetes/kubernetes/blob/v1.19.2/test/e2e/network/service.go#L2522
189-
# * "[Fail] [sig-network] Services [It] should be able to switch session affinity for NodePort service [LinuxOnly] [Conformance]"
190-
# https://github.com/kubernetes/kubernetes/blob/v1.19.2/test/e2e/network/service.go#L2538
191-
#
192-
# These are disabled because the hostPort are not supported in our
193-
# clusters yet. Currently there's no need to support them and
169+
# These are disabled because hostPort is not supported in our
170+
# clusters yet. Currently there's no need to support it and
194171
# portMapping is not enabled in the Flannel CNI configmap.
195172
# * "[Fail] [sig-network] HostPort [It] validates that there is no conflict between pods with same hostPort but different hostIP and protocol [LinuxOnly] [Conformance]"
196-
# https://github.com/kubernetes/kubernetes/blob/v1.21.5/test/e2e/network/hostport.go#L61
173+
# https://github.com/kubernetes/kubernetes/blob/v1.31.0/test/e2e/network/hostport.go#L63
197174
set +e
198175

199176
# TODO(linki): re-introduce the broken DNS record test after ExternalDNS handles it better
@@ -204,7 +181,7 @@ if [ "$e2e" = true ]; then
204181
mkdir -p junit_reports
205182
ginkgo -procs=25 -flake-attempts=2 \
206183
-focus="(\[Conformance\]|\[StatefulSetBasic\]|\[Feature:StatefulSet\]\s\[Slow\].*mysql|\[Zalando\])" \
207-
-skip="(should.resolve.DNS.of.partial.qualified.names.for.the.cluster|should.resolve.DNS.of.partial.qualified.names.for.services|should.be.able.to.change.the.type.from.ExternalName.to.NodePort|should.be.able.to.create.a.functioning.NodePort.service|should.have.session.affinity.work.for.NodePort.service|should.have.session.affinity.timeout.work.for.NodePort.service|should.be.able.to.switch.session.affinity.for.NodePort.service|validates.that.there.is.no.conflict.between.pods.with.same.hostPort.but.different.hostIP.and.protocol|\[Serial\]|Should.create.gradual.traffic.routes|Should.create.blue-green.routes)" \
184+
-skip="(\[Serial\]|validates.that.there.is.no.conflict.between.pods.with.same.hostPort.but.different.hostIP.and.protocol)" \
208185
"e2e.test" -- \
209186
-delete-namespace-on-failure=false \
210187
-non-blocking-taints=node.kubernetes.io/role,nvidia.com/gpu,dedicated \

0 commit comments

Comments
 (0)