[Bug 1419024] Re: adt-run fails to import MagickWand for running com.ubuntu.camera click autopilot tests
Martin Pitt
martin.pitt at ubuntu.com
Tue Feb 10 14:12:36 UTC 2015
** Changed in: autopkgtest (Ubuntu)
Importance: Undecided => Wishlist
** Changed in: autopkgtest (Ubuntu)
Status: New => Triaged
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to autopkgtest in Ubuntu.
https://bugs.launchpad.net/bugs/1419024
Title:
adt-run fails to import MagickWand for running com.ubuntu.camera click
autopilot tests
Status in autopkgtest package in Ubuntu:
Triaged
Bug description:
Trying to run autopilot tests for com.ubuntu.camera with adt-run fails
to import MagickWand shared library:
Loading tests from: /tmp/adt-run.GmaZzr/tree/tests/autopilot
Failed to import test module: camera_app.tests.test_capture
Traceback (most recent call last):
File "/tmp/adt-run.GmaZzr/deps/usr/lib/python3/dist-packages/wand/api.py", line 137, in <module>
libraries = load_library()
File "/tmp/adt-run.GmaZzr/deps/usr/lib/python3/dist-packages/wand/api.py", line 107, in load_library
raise IOError('cannot find library; tried paths: ' + repr(tried_paths))
OSError: cannot find library; tried paths: []
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.4/unittest/loader.py", line 312, in _find_tests
module = self._get_module_from_name(name)
File "/usr/lib/python3.4/unittest/loader.py", line 290, in _get_module_from_name
__import__(name)
File "/tmp/adt-run.GmaZzr/tree/tests/autopilot/camera_app/tests/test_capture.py", line 13, in <module>
from wand.image import Image
File "/tmp/adt-run.GmaZzr/deps/usr/lib/python3/dist-packages/wand/image.py", line 20, in <module>
from .api import MagickPixelPacket, libc, libmagick, library
File "/tmp/adt-run.GmaZzr/deps/usr/lib/python3/dist-packages/wand/api.py", line 163, in <module>
'Try to install:\n ' + msg)
ImportError: MagickWand shared library not found.
You probably had not installed ImageMagick library.
Try to install:
apt-get install libmagickwand-dev
To run these tests I am using attached modified manifest.json for camera app file (see lp:1419022) and command:
adt-run --override-control=./path/to/modified/manifest.json --click=com.ubuntu.camera --- ssh -s adb
Using autopkgtest 3.9.4
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1419024/+subscriptions
More information about the foundations-bugs
mailing list