From 294b3a4a40e4e19f05a727abe0e1a9747986bffe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Caama=C3=B1o=20Ruiz?= Date: Tue, 22 Oct 2024 11:29:28 +0000 Subject: [PATCH] e2e: skip ETP local conformance tests if default pod network is advertised MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jaime Caamaño Ruiz --- test/scripts/e2e-kind.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/test/scripts/e2e-kind.sh b/test/scripts/e2e-kind.sh index d355d3a7f1..f145740b73 100755 --- a/test/scripts/e2e-kind.sh +++ b/test/scripts/e2e-kind.sh @@ -104,6 +104,13 @@ DUALSTACK_CONVERSION_TESTS=" should function for service endpoints using hostNetwork " +# Skips when default pod network is advertised through BGP +RA_SKIPPED_TESTS=" +# Pod to ETP local nodeport on a different node is broken +# https://github.com/ovn-org/ovn-kubernetes/issues/4804 +\[sig-network\] Services should fallback to local terminating endpoints when there are no ready endpoints with externalTrafficPolicy=Local +" + # Github CI doesn´t offer IPv6 connectivity, so always skip IPv6 only tests. # See: https://github.com/ovn-org/ovn-kubernetes/issues/1522 SKIPPED_TESTS=$SKIPPED_TESTS$IPV6_ONLY_TESTS @@ -129,6 +136,11 @@ if [ "$DUALSTACK_CONVERSION" == true ]; then SKIPPED_TESTS=$SKIPPED_TESTS$DUALSTACK_CONVERSION_TESTS fi +# Skip tests that are unsupported or broken when the default pod network is advertised +if [ "$ADVERTISE_DEFAULT_NETWORK" == true ]; then + SKIPPED_TESTS=$SKIPPED_TESTS$RA_SKIPPED_TESTS +fi + SKIPPED_TESTS="$(groomTestList "${SKIPPED_TESTS}")" # if we set PARALLEL=true, skip serial test