From bf3ea2e3a53318aaf54a76ca945540847b40a276 Mon Sep 17 00:00:00 2001 From: Donna Dionne Date: Thu, 16 Jan 2020 16:52:52 -0800 Subject: [PATCH] Adding GRPC_PORT_ISOLATED_RUNTIME=1 to mac.bazelrc. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- tools/remote_build/mac.bazelrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/remote_build/mac.bazelrc b/tools/remote_build/mac.bazelrc index cc201565f71..fb8833a9618 100644 --- a/tools/remote_build/mac.bazelrc +++ b/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,