Testcase: test_photos_view.TestPhotosView.test_open_photo

Build #:8:20131029.1:20131029
Arch:mako (Nexus 4)
Release:trusty
Variant:touch
Artifacts
Console Log

Test case data

testcase
test_photos_view.TestPhotosView.test_open_photo
testsuite
/tmp/tmpRtiaMe/testsuites/gallery-app-autopilot
returncode
1
command
autopilot-run gallery_app.tests.test_photos_view.TestPhotosView.test_open_photo
stdout
ADB_RC=0
Loading tests from: /usr/lib/python2.7/dist-packages

15:43:14.869 INFO autopilot:141 - Autopilot Source Version: 1.3.1
Autopilot Package Version: 1.3.1+13.10.20131003.1-0ubuntu1
15:43:15.230 INFO globals:49 - ************************************************************
15:43:15.233 INFO globals:50 - Starting test gallery_app.tests.test_photos_view.TestPhotosView.test_open_photo
15:43:15.235 WARNING testcase:118 - No tracing available - install the python-autopilot-trace package!
15:43:15.252 WARNING testcase:155 - Process manager backend unavailable, application snapshot support disabled.
15:43:15.302 INFO __init__:156 - Launching process: ['/usr/bin/gallery-app', '-testability',
'--desktop_file_hint=/usr/share/applications/gallery-app.desktop', '/tmp/gallery-ap_sd']
15:43:17.209 DEBUG dbus:415 - Selecting objects of type QQuickView with attributes: {}
15:43:17.261 DEBUG dbus:415 - Selecting objects of type OrganicMediaList with attributes: {}
15:43:18.283 DEBUG dbus:415 - Selecting objects of type MainScreen with attributes: {}
15:43:18.355 DEBUG dbus:415 - Selecting objects of type Tabs with attributes: {}
15:43:18.374 DEBUG dbus:415 - Selecting objects of type Tab with attributes: {}
15:43:18.478 DEBUG emulators:131 - Switch to tab with index 2.
15:43:18.479 DEBUG dbus:415 - Selecting objects of type Tabs with attributes: {}
15:43:18.501 DEBUG dbus:415 - Selecting objects of type Tab with attributes: {}
15:43:18.548 DEBUG dbus:415 - Selecting objects of type Tab with attributes: {}
15:43:18.640 DEBUG emulators:140 - Current tab index: 1.
15:43:18.641 DEBUG emulators:118 - Switch to next tab.
15:43:18.642 DEBUG dbus:415 - Selecting objects of type Header with attributes: {'objectName': 'MainView_Header'}
15:43:18.795 DEBUG dbus:415 - Selecting objects of type TabBar with attributes: {}
15:43:18.821 DEBUG emulators:257 - Click the tab bar to enable selection mode.
15:43:18.838 DEBUG _common:35 - Moving to object's globalRect coordinates.
15:43:18.839 DEBUG _uinput:331 - Tapping at: 384,125
15:43:18.974 DEBUG emulators:263 - Click the next tab bar button.
15:43:18.975 DEBUG dbus:415 - Selecting objects of type QQuickPathView with attributes: {}
15:43:19.022 DEBUG dbus:415 - Selecting objects of type AbstractButton with attributes: {}
15:43:19.122 DEBUG dbus:415 - Selecting objects of type AbstractButton with attributes: {}
15:43:19.366 DEBUG _common:35 - Moving to object's globalRect coordinates.
15:43:19.367 DEBUG _uinput:331 - Tapping at: 442,125
15:43:19.471 DEBUG dbus:415 - Selecting objects of type TabBarStyle with attributes: {}
15:43:20.733 DEBUG dbus:415 - Selecting objects of type Tabs with attributes: {}
15:43:20.769 DEBUG dbus:415 - Selecting objects of type Tab with attributes: {}
15:43:21.890 DEBUG dbus:415 - Selecting objects of type QQuickItem with attributes: {'objectName': 'allPotosGridPhoto'}
15:43:22.994 ERROR proxies:410 - Introspect error on :1.113:/com/canonical/Autopilot/Introspection: dbus.exceptions.DBusException:
org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)
15:43:22.995 DEBUG proxies:413 - Executing introspect queue due to error
15:43:23.008 INFO testcase:552 - waiting for process to exit.
15:43:23.009 INFO testcase:554 - Killing process 7122
15:43:23.283 ERROR testresult:35 - ERROR: gallery_app.tests.test_photos_view.TestPhotosView.test_open_photo
15:43:23.284 ERROR testresult:35 - traceback: {{{
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/gallery_app/tests/test_photos_view.py", line 42, in test_open_photo
self.click_first_photo()
File "/usr/lib/python2.7/dist-packages/gallery_app/tests/test_photos_view.py", line 39, in click_first_photo
self.click_item(photo)
File "/usr/lib/python2.7/dist-packages/gallery_app/tests/__init__.py", line 140, in click_item
self.pointing_device.move_to_object(item)
File "/usr/lib/python2.7/dist-packages/autopilot/input/__init__.py", line 630, in move_to_object
x, y = get_center_point(object_proxy)
File "/usr/lib/python2.7/dist-packages/autopilot/input/_common.py", line 34, in get_center_point
x, y, w, h = object_proxy.globalRect
File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 493, in __getattr__
self.refresh_state()
File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 447, in refresh_state
_, new_state = self.get_new_state()
File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 535, in get_new_state
return self.get_state_by_path(self.get_class_query_string())[0]
File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 515, in get_state_by_path
data = self._backend.introspection_iface.GetState(piece)
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in __call__
return self._proxy_method(*args, **keywords)
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
**keywords)
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.113 was not provided by any .service files
}}}
15:43:23.287 ERROR testresult:35 - process-return-code: {{{
-6}}}
15:43:23.288 ERROR testresult:35 - process-stderr: {{{
/usr/bin/gallery-app: invalid option -- 't'
/usr/bin/gallery-app: invalid option -- 'e'
/usr/bin/gallery-app: invalid option -- 's'
/usr/bin/gallery-app: invalid option -- 't'
/usr/bin/gallery-app: invalid option -- 'a'
/usr/bin/gallery-app: invalid option -- 'b'
/usr/bin/gallery-app: invalid option -- 'i'
/usr/bin/gallery-app: invalid option -- 'l'
/usr/bin/gallery-app: invalid option -- 'i'
/usr/bin/gallery-app: invalid option -- 't'
/usr/bin/gallery-app: invalid option -- 'y'
loaded the dummy plugin
loaded the Linux plugin
Registered the AalSensorPlugin types

Loading testability driver.
virtual void com::ubuntu::content::Hub::register_import_export_handler(com::ubuntu::content::ImportExportHandler*)
APP_ID isn't set, the handler can not be registered
callbacks 0x40210d8d 0x40210d39
creating surface at (0, 58) with size (768, 1222) with title 'Window 1'This plugin does not support propagateSizeHints()
QOpenGLShader::link: "--From Fragment Shader:
--From Vertex Shader:
Link was successful.
"
QOpenGLShader::link: "--From Fragment Shader:
--From Vertex Shader:
Link was successful.
"
Opening ("/tmp/gallery-ap_sd") ...
Opened ("/tmp/gallery-ap_sd") 2 media files loaded in 120 ms - 60 ms per media
unity::action::ActionManager::ActionManager(QObject*):
Could not determine application identifier. HUD will not work properly.
Provide your application identifier in $APP_ID environment variable.
QOpenGLShader::link: "--From Fragment Shader:
--From Vertex Shader:
Link was successful.
"
QOpenGLShader::link: "--From Fragment Shader:
--From Vertex Shader:
Link was successful.
"
QOpenGLShader::link: "--From Fragment Shader:
--From Vertex Shader:
Link was successful.
"
QOpenGLShader::link: "--From Fragment Shader:
--From Vertex Shader:
Link was successful.
"
QProcess: Destroyed while process ("echo") is still running.
QProcess: Destroyed while process ("echo") is still running.
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:257: TypeError: Cannot call method 'hasOwnProperty' of null
Detectable autorepeat not supported.
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::runtime_error>
>'
what(): Failed to send message to server: Bad file descriptor
}}}
15:43:23.292 ERROR testresult:35 - process-stdout: {{{
__pthread_gettid -2
}}}
ADB_RC=1
command_type
testcase_test