python-scipy autopkg test fails in vivid

Bug #1426841 reported by Matthias Klose on 2015-03-01
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pillow (Ubuntu)
Undecided
Unassigned
python-scipy (Ubuntu)
Undecided
Unassigned

Bug Description

two tests are failing, both with python2.7, one maybe related to pillow.

see
https://jenkins.qa.ubuntu.com/job/vivid-adt-python-scipy/lastBuild/ARCH=amd64,label=adt/

======================================================================
ERROR: test_ndimage.TestNdimage.test_map_coordinates_large_data
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/usr/lib/python2.7/dist-packages/numpy/testing/decorators.py", line 146, in skipper_func
    return f(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/scipy/ndimage/tests/test_ndimage.py", line 1714, in test_m
ap_coordinates_large_data
    a = numpy.empty(n**2, dtype=numpy.float32).reshape(n, n)
MemoryError

======================================================================
FAIL: test_imresize4 (test_pilutil.TestPILUtil)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/numpy/testing/decorators.py", line 146, in skipper_func
    return f(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/scipy/misc/tests/test_pilutil.py", line 57, in test_imresize4
    assert_equal(im2, res)
  File "/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 260, in assert_equal
    return assert_array_equal(actual, desired, err_msg, verbose)
  File "/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 718, in assert_array_equal
    verbose=verbose, header='Arrays are not equal')
  File "/usr/lib/python2.7/dist-packages/numpy/testing/utils.py", line 644, in assert_array_compare
    raise AssertionError(msg)
AssertionError:
Arrays are not equal

(mismatch 75.0%)
 x: array([[ 1. , 1.25, 1.75, 2. ],
       [ 1.5 , 1.75, 2.25, 2.5 ],
       [ 2.5 , 2.75, 3.25, 3.5 ],
       [ 3. , 3.25, 3.75, 4. ]], dtype=float32)
 y: array([[ 1. , 1. , 1.5, 2. ],
       [ 1. , 1. , 1.5, 2. ],
       [ 2. , 2. , 2.5, 3. ],
       [ 3. , 3. , 3.5, 4. ]], dtype=float32)

----------------------------------------------------------------------
Ran 17870 tests in 1152.802s

failed: test_ndimage.TestNdimage.test_map_coordinates_large_data
failed: test_pilutil.TestPILUtil.test_imresize4
#errors: 2

Julian Taylor (jtaylor) wrote :

the first should be fixed upstream https://github.com/scipy/scipy/pull/4456
don't know about the second, scipy hasn't changed must be some incompatibility in pil (again)

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-scipy - 0.14.1-1ubuntu1

---------------
python-scipy (0.14.1-1ubuntu1) vivid; urgency=medium

  * Backport fixes for issues #4388 and #4456 to pass autopkg tests.
    LP: #1426841.
 -- Matthias Klose <email address hidden> Sun, 01 Mar 2015 17:59:37 +0100

Changed in python-scipy (Ubuntu):
status: New → Fix Released
Matthias Klose (doko) on 2015-03-08
Changed in pillow (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers