{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/serving/issues/391","repository_url":"https://api.github.com/repos/tensorflow/serving","labels_url":"https://api.github.com/repos/tensorflow/serving/issues/391/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/serving/issues/391/comments","events_url":"https://api.github.com/repos/tensorflow/serving/issues/391/events","html_url":"https://github.com/tensorflow/serving/issues/391","id":218650691,"number":391,"title":"Building from docker fails using bazel 0.4.2","user":{"login":"danhipke","id":3958737,"avatar_url":"https://avatars1.githubusercontent.com/u/3958737?v=3","gravatar_id":"","url":"https://api.github.com/users/danhipke","html_url":"https://github.com/danhipke","followers_url":"https://api.github.com/users/danhipke/followers","following_url":"https://api.github.com/users/danhipke/following{/other_user}","gists_url":"https://api.github.com/users/danhipke/gists{/gist_id}","starred_url":"https://api.github.com/users/danhipke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danhipke/subscriptions","organizations_url":"https://api.github.com/users/danhipke/orgs","repos_url":"https://api.github.com/users/danhipke/repos","events_url":"https://api.github.com/users/danhipke/events{/privacy}","received_events_url":"https://api.github.com/users/danhipke/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-01T00:38:42Z","updated_at":"2017-04-03T17:13:57Z","closed_at":"2017-04-03T17:13:57Z","body":"After building and running the docker container from the Dockerfile, I run the following (from the documentation)\r\n\r\n```\r\ngit clone --recurse-submodules https://github.com/tensorflow/serving\r\ncd serving/tensorflow\r\n./configure\r\ncd ..\r\nbazel test tensorflow_serving/...\r\n```\r\n\r\nDuring `bazel test tensorflow_serving/...` the build fails immediately\r\n\r\n```\r\nbazel test tensorflow_serving/...\r\nINFO: Reading 'startup' options from /root/.bazelrc: --batch\r\nExtracting Bazel installation...\r\nWARNING: Sandboxed execution is not supported on your system and thus hermeticity of actions cannot be guaranteed. See http://bazel.build/docs/bazel-user-manual.html#sandboxing for more information. You can turn off this warning via --ignore_unsupported_sandboxing.\r\nERROR: /root/.cache/bazel/_bazel_root/f8d1071c69ea316497c31e40fe01608c/external/org_tensorflow/third_party/gpus/cuda_configure.bzl:828:18: unexpected keyword 'environ' in call to repository_rule(implementation: function, *, attrs: dict or NoneType = None, local: bool = False).\r\nERROR: com.google.devtools.build.lib.packages.BuildFileContainsErrorsException: error loading package '': Extension file 'third_party/gpus/cuda_configure.bzl' has errors.\r\nINFO: Elapsed time: 2.254s\r\nERROR: Couldn't start the build. Unable to run tests.\r\n```\r\n\r\nUpdating the dockerfile to use bazel 0.4.5 fixes the issue. I created a pull request with these changes."},"comment":{"url":"https://api.github.com/repos/tensorflow/serving/issues/comments/291209807","html_url":"https://github.com/tensorflow/serving/issues/391#issuecomment-291209807","issue_url":"https://api.github.com/repos/tensorflow/serving/issues/391","id":291209807,"user":{"login":"kirilg","id":229884,"avatar_url":"https://avatars2.githubusercontent.com/u/229884?v=3","gravatar_id":"","url":"https://api.github.com/users/kirilg","html_url":"https://github.com/kirilg","followers_url":"https://api.github.com/users/kirilg/followers","following_url":"https://api.github.com/users/kirilg/following{/other_user}","gists_url":"https://api.github.com/users/kirilg/gists{/gist_id}","starred_url":"https://api.github.com/users/kirilg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kirilg/subscriptions","organizations_url":"https://api.github.com/users/kirilg/orgs","repos_url":"https://api.github.com/users/kirilg/repos","events_url":"https://api.github.com/users/kirilg/events{/privacy}","received_events_url":"https://api.github.com/users/kirilg/received_events","type":"User","site_admin":false},"created_at":"2017-04-03T17:13:57Z","updated_at":"2017-04-03T17:13:57Z","body":"Merged change to update to 0.4.5."}}
{"actor":{"display_login":"kirilg"}}