{"action":"opened","issue":{"url":"https://api.github.com/repos/bazelbuild/bazel-buildfarm/issues/198","repository_url":"https://api.github.com/repos/bazelbuild/bazel-buildfarm","labels_url":"https://api.github.com/repos/bazelbuild/bazel-buildfarm/issues/198/labels{/name}","comments_url":"https://api.github.com/repos/bazelbuild/bazel-buildfarm/issues/198/comments","events_url":"https://api.github.com/repos/bazelbuild/bazel-buildfarm/issues/198/events","html_url":"https://github.com/bazelbuild/bazel-buildfarm/issues/198","id":384012196,"node_id":"MDU6SXNzdWUzODQwMTIxOTY=","number":198,"title":"Remote connection/protocol failed with: execution failed Call failed with not retriable error: io.grpc.StatusRuntimeException: FAILED_PRECONDITION","user":{"login":"jdanekrh","id":17877663,"node_id":"MDQ6VXNlcjE3ODc3NjYz","avatar_url":"https://avatars3.githubusercontent.com/u/17877663?v=4","gravatar_id":"","url":"https://api.github.com/users/jdanekrh","html_url":"https://github.com/jdanekrh","followers_url":"https://api.github.com/users/jdanekrh/followers","following_url":"https://api.github.com/users/jdanekrh/following{/other_user}","gists_url":"https://api.github.com/users/jdanekrh/gists{/gist_id}","starred_url":"https://api.github.com/users/jdanekrh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdanekrh/subscriptions","organizations_url":"https://api.github.com/users/jdanekrh/orgs","repos_url":"https://api.github.com/users/jdanekrh/repos","events_url":"https://api.github.com/users/jdanekrh/events{/privacy}","received_events_url":"https://api.github.com/users/jdanekrh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-24T18:44:01Z","updated_at":"2018-11-24T18:44:01Z","closed_at":null,"author_association":"NONE","body":"`bazel test //...` dies for me with\r\n\r\n```\r\nERROR: /home/fedora/activemq-artemis/tests/integration-tests/BUILD:186:1:  failed (Exit 34). Note: Remote connection/protocol failed with: execution failed Call failed with not retriable error: io.grpc.StatusRuntimeException: FAILED_PRECONDITION: Call failed with not retriable error: io.grpc.StatusRuntimeException: FAILED_PRECONDITION\r\n```\r\n\r\nI tried adding debugging options to cmd line, which did not help much (I could not figure out anything from it). The options I tried were `--experimental_remote_grpc_log=grpc_log.bin --explain explanations.log --verbose_explanations --jobs=1` and the logs produced are attached.\r\n\r\nWhen I put `e.printStackTrace()` at appropriate place into buildfarm-server source, I got\r\n\r\n```\r\njava.lang.IllegalStateException\r\n        at com.google.common.base.Preconditions.checkState(Preconditions.java:485)\r\n        at build.buildfarm.instance.memory.MemoryInstance.validateAction(MemoryInstance.java:335)\r\n        at build.buildfarm.instance.AbstractServerInstance.execute(AbstractServerInstance.java:536)\r\n        at build.buildfarm.server.ExecutionService.execute(ExecutionService.java:99)\r\n        at build.bazel.remote.execution.v2.ExecutionGrpc$MethodHandlers.invoke(ExecutionGrpc.java:497)\r\n        at io.grpc.stub.ServerCalls$UnaryServerCallHandler$UnaryServerCallListener.onHalfClose(ServerCalls.java:171)\r\n        at io.grpc.PartialForwardingServerCallListener.onHalfClose(PartialForwardingServerCallListener.java:33)\r\n        at io.grpc.ForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:23)\r\n        at io.grpc.ForwardingServerCallListener$SimpleForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:40)\r\n        at io.grpc.util.TransmitStatusRuntimeExceptionInterceptor$1.onHalfClose(TransmitStatusRuntimeExceptionInterceptor.java:74)\r\n        at io.grpc.internal.ServerCallImpl$ServerStreamListenerImpl.halfClosed(ServerCallImpl.java:271)\r\n        at io.grpc.internal.ServerImpl$JumpToApplicationThreadServerStreamListener$1HalfClosed.runInContext(ServerImpl.java:648)\r\n        at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37)\r\n        at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:123)\r\n        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\n        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\n        at java.lang.Thread.run(Thread.java:748)\r\n```"}}
{"actor":{"display_login":"jdanekrh"}}