Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Command failed: rpc error: code = Unavailable desc = retry budget exhausted (10 attempts): connection error: desc = "transport: Error while dialing: dial tcp 127.0.0.1:8000: connect: connection refused

725 views
Skip to first unread message

Raphael Stonehorse

unread,
Oct 9, 2023, 12:34:09 PM10/9/23
to infra-dev
I'm trying to locally, (for the moment, but next step will be in a kubernetes cluster), building chromium with reclient: https://chromium.googlesource.com/chromium/src/+/main/docs/linux/build_instructions.md#use-reclient and buildbarn : https://github.com/buildbarn/bb-deployments/tree/master/bare

I'm getting this kind of errors :

    root@k8s-eu-1-master:~/chromium-original/chromium/src/buildtools/reclient/bb-deployments/bare# ../../rewrapper -platform=OSFamily=linux,ISA=x86-64 -exec_strategy="remote_local_fallback" -dial_timeout="10m" ../../reproxy -server_address="localhost:8980" -exec_root="/root/chromium-original/chromium/src" -- bazel run //bare -- /tmp/bb-cache/
    F1007 17:54:16.167138   55555 main.go:175] Command failed: rpc error: code = Unavailable desc = retry budget exhausted (10 attempts): connection error: desc = "transport: Error while dialing: dial tcp 127.0.0.1:8000: connect: connection refused"

I think the key is the flags to be defined for `rewrapper` and for `reproxy`, but I'm having difficulty in getting them right:

For Rewrapper's server_address  I read here : https://github.com/bazelbuild/reclient/tree/main#rewrapper "This value should be UDS on Linux/Mac (e.g. unix:///tmp/reproxy.sock) " :
does it mean that the address : localhost:8980 should be specified in the /tmp/reproxy.sock file ?

For Reproxy's server_address : should I set it as as -server_address="localhost:8980" as above?
Reply all
Reply to author
Forward
0 new messages