@@ -147,14 +147,50 @@ def sonobuoy_parse_result(plugin, sonobuoy_results_yaml_path):
147147
148148def ok_to_fail (test_name ):
149149 # TODO: Make this configurable
150- regexs = [
151- "HostPort validates that there is no conflict between pods with same hostPort but different hostIP and protocol" ,
152- "Services should be able to switch session affinity for NodePort service" ,
153- "Services should have session affinity work for NodePort service" ,
154- "validates that there exists conflict between pods with same hostPort and protocol but one using 0.0.0.0 hostIP" ,
150+ regexs_and_reason = [
151+ # InternalIP still used in tests. Having only an ExternalIP is considered valid by SCS:
152+ (
153+ "HostPort validates that there is no conflict between pods with same hostPort but different hostIP and protocol" ,
154+ "Fails when a cluster has no InternalIP (only ExternalIP): https://github.com/kubernetes/kubernetes/issues/136626" ,
155+ ),
156+ (
157+ "Services should be able to switch session affinity for NodePort service" ,
158+ "Fails when a cluster has no InternalIP (only ExternalIP): https://github.com/kubernetes/kubernetes/issues/136626" ,
159+ ),
160+ (
161+ "Services should have session affinity work for NodePort service" ,
162+ "Fails when a cluster has no InternalIP (only ExternalIP): https://github.com/kubernetes/kubernetes/issues/136626" ,
163+ ),
164+ (
165+ "validates that there exists conflict between pods with same hostPort and protocol but one using 0.0.0.0 hostIP" ,
166+ "Fails when a cluster has no InternalIP (only ExternalIP): https://github.com/kubernetes/kubernetes/issues/136626" ,
167+ ),
168+ # Was flaky
169+ (
170+ "Netpol NetworkPolicy between server and client should allow ingress access from updated namespace" ,
171+ "Flaky test. Fix in v1.36 (https://github.com/kubernetes/kubernetes/pull/136715)" ,
172+ ),
173+ # SCTP is optional
174+ (
175+ "Feature:SCTPConnectivity" ,
176+ "SCTPConnectivity is optional. Currently Cilium does not support it by default." ,
177+ ),
178+ # Tests skipped by Cilium: https://github.com/cilium/cilium/blob/main/.github/workflows/k8s-kind-network-policies-e2e.yaml#L177-L185
179+ (
180+ "should.allow.egress.access.to.server.in.CIDR.block" ,
181+ "https://github.com/cilium/cilium/issues/9209" ,
182+ ),
183+ (
184+ "should.ensure.an.IP.overlapping.both.IPBlock.CIDR.and.IPBlock.Except.is.allowed" ,
185+ "https://github.com/cilium/cilium/issues/9209" ,
186+ ),
187+ (
188+ "should.enforce.except.clause.while.egress.access.to.server.in.CIDR.block" ,
189+ "https://github.com/cilium/cilium/issues/9209" ,
190+ ),
155191 ]
156192 name = test_name
157- for regex in regexs :
193+ for regex , _reason in regexs_and_reason :
158194 if re .search (regex , name ):
159195 return True
160196 return False
0 commit comments