From 90e724fd584f9ad9ede2201e46251c1ee3141821 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Doktor?= Date: Thu, 30 Nov 2023 08:24:06 +0100 Subject: [PATCH] FIXME: Debugging missing garm target MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Lukáš Doktor --- .github/workflows/az-e2e.yaml | 2 +- tests/e2e/cluster/up.sh | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/az-e2e.yaml b/.github/workflows/az-e2e.yaml index 2c08b344..d5efa8ec 100644 --- a/.github/workflows/az-e2e.yaml +++ b/.github/workflows/az-e2e.yaml @@ -25,7 +25,7 @@ jobs: sudo apt-get install -y ansible python-is-python3 - name: Run e2e tests - continue-on-error: true + continue-on-error: false run: | cd tests/e2e export PATH="$PATH:/usr/local/bin" diff --git a/tests/e2e/cluster/up.sh b/tests/e2e/cluster/up.sh index 1a414223..c64b644c 100755 --- a/tests/e2e/cluster/up.sh +++ b/tests/e2e/cluster/up.sh @@ -52,16 +52,29 @@ configure_flannel() { main() { init_kubeadm + echo __INIT__ configure_flannel + echo __FLANNEL__ + echo NODES + kubectl get nodes -o wide + echo "HOSTNAME: $(hostname)" + echo "ALL_HOSTNAME: $(hostname -A)" + echo ALL + kubectl get all -A + echo hosts + cat /etc/hosts check_node_is_ready + echo __CHECK_NODE_IS_READY__ # Untaint the node so that pods can be scheduled on it. for role in master control-plane; do kubectl taint nodes "$(hostname)" \ "node-role.kubernetes.io/$role:NoSchedule-" done + echo __TAINTED__ kubectl label node "$(hostname)" node.kubernetes.io/worker= + echo __LABELED__ } main "$@"