{"action":"created","issue":{"url":"https://api.github.com/repos/bazelbuild/bazel/issues/4289","repository_url":"https://api.github.com/repos/bazelbuild/bazel","labels_url":"https://api.github.com/repos/bazelbuild/bazel/issues/4289/labels{/name}","comments_url":"https://api.github.com/repos/bazelbuild/bazel/issues/4289/comments","events_url":"https://api.github.com/repos/bazelbuild/bazel/issues/4289/events","html_url":"https://github.com/bazelbuild/bazel/issues/4289","id":281690335,"number":4289,"title":"CI, TF serving: fails in C++ compilation -- resolved","user":{"login":"laszlocsomor","id":10532244,"avatar_url":"https://avatars0.githubusercontent.com/u/10532244?v=4","gravatar_id":"","url":"https://api.github.com/users/laszlocsomor","html_url":"https://github.com/laszlocsomor","followers_url":"https://api.github.com/users/laszlocsomor/followers","following_url":"https://api.github.com/users/laszlocsomor/following{/other_user}","gists_url":"https://api.github.com/users/laszlocsomor/gists{/gist_id}","starred_url":"https://api.github.com/users/laszlocsomor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laszlocsomor/subscriptions","organizations_url":"https://api.github.com/users/laszlocsomor/orgs","repos_url":"https://api.github.com/users/laszlocsomor/repos","events_url":"https://api.github.com/users/laszlocsomor/events{/privacy}","received_events_url":"https://api.github.com/users/laszlocsomor/received_events","type":"User","site_admin":false},"labels":[{"id":794072640,"url":"https://api.github.com/repos/bazelbuild/bazel/labels/type:%20waiting%20for%20downstream%20fix","name":"type: waiting for downstream fix","color":"0052cc","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2017-12-13T10:05:07Z","updated_at":"2018-02-23T16:13:59Z","closed_at":"2018-01-09T22:48:13Z","author_association":"CONTRIBUTOR","body":"https://ci.bazel.io/view/Dashboard/job/TensorFlow_Serving/1232/consoleFull\r\n\r\n```\r\n[variation=,node=ubuntu_16.04-x86_64] ERROR: /home/ci/.cache/bazel/_bazel_ci/3381ddfdfa9da0588001825d9a3facc5/external/org_tensorflow/tensorflow/core/BUILD:577:1: Couldn't build file external/org_tensorflow/tensorflow/core/_objs/functional_ops_op_lib/external/org_tensorflow/tensorflow/core/ops/functional_ops.pic.o: C++ compilation of rule '@org_tensorflow//tensorflow/core:functional_ops_op_lib' failed (Exit 1): gcc failed: error executing command \r\n[variation=,node=ubuntu_16.04-x86_64]   (cd /home/ci/.cache/bazel/_bazel_ci/3381ddfdfa9da0588001825d9a3facc5/execroot/tf_serving && \\\r\n[variation=,node=ubuntu_16.04-x86_64]   exec env - \\\r\n[variation=,node=ubuntu_16.04-x86_64]     PATH=/home/ci/node/node-v6.9.1-linux-x64/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin \\\r\n[variation=,node=ubuntu_16.04-x86_64]     PWD=/proc/self/cwd \\\r\n[variation=,node=ubuntu_16.04-x86_64]     PYTHON_BIN_PATH=/usr/bin/python \\\r\n[variation=,node=ubuntu_16.04-x86_64]     PYTHON_LIB_PATH=/usr/local/lib/python2.7/dist-packages \\\r\n[variation=,node=ubuntu_16.04-x86_64]     TF_NEED_CUDA=0 \\\r\n[variation=,node=ubuntu_16.04-x86_64]     TF_NEED_OPENCL_SYCL=0 \\\r\n[variation=,node=ubuntu_16.04-x86_64]   /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -B/usr/bin -B/usr/bin -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -DGEMMLOWP_ALLOW_SLOW_SCALAR_FALLBACK -DGEMMLOWP_ALLOW_SLOW_SCALAR_FALLBACK '-std=c++0x' -MD -MF bazel-out/k8-fastbuild/bin/external/org_tensorflow/tensorflow/core/_objs/functional_ops_op_lib/external/org_tensorflow/tensorflow/core/ops/functional_ops.pic.d '-frandom-seed=bazel-out/k8-fastbuild/bin/external/org_tensorflow/tensorflow/core/_objs/functional_ops_op_lib/external/org_tensorflow/tensorflow/core/ops/functional_ops.pic.o' -fPIC -DEIGEN_MPL2_ONLY -D__CLANG_SUPPORT_DYN_ANNOTATION__ -DTENSORFLOW_USE_JEMALLOC -DTENSORFLOW_USE_ABSL -DTF_USE_SNAPPY -iquote external/org_tensorflow -iquote bazel-out/k8-fastbuild/genfiles/external/org_tensorflow -iquote external/bazel_tools -iquote bazel-out/k8-fastbuild/genfiles/external/bazel_tools -iquote external/eigen_archive -iquote bazel-out/k8-fastbuild/genfiles/external/eigen_archive -iquote external/local_config_sycl -iquote bazel-out/k8-fastbuild/genfiles/external/local_config_sycl -iquote external/com_google_absl -iquote bazel-out/k8-fastbuild/genfiles/external/com_google_absl -iquote external/nsync -iquote bazel-out/k8-fastbuild/genfiles/external/nsync -iquote external/jemalloc -iquote bazel-out/k8-fastbuild/genfiles/external/jemalloc -iquote external/gif_archive -iquote bazel-out/k8-fastbuild/genfiles/external/gif_archive -iquote external/jpeg -iquote bazel-out/k8-fastbuild/genfiles/external/jpeg -iquote external/protobuf_archive -iquote bazel-out/k8-fastbuild/genfiles/external/protobuf_archive -iquote external/com_googlesource_code_re2 -iquote bazel-out/k8-fastbuild/genfiles/external/com_googlesource_code_re2 -iquote external/farmhash_archive -iquote bazel-out/k8-fastbuild/genfiles/external/farmhash_archive -iquote external/fft2d -iquote bazel-out/k8-fastbuild/genfiles/external/fft2d -iquote external/highwayhash -iquote bazel-out/k8-fastbuild/genfiles/external/highwayhash -iquote external/png_archive -iquote bazel-out/k8-fastbuild/genfiles/external/png_archive -iquote external/zlib_archive -iquote bazel-out/k8-fastbuild/genfiles/external/zlib_archive -iquote external/snappy -iquote bazel-out/k8-fastbuild/genfiles/external/snappy -isystem external/bazel_tools/tools/cpp/gcc3 -isystem external/eigen_archive -isystem bazel-out/k8-fastbuild/genfiles/external/eigen_archive -isystem external/nsync/public -isystem bazel-out/k8-fastbuild/genfiles/external/nsync/public -isystem external/jemalloc/include -isystem bazel-out/k8-fastbuild/genfiles/external/jemalloc/include -isystem external/gif_archive/lib -isystem bazel-out/k8-fastbuild/genfiles/external/gif_archive/lib -isystem external/protobuf_archive/src -isystem bazel-out/k8-fastbuild/genfiles/external/protobuf_archive/src -isystem external/farmhash_archive/src -isystem bazel-out/k8-fastbuild/genfiles/external/farmhash_archive/src -isystem external/png_archive -isystem bazel-out/k8-fastbuild/genfiles/external/png_archive -isystem external/zlib_archive -isystem bazel-out/k8-fastbuild/genfiles/external/zlib_archive -DEIGEN_AVOID_STL_ARRAY -Iexternal/gemmlowp -Wno-sign-compare -fno-exceptions '-ftemplate-depth=900' -msse3 -pthread -fno-canonical-system-headers -Wno-builtin-macro-redefined '-D__DATE__=\"redacted\"' '-D__TIMESTAMP__=\"redacted\"' '-D__TIME__=\"redacted\"' -c external/org_tensorflow/tensorflow/core/ops/functional_ops.cc -o bazel-out/k8-fastbuild/bin/external/org_tensorflow/tensorflow/core/_objs/functional_ops_op_lib/external/org_tensorflow/tensorflow/core/ops/functional_ops.pic.o)\r\n[variation=,node=ubuntu_16.04-x86_64] In file included from external/org_tensorflow/tensorflow/core/framework/allocator.h:23:0,\r\n[variation=,node=ubuntu_16.04-x86_64]                  from external/org_tensorflow/tensorflow/core/framework/tensor.h:20,\r\n[variation=,node=ubuntu_16.04-x86_64]                  from external/org_tensorflow/tensorflow/core/framework/attr_value_util.h:24,\r\n[variation=,node=ubuntu_16.04-x86_64]                  from external/org_tensorflow/tensorflow/core/framework/node_def_util.h:23,\r\n[variation=,node=ubuntu_16.04-x86_64]                  from external/org_tensorflow/tensorflow/core/framework/shape_inference.h:20,\r\n[variation=,node=ubuntu_16.04-x86_64]                  from external/org_tensorflow/tensorflow/core/framework/common_shape_fns.h:20,\r\n[variation=,node=ubuntu_16.04-x86_64]                  from external/org_tensorflow/tensorflow/core/ops/functional_ops.cc:16:\r\n[variation=,node=ubuntu_16.04-x86_64] external/org_tensorflow/tensorflow/core/framework/numeric_types.h: In constructor 'tensorflow::bfloat16::bfloat16(float)':\r\n[variation=,node=ubuntu_16.04-x86_64] external/org_tensorflow/tensorflow/core/framework/numeric_types.h:49:16: error: 'isnan' was not declared in this scope\r\n[variation=,node=ubuntu_16.04-x86_64]      if (isnan(v)) {\r\n[variation=,node=ubuntu_16.04-x86_64]                 ^\r\n[variation=,node=ubuntu_16.04-x86_64] external/org_tensorflow/tensorflow/core/framework/numeric_types.h:49:16: note: suggested alternatives:\r\n[variation=,node=ubuntu_16.04-x86_64] In file included from /usr/include/c++/5/complex:44:0,\r\n[variation=,node=ubuntu_16.04-x86_64]                  from external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/Core:99,\r\n[variation=,node=ubuntu_16.04-x86_64]                  from external/eigen_archive/unsupported/Eigen/CXX11/Tensor:14,\r\n[variation=,node=ubuntu_16.04-x86_64]                  from external/org_tensorflow/third_party/eigen3/unsupported/Eigen/CXX11/Tensor:1,\r\n[variation=,node=ubuntu_16.04-x86_64]                  from external/org_tensorflow/tensorflow/core/framework/tensor_shape.h:21,\r\n[variation=,node=ubuntu_16.04-x86_64]                  from external/org_tensorflow/tensorflow/core/framework/partial_tensor_shape.h:20,\r\n[variation=,node=ubuntu_16.04-x86_64]                  from external/org_tensorflow/tensorflow/core/framework/attr_value_util.h:23,\r\n[variation=,node=ubuntu_16.04-x86_64]                  from external/org_tensorflow/tensorflow/core/framework/node_def_util.h:23,\r\n[variation=,node=ubuntu_16.04-x86_64]                  from external/org_tensorflow/tensorflow/core/framework/shape_inference.h:20,\r\n[variation=,node=ubuntu_16.04-x86_64]                  from external/org_tensorflow/tensorflow/core/framework/common_shape_fns.h:20,\r\n[variation=,node=ubuntu_16.04-x86_64]                  from external/org_tensorflow/tensorflow/core/ops/functional_ops.cc:16:\r\n[variation=,node=ubuntu_16.04-x86_64] /usr/include/c++/5/cmath:641:5: note:   'std::isnan'\r\n[variation=,node=ubuntu_16.04-x86_64]      isnan(_Tp __x)\r\n[variation=,node=ubuntu_16.04-x86_64]      ^\r\n[variation=,node=ubuntu_16.04-x86_64] In file included from external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/Core:558:0,\r\n[variation=,node=ubuntu_16.04-x86_64]                  from external/eigen_archive/unsupported/Eigen/CXX11/Tensor:14,\r\n[variation=,node=ubuntu_16.04-x86_64]                  from external/org_tensorflow/third_party/eigen3/unsupported/Eigen/CXX11/Tensor:1,\r\n[variation=,node=ubuntu_16.04-x86_64]                  from external/org_tensorflow/tensorflow/core/framework/tensor_shape.h:21,\r\n[variation=,node=ubuntu_16.04-x86_64]                  from external/org_tensorflow/tensorflow/core/framework/partial_tensor_shape.h:20,\r\n[variation=,node=ubuntu_16.04-x86_64]                  from external/org_tensorflow/tensorflow/core/framework/attr_value_util.h:23,\r\n[variation=,node=ubuntu_16.04-x86_64]                  from external/org_tensorflow/tensorflow/core/framework/node_def_util.h:23,\r\n[variation=,node=ubuntu_16.04-x86_64]                  from external/org_tensorflow/tensorflow/core/framework/shape_inference.h:20,\r\n[variation=,node=ubuntu_16.04-x86_64]                  from external/org_tensorflow/tensorflow/core/framework/common_shape_fns.h:20,\r\n[variation=,node=ubuntu_16.04-x86_64]                  from external/org_tensorflow/tensorflow/core/ops/functional_ops.cc:16:\r\n[variation=,node=ubuntu_16.04-x86_64] external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/src/Core/GlobalFunctions.h:88:3: note:   'Eigen::isnan'\r\n[variation=,node=ubuntu_16.04-x86_64]    EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(isnan,scalar_isnan_op,not-a-number test,\\sa Eigen::isinf DOXCOMMA Eigen::isfinite DOXCOMMA ArrayBase::isnan)\r\n[variation=,node=ubuntu_16.04-x86_64]    ^\r\n[variation=,node=ubuntu_16.04-x86_64] In file included from external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/Core:392:0,\r\n[variation=,node=ubuntu_16.04-x86_64]                  from external/eigen_archive/unsupported/Eigen/CXX11/Tensor:14,\r\n[variation=,node=ubuntu_16.04-x86_64]                  from external/org_tensorflow/third_party/eigen3/unsupported/Eigen/CXX11/Tensor:1,\r\n[variation=,node=ubuntu_16.04-x86_64]                  from external/org_tensorflow/tensorflow/core/framework/tensor_shape.h:21,\r\n[variation=,node=ubuntu_16.04-x86_64]                  from external/org_tensorflow/tensorflow/core/framework/partial_tensor_shape.h:20,\r\n[variation=,node=ubuntu_16.04-x86_64]                  from external/org_tensorflow/tensorflow/core/framework/attr_value_util.h:23,\r\n[variation=,node=ubuntu_16.04-x86_64]                  from external/org_tensorflow/tensorflow/core/framework/node_def_util.h:23,\r\n[variation=,node=ubuntu_16.04-x86_64]                  from external/org_tensorflow/tensorflow/core/framework/shape_inference.h:20,\r\n[variation=,node=ubuntu_16.04-x86_64]                  from external/org_tensorflow/tensorflow/core/framework/common_shape_fns.h:20,\r\n[variation=,node=ubuntu_16.04-x86_64]                  from external/org_tensorflow/tensorflow/core/ops/functional_ops.cc:16:\r\n[variation=,node=ubuntu_16.04-x86_64] external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/src/Core/MathFunctions.h:1111:46: note:   'Eigen::numext::isnan'\r\n[variation=,node=ubuntu_16.04-x86_64]  template<typename T> EIGEN_DEVICE_FUNC bool (isnan)   (const T &x) { return internal::isnan_impl(x); }\r\n[variation=,node=ubuntu_16.04-x86_64]                                               ^\r\n[variation=,node=ubuntu_16.04-x86_64] In file included from external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/Core:433:0,\r\n[variation=,node=ubuntu_16.04-x86_64]                  from external/eigen_archive/unsupported/Eigen/CXX11/Tensor:14,\r\n[variation=,node=ubuntu_16.04-x86_64]                  from external/org_tensorflow/third_party/eigen3/unsupported/Eigen/CXX11/Tensor:1,\r\n[variation=,node=ubuntu_16.04-x86_64]                  from external/org_tensorflow/tensorflow/core/framework/tensor_shape.h:21,\r\n[variation=,node=ubuntu_16.04-x86_64]                  from external/org_tensorflow/tensorflow/core/framework/partial_tensor_shape.h:20,\r\n[variation=,node=ubuntu_16.04-x86_64]                  from external/org_tensorflow/tensorflow/core/framework/attr_value_util.h:23,\r\n[variation=,node=ubuntu_16.04-x86_64]                  from external/org_tensorflow/tensorflow/core/framework/node_def_util.h:23,\r\n[variation=,node=ubuntu_16.04-x86_64]                  from external/org_tensorflow/tensorflow/core/framework/shape_inference.h:20,\r\n[variation=,node=ubuntu_16.04-x86_64]                  from external/org_tensorflow/tensorflow/core/framework/common_shape_fns.h:20,\r\n[variation=,node=ubuntu_16.04-x86_64]                  from external/org_tensorflow/tensorflow/core/ops/functional_ops.cc:16:\r\n[variation=,node=ubuntu_16.04-x86_64] external/eigen_archive/unsupported/Eigen/CXX11/../../../Eigen/src/Core/arch/CUDA/Half.h:380:45: note:   'Eigen::half_impl::isnan'\r\n[variation=,node=ubuntu_16.04-x86_64]  EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bool (isnan)(const half& a) {\r\n[variation=,node=ubuntu_16.04-x86_64]                                              ^\r\n```"},"comment":{"url":"https://api.github.com/repos/bazelbuild/bazel/issues/comments/368055835","html_url":"https://github.com/bazelbuild/bazel/issues/4289#issuecomment-368055835","issue_url":"https://api.github.com/repos/bazelbuild/bazel/issues/4289","id":368055835,"user":{"login":"rishabhmalhotra","id":15898956,"avatar_url":"https://avatars3.githubusercontent.com/u/15898956?v=4","gravatar_id":"","url":"https://api.github.com/users/rishabhmalhotra","html_url":"https://github.com/rishabhmalhotra","followers_url":"https://api.github.com/users/rishabhmalhotra/followers","following_url":"https://api.github.com/users/rishabhmalhotra/following{/other_user}","gists_url":"https://api.github.com/users/rishabhmalhotra/gists{/gist_id}","starred_url":"https://api.github.com/users/rishabhmalhotra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rishabhmalhotra/subscriptions","organizations_url":"https://api.github.com/users/rishabhmalhotra/orgs","repos_url":"https://api.github.com/users/rishabhmalhotra/repos","events_url":"https://api.github.com/users/rishabhmalhotra/events{/privacy}","received_events_url":"https://api.github.com/users/rishabhmalhotra/received_events","type":"User","site_admin":false},"created_at":"2018-02-23T16:13:59Z","updated_at":"2018-02-23T16:13:59Z","author_association":"NONE","body":"It seems that c++ compilation is still failing for me but looking at the issue, I'm assuming its resolved? Any latest updates on this same issue? \r\n(I have the latest bazel & I've referenced tf-serving from master)"}}
{"actor":{"display_login":"rishabhmalhotra"}}