touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #54369
[Bug 1419022] Re: camera-app click manifest should include camera-app-autopilot dependency for running tests
** Also affects: camera-app (Ubuntu)
Importance: Undecided
Status: New
** Also affects: camera-app (Ubuntu RTM)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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 camera-app package in Ubuntu:
New
Status in camera-app package in Ubuntu RTM:
New
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