[Bug 1419024] Re: adt-run fails to import MagickWand for running com.ubuntu.camera click autopilot tests

Launchpad Bug Tracker 1419024 at bugs.launchpad.net
Wed Feb 11 07:55:56 UTC 2015


This bug was fixed in the package autopkgtest - 3.9.5git1

---------------
autopkgtest (3.9.5git1) vivid; urgency=medium

  * Skip test_tmp_install_imagemagick test case if python3-wand is not
    available.
 -- Martin Pitt <martin.pitt at ubuntu.com>   Wed, 11 Feb 2015 07:10:51 +0100

** Changed in: autopkgtest (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
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:
  Fix Released

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