Testcase: test_photo_viewer.TestPhotoViewer.test_photo_delete_works

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

Test case data

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

15:42:36.872 INFO autopilot:141 - Autopilot Source Version: 1.3.1
Autopilot Package Version: 1.3.1+13.10.20131003.1-0ubuntu1
15:42:37.242 INFO globals:49 - ************************************************************
15:42:37.245 INFO globals:50 - Starting test gallery_app.tests.test_photo_viewer.TestPhotoViewer.test_photo_delete_works
15:42:37.247 WARNING testcase:118 - No tracing available - install the python-autopilot-trace package!
15:42:37.264 WARNING testcase:155 - Process manager backend unavailable, application snapshot support disabled.
15:42:37.307 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:39.265 DEBUG dbus:415 - Selecting objects of type QQuickView with attributes: {}
15:42:39.318 DEBUG dbus:415 - Selecting objects of type OrganicMediaList with attributes: {}
15:42:40.347 DEBUG dbus:415 - Selecting objects of type QQuickItem with attributes: {'objectName': 'eventPhoto'}
15:42:40.555 DEBUG dbus:415 - Selecting objects of type OrganicMediaList with attributes: {'objectName': 'organicEventItem0'}
15:42:40.747 DEBUG dbus:415 - Selecting objects of type OrganicItemInteraction with attributes: {}
15:42:40.849 DEBUG _common:35 - Moving to object's globalRect coordinates.
15:42:40.954 DEBUG _uinput:331 - Tapping at: 207,688
15:42:41.097 DEBUG dbus:415 - Selecting objects of type QQuickLoader with attributes: {'objectName': 'photoViewerLoader'}
15:42:41.973 DEBUG dbus:415 - Selecting objects of type MediaListView with attributes: {'objectName': 'mediaListView'}
15:42:42.302 DEBUG dbus:415 - Selecting objects of type MainScreen with attributes: {}
15:42:42.337 DEBUG dbus:415 - Selecting objects of type Toolbar with attributes: {}
15:42:42.475 DEBUG _uinput:365 - Dragging from 384,1279 to 384,1218
15:42:43.832 DEBUG dbus:415 - Selecting objects of type MainScreen with attributes: {}
15:42:43.857 DEBUG dbus:415 - Selecting objects of type Toolbar with attributes: {}
15:42:43.909 DEBUG dbus:415 - Selecting objects of type ActionItem with attributes: {'objectName': 'deleteButton'}
15:42:43.973 DEBUG _common:35 - Moving to object's globalRect coordinates.
15:42:43.974 DEBUG _uinput:331 - Tapping at: 579,1208
15:42:44.094 DEBUG dbus:415 - Selecting objects of type Dialog with attributes: {'objectName': 'deletePhotoDialog'}
15:42:44.427 DEBUG dbus:415 - Selecting objects of type Dialog with attributes: {'objectName': 'deletePhotoDialog'}
15:42:44.787 DEBUG dbus:415 - Selecting objects of type MediaListView with attributes: {'objectName': 'mediaListView'}
15:42:45.084 DEBUG dbus:415 - Selecting objects of type Button with attributes: {'visible': True, 'objectName': 'deletePhotoDialogNo'}
15:42:45.378 DEBUG _common:35 - Moving to object's globalRect coordinates.
15:42:45.480 DEBUG _uinput:331 - Tapping at: 384,812
15:42:45.587 DEBUG dbus:415 - Selecting objects of type Dialog with attributes: {'objectName': 'deletePhotoDialog'}
15:42:46.886 DEBUG dbus:415 - Selecting objects of type Dialog with attributes: {'objectName': 'deletePhotoDialog'}
15:42:47.370 DEBUG dbus:415 - Selecting objects of type Dialog with attributes: {'objectName': 'deletePhotoDialog'}
15:42:47.862 DEBUG dbus:415 - Selecting objects of type Dialog with attributes: {'objectName': 'deletePhotoDialog'}
15:42:48.426 DEBUG dbus:415 - Selecting objects of type Dialog with attributes: {'objectName': 'deletePhotoDialog'}
15:42:48.889 DEBUG dbus:415 - Selecting objects of type Dialog with attributes: {'objectName': 'deletePhotoDialog'}
15:42:49.364 DEBUG dbus:415 - Selecting objects of type Dialog with attributes: {'objectName': 'deletePhotoDialog'}
15:42:49.816 DEBUG dbus:415 - Selecting objects of type Dialog with attributes: {'objectName': 'deletePhotoDialog'}
15:42:50.275 DEBUG dbus:415 - Selecting objects of type Dialog with attributes: {'objectName': 'deletePhotoDialog'}
15:42:50.729 DEBUG dbus:415 - Selecting objects of type Dialog with attributes: {'objectName': 'deletePhotoDialog'}
15:42:51.179 DEBUG dbus:415 - Selecting objects of type Dialog with attributes: {'objectName': 'deletePhotoDialog'}
15:42:51.629 DEBUG dbus:415 - Selecting objects of type Dialog with attributes: {'objectName': 'deletePhotoDialog'}
15:42:51.883 DEBUG dbus:415 - Selecting objects of type MainScreen with attributes: {}
15:42:51.908 DEBUG dbus:415 - Selecting objects of type Toolbar with attributes: {}
15:42:51.959 DEBUG dbus:415 - Selecting objects of type ActionItem with attributes: {'objectName': 'deleteButton'}
15:42:52.026 DEBUG _common:35 - Moving to object's globalRect coordinates.
15:42:52.027 DEBUG _uinput:331 - Tapping at: 579,1208
15:42:52.134 DEBUG dbus:415 - Selecting objects of type Button with attributes: {'visible': True, 'objectName': 'deletePhotoDialogYes'}
15:42:52.380 INFO testcase:552 - waiting for process to exit.
15:42:52.381 INFO testcase:554 - Killing process 6869
15:42:52.734 ERROR testresult:35 - ERROR: gallery_app.tests.test_photo_viewer.TestPhotoViewer.test_photo_delete_works
15:42:52.735 ERROR testresult:35 - traceback: {{{
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/gallery_app/tests/test_photo_viewer.py", line 93, in test_photo_delete_works
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:42:52.736 ERROR testresult:35 - process-return-code: {{{
-15}}}
15:42:52.737 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 0x401cad8d 0x401cad39
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 80 ms - 40 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.
"
virtual void FriendsPlugin::registerTypes(const char*) Friends
virtual void OnlineAccounts::Plugin::registerTypes(const char*) Ubuntu.OnlineAccounts
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Extras/Share.qml:248:13: QML QQuickImage: Cannot open:
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Extras/assets/icon_location.png
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Extras/Share.qml:65:5: QML Item: Binding loop detected for property "height"
account-service-model.cpp 288 update
QOpenGLShader::link: "--From Fragment Shader:
--From Vertex Shader:
Link was successful.
"
QProcess: Destroyed while process ("echo") is still running.
}}}
15:42:52.742 ERROR testresult:35 - process-stdout: {{{
}}}
ADB_RC=1
command_type
testcase_test