Report PostgreSQL server logs on test failure
Foundation / checks (checks) (push) Successful in 5s
Foundation / checks (client) (push) Successful in 4s
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 4s
Foundation / checks (network) (push) Successful in 4s
Foundation / checks (tsan) (push) Successful in 5s
Foundation / checks (postgres) (push) Failing after 33m42s
Foundation / postgres-tools (push) Skipped
Foundation / server-image (push) Skipped
Foundation / image (push) Skipped

This commit is contained in:
dingo
2026-10-11 23:20:52 -04:00
parent 276f0c349e
commit 9b1109c5ad
+5 -1
View File
@@ -35,7 +35,11 @@ export EVO_SOURCE_ROOT="$root"
export EVO_SERVER_BIN EVO_WORLD_CLONE_BIN
EVO_SERVER_BIN="$(dirname "${1:?path to evo-postgres-tests}")/evo-server"
EVO_WORLD_CLONE_BIN="$(dirname "$1")/evo-world-clone"
"$1"
if ! "$1"; then
echo 'PostgreSQL integration tests failed; recent disposable-cluster server log:' >&2
tail -n 80 "$test_dir/server.log" >&2 || true
exit 1
fi
psql -X -v ON_ERROR_STOP=1 -f "$root/tools/ci/life-reservations-check.sql" > /dev/null
bash "$root/tools/ci/life-reservations-concurrency.sh"
# M8.7: online backup under load, restore on a separate cluster, isolated rebuild.