{"action":"created","issue":{"url":"https://api.github.com/repos/googlesamples/android-testing/issues/226","repository_url":"https://api.github.com/repos/googlesamples/android-testing","labels_url":"https://api.github.com/repos/googlesamples/android-testing/issues/226/labels{/name}","comments_url":"https://api.github.com/repos/googlesamples/android-testing/issues/226/comments","events_url":"https://api.github.com/repos/googlesamples/android-testing/issues/226/events","html_url":"https://github.com/googlesamples/android-testing/issues/226","id":387741616,"node_id":"MDU6SXNzdWUzODc3NDE2MTY=","number":226,"title":"Android Testing failing on Bazel CI","user":{"login":"meteorcloudy","id":4171702,"node_id":"MDQ6VXNlcjQxNzE3MDI=","avatar_url":"https://avatars2.githubusercontent.com/u/4171702?v=4","gravatar_id":"","url":"https://api.github.com/users/meteorcloudy","html_url":"https://github.com/meteorcloudy","followers_url":"https://api.github.com/users/meteorcloudy/followers","following_url":"https://api.github.com/users/meteorcloudy/following{/other_user}","gists_url":"https://api.github.com/users/meteorcloudy/gists{/gist_id}","starred_url":"https://api.github.com/users/meteorcloudy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meteorcloudy/subscriptions","organizations_url":"https://api.github.com/users/meteorcloudy/orgs","repos_url":"https://api.github.com/users/meteorcloudy/repos","events_url":"https://api.github.com/users/meteorcloudy/events{/privacy}","received_events_url":"https://api.github.com/users/meteorcloudy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"jin","id":347918,"node_id":"MDQ6VXNlcjM0NzkxOA==","avatar_url":"https://avatars2.githubusercontent.com/u/347918?v=4","gravatar_id":"","url":"https://api.github.com/users/jin","html_url":"https://github.com/jin","followers_url":"https://api.github.com/users/jin/followers","following_url":"https://api.github.com/users/jin/following{/other_user}","gists_url":"https://api.github.com/users/jin/gists{/gist_id}","starred_url":"https://api.github.com/users/jin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jin/subscriptions","organizations_url":"https://api.github.com/users/jin/orgs","repos_url":"https://api.github.com/users/jin/repos","events_url":"https://api.github.com/users/jin/events{/privacy}","received_events_url":"https://api.github.com/users/jin/received_events","type":"User","site_admin":false},"assignees":[{"login":"jin","id":347918,"node_id":"MDQ6VXNlcjM0NzkxOA==","avatar_url":"https://avatars2.githubusercontent.com/u/347918?v=4","gravatar_id":"","url":"https://api.github.com/users/jin","html_url":"https://github.com/jin","followers_url":"https://api.github.com/users/jin/followers","following_url":"https://api.github.com/users/jin/following{/other_user}","gists_url":"https://api.github.com/users/jin/gists{/gist_id}","starred_url":"https://api.github.com/users/jin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jin/subscriptions","organizations_url":"https://api.github.com/users/jin/orgs","repos_url":"https://api.github.com/users/jin/repos","events_url":"https://api.github.com/users/jin/events{/privacy}","received_events_url":"https://api.github.com/users/jin/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-12-05T12:48:19Z","updated_at":"2018-12-05T16:37:27Z","closed_at":null,"author_association":"NONE","body":"https://buildkite.com/bazel/bazel-at-release-plus-incompatible-flags/builds/13#6dd83578-ede3-4bf4-bd29-fc6d6a6f66e8\r\nAndroid Testing is failing with `Bazel@Release + incompatible flags` due to \r\n```\r\nERROR: /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/34bf6870dfb715fb6ec0e0d81121469e/external/protobuf_archive/BUILD.bazel:605:1: Traceback (most recent call last):\r\n--\r\n  | File \"/var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/34bf6870dfb715fb6ec0e0d81121469e/external/protobuf_archive/BUILD.bazel\", line 605\r\n  | internal_gen_well_known_protos_java(srcs = WELL_KNOWN_PROTOS)\r\n  | File \"/var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/34bf6870dfb715fb6ec0e0d81121469e/external/protobuf_archive/protobuf.bzl\", line 266, in internal_gen_well_known_protos_java\r\n  | Label((\"%s//protobuf_java\" % REPOSITOR...))\r\n  | File \"/var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/34bf6870dfb715fb6ec0e0d81121469e/external/protobuf_archive/protobuf.bzl\", line 266, in Label\r\n  | REPOSITORY_NAME\r\n  | The value 'REPOSITORY_NAME' has been removed in favor of 'repository_name()', please use the latter (https://docs.bazel.build/versions/master/skylark/lib/native.html#repository_name). You can temporarily allow the old name by using --incompatible_package_name_is_a_function=false\r\n```\r\n\r\nHowever, it is [passing](https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/649#1db312ec-679b-4567-a9e7-0288f357cd58) with `Bazel@HEAD`, where `--incompatible_package_name_is_a_function` is already flipped to true.\r\n\r\nI don't understand why this is happening, is `android_test_support` embedded in Bazel binary and depends on protobuf? @jin "},"comment":{"url":"https://api.github.com/repos/googlesamples/android-testing/issues/comments/444552533","html_url":"https://github.com/googlesamples/android-testing/issues/226#issuecomment-444552533","issue_url":"https://api.github.com/repos/googlesamples/android-testing/issues/226","id":444552533,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NDU1MjUzMw==","user":{"login":"jin","id":347918,"node_id":"MDQ6VXNlcjM0NzkxOA==","avatar_url":"https://avatars2.githubusercontent.com/u/347918?v=4","gravatar_id":"","url":"https://api.github.com/users/jin","html_url":"https://github.com/jin","followers_url":"https://api.github.com/users/jin/followers","following_url":"https://api.github.com/users/jin/following{/other_user}","gists_url":"https://api.github.com/users/jin/gists{/gist_id}","starred_url":"https://api.github.com/users/jin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jin/subscriptions","organizations_url":"https://api.github.com/users/jin/orgs","repos_url":"https://api.github.com/users/jin/repos","events_url":"https://api.github.com/users/jin/events{/privacy}","received_events_url":"https://api.github.com/users/jin/received_events","type":"User","site_admin":false},"created_at":"2018-12-05T16:37:27Z","updated_at":"2018-12-05T16:37:27Z","author_association":"COLLABORATOR","body":"Yes, we had the same problem where protobuf was updated and we had to test on the latest Bazel where the incompatible change with REPOSITORY_NAME was enabled. That is why I added the flag workaround.\r\n\r\nWill look into this."}}
{"actor":{"display_login":"jin"}}