** Changed in: canonical-devices-system-image Milestone: ww09-2015 => ww13-ota
** Changed in: canonical-devices-system-image Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Apps bug tracking, which is subscribed to camera-app in Ubuntu. https://bugs.launchpad.net/bugs/1419022 Title: camera-app click manifest should include camera-app-autopilot dependency for running tests Status in Camera App: In Progress Status in the base for Ubuntu mobile products: Fix Released Status in camera-app package in Ubuntu: Fix Released Status in camera-app package in Ubuntu RTM: Fix Released Bug description: Running the camera-app tests as click package currently fails because not all dependencies get installed: http://rtm- dashboard.ci.ubuntu.com/smokeng/utopic/touch_stable/krillin/228:20150206:20150129-c75dcfb/296/camera_app/123549/ Here python3-wand and python3-mediainfodll are not installed, so this causes the import failure: ImportError: Failed to import test module: camera_app.tests.test_capture 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 "/home/phablet/autopilot/camera_app/tests/test_capture.py", line 13, in <module> from wand.image import Image ImportError: No module named 'wand' In order to fix this, the camera-app-autopilot dependency should be added to the click manifest according to spec https://people.debian.org/~mpitt/autopkgtest/README.click-tests.html manifest.json: "x-test": { "autopilot": { "autopilot_module": "@AUTOPILOT_DIR@", "depends": ["camera-app-autopilot"] } } To run the tests using modified manifest file and a connected device: adt-run --override-control=./path/to/modified/manifest.json --click=com.ubuntu.camera --- ssh -s adb To manage notifications about this bug go to: https://bugs.launchpad.net/camera-app/+bug/1419022/+subscriptions -- Mailing list: https://launchpad.net/~ubuntu-apps-bugs Post to : ubuntu-apps-bugs@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-apps-bugs More help : https://help.launchpad.net/ListHelp