<#18211 Pants 2.15.0rc4 can hang under pantsd> Iss...
# github-notifications
q
#18211 Pants 2.15.0rc4 can hang under pantsd Issue created by jsirois I have suffered hangs over in scie-pants using Pants 2.15.0rc4, see: • Linux: https://github.com/pantsbuild/scie-pants/actions/runs/4128694155/jobs/7133454406 • Mac: https://github.com/pantsbuild/scie-pants/actions/runs/4128694155/jobs/7133454550 The context is an integration test where Pants is launched (
--pantsd
mode) in a subprocess with stdout piped for test use in assertions. This code here: https://github.com/pantsbuild/scie-pants/blob/3d269eb21ab7d764054496cd33530aaa364c6252/package/src/main.rs#L863-L892 The hang happens in the
assert_pants_bin_name
calls. The links above on the 1st or 2nd call, the example below in the 3rd or 4th call (can't say for sure if the hang is on pantsd down or pantsd up, but I think its on the bring-down which would make these 1st and 3rd). I used this ssh rig to debug: pantsbuild/scie-pants#114 The commands run in the ssh session were:
Copy code
$ sudo rm -rf target/
$ cargo run -p package -- test --tools-pex-mismatch-warn
<hang>
ctrl-Z
$ sudo apt install gdb
$ sudo gdb -p 16881
log-slim.txt log-slim2.txt pantsbuild/pants
u