You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/05/11 08:51:09 UTC

[GitHub] marcoabreu opened a new issue #10901: Broken test_sparse_operator.test_sparse_mathematical_core

marcoabreu opened a new issue #10901: Broken test_sparse_operator.test_sparse_mathematical_core
URL: https://github.com/apache/incubator-mxnet/issues/10901
 
 
   Happens on all configurations, no matter whether CPU or GPU etc.
   
   ```
   build.py: 2018-05-11 08:49:35,496 Executing: docker run --rm -t --shm-size=500m -v /home/ubuntu/mxnet-apache:/work/mxnet -v /home/ubuntu/mxnet-apache/build:/work/build -u 0:0 mxnet/build.ubuntu_cpu /work/runtime_functions.sh unittest_ubuntu_python2_cpu
   + set +x
   + export PYTHONPATH=./python/
   + PYTHONPATH=./python/
   + export MXNET_STORAGE_FALLBACK_LOG_VERBOSE=0
   + MXNET_STORAGE_FALLBACK_LOG_VERBOSE=0
   + nosetests-2.7 --verbose tests/python/unittest/test_sparse_operator.py:test_sparse_mathematical_core
   [INFO] Setting module np/mx/python random seeds, use MXNET_MODULE_SEED=1188828163 to reproduce.
   test_sparse_operator.test_sparse_mathematical_core ... [INFO] Setting test np/mx/python random seeds, use MXNET_TEST_SEED=1220244381 to reproduce.
   FAIL
   
   ======================================================================
   FAIL: test_sparse_operator.test_sparse_mathematical_core
   ----------------------------------------------------------------------
   Traceback (most recent call last):
     File "/usr/local/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
       self.test(*self.arg)
     File "/work/mxnet/tests/python/unittest/common.py", line 157, in test_new
       orig_test(*args, **kwargs)
     File "/work/mxnet/tests/python/unittest/test_sparse_operator.py", line 1084, in test_sparse_mathematical_core
       density=density, ograd_density=ograd_density)
     File "/work/mxnet/tests/python/unittest/test_sparse_operator.py", line 1056, in check_mathematical_core
       density=density, ograd_density=ograd_density)
     File "/work/mxnet/tests/python/unittest/test_sparse_operator.py", line 698, in check_sparse_mathematical_core
       assert_almost_equal(arr_grad, input_grad, equal_nan=True)
     File "/work/mxnet/python/mxnet/test_utils.py", line 493, in assert_almost_equal
       raise AssertionError(msg)
   AssertionError:
   Items are not equal:
   Error nan exceeds tolerance rtol=0.000010, atol=0.000000.  Location of maximum error:(0, 0), a=inf, b=-inf
    a: array([[inf, inf, inf, inf, inf],
          [inf, inf, inf, inf, inf],
          [inf, inf, inf, inf, inf],...
    b: array([[-inf, -inf, -inf, -inf, -inf],
          [-inf, -inf, -inf, -inf, -inf],
          [-inf, -inf, -inf, -inf, -inf],...
   -------------------- >> begin captured stdout << ---------------------
   ('pass', 0)
   0.0, 0.0, False
   
   --------------------- >> end captured stdout << ----------------------
   -------------------- >> begin captured logging << --------------------
   common: INFO: Setting module np/mx/python random seeds, use MXNET_MODULE_SEED=1188828163 to reproduce.
   common: INFO: Setting test np/mx/python random seeds, use MXNET_TEST_SEED=1220244381 to reproduce.
   --------------------- >> end captured logging << ---------------------
   
   ----------------------------------------------------------------------
   Ran 1 test in 0.031s
   
   FAILED (failures=1)
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services