From 792134457f2d61d1995cab0e262c5258ce2a419c Mon Sep 17 00:00:00 2001 From: Lukas Piwowarski Date: Fri, 21 Aug 2026 11:30:26 -0400 Subject: [PATCH] [DNM] Debug KUTTL tests This allows us to gather the logs using must-gather from the exact point when the tests fail. --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index cf00dab..04b2ef6 100644 --- a/Makefile +++ b/Makefile @@ -308,7 +308,12 @@ $(KUTTL): $(LOCALBIN) kuttl-test: kuttl ## Run kuttl tests @command -v diff >/dev/null 2>&1 || { echo "ERROR: 'diff' command is required for KUTTL tests but not found in PATH" >&2; exit 1; } @command -v oc >/dev/null 2>&1 || { echo "ERROR: 'oc' command is required for KUTTL tests but not found in PATH" >&2; exit 1; } - $(LOCALBIN)/kubectl-kuttl test --config kuttl-test.yaml test/kuttl/tests $(KUTTL_ARGS) + $(LOCALBIN)/kubectl-kuttl test --config kuttl-test.yaml test/kuttl/tests --test application-credentials $(KUTTL_ARGS) + $(LOCALBIN)/kubectl-kuttl test --config kuttl-test.yaml test/kuttl/tests --test basic-openstack-lightspeed-configuration $(KUTTL_ARGS) + $(LOCALBIN)/kubectl-kuttl test --config kuttl-test.yaml test/kuttl/tests --test dynamic-crd-watch-recovery $(KUTTL_ARGS) + $(LOCALBIN)/kubectl-kuttl test --config kuttl-test.yaml test/kuttl/tests --test persistent-database $(KUTTL_ARGS) + $(LOCALBIN)/kubectl-kuttl test --config kuttl-test.yaml test/kuttl/tests --test rhoso-mcps-configuration $(KUTTL_ARGS) + $(LOCALBIN)/kubectl-kuttl test --config kuttl-test.yaml test/kuttl/tests --test update-openstacklightspeed $(KUTTL_ARGS) .PHONY: govulncheck-install govulncheck-install: $(LOCALBIN) ## Download govulncheck locally if necessary.