From 18d4384445f721893bb3b9178e7677cbc8c17741 Mon Sep 17 00:00:00 2001 From: Xu Liu Date: Fri, 8 Mar 2024 09:48:13 +0000 Subject: [PATCH] Debug ubi e2e tests on gitlab CI Signed-off-by: Xu Liu --- ci/kind/test-e2e-kind.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ci/kind/test-e2e-kind.sh b/ci/kind/test-e2e-kind.sh index 0376449d664..c9f363c240e 100755 --- a/ci/kind/test-e2e-kind.sh +++ b/ci/kind/test-e2e-kind.sh @@ -313,6 +313,12 @@ function setup_cluster { echo "creating test bed with args $args" eval "timeout 600 $TESTBED_CMD create kind $args" + + echo "dumping iptables-legacy" + docker exec -i kind-control-plane "sh" "-c" "iptables-legacy-save || true; ip6tables-legacy-save || true" + + echo "dumping iptables-nft" + docker exec -i kind-control-plane "timeout" "5" "sh" "-c" "iptables-nft-save; ip6tables-nft-save || true" } function run_test {