{"action":"opened","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/15266","repository_url":"https://api.github.com/repos/tensorflow/tensorflow","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/15266/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/15266/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/15266/events","html_url":"https://github.com/tensorflow/tensorflow/issues/15266","id":280958586,"number":15266,"title":" //tensorflow/compiler/xla/tests:array_elementwise_ops_test_cpu_parallel  test fails on ppc64le","user":{"login":"sandipmgiri","id":16284232,"avatar_url":"https://avatars0.githubusercontent.com/u/16284232?v=4","gravatar_id":"","url":"https://api.github.com/users/sandipmgiri","html_url":"https://github.com/sandipmgiri","followers_url":"https://api.github.com/users/sandipmgiri/followers","following_url":"https://api.github.com/users/sandipmgiri/following{/other_user}","gists_url":"https://api.github.com/users/sandipmgiri/gists{/gist_id}","starred_url":"https://api.github.com/users/sandipmgiri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandipmgiri/subscriptions","organizations_url":"https://api.github.com/users/sandipmgiri/orgs","repos_url":"https://api.github.com/users/sandipmgiri/repos","events_url":"https://api.github.com/users/sandipmgiri/events{/privacy}","received_events_url":"https://api.github.com/users/sandipmgiri/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-11T10:06:30Z","updated_at":"2017-12-11T10:06:30Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"### System information\r\n- **OS Platform and Distribution (e.g., Linux Ubuntu 16.04)**:\r\n     Ubuntu 16.04 (ppc64le)\r\n- **TensorFlow installed from (source or binary)**:\r\n      Installed from source (v1.3.1)\r\n- **TensorFlow version (use command below)**:\r\n      TF1.3.1\r\n- **Python version**: \r\n     Python 2.7.5\r\n- **Bazel version (if compiling from source)**:\r\n       0.5.4\r\n- **CUDA/cuDNN version**:\r\n     NA\r\n- **GPU model and memory**:\r\n      NA\r\n- **Exact command to reproduce**:\r\n      bazel test -c opt //tensorflow/compiler/xla/tests:array_elementwise_ops_test_cpu_parallel       \r\n\r\n\r\n**Describe the problem**\r\n\r\nHere 2 sub tests are failing on ppc64le i.e.` IsFiniteScalarF32`  and `IsFiniteR1F32s` in file array_elementwise_ops_test.cc\r\n\r\nFor IsFiniteScalarF32 sub-test , error at line 100 : \r\nhttps://github.com/tensorflow/tensorflow/blob/v1.3.1/tensorflow/compiler/xla/tests/array_elementwise_ops_test.cc#L100\r\n`ComputeAndCompareR0<bool>(&builder, false, {});`\r\n This failure due to expected: false  vs actual: true\r\n\r\nFor IsFiniteR1F32s sub-test , error at line 126 :\r\nhttps://github.com/tensorflow/tensorflow/blob/v1.3.1/tensorflow/compiler/xla/tests/array_elementwise_ops_test.cc#L126\r\n`ComputeAndCompareR1<bool>(&builder, {false, true, false, true, false, false}, {});`\r\nThis failure due to expected: {010100}  vs actual: {111100}\r\n\r\nCurrently trying to find the root cause , debugging further on this. Any inputs/help appreciated.Thanks!\r\n\r\n**Source code / logs**\r\n\r\n1 .**IsFiniteScalarF32 sub-test log :**\r\n```\r\nexec ${PAGER:-/usr/bin/less} \"$0\" || exit 1\r\n-----------------------------------------------------------------------------\r\nNote: This is test shard 5 of 25.\r\n[==========] Running 6 tests from 2 test cases.\r\n[----------] Global test environment set-up.\r\n[----------] 5 tests from ArrayElementwiseOpTest\r\n[ RUN      ] ArrayElementwiseOpTest.IsFiniteScalarF32\r\n2017-12-11 09:36:20.653075: I tensorflow/compiler/xla/service/platform_util.cc:58] platform Host present with 8 visible devices\r\n2017-12-11 09:36:20.654000: I tensorflow/compiler/xla/service/platform_util.cc:58] platform Host present with 8 visible devices\r\n2017-12-11 09:36:20.654482: I tensorflow/compiler/xla/service/service.cc:187] XLA service 0x100062a6ea0 executing computations on platform Host. Devices:\r\n2017-12-11 09:36:20.654493: I tensorflow/compiler/xla/service/service.cc:195]   StreamExecutor device (0): <undefined>, <undefined>\r\ntensorflow/compiler/xla/tests/literal_test_util.cc:157: Failure\r\nValue of: Equal(expected, actual)\r\n  Actual: false (expected: false\r\nactual:   true)\r\nExpected: true\r\nexpected:\r\nfalse\r\n        vs actual:\r\ntrue\r\ntensorflow/compiler/xla/tests/literal_test_util.cc:157: Failure\r\nValue of: Equal(expected, actual)\r\n  Actual: false (expected: false\r\nactual:   true)\r\nExpected: true\r\nexpected:\r\nfalse\r\n        vs actual:\r\ntrue\r\n[  FAILED  ] ArrayElementwiseOpTest.IsFiniteScalarF32 (60 ms)\r\n[ RUN      ] ArrayElementwiseOpTest.LogicalNotZeroElement\r\n2017-12-11 09:36:20.712501: I tensorflow/compiler/xla/service/platform_util.cc:58] platform Host present with 8 visible devices\r\n[       OK ] ArrayElementwiseOpTest.LogicalNotZeroElement (6 ms)\r\n[ RUN      ] ArrayElementwiseOpTest.LogOfPowerF32\r\n2017-12-11 09:36:20.719016: I tensorflow/compiler/xla/service/platform_util.cc:58] platform Host present with 8 visible devices\r\n[       OK ] ArrayElementwiseOpTest.LogOfPowerF32 (12 ms)\r\n[ RUN      ] ArrayElementwiseOpTest.Max3DAndScalarZeroElementS32s\r\n2017-12-11 09:36:20.731087: I tensorflow/compiler/xla/service/platform_util.cc:58] platform Host present with 8 visible devices\r\n[       OK ] ArrayElementwiseOpTest.Max3DAndScalarZeroElementS32s (7 ms)\r\n[ RUN      ] ArrayElementwiseOpTest.Compare1DTo2DS32Ne\r\n2017-12-11 09:36:20.738675: I tensorflow/compiler/xla/service/platform_util.cc:58] platform Host present with 8 visible devices\r\n[       OK ] ArrayElementwiseOpTest.Compare1DTo2DS32Ne (13 ms)\r\n[----------] 5 tests from ArrayElementwiseOpTest (99 ms total)\r\n\r\n[----------] 1 test from ArrayElementwiseOpTestParamCount/ArrayElementwiseOpTestParamCount\r\n[ RUN      ] ArrayElementwiseOpTestParamCount/ArrayElementwiseOpTestParamCount.SquareManyValues/0\r\n2017-12-11 09:36:20.751273: I tensorflow/compiler/xla/service/platform_util.cc:58] platform Host present with 8 visible devices\r\n[       OK ] ArrayElementwiseOpTestParamCount/ArrayElementwiseOpTestParamCount.SquareManyValues/0 (34 ms)\r\n[----------] 1 test from ArrayElementwiseOpTestParamCount/ArrayElementwiseOpTestParamCount (34 ms total)\r\n\r\n[----------] Global test environment tear-down\r\n[==========] 6 tests from 2 test cases ran. (133 ms total)\r\n[  PASSED  ] 5 tests.\r\n[  FAILED  ] 1 test, listed below:\r\n[  FAILED  ] ArrayElementwiseOpTest.IsFiniteScalarF32\r\n\r\n 1 FAILED TEST\r\n\r\n```\r\n2. **IsFiniteR1F32s sub-test log:**\r\n\r\n```\r\nexec ${PAGER:-/usr/bin/less} \"$0\" || exit 1\r\n-----------------------------------------------------------------------------\r\nNote: This is test shard 6 of 25.\r\n[==========] Running 6 tests from 2 test cases.\r\n[----------] Global test environment set-up.\r\n[----------] 5 tests from ArrayElementwiseOpTest\r\n[ RUN      ] ArrayElementwiseOpTest.IsFiniteR1F32s\r\n2017-12-11 09:36:21.201704: I tensorflow/compiler/xla/service/platform_util.cc:58] platform Host present with 8 visible devices\r\n2017-12-11 09:36:21.202563: I tensorflow/compiler/xla/service/platform_util.cc:58] platform Host present with 8 visible devices\r\n2017-12-11 09:36:21.203145: I tensorflow/compiler/xla/service/service.cc:187] XLA service 0x10015cc6ea0 executing computations on platform Host. Devices:\r\n2017-12-11 09:36:21.203154: I tensorflow/compiler/xla/service/service.cc:195]   StreamExecutor device (0): <undefined>, <undefined>\r\ntensorflow/compiler/xla/tests/literal_test_util.cc:157: Failure\r\nValue of: Equal(expected, actual)\r\n  Actual: false (expected: {010100}\r\nactual:   {111100})\r\nExpected: true\r\nexpected:\r\n{010100}\r\n        vs actual:\r\n{111100}\r\n[  FAILED  ] ArrayElementwiseOpTest.IsFiniteR1F32s (17 ms)\r\n[ RUN      ] ArrayElementwiseOpTest.CompareEqF32s\r\n2017-12-11 09:36:21.218227: I tensorflow/compiler/xla/service/platform_util.cc:58] platform Host present with 8 visible devices\r\n[       OK ] ArrayElementwiseOpTest.CompareEqF32s (10 ms)\r\n[ RUN      ] ArrayElementwiseOpTest.MulOfExpF32\r\n2017-12-11 09:36:21.228744: I tensorflow/compiler/xla/service/platform_util.cc:58] platform Host present with 8 visible devices\r\n[       OK ] ArrayElementwiseOpTest.MulOfExpF32 (12 ms)\r\n[ RUN      ] ArrayElementwiseOpTest.Min2DTo1DF32s\r\n2017-12-11 09:36:21.240780: I tensorflow/compiler/xla/service/platform_util.cc:58] platform Host present with 8 visible devices\r\n[       OK ] ArrayElementwiseOpTest.Min2DTo1DF32s (15 ms)\r\n[ RUN      ] ArrayElementwiseOpTest.Compare1DTo2DS32Ge\r\n2017-12-11 09:36:21.255836: I tensorflow/compiler/xla/service/platform_util.cc:58] platform Host present with 8 visible devices\r\n[       OK ] ArrayElementwiseOpTest.Compare1DTo2DS32Ge (19 ms)\r\n[----------] 5 tests from ArrayElementwiseOpTest (73 ms total)\r\n\r\n[----------] 1 test from ArrayElementwiseOpTestParamCount/ArrayElementwiseOpTestParamCount\r\n[ RUN      ] ArrayElementwiseOpTestParamCount/ArrayElementwiseOpTestParamCount.SquareManyValues/1\r\n2017-12-11 09:36:21.274589: I tensorflow/compiler/xla/service/platform_util.cc:58] platform Host present with 8 visible devices\r\n[       OK ] ArrayElementwiseOpTestParamCount/ArrayElementwiseOpTestParamCount.SquareManyValues/1 (73 ms)\r\n[----------] 1 test from ArrayElementwiseOpTestParamCount/ArrayElementwiseOpTestParamCount (73 ms total)\r\n\r\n[----------] Global test environment tear-down\r\n[==========] 6 tests from 2 test cases ran. (146 ms total)\r\n[  PASSED  ] 5 tests.\r\n[  FAILED  ] 1 test, listed below:\r\n[  FAILED  ] ArrayElementwiseOpTest.IsFiniteR1F32s\r\n\r\n 1 FAILED TEST\r\n\r\n```\r\n"}}
{"actor":{"display_login":"sandipmgiri"}}