You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
make test targets are killed (exit 137) on macOS when given the full file list #1461
On macOS, make test, make test/parallel and make test/strict die with Killed: 9 (exit 137) within 0 to 4 seconds, before any test runs. CI runs make test and passes, so this may be specific to macOS or to this machine.
Seen on main at a838222, macOS 27.2, /bin/bash 3.2.57.
The run prints Killed: 9 and rc=137. One run named src/config/env.sh line 995 (read -r parsed_path) as the line running when the kill landed.
What I narrowed down
It happens with --list too, so no test body or hook is involved. It also happens with --parallel --simple without --suite, so suites are not the cause.
The trigger is the explicit file list. ./bashunit --suite parallel tests and ./bashunit --suite strict tests pass on the same machine.
It depends on the list, not on one file. Of the 241 sorted test files, the first 125 pass and the first 126 are killed; file 126 is tests/acceptance/install_test.sh. Files 121 to 180 on their own pass, even though they include install_test.sh. So install_test.sh triggers it only after the files before it are loaded.
Nothing in src/ sends SIGKILL to the main process at that point. The only kill -KILL is the timeout watchdog in src/runner/exec.sh, which needs a running test.
Activity