From f7643a5c13e57568b0264517340aaef97caf4367 Mon Sep 17 00:00:00 2001 From: Mondo Diaz Date: Tue, 3 Feb 2026 10:25:36 -0600 Subject: [PATCH] Add debug output to reset_feature job for auth troubleshooting --- .gitlab-ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f4a4df6..5af04ef 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -236,6 +236,8 @@ reset_feature: print("ERROR: DEV_ADMIN_PASSWORD not set") sys.exit(1) + # Debug: show password info without revealing it + print(f"Password length: {len(PASSWORD)}, first char: '{PASSWORD[0] if PASSWORD else '?'}', last char: '{PASSWORD[-1] if PASSWORD else '?'}'") print(f"Resetting environment at {BASE_URL}") client = httpx.Client(base_url=BASE_URL, timeout=60.0) @@ -246,6 +248,7 @@ reset_feature: }) if login_resp.status_code != 200: print(f"ERROR: Login failed: {login_resp.status_code}") + print(f"Response: {login_resp.text}") sys.exit(1) # Call factory reset