From ac8ae1524d9e4c74df36c4c6591df1108664c0db Mon Sep 17 00:00:00 2001 From: frostebite Date: Tue, 18 Aug 2026 21:26:10 +0100 Subject: [PATCH] debug: trace runsteps.sh execution to diagnose a real CI failure Docker test runs on unity-test-runner's thin-wrapper PR fail near- instantly with zero visible stdout - only two 'cat: no such file' stderr lines from the very end of test.sh's loop body, meaning the script reaches its last lines but nothing from mkdir/echo/unity-editor earlier in the script is visible at all, and the whole thing completes in well under a second (confirmed via job log timestamps) - too fast for Unity to have actually launched. Ruled out so far: the version-pin gap (#96, fixed), the eval/array bug in the coverage flags (#97, fixed) - this is a third, still-unidentified issue. set -x traces every command to stderr, which (unlike stdout) is rendering promptly in the CI log, to find the actual failure point in the next run. Temporary - will be removed once root-caused. --- dist/platforms/ubuntu/steps/runsteps.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dist/platforms/ubuntu/steps/runsteps.sh b/dist/platforms/ubuntu/steps/runsteps.sh index 1885c0ba..94376997 100644 --- a/dist/platforms/ubuntu/steps/runsteps.sh +++ b/dist/platforms/ubuntu/steps/runsteps.sh @@ -11,6 +11,12 @@ # STEPS_DIR="${STEPS_DIR:-/steps}" +# TEMPORARY: tracing every command to stderr while diagnosing a real CI +# failure where a Docker test run produces zero visible stdout before +# failing near-instantly (game-ci/cli - see the PR this landed in for +# context). Remove once root-caused. +set -x + source "$STEPS_DIR/set_extra_git_configs.sh" source "$STEPS_DIR/set_gitcredential.sh"