Testcase: test_photo_delete_works

Build #:304:20150915:20150910
Arch:mako (Nexus 4)
Release:wily
Variant:touch
Artifacts
Console Log

Failure explanation

This test failure has not yet been categorized.
Log in to edit.

Test case data

testcase
test_photo_delete_works
testsuite
gallery_app.tests.test_photo_viewer.TestPhotoViewer
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)

/var/log/syslog: {{{
Sep 15 13:58:17 ubuntu-phablet powerd[887]: handle_requestSysState from :1.51 (active) - ACTIVE (1)
Sep 15 13:58:17 ubuntu-phablet powerd[887]: name_watch_add: looking for :1.51
Sep 15 13:58:17 ubuntu-phablet powerd[887]: watching :1.51 to see when it disappears on dbus
Sep 15 13:58:17 ubuntu-phablet powerd[887]: libsuspend: acquire_wake_lock: powerd_power_request
Sep 15 13:58:17 ubuntu-phablet powerd[887]: handle_requestSysState - SUCCESS
Sep 15 13:58:17 ubuntu-phablet powerd[887]: Enqueue state change to ACTIVE
Sep 15 13:58:17 ubuntu-phablet powerd[887]: queue empty && state == current, discarding
Sep 15 13:58:17 ubuntu-phablet powerd[887]: libsuspend: release_wake_lock: powerd_power_request
Sep 15 13:58:18 ubuntu-phablet dbus[783]: [system] Activating service name='com.canonical.PropertyService' (using servicehelper)
Sep 15 13:58:18 ubuntu-phablet dbus[783]: [system] Successfully activated service 'com.canonical.PropertyService'
Sep 15 13:58:18 ubuntu-phablet powerd[887]: handle_clearSysState from :1.51, cookie: fe3a9210-719a-422c-baa7-143d45f8b2fc
Sep 15 13:58:18 ubuntu-phablet powerd[887]: clear_sys_request: active - :1.51
Sep 15 13:58:18 ubuntu-phablet powerd[887]: name_watch_remove: looking for :1.51
Sep 15 13:58:18 ubuntu-phablet powerd[887]: name_watch: ref_count for :1.51 is now 0
Sep 15 13:58:18 ubuntu-phablet powerd[887]: no longer watching :1.51, there are no more requests
Sep 15 13:58:18 ubuntu-phablet powerd[887]: libsuspend: acquire_wake_lock: powerd_power_request
Sep 15 13:58:18 ubuntu-phablet powerd[887]: Enqueue state change to ACTIVE
Sep 15 13:58:18 ubuntu-phablet powerd[887]: queue empty && state == current, discarding
Sep 15 13:58:18 ubuntu-phablet powerd[887]: libsuspend: release_wake_lock: powerd_power_request
}}}

test-log: {{{
13:58:16.278 WARNING testcase:181 - Process manager backend unavailable, application snapshot support disabled.
13:58:16.353 INFO _launcher:296 - Attempting to launch click application '(default)' from click package  'com.ubuntu.gallery' and URIs ''
13:58:17.464 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.gallery_gallery_2.9.1.1232' with URIs '' via upstart-app-launch
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/gallery_app/tests/test_photo_viewer.py", line 62, in setUp
    super(TestPhotoViewer, self).setUp()
  File "/home/phablet/autopilot/gallery_app/tests/test_photo_viewer.py", line 42, in setUp
    super(TestMediaViewerBase, self).setUp()
  File "/home/phablet/autopilot/gallery_app/tests/__init__.py", line 157, in setUp
    self.launch_gallery_app(env_type)
  File "/home/phablet/autopilot/gallery_app/tests/__init__.py", line 177, in launch_gallery_app
    self.launch_test_click()
  File "/home/phablet/autopilot/gallery_app/tests/__init__.py", line 221, in launch_test_click
    emulator_base=toolkit_emulators.UbuntuUIToolkitEmulatorBase)
  File "/usr/lib/python3/dist-packages/autopilot/testcase.py", line 327, in launch_click_package
    return launcher.launch(package_id, app_name, app_uris)
  File "/usr/lib/python3/dist-packages/autopilot/application/_launcher.py", line 299, in launch
    return super().launch(app_id, app_uris)
  File "/usr/lib/python3/dist-packages/autopilot/application/_launcher.py", line 140, in launch
    state.get('message', '')
  File "/usr/lib/python3/dist-packages/autopilot/application/_launcher.py", line 236, in _check_status_error
    raise RuntimeError(': '.join(message_parts))
RuntimeError: Application Launch Failed: Application crashed.

command_type
testcase_test