From 2001c429f830ba2d93fe6ea90715afff65eec08a Mon Sep 17 00:00:00 2001 From: Rene Cannao Date: Sat, 13 Jun 2026 17:50:36 +0000 Subject: [PATCH] fix(ci): force --table output + post-LOAD probes in mysqlx-soak setup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Bring up infrastructure step pipes the SQL block to `mysql` via docker exec -i with stdin redirected from a heredoc. With stdin not attached to a tty `mysql` switches to a silent default that suppresses header + row output for non-error queries, so the existing SELECT COUNT(*) probes left no trace in the CI log — making it impossible to tell whether the lazy-refresh nudge ran, whether LOAD MYSQLX TO RUNTIME returned errors, or whether the install_*_from_admin path saw zero source rows. Two surgical changes: * `mysql --table` forces boxed output regardless of stdin shape, so SELECT results land in the runner log. * Add a final UNION SELECT that counts rows in runtime_mysqlx_users / runtime_mysqlx_routes / runtime_mysqlx_ backend_endpoints after the LOAD statements run. Zero in any of those columns localises the bind failure to install_*_from_admin having seen empty source rows. --- test/tap/groups/mysqlx-soak/setup-infras.bash | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/test/tap/groups/mysqlx-soak/setup-infras.bash b/test/tap/groups/mysqlx-soak/setup-infras.bash index a534b7913..89beb7d8c 100755 --- a/test/tap/groups/mysqlx-soak/setup-infras.bash +++ b/test/tap/groups/mysqlx-soak/setup-infras.bash @@ -59,7 +59,10 @@ fi # what the X-protocol client authenticates against; the X-specific # overrides (allowed_auth_methods, default_route, backend_auth_mode) # live in mysqlx_users. -docker exec -i "${PROXY_CONTAINER}" mysql -u${ADMIN_USER} -p${ADMIN_PASS} -h127.0.0.1 -P6032 <