twitter / scoot

Scoot is a distributed task runner, supporting both a proprietary API and Bazel's Remote Execution.
Apache License 2.0
349 stars 48 forks source link

Missing Bazel 'capabilities' endpoint #456

Open henryaj opened 5 years ago

henryaj commented 5 years ago

Bazel implemention is missing Capabilities endpoint as far as I can tell. Please correct me if I'm wrong! :)

Expected behavior

Service implements this endpoint.

Actual behavior

When I attempt to run a bazel build, I get Failed to query remote execution capabilities: UNIMPLEMENTED: unknown service build.bazel.remote.execution.v2.Capabilities

jiridanek commented 4 years ago

With Bazel 2.2.0

bazel build //src/main/java/build/buildfarm:buildfarm-server_deploy.jar --spawn_strategy=remote --genrule_strategy=remote --strategy=Javac=remote --strategy=Closure=remote --remote_executor=grpc://xxx:9099 
INFO: Invocation ID: f1b2fafa-6c6c-4eeb-87c9-bf1b1aa3d3c6
ERROR: Failed to query remote execution capabilities: UNAVAILABLE: io exception

edit: this means that scoot is unusable as bazel remote executor at this point