Running into an issue with pants in CI. Anyone see...
# general
Running into an issue with pants in CI. Anyone seen this?
Copy code
Engine traceback:
  in Update all BUILD files
  in Finding the `bash` binary
  in Scheduling: Searching for `bash` on PATH=/usr/bin:/bin:/usr/local/bin

Exception: Failed to execute: Process {
    argv: [
    env: {
        "PATH": "/usr/bin:/bin:/usr/local/bin",
    description: "Searching for `bash` on PATH=/usr/bin:/bin:/usr/local/bin",

Error launching process: Os { code: 13, kind: PermissionDenied, message: "Permission denied" }
Does bash exist on one of those paths? Does the user this is running under have execute permissions on it?
Confirmed it's at normal locations. Nothing should be stopping it from executing bash, but I can confirm with a prior step that it's available.
Confirmed bash is working in a previous step
a part of pants? Having a hard time tracking it down
yes, built in.
is there anything unusual about the environment that you’re running in?
just to follow up on this as we ran into the same problem. Most CI systems have the /tmp filesystem mounted
. The current scripts appear to write their contents to this location, then try to execute it. In order to get around this we needed to set the
to a place on the filesystem where it was mounted
Good tip! Would you be able to submit a PR adding this as a tip in ?
👍 1