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

01:47:43.662 INFO autopilot:141 - Autopilot Source Version: 1.3.1
Autopilot Package Version: 1.3.1+13.10.20131003.1-0ubuntu2
01:47:44.096 INFO globals:49 - ************************************************************
01:47:44.100 INFO globals:50 - Starting test gallery_app.tests.test_events_view.TestEventsView.test_delete_a_photo
01:47:44.102 WARNING testcase:118 - No tracing available - install the python-autopilot-trace package!
01:47:44.112 WARNING testcase:155 - Process manager backend unavailable, application snapshot support disabled.
01:47:44.168 INFO __init__:156 - Launching process: ['/usr/bin/gallery-app', '-testability',
'--desktop_file_hint=/usr/share/applications/gallery-app.desktop', '/tmp/gallery-ap_sd']
01:47:46.126 DEBUG dbus:415 - Selecting objects of type QQuickView with attributes: {}
01:47:46.176 DEBUG dbus:415 - Selecting objects of type OrganicMediaList with attributes: {}
01:47:47.206 DEBUG dbus:415 - Selecting objects of type QQuickItem with attributes: {'objectName': 'eventPhoto'}
01:47:47.403 DEBUG dbus:415 - Selecting objects of type MainScreen with attributes: {}
01:47:47.446 DEBUG dbus:415 - Selecting objects of type Toolbar with attributes: {}
01:47:47.503 DEBUG dbus:415 - Selecting objects of type ActionItem with attributes: {'objectName': 'selectButton'}
01:47:47.612 DEBUG _common:35 - Moving to object's globalRect coordinates.
01:47:47.614 DEBUG _uinput:331 - Tapping at: 471,1208
01:47:47.717 DEBUG dbus:415 - Selecting objects of type OrganicMediaList with attributes: {'objectName': 'organicEventItem0'}
01:47:47.943 DEBUG dbus:415 - Selecting objects of type OrganicItemInteraction with attributes: {}
01:47:48.034 DEBUG _common:35 - Moving to object's globalRect coordinates.
01:47:48.135 DEBUG _uinput:331 - Tapping at: 207,688
01:47:48.241 DEBUG dbus:415 - Selecting objects of type MainScreen with attributes: {}
01:47:48.272 DEBUG dbus:415 - Selecting objects of type Toolbar with attributes: {}
01:47:48.356 DEBUG dbus:415 - Selecting objects of type ActionItem with attributes: {'objectName': 'deleteButton'}
01:47:48.475 DEBUG _common:35 - Moving to object's globalRect coordinates.
01:47:48.476 DEBUG _uinput:331 - Tapping at: 579,1208
01:47:48.586 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
01:47:48.871 DEBUG dbus:415 - Selecting objects of type Button with attributes: {'visible': True, 'objectName': 'deleteDialogNo'}
01:47:49.089 DEBUG _common:35 - Moving to object's globalRect coordinates.
01:47:49.190 DEBUG _uinput:331 - Tapping at: 384,812
01:47:49.292 DEBUG dbus:415 - Selecting objects of type QQuickItem with attributes: {'objectName': 'eventPhoto'}
01:47:49.522 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
01:47:49.872 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
01:47:50.268 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
01:47:50.683 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
01:47:51.091 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
01:47:51.485 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
01:47:51.905 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
01:47:52.318 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
01:47:52.723 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
01:47:53.134 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
01:47:53.545 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
01:47:53.711 DEBUG dbus:415 - Selecting objects of type MainScreen with attributes: {}
01:47:53.752 DEBUG dbus:415 - Selecting objects of type Toolbar with attributes: {}
01:47:53.928 DEBUG dbus:415 - Selecting objects of type Toolbar with attributes: {}
01:47:54.015 DEBUG _uinput:365 - Dragging from 384,1279 to 384,1136
01:48:04.726 INFO testcase:552 - waiting for process to exit.
01:48:04.728 INFO testcase:554 - Killing process 6387
01:48:04.803 ERROR testresult:35 - FAIL: gallery_app.tests.test_events_view.TestEventsView.test_delete_a_photo
01:48:04.809 ERROR testresult:35 - traceback: {{{
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/gallery_app/tests/test_events_view.py", line 88, 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:48:04.815 ERROR testresult:35 - process-return-code: {{{
-15}}}
01:48:04.827 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 0x4017dd8d 0x4017dd39
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 103 ms - 51.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.
"
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:48:04.831 ERROR testresult:35 - process-stdout: {{{
}}}
ADB_RC=1
command_type
testcase_test