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

happy-kitchen-89482

10/04/2021, 3:00 PM
I'm seeing process execution sandbox dirs without
__run.sh
, is that normal?
e

enough-analyst-54434

10/04/2021, 5:46 PM
I don't believe so.
h

happy-kitchen-89482

10/04/2021, 5:49 PM
Can you run with
--no-process-execution-local-cleanup
near current main and see if you reproduce?
I will try and bisect
e

enough-analyst-54434

10/04/2021, 5:49 PM
Yup...
h

happy-kitchen-89482

10/04/2021, 5:51 PM
It may be only specific processes, trying to narrow it down
e

enough-analyst-54434

10/04/2021, 5:52 PM
Yeah, I found 5 for 5 in a test run.
Copy code
$ git shortlog -1
Eric Arellano (1):
      [internal] Extract each downloaded Go module (#13094)

$ ./pants --no-process-execution-local-cleanup --no-process-execution-local-cache test src/python/pants/util/strutil_test.py
$ find /tmp -name "process-execution*" -type d | wc -l
22
$ find /tmp -name "process-execution*" -type d | while read d; do ls -l $d/__run.sh; done | wc -l
22
So lgtm. But that's just the test graph.
h

happy-kitchen-89482

10/04/2021, 5:57 PM
Huh, it only happens in my branch (for https://github.com/pantsbuild/pants/pull/13096) and only when I run
package
on a dist, e.g.,
./pants --no-process-execution-local-cache --no-process-execution-local-cleanup package src/python/pants/testutil/:testutil_wheel
But then it happens for many processes (the setuptools run, but also dep inference and others)
but not all!
And now it doesn't reproduce after merging into main
đź‘€ 1
I give up, will keep an eye out
h

hundreds-father-404

10/25/2021, 8:37 PM
I'm seeing this too now!
h

happy-kitchen-89482

10/25/2021, 9:46 PM
I saw this over the weekend, I think I had an intuition about it, but now I can't remember what that was
I think maybe it was errors in creating the sandbox dir or something
đź‘€ 1