Skip to content

Commit

Permalink
Exclude failing e2e control-plane ipv6 tests
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Stäbler <cstabler@redhat.com>
  • Loading branch information
creydr committed Jun 28, 2021
1 parent 2c58cea commit 95b4a15
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions test/scripts/e2e-cp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,25 @@ set -ex
export KUBERNETES_CONFORMANCE_TEST=y
export KUBECONFIG=${HOME}/admin.conf

# Skip tests which are not IPv6 ready yet (see description of https://github.com/ovn-org/ovn-kubernetes/pull/2276)
IPV6_SKIPPED_TESTS="Should be allowed by externalip services|\
should provide connection to external host by DNS name from a pod|\
should provide Internet connection continuously when master is killed|\
should provide Internet connection continuously when ovn-k8s pod is killed|\
Should validate connectivity from a pod to a non-node host address on same node|\
Should validate connectivity to an external gateway\'s loopback address via a pod with external gateway annotations enabled|\
Should validate connectivity to multiple external gateways for an ECMP scenario|\
Should validate connectivity without vxlan before and after updating the namespace annotation to a new external gateway|\
Should validate ICMP connectivity to an external gateway\'s loopback address via a pod with external gateway annotations enabled|\
Should validate ICMP connectivity to multiple external gateways for an ECMP scenario|\
Should validate ingress connectivity from an external gateway|\
Should validate NetFlow data of br-int is sent to an external gateway|\
Should validate TCP/UDP connectivity to an external gateway\'s loopback address via a pod with external gateway annotations enabled|\
Should validate TCP/UDP connectivity to multiple external gateways for a UDP / TCP scenario|\
Should validate the egress firewall policy functionality against remote hosts|\
Should validate the egress IP functionality against remote hosts|\
recovering from deleting db files while maintain connectivity"

SKIPPED_TESTS=""
if [ "$KIND_IPV4_SUPPORT" == true ] && [ "$KIND_IPV6_SUPPORT" == true ]; then
# No support for these features in dual-stack yet
Expand All @@ -28,6 +47,14 @@ else
SKIPPED_TESTS+="Should validate connectivity before and after deleting all the db-pods at once in Non-HA mode"
fi

if [ "$KIND_IPV6_SUPPORT" == true ]; then
if [ "$SKIPPED_TESTS" != "" ]; then
SKIPPED_TESTS+="|"
fi
# No support for these tests in IPv6 mode yet
SKIPPED_TESTS+=$IPV6_SKIPPED_TESTS
fi

# setting these is required to make RuntimeClass tests work ... :/
export KUBE_CONTAINER_RUNTIME=remote
export KUBE_CONTAINER_RUNTIME_ENDPOINT=unix:///run/containerd/containerd.sock
Expand Down

0 comments on commit 95b4a15

Please sign in to comment.