Testcase: test_photos_view.TestPhotosView.test_select_button_cancel

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

15:43:25.816 INFO autopilot:141 - Autopilot Source Version: 1.3.1
Autopilot Package Version: 1.3.1+13.10.20131003.1-0ubuntu1
15:43:26.275 INFO globals:49 - ************************************************************
15:43:26.279 INFO globals:50 - Starting test gallery_app.tests.test_photos_view.TestPhotosView.test_select_button_cancel
15:43:26.282 WARNING testcase:118 - No tracing available - install the python-autopilot-trace package!
15:43:26.299 WARNING testcase:155 - Process manager backend unavailable, application snapshot support disabled.
15:43:26.351 INFO __init__:156 - Launching process: ['/usr/bin/gallery-app', '-testability',
'--desktop_file_hint=/usr/share/applications/gallery-app.desktop', '/tmp/gallery-ap_sd']
15:43:28.348 DEBUG dbus:415 - Selecting objects of type QQuickView with attributes: {}
15:43:28.401 DEBUG dbus:415 - Selecting objects of type OrganicMediaList with attributes: {}
15:43:29.431 DEBUG dbus:415 - Selecting objects of type MainScreen with attributes: {}
15:43:29.509 DEBUG dbus:415 - Selecting objects of type Tabs with attributes: {}
15:43:29.539 DEBUG dbus:415 - Selecting objects of type Tab with attributes: {}
15:43:29.644 DEBUG emulators:131 - Switch to tab with index 2.
15:43:29.646 DEBUG dbus:415 - Selecting objects of type Tabs with attributes: {}
15:43:29.667 DEBUG dbus:415 - Selecting objects of type Tab with attributes: {}
15:43:29.713 DEBUG dbus:415 - Selecting objects of type Tab with attributes: {}
15:43:29.806 DEBUG emulators:140 - Current tab index: 1.
15:43:29.807 DEBUG emulators:118 - Switch to next tab.
15:43:29.808 DEBUG dbus:415 - Selecting objects of type Header with attributes: {'objectName': 'MainView_Header'}
15:43:29.961 DEBUG dbus:415 - Selecting objects of type TabBar with attributes: {}
15:43:29.988 DEBUG emulators:257 - Click the tab bar to enable selection mode.
15:43:30.004 DEBUG _common:35 - Moving to object's globalRect coordinates.
15:43:30.005 DEBUG _uinput:331 - Tapping at: 384,125
15:43:30.147 DEBUG emulators:263 - Click the next tab bar button.
15:43:30.148 DEBUG dbus:415 - Selecting objects of type QQuickPathView with attributes: {}
15:43:30.197 DEBUG dbus:415 - Selecting objects of type AbstractButton with attributes: {}
15:43:30.284 DEBUG dbus:415 - Selecting objects of type AbstractButton with attributes: {}
15:43:30.495 DEBUG _common:35 - Moving to object's globalRect coordinates.
15:43:30.498 DEBUG _uinput:331 - Tapping at: 442,125
15:43:30.608 DEBUG dbus:415 - Selecting objects of type TabBarStyle with attributes: {}
15:43:31.863 DEBUG dbus:415 - Selecting objects of type Tabs with attributes: {}
15:43:31.900 DEBUG dbus:415 - Selecting objects of type Tab with attributes: {}
15:43:33.021 DEBUG dbus:415 - Selecting objects of type PhotosOverview with attributes: {}
15:43:33.104 DEBUG dbus:415 - Selecting objects of type MainScreen with attributes: {}
15:43:33.127 DEBUG dbus:415 - Selecting objects of type Toolbar with attributes: {}
15:43:33.331 DEBUG _uinput:365 - Dragging from 384,1279 to 384,1218
15:43:43.920 INFO testcase:552 - waiting for process to exit.
15:43:43.923 INFO testcase:554 - Killing process 7218
15:43:44.244 ERROR testresult:35 - FAIL: gallery_app.tests.test_photos_view.TestPhotosView.test_select_button_cancel
15:43:44.245 ERROR testresult:35 - traceback: {{{
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/gallery_app/tests/test_photos_view.py", line 52, in test_select_button_cancel
self.main_view.open_toolbar().click_button("selectButton")
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)
}}}
15:43:44.247 ERROR testresult:35 - process-return-code: {{{
-15}}}
15:43:44.248 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 0x40e11d8d 0x40e11d39
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 102 ms - 51 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
}}}
15:43:44.252 ERROR testresult:35 - process-stdout: {{{
}}}
ADB_RC=1
command_type
testcase_test