Adding GRPC_PORT_ISOLATED_RUNTIME=1 to mac.bazelrc.

Since remote builds do not use port server, GRPC_PORT_ISOLATED_RUNTIME
is needed and it is missing from mac.bazelrc.

Before this fix
tools/bazel --bazelrc=tools/remote_build/mac.bazelrc test --config=opt test/cpp/end2end/...
failed with errors like
D0117 00:38:28.961089757      16 port_server_client.cc:139]  failed port pick from server: retrying

After this fix
build and test succeeded
pull/21690/head
Donna Dionne 5 years ago
parent 8c9dcf7c35
commit bf3ea2e3a5
  1. 3
      tools/remote_build/mac.bazelrc

@ -4,6 +4,9 @@
# but try to use RBE build cache and upload results
# to ResultStore
# don't use port server
build --define GRPC_PORT_ISOLATED_RUNTIME=1
startup --host_jvm_args=-Dbazel.DigestFunction=SHA256
# remote cache is needed not only for build speedup,

Loading…
Cancel
Save