fast-nail-55400
11/25/2020, 7:25 PM--no-process-execution-cleanup-local-dirs
and -ldebug
in a pytest integration test of some rules in order to see what the output from a process run would be. I don’t see any log print-out though with the directory of where the process run would be. Any suggestions on what to configure to be able to see that?hundreds-father-404
11/25/2020, 7:28 PM[INFO] preserving local process execution dir
fast-nail-55400
11/25/2020, 7:31 PMError launching process: Os { code: 2, kind: NotFound, message: "No such file or directory" }
?hundreds-father-404
11/25/2020, 7:33 PMfast-nail-55400
11/25/2020, 7:36 PMhundreds-father-404
11/25/2020, 7:37 PMargv
to run something like /bin/true
instead. It’ll succeed and you can still see the chrootfast-nail-55400
11/25/2020, 7:37 PMhundreds-father-404
11/25/2020, 7:43 PM--test-output
, that only determines if Pants outputs Pytest’s std{out,err}, not whether we capture it in the first placefast-nail-55400
11/25/2020, 8:00 PMhundreds-father-404
11/25/2020, 8:02 PMPantsResult
returned by run_pants()
has an exit code != 0?
which would have the output of the temp directory for the processYeah, it should, so long as you’re using
-ldebug
in the argv for run_pants()