Skip to content

Test failure testing manylinux integration #7921

@matthew-brett

Description

@matthew-brett

Testing the manylinux wheels together, I'm finding this failure with scikit_learn-0.18.1-cp27-cp27mu-manylinux1_x86_64.whl :

======================================================================
FAIL: sklearn.linear_model.tests.test_ridge.test_dense_sparse(<function _test_ridge_loo at 0x7f61ecf94320>,)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildslave/tom_standard/manylinux-2_7-debian/build/venv/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/home/buildslave/tom_standard/manylinux-2_7-debian/build/venv/local/lib/python2.7/site-packages/sklearn/linear_model/tests/test_ridge.py", line 456, in check_dense_sparse
    ret_sparse = test_func(SPARSE_FILTER)
  File "/home/buildslave/tom_standard/manylinux-2_7-debian/build/venv/local/lib/python2.7/site-packages/sklearn/linear_model/tests/test_ridge.py", line 329, in _test_ridge_loo
    assert_almost_equal(errors, errors2)
  File "/home/buildslave/tom_standard/manylinux-2_7-debian/build/venv/local/lib/python2.7/site-packages/numpy/testing/utils.py", line 523, in assert_almost_equal
    return assert_array_almost_equal(actual, desired, decimal, err_msg)
  File "/home/buildslave/tom_standard/manylinux-2_7-debian/build/venv/local/lib/python2.7/site-packages/numpy/testing/utils.py", line 918, in assert_array_almost_equal
    precision=decimal)
  File "/home/buildslave/tom_standard/manylinux-2_7-debian/build/venv/local/lib/python2.7/site-packages/numpy/testing/utils.py", line 739, in assert_array_compare
    raise AssertionError(msg)
AssertionError: 
Arrays are not almost equal to 7 decimals

(mismatch 99.5%)
 x: array([ 83413.4220579,  33753.083747 ,  31700.1043848,   1716.2135367,
        37626.9587863,  45033.8753777,  27837.9045965,  37753.7137359,
        26540.4353824,  12128.193462 ,  59263.6064729,   2561.4473325,...
 y: array([ 83413.4220579,  30715.633919 ,  14756.6103169,   5232.4120662,
        30524.4660113,  54211.4551856,  40359.6205922,  48120.5271189,
        20053.0376978,   5861.809863 ,  67582.6551838,  22327.2661592,...

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

http://nipy.bic.berkeley.edu/builders/manylinux-2.7-debian/builds/254/steps/shell_13/logs/stdio

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions