Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Flaky test test_operator.test_clip #12901

Description

@marcoabreu

http://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/incubator-mxnet/detail/master/1797/pipeline

======================================================================

FAIL: test_operator.test_clip

----------------------------------------------------------------------

Traceback (most recent call last):

  File "C:\Anaconda3\envs\py3\lib\site-packages\nose\case.py", line 197, in runTest

    self.test(*self.arg)

  File "C:\jenkins_slave\workspace\ut-python-gpu\tests\python\unittest\common.py", line 172, in test_new

    orig_test(*args, **kwargs)

  File "C:\jenkins_slave\workspace\ut-python-gpu\tests\python\unittest\test_operator.py", line 3627, in test_clip

    [np.where(data_tmp < 0.6, [1], [0]) * np.where(data_tmp > -0.6, [1], [0])])

  File "C:\jenkins_slave\workspace\ut-python-gpu\windows_package\python\mxnet\test_utils.py", line 1121, in check_symbolic_backward

    equal_nan=equal_nan)

  File "C:\jenkins_slave\workspace\ut-python-gpu\windows_package\python\mxnet\test_utils.py", line 491, in assert_almost_equal

    raise AssertionError(msg)

AssertionError: 

Items are not equal:

Error 100000.002526 exceeds tolerance rtol=0.000010, atol=0.000000.  Location of maximum error:(28, 12), a=0.000000, b=1.000000

 EXPECTED_data: array([[1, 1, 0, ..., 0, 0, 0],

       [1, 0, 1, ..., 1, 1, 1],

       [1, 1, 0, ..., 0, 0, 1],...

 BACKWARD_data: array([[ 1.,  1.,  0., ...,  0.,  0.,  0.],

       [ 1.,  0.,  1., ...,  1.,  1.,  1.],

       [ 1.,  1.,  0., ...,  0.,  0.,  1.],...

-------------------- >> begin captured logging << --------------------

common: INFO: Setting test np/mx/python random seeds, use MXNET_TEST_SEED=708169757 to reproduce.

--------------------- >> end captured logging << ---------------------

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions