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/08/01 20:53:55 UTC

[GitHub] roywei commented on issue #11685: test_executor.test_bind has fixed seed that can mask flakiness

roywei commented on issue #11685: test_executor.test_bind has fixed seed that can mask flakiness
URL: https://github.com/apache/incubator-mxnet/issues/11685#issuecomment-409719254
 
 
   after change with #11978 , this test still fails with:
   ```
   MXNET_TEST_SEED=1875642038 nosetests --logging-level=DEBUG --verbose -s test_executor.py:test_bind
   ```
   
   error message:
   ```
   ======================================================================
   FAIL: test_executor.test_bind
   ----------------------------------------------------------------------
   Traceback (most recent call last):
     File "/usr/local/lib/python3.5/dist-packages/nose/case.py", line 198, in runTest
       self.test(*self.arg)
     File "/home/ubuntu/roy/incubator-mxnet/tests/python/unittest/common.py", line 172, in test_new
       orig_test(*args, **kwargs)
     File "/home/ubuntu/roy/incubator-mxnet/tests/python/unittest/test_executor.py", line 111, in test_bind
       check_bind(True)
     File "/home/ubuntu/roy/incubator-mxnet/tests/python/unittest/test_executor.py", line 102, in check_bind
       sf=mx.symbol.maximum)
     File "/home/ubuntu/roy/incubator-mxnet/tests/python/unittest/test_executor.py", line 71, in check_bind_with_uniform
       assert_almost_equal(lhs_grad.asnumpy(), lhs_grad2, rtol=1e-5, atol=1e-5)
     File "/usr/local/lib/python3.5/dist-packages/mxnet/test_utils.py", line 493, in assert_almost_equal
       raise AssertionError(msg)
   AssertionError: 
   Items are not equal:
   Error 100000.000000 exceeds tolerance rtol=0.000010, atol=0.000010.  Location of maximum error:(5, 17), a=1.000000, b=0.000000
    a: array([[0., 0., 1., ..., 0., 0., 1.],
          [0., 1., 1., ..., 0., 0., 0.],
          [1., 1., 0., ..., 1., 0., 1.],...
    b: array([[0., 0., 1., ..., 0., 0., 1.],
          [0., 1., 1., ..., 0., 0., 0.],
          [1., 1., 0., ..., 1., 0., 1.],...
   -------------------- >> begin captured logging << --------------------
   common: INFO: Setting module np/mx/python random seeds, use MXNET_MODULE_SEED=1585133920 to reproduce.
   common: WARNING: *** test-level seed set: all "@with_seed()" tests run deterministically ***
   common: INFO: Setting test np/mx/python random seeds, use MXNET_TEST_SEED=1875642038 to reproduce.
   --------------------- >> end captured logging << ---------------------
   
   ----------------------------------------------------------------------
   Ran 1 test in 0.033s
   
   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