{"action":"closed","issue":{"url":"https://api.github.com/repos/bazelbuild/bazel-integration-testing/issues/90","repository_url":"https://api.github.com/repos/bazelbuild/bazel-integration-testing","labels_url":"https://api.github.com/repos/bazelbuild/bazel-integration-testing/issues/90/labels{/name}","comments_url":"https://api.github.com/repos/bazelbuild/bazel-integration-testing/issues/90/comments","events_url":"https://api.github.com/repos/bazelbuild/bazel-integration-testing/issues/90/events","html_url":"https://github.com/bazelbuild/bazel-integration-testing/issues/90","id":364230140,"node_id":"MDU6SXNzdWUzNjQyMzAxNDA=","number":90,"title":"bazel integration testing doesn't work with RBE","user":{"login":"ittaiz","id":1378327,"node_id":"MDQ6VXNlcjEzNzgzMjc=","avatar_url":"https://avatars2.githubusercontent.com/u/1378327?v=4","gravatar_id":"","url":"https://api.github.com/users/ittaiz","html_url":"https://github.com/ittaiz","followers_url":"https://api.github.com/users/ittaiz/followers","following_url":"https://api.github.com/users/ittaiz/following{/other_user}","gists_url":"https://api.github.com/users/ittaiz/gists{/gist_id}","starred_url":"https://api.github.com/users/ittaiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ittaiz/subscriptions","organizations_url":"https://api.github.com/users/ittaiz/orgs","repos_url":"https://api.github.com/users/ittaiz/repos","events_url":"https://api.github.com/users/ittaiz/events{/privacy}","received_events_url":"https://api.github.com/users/ittaiz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-26T22:00:02Z","updated_at":"2018-09-28T09:10:52Z","closed_at":"2018-09-28T09:10:52Z","author_association":"MEMBER","body":"Due to the extraction optimization we do in the repository rule Bazel can't run on RBE.\r\nI've worked around many of the parts by manipulating the mtime but there are more files needed (for example `$INSTALL_BASE/_embedded_binaries/embedded_tools/platforms/BUILD`).\r\nI've experimented with using @damienmg's original unpacked version and it works on RBE.\r\nWe pay a cost of re-extracting bazel every test run which is currently ~10 seconds.\r\nThis is significant locally but trivial on CI given we can now parallelize (when one uses RBE the build server agents themselves are often weak and can't run many concurrent e2es) and cache hits.\r\nGiven the [work](https://docs.google.com/document/d/1Igmv-2GfXkoVFWTXvBYPeniQom8nLAwzqzridDlBIS4/edit?usp=sharing) in bazel on decreasing the binary size and decreasing extraction time it's reasonable to assume sometime in the next 6 months this cost will drop to 3-5 seconds.\r\n\r\n@damienmg I want to remove the pre-extraction and just use the original bazel.\r\nWDYT?\r\n\r\n"}}
{"actor":{"display_login":"ittaiz"}}