From e86d40db458dd4a2e20bf076feda77ea83307a8f Mon Sep 17 00:00:00 2001 From: Peter Rifel Date: Mon, 19 Feb 2024 19:47:55 -0600 Subject: [PATCH] Skip known-failing test on most e2e jobs --- tests/e2e/pkg/tester/skip_regex.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/e2e/pkg/tester/skip_regex.go b/tests/e2e/pkg/tester/skip_regex.go index 112c846da4..aad89e8ad1 100644 --- a/tests/e2e/pkg/tester/skip_regex.go +++ b/tests/e2e/pkg/tester/skip_regex.go @@ -141,6 +141,14 @@ func (t *Tester) setSkipRegexFlag() error { skipRegex += "|should.verify.that.all.nodes.have.volume.limits" } + if k8sVersion.Minor < 28 && cluster.Spec.LegacyCloudProvider == "aws" { + // This test fails on RHEL-based distros because they return fully qualified hostnames yet the k8s node names are not fully qualified. + // Keeping this unskipped in k8s 1.28 so we can still get signal without causing all grid jobs to fail. + // ref: https://github.com/kubernetes/kops/issues/16349 + // ref: https://github.com/kubernetes/kubernetes/issues/123255 + skipRegex += "|Services.should.function.for.service.endpoints.using.hostNetwork" + } + if cluster.Spec.CloudConfig != nil && cluster.Spec.CloudConfig.AWSEBSCSIDriver != nil && fi.ValueOf(cluster.Spec.CloudConfig.AWSEBSCSIDriver.Enabled) { skipRegex += "|In-tree.Volumes.\\[Driver:.aws\\]" }