diff --git a/.github/in-cluster-test-scripts/aks.sh b/.github/in-cluster-test-scripts/aks.sh index 1ecfd3a337..1fd308c8dd 100644 --- a/.github/in-cluster-test-scripts/aks.sh +++ b/.github/in-cluster-test-scripts/aks.sh @@ -16,7 +16,7 @@ sleep 10s [[ $(pgrep -f "cilium.*hubble.*port-forward|kubectl.*port-forward.*hubble-relay" | wc -l) == 2 ]] # Run connectivity test -cilium connectivity test --debug --all-flows --collect-sysdump-on-failure +cilium connectivity test --debug --all-flows --collect-sysdump-on-failure --external-target bing.com # Run performance test cilium connectivity test --perf --perf-duration 1s diff --git a/.github/in-cluster-test-scripts/eks-tunnel.sh b/.github/in-cluster-test-scripts/eks-tunnel.sh index 86bc7b4281..7b3149ef4b 100644 --- a/.github/in-cluster-test-scripts/eks-tunnel.sh +++ b/.github/in-cluster-test-scripts/eks-tunnel.sh @@ -28,7 +28,7 @@ sleep 10s [[ $(pgrep -f "cilium.*hubble.*port-forward|kubectl.*port-forward.*hubble-relay" | wc -l) == 2 ]] # Run connectivity test -cilium connectivity test --debug --all-flows --collect-sysdump-on-failure \ +cilium connectivity test --debug --all-flows --collect-sysdump-on-failure --external-target amazon.com \ --test '!dns-only,!to-fqdns,!client-egress-l7,!health' # workaround for nslookup issues in tunnel mode causing tests to fail reliably # TODO: remove once: diff --git a/.github/in-cluster-test-scripts/eks.sh b/.github/in-cluster-test-scripts/eks.sh index e7f900d67a..12f7f43edf 100644 --- a/.github/in-cluster-test-scripts/eks.sh +++ b/.github/in-cluster-test-scripts/eks.sh @@ -26,7 +26,7 @@ sleep 10s [[ $(pgrep -f "cilium.*hubble.*port-forward|kubectl.*port-forward.*hubble-relay" | wc -l) == 2 ]] # Run connectivity test -cilium connectivity test --debug --all-flows --collect-sysdump-on-failure +cilium connectivity test --debug --all-flows --collect-sysdump-on-failure --external-target amazon.com # Run performance test cilium connectivity test --perf --perf-duration 1s diff --git a/.github/in-cluster-test-scripts/external-workloads.sh b/.github/in-cluster-test-scripts/external-workloads.sh index 004559ffcf..47d0feeaec 100644 --- a/.github/in-cluster-test-scripts/external-workloads.sh +++ b/.github/in-cluster-test-scripts/external-workloads.sh @@ -4,7 +4,7 @@ set -x set -e # Run connectivity test -cilium connectivity test --debug --all-flows --collect-sysdump-on-failure +cilium connectivity test --debug --all-flows --collect-sysdump-on-failure --external-target google.com # Run performance test cilium connectivity test --perf --perf-duration 1s diff --git a/.github/in-cluster-test-scripts/gke.sh b/.github/in-cluster-test-scripts/gke.sh index cfbbccefe6..b87e5f9152 100644 --- a/.github/in-cluster-test-scripts/gke.sh +++ b/.github/in-cluster-test-scripts/gke.sh @@ -23,7 +23,7 @@ sleep 10s [[ $(pgrep -f "cilium.*hubble.*port-forward|kubectl.*port-forward.*hubble-relay" | wc -l) == 2 ]] # Run connectivity test -cilium connectivity test --debug --all-flows --collect-sysdump-on-failure +cilium connectivity test --debug --all-flows --collect-sysdump-on-failure --external-target google.com # Run performance test cilium connectivity test --perf --perf-duration 1s diff --git a/.github/in-cluster-test-scripts/multicluster.sh b/.github/in-cluster-test-scripts/multicluster.sh index 1d86554b00..3a6c47bddd 100644 --- a/.github/in-cluster-test-scripts/multicluster.sh +++ b/.github/in-cluster-test-scripts/multicluster.sh @@ -57,4 +57,4 @@ sleep 10s # Run connectivity test cilium --context "${CONTEXT1}" connectivity test --debug --multi-cluster "${CONTEXT2}" --test '!/*-deny,!/pod-to-.*-nodeport' \ - --all-flows --collect-sysdump-on-failure + --all-flows --collect-sysdump-on-failure --external-target google.com