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_random.test_gamma_generator #9856

Description

@marcoabreu

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

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

FAIL: test_random.test_gamma_generator

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

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 "/workspace/tests/python/unittest/common.py", line 155, in test_new

    orig_test(*args, **kwargs)

  File "/workspace/tests/python/unittest/test_random.py", line 359, in test_gamma_generator

    verify_generator(generator=generator_mx_same_seed, buckets=buckets, probs=probs)

  File "/workspace/python/mxnet/test_utils.py", line 1891, in verify_generator

    str(buckets), str(probs)))

AssertionError: Generator test fails, Chi-square p=[0.48924374659124903, 0.010385813514976699, 0.04690012282396099, 0.024646425434321113, 0.0325781275893177], obs_freq=[array([200090, 200397, 199297, 200077, 200139]), array([199645, 199037, 200196, 201238, 199884]), array([199299, 200081, 201112, 199945, 199563]), array([199821, 201005, 198991, 200373, 199810]), array([200055, 199955, 198868, 200255, 200867])], expected_freq=[array([200000, 200000, 200000, 200000, 200000], dtype=int32), array([200000, 200000, 200000, 200000, 200000], dtype=int32), array([200000, 200000, 200000, 200000, 200000], dtype=int32), array([200000, 200000, 200000, 200000, 200000], dtype=int32), array([200000, 200000, 200000, 200000, 200000], dtype=int32)].

buckets=[(0.0, 0.032092377333650786), (0.032092377333650786, 0.13749794886422795), (0.13749794886422795, 0.3541631504003966), (0.3541631504003966, 0.8211872075748949), (0.8211872075748949, inf)], probs=[0.2, 0.2, 0.2, 0.2, 0.2]

-------------------- >> begin captured stdout << ---------------------

ctx=cpu(0), dtype=float16, Shape=0.5, Scale=1:

ctx=cpu(0), dtype=float16, Shape=1, Scale=5:

ctx=cpu(0), dtype=float32, Shape=0.5, Scale=1:

ctx=cpu(0), dtype=float32, Shape=1, Scale=5:

ctx=cpu(0), dtype=float64, Shape=0.5, Scale=1:



--------------------- >> end captured stdout << ----------------------

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

common: INFO: Setting test np/mx/python random seeds, use MXNET_TEST_SEED=1547976354 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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions