From 4f3010265644e7e0169606ed3de3069d43215e49 Mon Sep 17 00:00:00 2001 From: devodev Date: Tue, 5 Nov 2024 15:40:07 -0500 Subject: [PATCH] Add debug statements to eks workflow --- .github/workflows/eks.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/eks.yaml b/.github/workflows/eks.yaml index eaffeb7670..3554ad5e9b 100644 --- a/.github/workflows/eks.yaml +++ b/.github/workflows/eks.yaml @@ -135,6 +135,8 @@ jobs: - name: Install Cilium and run tests timeout-minutes: 30 run: | + set -x + # Install Cilium cilium install \ --version "${{ env.cilium_version }}" \ @@ -157,6 +159,12 @@ jobs: # Port forward Relay cilium hubble port-forward& sleep 10s + + echo "[DEBUG] port-forward" + ps | grep port-forward + pgrep -f "kubectl.*port-forward.*hubble-relay" || true >/dev/null + pgrep -f "cilium.*hubble.*port-forward" || true >/dev/null + if ! [[ $(pgrep -f "kubectl.*port-forward.*hubble-relay" | wc -l) == 1 ]]; then # support for native port-forwarding # TODO: remove kubectl version after 0.16.20 release