Bug#870128: libgpuarray: broken autopkgtests

Steve Langasek steve.langasek at canonical.com
Sun Jul 30 06:33:21 UTC 2017


Source: libgpuarray
Version: 0.6.9-2
Severity: important
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu artful autopkgtest

Hi Ghislain,

Your latest upload of libgpuarray has replaced the previous python
autopkgtest with one based on pocl.  Unfortunately, this means that the
autopkgtests now consistently fail on ci.debian.net, because they can no
longer be run on a system without a gpu, e.g.:

======================================================================
ERROR: pygpu.tests.test_gpu_ndarray.test_asfortranarray((), 'float32', True, True, 1, 'f')
----------------------------------------------------------------------
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/pygpu/tests/support.py", line 44, in f
    func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/pygpu/tests/test_gpu_ndarray.py", line 196, in asfortranarray
    assert b.gpudata == gpu.gpudata
  File "pygpu/gpuarray.pyx", line 2260, in pygpu.gpuarray.GpuArray.gpudata.__get__ (pygpu/gpuarray.c:28840)
TypeError: This is for CUDA arrays.

https://ci.debian.net/packages/libg/libgpuarray/unstable/amd64/

I would suggest that it's more useful to have a basic autopkgtest that
passes on generic hardware than to have a deep autopkgtest which will never
succeed there.

I am filing this bug because failing autopkgtests are considered blockers
for inclusion of a package in the Ubuntu release.  Newer versions of
libgpuarray might not be included in Ubuntu releases until this is resolved.

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20170729/b62d7ddb/attachment-0001.sig>


More information about the debian-science-maintainers mailing list