https://pantsbuild.org/ logo
#development
Title
# development
h

hundreds-father-404

05/19/2021, 11:22 PM
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

fast-nail-55400

05/19/2021, 11:27 PM
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

hundreds-father-404

05/19/2021, 11:28 PM
ah ha, thanks!
still, weird exit code
f

fast-nail-55400

05/19/2021, 11:33 PM
-15 means the process was SIGKILL’ed. casting -15 to an unsigned byte gives 241 in two’s complement format
🙌 1
b

busy-vase-39202

05/21/2021, 9:43 PM
Someone would probably appreciate being pinged about fixing that exit code. Is that coming from GH Actions?
h

hundreds-father-404

05/25/2021, 12:44 AM
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