Testcase: test_photos_view.TestPhotosView.test_delete_a_photo

Build #:13:20131105.1:20131031.1
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/tmprTuGXY/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

01:50:29.525 INFO autopilot:141 - Autopilot Source Version: 1.3.1
Autopilot Package Version: 1.3.1+13.10.20131003.1-0ubuntu2
01:50:29.970 INFO globals:49 - ************************************************************
01:50:29.975 INFO globals:50 - Starting test gallery_app.tests.test_photos_view.TestPhotosView.test_delete_a_photo
01:50:29.979 WARNING testcase:118 - No tracing available - install the python-autopilot-trace package!
01:50:29.998 WARNING testcase:155 - Process manager backend unavailable, application snapshot support disabled.
01:50:30.046 INFO __init__:156 - Launching process: ['/usr/bin/gallery-app', '-testability',
'--desktop_file_hint=/usr/share/applications/gallery-app.desktop', '/tmp/gallery-ap_sd']
01:50:32.063 DEBUG dbus:415 - Selecting objects of type QQuickView with attributes: {}
01:50:32.119 DEBUG dbus:415 - Selecting objects of type OrganicMediaList with attributes: {}
01:50:33.153 DEBUG dbus:415 - Selecting objects of type MainScreen with attributes: {}
01:50:33.221 DEBUG dbus:415 - Selecting objects of type Tabs with attributes: {}
01:50:33.241 DEBUG dbus:415 - Selecting objects of type Tab with attributes: {}
01:50:33.336 DEBUG emulators:131 - Switch to tab with index 2.
01:50:33.337 DEBUG dbus:415 - Selecting objects of type Tabs with attributes: {}
01:50:33.366 DEBUG dbus:415 - Selecting objects of type Tab with attributes: {}
01:50:33.414 DEBUG dbus:415 - Selecting objects of type Tab with attributes: {}
01:50:33.507 DEBUG emulators:140 - Current tab index: 1.
01:50:33.508 DEBUG emulators:118 - Switch to next tab.
01:50:33.509 DEBUG dbus:415 - Selecting objects of type Header with attributes: {'objectName': 'MainView_Header'}
01:50:33.664 DEBUG dbus:415 - Selecting objects of type TabBar with attributes: {}
01:50:33.706 DEBUG emulators:269 - Already in selection mode.
01:50:33.708 DEBUG emulators:264 - Click the next tab bar button.
01:50:33.709 DEBUG dbus:415 - Selecting objects of type QQuickPathView with attributes: {}
01:50:33.749 DEBUG dbus:415 - Selecting objects of type AbstractButton with attributes: {}
01:50:33.837 DEBUG dbus:415 - Selecting objects of type AbstractButton with attributes: {}
01:50:34.014 DEBUG _common:35 - Moving to object's globalRect coordinates.
01:50:34.015 DEBUG _uinput:331 - Tapping at: 442,125
01:50:34.123 DEBUG dbus:415 - Selecting objects of type TabBarStyle with attributes: {}
01:50:35.463 DEBUG dbus:415 - Selecting objects of type Tabs with attributes: {}
01:50:35.500 DEBUG dbus:415 - Selecting objects of type Tab with attributes: {}
01:50:36.623 DEBUG dbus:415 - Selecting objects of type MainScreen with attributes: {}
01:50:36.690 DEBUG dbus:415 - Selecting objects of type Toolbar with attributes: {}
01:50:36.800 DEBUG dbus:415 - Selecting objects of type Toolbar with attributes: {}
01:50:36.856 DEBUG _uinput:365 - Dragging from 384,1136 to 384,1279
01:50:38.243 DEBUG dbus:415 - Selecting objects of type QQuickItem with attributes: {'objectName': 'allPotosGridPhoto'}
01:50:38.438 DEBUG dbus:415 - Selecting objects of type MainScreen with attributes: {}
01:50:38.478 DEBUG dbus:415 - Selecting objects of type Toolbar with attributes: {}
01:50:38.674 DEBUG dbus:415 - Selecting objects of type Toolbar with attributes: {}
01:50:38.740 DEBUG _uinput:365 - Dragging from 384,1279 to 384,1136
01:50:40.102 DEBUG dbus:415 - Selecting objects of type ActionItem with attributes: {'objectName': 'selectButton'}
01:50:40.161 DEBUG _common:35 - Moving to object's globalRect coordinates.
01:50:40.162 DEBUG _uinput:331 - Tapping at: 471,1208
01:50:40.273 DEBUG dbus:415 - Selecting objects of type QQuickItem with attributes: {'objectName': 'allPotosGridPhoto'}
01:50:40.591 DEBUG _common:35 - Moving to object's globalRect coordinates.
01:50:40.693 DEBUG _uinput:331 - Tapping at: 140,369
01:50:40.801 DEBUG dbus:415 - Selecting objects of type MainScreen with attributes: {}
01:50:40.842 DEBUG dbus:415 - Selecting objects of type Toolbar with attributes: {}
01:50:40.979 DEBUG dbus:415 - Selecting objects of type ActionItem with attributes: {'objectName': 'deleteButton'}
01:50:41.066 DEBUG _common:35 - Moving to object's globalRect coordinates.
01:50:41.067 DEBUG _uinput:331 - Tapping at: 579,1208
01:50:41.171 DEBUG dbus:415 - Selecting objects of type Button with attributes: {'visible': True, 'objectName': 'deleteDialogNo'}
01:50:41.452 DEBUG _common:35 - Moving to object's globalRect coordinates.
01:50:41.553 DEBUG _uinput:331 - Tapping at: 384,812
01:50:41.655 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
01:50:42.928 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
01:50:43.353 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
01:50:43.783 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
01:50:44.244 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
01:50:44.693 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
01:50:45.143 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
01:50:45.591 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
01:50:46.050 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
01:50:46.472 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
01:50:46.952 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
01:50:47.393 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
01:50:47.642 DEBUG dbus:415 - Selecting objects of type QQuickItem with attributes: {'objectName': 'allPotosGridPhoto'}
01:50:47.825 DEBUG dbus:415 - Selecting objects of type MainScreen with attributes: {}
01:50:47.850 DEBUG dbus:415 - Selecting objects of type Toolbar with attributes: {}
01:50:48.033 DEBUG dbus:415 - Selecting objects of type Toolbar with attributes: {}
01:50:48.070 DEBUG _uinput:365 - Dragging from 384,1279 to 384,1136
01:50:58.774 INFO testcase:552 - waiting for process to exit.
01:50:58.775 INFO testcase:554 - Killing process 7698
01:50:58.864 ERROR testresult:35 - FAIL: gallery_app.tests.test_photos_view.TestPhotosView.test_delete_a_photo
01:50:58.866 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.main_view.open_toolbar().click_button("deleteButton")
File "/home/phablet/autopilot/ubuntuuitoolkit/emulators.py", line 76, in open_toolbar
toolbar.opened.wait_for(True)
File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 234, in wait_for
failure_msg))
AssertionError: After 10.0 seconds test on Toolbar.opened failed: True != dbus.Boolean(False, variant_level=1)
}}}
01:50:58.881 ERROR testresult:35 - process-return-code: {{{
-15}}}
01:50:58.883 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 0x40195d8d 0x40195d39
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 139 ms - 69.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.
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.
}}}
01:50:58.885 ERROR testresult:35 - process-stdout: {{{
}}}
ADB_RC=1
command_type
testcase_test