jolly-midnight-72759
11/10/2020, 7:08 PMpantsd
daemon not being able to run a command. Is there a way to run pantsd
in a debug mode so it gives ore information? Is there a way to interact directly with it using netcat or similar tool?witty-crayon-22786
11/10/2020, 7:12 PM.pants.d/pantsd/pantsd.log
file while it is starting is helpful… it should pick up the -ldebug
flag and render slightly more information in that log as well.jolly-midnight-72759
11/10/2020, 7:16 PMpants
run it only says "Accepted connection".jolly-midnight-72759
11/10/2020, 7:16 PMpantsd
is stopping it.jolly-midnight-72759
11/10/2020, 7:22 PMjolly-midnight-72759
11/10/2020, 7:23 PMpantsd
is running, then pants
runs result in just Accepted connection
.witty-crayon-22786
11/10/2020, 7:24 PMwitty-crayon-22786
11/10/2020, 7:25 PMjolly-midnight-72759
11/10/2020, 7:32 PM14:30:24.03 [DEBUG] Accepted connection: TcpStream { addr: 127.0.0.1:43221, peer: 127.0.0.1:36690, fd: 3 }
jolly-midnight-72759
11/10/2020, 7:33 PM./pants -ldebug --print-stacktrace list ::
jolly-midnight-72759
11/10/2020, 7:33 PMwitty-crayon-22786
11/10/2020, 7:33 PMjolly-midnight-72759
11/10/2020, 7:33 PMinterpreter_constraints = [">=3.7"]
won't work on this box. let me fix thatjolly-midnight-72759
11/10/2020, 7:34 PMwitty-crayon-22786
11/10/2020, 7:37 PMjolly-midnight-72759
11/10/2020, 7:38 PMjolly-midnight-72759
11/10/2020, 7:38 PMpants
run.jolly-midnight-72759
11/10/2020, 7:38 PMpantsd.log
jolly-midnight-72759
11/10/2020, 7:39 PM/var/log/syslog
or dmesg
that indicates that the kernel is denying this interaction (i.e. an apparmor smoking gun)jolly-midnight-72759
11/10/2020, 7:40 PM/var/lib/buildkite-agent/.cache/pants/setup/bootstrap-Linux-x86_64/2.0.0_py36/bin/
) and everything in it.jolly-midnight-72759
11/10/2020, 7:42 PM