Skip to content

[CI] shotgun gblinear updater test is failing with hypothesis #5805

@hcho3

Description

@hcho3

https://xgboost-ci.net/blue/organizations/jenkins/xgboost/detail/PR-5804/3/pipeline#step-256-log-1810


[2020-06-17T07:08:22.596Z] ---------------------------------- Hypothesis ----------------------------------

[2020-06-17T07:08:22.596Z] Falsifying example: test_shotgun(

[2020-06-17T07:08:22.596Z]     self=<test_linear.TestLinear at 0x7f610d69a510>,

[2020-06-17T07:08:22.596Z]     param={'booster': 'gblinear',

[2020-06-17T07:08:22.596Z]      'eta': 0.23500811308622363,

[2020-06-17T07:08:22.596Z]      'nthread': 1,

[2020-06-17T07:08:22.596Z]      'tolerance': 1e-05},

[2020-06-17T07:08:22.596Z]     num_rounds=31,

[2020-06-17T07:08:22.596Z]     dataset=sparse,

[2020-06-17T07:08:22.596Z] )

[2020-06-17T07:08:22.596Z] Failed to reproduce exception. Expected: 

[2020-06-17T07:08:22.596Z] Traceback (most recent call last):

[2020-06-17T07:08:22.596Z]   File "/workspace/tests/python/test_linear.py", line 60, in test_shotgun

[2020-06-17T07:08:22.596Z]     assert tm.non_increasing(result)

[2020-06-17T07:08:22.596Z] AssertionError: assert False

[2020-06-17T07:08:22.596Z]  +  where False = <function non_increasing at 0x7f60c507d4d0>([171.695969, 164.865128, 160.776962, 158.333054, 156.867538, 155.983749, ...])

[2020-06-17T07:08:22.596Z]  +    where <function non_increasing at 0x7f60c507d4d0> = tm.non_increasing

[2020-06-17T07:08:22.596Z] =============================== warnings summary ===============================

@RAMitchell Can we relax the unit test?

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