I: Running tests autopilot_tests
I: Starting X Server: /usr/bin/Xvfb :5 -screen 0 1024x768x24
I: Starting autopilot
Loading tests from: /data/adttmp/adt-virt-lxc.shared.y2jes512/downtmp/build.40R/shotwell-0.22.0+git20160108.r1.f2fb1f7/debian/tests
Tests running...
Xlib.xauth: warning, no xauthority details available
Autopilot GTK interface loaded. Wire protocol version is 1.4.
======================================================================
FAIL: autopilot_tests.test_gphoto_import.T.test_import
----------------------------------------------------------------------
Binary content:
FailedTestScreenshot (image/png)
process-return-code (/usr/bin/umockdev-run): {{{0}}}
process-stderr (/usr/bin/umockdev-run): {{{
ERROR: uevent_sender_send: No such device /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5.2/1-1.5.2.3
ERROR: uevent_sender_send: No such device /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5.2
ERROR: uevent_sender_send: No such device /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5
ERROR: uevent_sender_send: No such device /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1
ERROR: uevent_sender_send: No such device /sys/devices/pci0000:00/0000:00:1a.0/usb1
ERROR: uevent_sender_send: No such device /sys/devices/pci0000:00/0000:00:1a.0
}}}
process-stdout (/usr/bin/umockdev-run): {{{Autopilot GTK interface loaded. Wire protocol version is 1.4.}}}
test-log: {{{
16:09:33.643 ERROR content:48 - Could not add content object 'None' due to IO Error: [Errno 13] Permission denied: '/var/log/syslog'
16:09:33.643 WARNING testcase:116 - No tracing available - install the python-autopilot-trace package!
16:09:33.666 WARNING _fixtures:80 - Failed to set OSK gsetting: schema com.canonical.keyboard.maliit is not installed.
16:09:33.667 WARNING testcase:547 - Failed to create Touch device for bug lp:1297595 workaround: No module named 'evdev'
16:09:33.701 INFO _launcher:392 - Attempting to launch application 'umockdev-run' with arguments '-d /data/adttmp/adt-virt-lxc.shared.y2jes512/downtmp/build.40R/shotwell-0.22.0+git20160108.r1.f2fb1f7/debian/tests/autopilot_tests/powershot.umockdev -i dev/bus/usb/001/011=/data/adttmp/adt-virt-lxc.shared.y2jes512/downtmp/build.40R/shotwell-0.22.0+git20160108.r1.f2fb1f7/debian/tests/autopilot_tests/powershot-import.ioctl -- shotwell' as a normal process
16:09:33.702 INFO _launcher:450 - Launching process: ['/usr/bin/umockdev-run', '-d', '/data/adttmp/adt-virt-lxc.shared.y2jes512/downtmp/build.40R/shotwell-0.22.0+git20160108.r1.f2fb1f7/debian/tests/autopilot_tests/powershot.umockdev', '-i', 'dev/bus/usb/001/011=/data/adttmp/adt-virt-lxc.shared.y2jes512/downtmp/build.40R/shotwell-0.22.0+git20160108.r1.f2fb1f7/debian/tests/autopilot_tests/powershot-import.ioctl', '--', 'shotwell']
16:09:39.394 INFO _launcher:563 - waiting for process to exit.
16:09:39.394 INFO _launcher:586 - Killing process 3978
}}}
Traceback (most recent call last):
File "/data/adttmp/adt-virt-lxc.shared.y2jes512/downtmp/build.40R/shotwell-0.22.0+git20160108.r1.f2fb1f7/debian/tests/autopilot_tests/test_gphoto_import.py", line 74, in test_import
self.assertIn('2 photos successfully imported', md.text)
File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 356, in assertIn
self.assertThat(haystack, Contains(needle), message)
File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 435, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: '2 photos successfully imported' not in '2 files failed to import due to a camera error:\nIMG_0001.JPG\nIMG_0002.JPG\n'
Ran 1 test in 5.769s
FAILED (failures=1)
I: autopilot tests done