exit code 241 in a CI run where it looks like `./p...
# development
h
exit code 241 in a CI run where it looks like
./pants test
was green 👀 anyone know what that refers to? I don't see much on Google
f
maybe this log line is relevant? https://github.com/pantsbuild/pants/runs/2625145989?check_suite_focus=true#step:11:318
Copy code
23:16:55.32 [WARN] Completed: test - src/python/pants/backend/python/util_rules/pex_from_targets_test.py:tests failed (exit code -15).
Exceeded timeout of Some(90s) for local process execution, Run Pytest for src/python/pants/backend/python/util_rules/pex_from_targets_test.py:tests
h
ah ha, thanks!
still, weird exit code
f
-15 means the process was SIGKILL’ed. casting -15 to an unsigned byte gives 241 in two’s complement format
🙌 1
b
Someone would probably appreciate being pinged about fixing that exit code. Is that coming from GH Actions?
h
GitHub Actions is doing a sensible thing. Pants is doing a sort of legal but not really thing of using a negative exit code https://github.com/pantsbuild/pants/pull/12120 clears up this whole problem