https://pantsbuild.org/ logo
l

loud-spring-35539

05/05/2023, 3:41 PM
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: [
        "./find_binary.sh",
        "bash",
    ],
    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" }
h

happy-kitchen-89482

05/05/2023, 3:46 PM
Does bash exist on one of those paths? Does the user this is running under have execute permissions on it?
l

loud-spring-35539

05/05/2023, 3:48 PM
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
is
find_binary.sh
a part of pants? Having a hard time tracking it down
w

witty-crayon-22786

05/05/2023, 6:32 PM
yes, built in.
is there anything unusual about the environment that you’re running in?