Testcase: test_album_view.TestAlbumView.test_album_view_open_photo

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

Test case data

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

15:39:30.121 INFO autopilot:141 - Autopilot Source Version: 1.3.1
Autopilot Package Version: 1.3.1+13.10.20131003.1-0ubuntu1
15:39:30.560 INFO globals:49 - ************************************************************
15:39:30.562 INFO globals:50 - Starting test gallery_app.tests.test_album_view.TestAlbumView.test_album_view_open_photo
15:39:30.563 WARNING testcase:118 - No tracing available - install the python-autopilot-trace package!
15:39:30.576 WARNING testcase:155 - Process manager backend unavailable, application snapshot support disabled.
15:39:30.654 INFO __init__:156 - Launching process: ['/usr/bin/gallery-app', '-testability',
'--desktop_file_hint=/usr/share/applications/gallery-app.desktop', '/tmp/gallery-ap_sd']
15:39:32.608 DEBUG dbus:415 - Selecting objects of type QQuickView with attributes: {}
15:39:32.657 DEBUG dbus:415 - Selecting objects of type OrganicMediaList with attributes: {}
15:39:33.684 DEBUG dbus:415 - Selecting objects of type MainScreen with attributes: {}
15:39:33.748 DEBUG dbus:415 - Selecting objects of type Tabs with attributes: {}
15:39:33.767 DEBUG dbus:415 - Selecting objects of type Tab with attributes: {}
15:39:33.832 DEBUG emulators:131 - Switch to tab with index 0.
15:39:33.833 DEBUG dbus:415 - Selecting objects of type Tabs with attributes: {}
15:39:33.864 DEBUG dbus:415 - Selecting objects of type Tab with attributes: {}
15:39:33.911 DEBUG dbus:415 - Selecting objects of type Tab with attributes: {}
15:39:34.005 DEBUG emulators:140 - Current tab index: 1.
15:39:34.006 DEBUG emulators:118 - Switch to next tab.
15:39:34.007 DEBUG dbus:415 - Selecting objects of type Header with attributes: {'objectName': 'MainView_Header'}
15:39:34.159 DEBUG dbus:415 - Selecting objects of type TabBar with attributes: {}
15:39:34.191 DEBUG emulators:257 - Click the tab bar to enable selection mode.
15:39:34.218 DEBUG _common:35 - Moving to object's globalRect coordinates.
15:39:34.219 DEBUG _uinput:331 - Tapping at: 384,125
15:39:34.353 DEBUG emulators:263 - Click the next tab bar button.
15:39:34.354 DEBUG dbus:415 - Selecting objects of type QQuickPathView with attributes: {}
15:39:34.404 DEBUG dbus:415 - Selecting objects of type AbstractButton with attributes: {}
15:39:34.505 DEBUG dbus:415 - Selecting objects of type AbstractButton with attributes: {}
15:39:34.765 DEBUG _common:35 - Moving to object's globalRect coordinates.
15:39:34.767 DEBUG _uinput:331 - Tapping at: 442,125
15:39:34.871 DEBUG dbus:415 - Selecting objects of type TabBarStyle with attributes: {}
15:39:36.123 DEBUG dbus:415 - Selecting objects of type Tabs with attributes: {}
15:39:36.159 DEBUG dbus:415 - Selecting objects of type Tab with attributes: {}
15:39:36.305 DEBUG emulators:140 - Current tab index: 2.
15:39:36.305 DEBUG emulators:118 - Switch to next tab.
15:39:36.306 DEBUG dbus:415 - Selecting objects of type Header with attributes: {'objectName': 'MainView_Header'}
15:39:36.494 DEBUG dbus:415 - Selecting objects of type TabBar with attributes: {}
15:39:36.530 DEBUG emulators:257 - Click the tab bar to enable selection mode.
15:39:36.546 DEBUG _common:35 - Moving to object's globalRect coordinates.
15:39:36.547 DEBUG _uinput:331 - Tapping at: 384,125
15:39:36.684 DEBUG emulators:263 - Click the next tab bar button.
15:39:36.685 DEBUG dbus:415 - Selecting objects of type QQuickPathView with attributes: {}
15:39:36.747 DEBUG dbus:415 - Selecting objects of type AbstractButton with attributes: {}
15:39:36.843 DEBUG dbus:415 - Selecting objects of type AbstractButton with attributes: {}
15:39:36.934 DEBUG _common:35 - Moving to object's globalRect coordinates.
15:39:36.935 DEBUG _uinput:331 - Tapping at: 463,125
15:39:37.037 DEBUG dbus:415 - Selecting objects of type TabBarStyle with attributes: {}
15:39:38.165 DEBUG dbus:415 - Selecting objects of type Tabs with attributes: {}
15:39:38.248 DEBUG dbus:415 - Selecting objects of type Tab with attributes: {}
15:39:38.333 DEBUG dbus:415 - Selecting objects of type QQuickLoader with attributes: {'objectName': 'albumsCheckerboardLoader'}
15:39:38.795 DEBUG dbus:415 - Selecting objects of type CheckerboardDelegate with attributes: {'objectName': 'checkerboardDelegate'}
15:39:40.219 DEBUG dbus:415 - Selecting objects of type CheckerboardDelegate with attributes: {'objectName': 'checkerboardDelegate'}
15:39:40.700 DEBUG _common:35 - Moving to object's globalRect coordinates.
15:39:40.801 DEBUG _uinput:331 - Tapping at: 201,445
15:39:40.904 DEBUG dbus:415 - Selecting objects of type AlbumViewerAnimated with attributes: {'objectName': 'albumViewerAnimated'}
15:39:51.681 INFO testcase:552 - waiting for process to exit.
15:39:51.681 INFO testcase:554 - Killing process 5578
15:39:52.032 ERROR testresult:35 - FAIL: gallery_app.tests.test_album_view.TestAlbumView.test_album_view_open_photo
15:39:52.034 ERROR testresult:35 - traceback: {{{
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/gallery_app/tests/test_album_view.py", line 52, in test_album_view_open_photo
self.open_first_album()
File "/usr/lib/python2.7/dist-packages/gallery_app/tests/__init__.py", line 177, in open_first_album
self.ensure_view_is_fully_open()
File "/usr/lib/python2.7/dist-packages/gallery_app/tests/__init__.py", line 181, in ensure_view_is_fully_open
self.assertThat(animated_view.isOpen, Eventually(Equals(True)))
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 417, in assertThat
raise MismatchError(matchee, matcher, mismatch, verbose)
MismatchError: After 10.0 seconds test on AlbumViewerAnimated.isOpen failed: True != dbus.Boolean(False, variant_level=1)
}}}
15:39:52.035 ERROR testresult:35 - process-return-code: {{{
-15}}}
15:39:52.037 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 0x409abd8d 0x409abd39
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 83 ms - 41.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.
"
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
Detectable autorepeat not supported.
QProcess: Destroyed while process ("echo") is still running.
QProcess: Destroyed while process ("echo") is still running.
QOpenGLShader::link: "--From Fragment Shader:
--From Vertex Shader:
Link was successful.
"
}}}
15:39:52.041 ERROR testresult:35 - process-stdout: {{{
}}}
ADB_RC=1
command_type
testcase_test