Testcase: test_photos_view.TestPhotosView.test_delete_a_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_delete_a_photo
testsuite
/tmp/tmpRtiaMe/testsuites/gallery-app-autopilot
returncode
1
command
autopilot-run gallery_app.tests.test_photos_view.TestPhotosView.test_delete_a_photo
stdout
ADB_RC=0
Loading tests from: /usr/lib/python2.7/dist-packages

15:42:55.279 INFO autopilot:141 - Autopilot Source Version: 1.3.1
Autopilot Package Version: 1.3.1+13.10.20131003.1-0ubuntu1
15:42:55.668 INFO globals:49 - ************************************************************
15:42:55.673 INFO globals:50 - Starting test gallery_app.tests.test_photos_view.TestPhotosView.test_delete_a_photo
15:42:55.678 WARNING testcase:118 - No tracing available - install the python-autopilot-trace package!
15:42:55.697 WARNING testcase:155 - Process manager backend unavailable, application snapshot support disabled.
15:42:55.751 INFO __init__:156 - Launching process: ['/usr/bin/gallery-app', '-testability',
'--desktop_file_hint=/usr/share/applications/gallery-app.desktop', '/tmp/gallery-ap_sd']
15:42:57.687 DEBUG dbus:415 - Selecting objects of type QQuickView with attributes: {}
15:42:57.742 DEBUG dbus:415 - Selecting objects of type OrganicMediaList with attributes: {}
15:42:58.768 DEBUG dbus:415 - Selecting objects of type MainScreen with attributes: {}
15:42:58.829 DEBUG dbus:415 - Selecting objects of type Tabs with attributes: {}
15:42:58.850 DEBUG dbus:415 - Selecting objects of type Tab with attributes: {}
15:42:58.943 DEBUG emulators:131 - Switch to tab with index 2.
15:42:58.945 DEBUG dbus:415 - Selecting objects of type Tabs with attributes: {}
15:42:58.965 DEBUG dbus:415 - Selecting objects of type Tab with attributes: {}
15:42:59.022 DEBUG dbus:415 - Selecting objects of type Tab with attributes: {}
15:42:59.115 DEBUG emulators:140 - Current tab index: 1.
15:42:59.116 DEBUG emulators:118 - Switch to next tab.
15:42:59.117 DEBUG dbus:415 - Selecting objects of type Header with attributes: {'objectName': 'MainView_Header'}
15:42:59.271 DEBUG dbus:415 - Selecting objects of type TabBar with attributes: {}
15:42:59.295 DEBUG emulators:257 - Click the tab bar to enable selection mode.
15:42:59.317 DEBUG _common:35 - Moving to object's globalRect coordinates.
15:42:59.319 DEBUG _uinput:331 - Tapping at: 384,125
15:42:59.454 DEBUG emulators:263 - Click the next tab bar button.
15:42:59.456 DEBUG dbus:415 - Selecting objects of type QQuickPathView with attributes: {}
15:42:59.500 DEBUG dbus:415 - Selecting objects of type AbstractButton with attributes: {}
15:42:59.566 DEBUG dbus:415 - Selecting objects of type AbstractButton with attributes: {}
15:42:59.833 DEBUG _common:35 - Moving to object's globalRect coordinates.
15:42:59.836 DEBUG _uinput:331 - Tapping at: 442,125
15:42:59.942 DEBUG dbus:415 - Selecting objects of type TabBarStyle with attributes: {}
15:43:01.271 DEBUG dbus:415 - Selecting objects of type Tabs with attributes: {}
15:43:01.308 DEBUG dbus:415 - Selecting objects of type Tab with attributes: {}
15:43:02.436 DEBUG dbus:415 - Selecting objects of type QQuickItem with attributes: {'objectName': 'allPotosGridPhoto'}
15:43:02.658 DEBUG dbus:415 - Selecting objects of type MainScreen with attributes: {}
15:43:02.692 DEBUG dbus:415 - Selecting objects of type Toolbar with attributes: {}
15:43:02.885 DEBUG _uinput:365 - Dragging from 384,1279 to 384,1218
15:43:04.242 DEBUG dbus:415 - Selecting objects of type ActionItem with attributes: {'objectName': 'selectButton'}
15:43:04.300 DEBUG _common:35 - Moving to object's globalRect coordinates.
15:43:04.301 DEBUG _uinput:331 - Tapping at: 471,1208
15:43:04.413 DEBUG dbus:415 - Selecting objects of type QQuickItem with attributes: {'objectName': 'allPotosGridPhoto'}
15:43:04.733 DEBUG _common:35 - Moving to object's globalRect coordinates.
15:43:04.835 DEBUG _uinput:331 - Tapping at: 140,369
15:43:04.943 DEBUG dbus:415 - Selecting objects of type MainScreen with attributes: {}
15:43:04.986 DEBUG dbus:415 - Selecting objects of type Toolbar with attributes: {}
15:43:05.075 DEBUG dbus:415 - Selecting objects of type ActionItem with attributes: {'objectName': 'deleteButton'}
15:43:05.143 DEBUG _common:35 - Moving to object's globalRect coordinates.
15:43:05.144 DEBUG _uinput:331 - Tapping at: 579,1208
15:43:05.248 DEBUG dbus:415 - Selecting objects of type Button with attributes: {'visible': True, 'objectName': 'deleteDialogNo'}
15:43:05.513 DEBUG _common:35 - Moving to object's globalRect coordinates.
15:43:05.614 DEBUG _uinput:331 - Tapping at: 384,812
15:43:05.723 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
15:43:06.960 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
15:43:07.379 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
15:43:07.806 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
15:43:08.338 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
15:43:08.774 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
15:43:09.176 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
15:43:09.570 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
15:43:09.963 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
15:43:10.356 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
15:43:10.750 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
15:43:11.160 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
15:43:11.354 DEBUG dbus:415 - Selecting objects of type QQuickItem with attributes: {'objectName': 'allPotosGridPhoto'}
15:43:11.527 DEBUG dbus:415 - Selecting objects of type MainScreen with attributes: {}
15:43:11.551 DEBUG dbus:415 - Selecting objects of type Toolbar with attributes: {}
15:43:11.601 DEBUG dbus:415 - Selecting objects of type ActionItem with attributes: {'objectName': 'deleteButton'}
15:43:11.666 DEBUG _common:35 - Moving to object's globalRect coordinates.
15:43:11.667 DEBUG _uinput:331 - Tapping at: 579,1208
15:43:11.774 DEBUG dbus:415 - Selecting objects of type Button with attributes: {'visible': True, 'objectName': 'deleteDialogYes'}
15:43:11.957 INFO testcase:552 - waiting for process to exit.
15:43:11.958 INFO testcase:554 - Killing process 7001
15:43:12.290 ERROR testresult:35 - ERROR: gallery_app.tests.test_photos_view.TestPhotosView.test_delete_a_photo
15:43:12.291 ERROR testresult:35 - traceback: {{{
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/gallery_app/tests/test_photos_view.py", line 86, in test_delete_a_photo
self.click_item(delete_item)
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 65, in get_center_point
object_proxy)
ValueError: Object 'None' does not have any recognised position attributes
}}}
15:43:12.293 ERROR testresult:35 - process-return-code: {{{
-15}}}
15:43:12.294 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 0x411e3d8d 0x411e3d39
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 97 ms - 48.5 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.
Detectable autorepeat not supported.
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
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.
}}}
15:43:12.299 ERROR testresult:35 - process-stdout: {{{
}}}
ADB_RC=1
command_type
testcase_test