I'm trying out remote execution using buildgrid an...
# general
c
I'm trying out remote execution using buildgrid and it seems to hang on this operation: `Remote execution: Searching for
bash
on PATH=/usr/bin/bin/usr/local/bin` Any ideas what's up? Is my config bad? Bash is definitely in
/usr/bin/bash
on the remote system
f
I have seen similar hangs with remote executions systems when there is a misconfiguration between scheduler and worker for what work the worker is supposed to take.
c
hm, so it's a configuration issue on the buildgrid end?
f
It is a likely route to rule out first.
c
I'll have to dig into it, I'm using a minimal default config for buildgrid
but I've never messed with this before
f
#buildgrid on BuildTeam Slack (which I see you are already a member of) probably will have way more knowledgeable people
đź‘Ť 1
Also I suggest enabling debug logging for the scheduler and workers. You’ll want to see if you can see the worker pick up any inbound execution requests from the scheduler. I recall Buildgrid has a “pull” model for work allocation where the workers have to check in with the scheduler.
Also if you want to debug Buildgrid without the complexity of Pants, consider using https://github.com/toolchainlabs/remote-api-tools/tree/main/cmd/smoketest which is a minimal REAPI client that can run a “smoke test” on remote execution servers.
đź’Ż 2
c
it turns out I'm a moron and didn't realize I needed to run worker processes separately