https://pantsbuild.org/ logo
h

hundreds-breakfast-49010

06/02/2020, 5:05 AM
@witty-crayon-22786 I ran into it frequently while looking at the deadlocking issue running `
Copy code
./v2 --tag=-integration test tests/python/pants_test/::
w

witty-crayon-22786

06/02/2020, 4:45 PM
actually, before reporting the issue: can you confirm that there weren’t any processes continuing to run in the background? i have a feeling that if you killed it, we didn’t properly kill child processes.
h

hundreds-breakfast-49010

06/02/2020, 5:36 PM
can confirm there's still a pants process running in the background
multiple ones actually
the error is specificaly pertaining to native_engine.so
Copy code
Exception: Failed to execute process: Error writing file "/tmp/process-executionmLwgP2/pants/engine/internals/native_engine.so": Os { code: 28, kind: Other, message: "No space left on device" }
and there are java processes running due to tests I assume
w

witty-crayon-22786

06/02/2020, 5:38 PM
yes.
h

hundreds-breakfast-49010

06/02/2020, 5:38 PM
Untitled
w

witty-crayon-22786

06/02/2020, 5:39 PM
so, i suspect that that is because when pants exits here, we’re not cleaning up those temp directories, or we’re failing to because processes are still running in them. the child processes should be killed, but aren;t.
h

hundreds-breakfast-49010

06/02/2020, 5:39 PM
makes sense
not killing the child processes is the more important problem, I think
and they seem to have died now
although pantsd is still running
I've needed to kill it manually every time
w

witty-crayon-22786

06/02/2020, 5:40 PM
the tests probably finished in the background.
h

hundreds-breakfast-49010

06/02/2020, 5:40 PM
and I can hear it spinning up my fan
w

witty-crayon-22786

06/02/2020, 5:40 PM
that’s probably the tests rather than pantsd.
h

hundreds-breakfast-49010

06/02/2020, 5:57 PM
interesting bit of data - if I do set an alternate tmpdir using
local_execution_root_dir
, run that command for a bit, then kill it with ctrl-C - it doesn't remove the
process-executionMlyXQM/
tmpdir within it
even though it seems to be a clean shutdown