Testcase: test_events_view.TestEventsView.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_events_view.TestEventsView.test_delete_a_photo
testsuite
/tmp/tmpRtiaMe/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

15:40:19.696 INFO autopilot:141 - Autopilot Source Version: 1.3.1
Autopilot Package Version: 1.3.1+13.10.20131003.1-0ubuntu1
15:40:20.091 INFO globals:49 - ************************************************************
15:40:20.096 INFO globals:50 - Starting test gallery_app.tests.test_events_view.TestEventsView.test_delete_a_photo
15:40:20.100 WARNING testcase:118 - No tracing available - install the python-autopilot-trace package!
15:40:20.121 WARNING testcase:155 - Process manager backend unavailable, application snapshot support disabled.
15:40:20.160 INFO __init__:156 - Launching process: ['/usr/bin/gallery-app', '-testability',
'--desktop_file_hint=/usr/share/applications/gallery-app.desktop', '/tmp/gallery-ap_sd']
15:40:22.112 DEBUG dbus:415 - Selecting objects of type QQuickView with attributes: {}
15:40:22.166 DEBUG dbus:415 - Selecting objects of type OrganicMediaList with attributes: {}
15:40:23.196 DEBUG dbus:415 - Selecting objects of type QQuickItem with attributes: {'objectName': 'eventPhoto'}
15:40:23.390 DEBUG dbus:415 - Selecting objects of type MainScreen with attributes: {}
15:40:23.459 DEBUG dbus:415 - Selecting objects of type Toolbar with attributes: {}
15:40:23.630 DEBUG _uinput:365 - Dragging from 384,1279 to 384,1218
15:40:24.993 DEBUG dbus:415 - Selecting objects of type ActionItem with attributes: {'objectName': 'selectButton'}
15:40:25.052 DEBUG _common:35 - Moving to object's globalRect coordinates.
15:40:25.053 DEBUG _uinput:331 - Tapping at: 471,1208
15:40:25.165 DEBUG dbus:415 - Selecting objects of type OrganicMediaList with attributes: {'objectName': 'organicEventItem0'}
15:40:25.415 DEBUG dbus:415 - Selecting objects of type OrganicItemInteraction with attributes: {}
15:40:25.472 DEBUG _common:35 - Moving to object's globalRect coordinates.
15:40:25.574 DEBUG _uinput:331 - Tapping at: 207,688
15:40:25.684 DEBUG dbus:415 - Selecting objects of type MainScreen with attributes: {}
15:40:25.710 DEBUG dbus:415 - Selecting objects of type Toolbar with attributes: {}
15:40:25.767 DEBUG dbus:415 - Selecting objects of type ActionItem with attributes: {'objectName': 'deleteButton'}
15:40:25.852 DEBUG _common:35 - Moving to object's globalRect coordinates.
15:40:25.854 DEBUG _uinput:331 - Tapping at: 579,1208
15:40:25.958 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
15:40:26.291 DEBUG dbus:415 - Selecting objects of type Button with attributes: {'visible': True, 'objectName': 'deleteDialogNo'}
15:40:26.526 DEBUG _common:35 - Moving to object's globalRect coordinates.
15:40:26.627 DEBUG _uinput:331 - Tapping at: 384,812
15:40:26.730 DEBUG dbus:415 - Selecting objects of type QQuickItem with attributes: {'objectName': 'eventPhoto'}
15:40:26.976 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
15:40:27.324 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
15:40:27.787 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
15:40:28.234 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
15:40:28.632 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
15:40:29.031 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
15:40:29.385 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
15:40:29.755 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
15:40:30.100 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
15:40:30.446 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
15:40:30.798 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
15:40:30.945 DEBUG dbus:415 - Selecting objects of type MainScreen with attributes: {}
15:40:30.966 DEBUG dbus:415 - Selecting objects of type Toolbar with attributes: {}
15:40:31.021 DEBUG dbus:415 - Selecting objects of type ActionItem with attributes: {'objectName': 'deleteButton'}
15:40:31.084 DEBUG _common:35 - Moving to object's globalRect coordinates.
15:40:31.084 DEBUG _uinput:331 - Tapping at: 579,1208
15:40:31.186 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
15:40:31.534 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
15:40:31.891 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
15:40:32.244 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
15:40:32.635 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
15:40:32.998 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
15:40:33.352 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
15:40:33.701 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
15:40:34.050 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
15:40:34.400 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
15:40:34.753 DEBUG dbus:415 - Selecting objects of type DeleteDialog with attributes: {'objectName': 'deleteDialog'}
15:40:34.907 INFO testcase:552 - waiting for process to exit.
15:40:34.908 INFO testcase:554 - Killing process 5906
15:40:35.242 ERROR testresult:35 - ERROR: gallery_app.tests.test_events_view.TestEventsView.test_delete_a_photo
15:40:35.243 ERROR testresult:35 - traceback: {{{
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/gallery_app/tests/test_events_view.py", line 89, in test_delete_a_photo
self.assert_delete_dialog_visible()
File "/usr/lib/python2.7/dist-packages/gallery_app/tests/test_events_view.py", line 47, in assert_delete_dialog_visible
self.assertThat(delete_dialog.opacity, Eventually(Equals(1)))
AttributeError: 'NoneType' object has no attribute 'opacity'
}}}
15:40:35.245 ERROR testresult:35 - process-return-code: {{{
-15}}}
15:40:35.246 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 0x40121d8d 0x40121d39
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 99 ms - 49.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.
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.
}}}
15:40:35.250 ERROR testresult:35 - process-stdout: {{{
}}}
ADB_RC=1
command_type
testcase_test