Testcase: test_album_view.TestAlbumView.test_add_photo_to_new_album

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

15:39:02.446 INFO autopilot:141 - Autopilot Source Version: 1.3.1
Autopilot Package Version: 1.3.1+13.10.20131003.1-0ubuntu1
15:39:02.852 INFO globals:49 - ************************************************************
15:39:02.858 INFO globals:50 - Starting test gallery_app.tests.test_album_view.TestAlbumView.test_add_photo_to_new_album
15:39:02.862 WARNING testcase:118 - No tracing available - install the python-autopilot-trace package!
15:39:02.881 WARNING testcase:155 - Process manager backend unavailable, application snapshot support disabled.
15:39:02.941 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:04.881 DEBUG dbus:415 - Selecting objects of type QQuickView with attributes: {}
15:39:04.931 DEBUG dbus:415 - Selecting objects of type OrganicMediaList with attributes: {}
15:39:05.954 DEBUG dbus:415 - Selecting objects of type MainScreen with attributes: {}
15:39:06.030 DEBUG dbus:415 - Selecting objects of type Tabs with attributes: {}
15:39:06.059 DEBUG dbus:415 - Selecting objects of type Tab with attributes: {}
15:39:06.125 DEBUG emulators:131 - Switch to tab with index 0.
15:39:06.126 DEBUG dbus:415 - Selecting objects of type Tabs with attributes: {}
15:39:06.159 DEBUG dbus:415 - Selecting objects of type Tab with attributes: {}
15:39:06.218 DEBUG dbus:415 - Selecting objects of type Tab with attributes: {}
15:39:06.341 DEBUG emulators:140 - Current tab index: 1.
15:39:06.342 DEBUG emulators:118 - Switch to next tab.
15:39:06.343 DEBUG dbus:415 - Selecting objects of type Header with attributes: {'objectName': 'MainView_Header'}
15:39:06.488 DEBUG dbus:415 - Selecting objects of type TabBar with attributes: {}
15:39:06.526 DEBUG emulators:257 - Click the tab bar to enable selection mode.
15:39:06.543 DEBUG _common:35 - Moving to object's globalRect coordinates.
15:39:06.544 DEBUG _uinput:331 - Tapping at: 384,125
15:39:06.687 DEBUG emulators:263 - Click the next tab bar button.
15:39:06.690 DEBUG dbus:415 - Selecting objects of type QQuickPathView with attributes: {}
15:39:06.749 DEBUG dbus:415 - Selecting objects of type AbstractButton with attributes: {}
15:39:06.817 DEBUG dbus:415 - Selecting objects of type AbstractButton with attributes: {}
15:39:07.029 DEBUG _common:35 - Moving to object's globalRect coordinates.
15:39:07.031 DEBUG _uinput:331 - Tapping at: 442,125
15:39:07.135 DEBUG dbus:415 - Selecting objects of type TabBarStyle with attributes: {}
15:39:08.403 DEBUG dbus:415 - Selecting objects of type Tabs with attributes: {}
15:39:08.439 DEBUG dbus:415 - Selecting objects of type Tab with attributes: {}
15:39:08.575 DEBUG emulators:140 - Current tab index: 2.
15:39:08.577 DEBUG emulators:118 - Switch to next tab.
15:39:08.578 DEBUG dbus:415 - Selecting objects of type Header with attributes: {'objectName': 'MainView_Header'}
15:39:08.745 DEBUG dbus:415 - Selecting objects of type TabBar with attributes: {}
15:39:08.774 DEBUG emulators:257 - Click the tab bar to enable selection mode.
15:39:08.806 DEBUG _common:35 - Moving to object's globalRect coordinates.
15:39:08.808 DEBUG _uinput:331 - Tapping at: 384,125
15:39:08.939 DEBUG emulators:263 - Click the next tab bar button.
15:39:08.940 DEBUG dbus:415 - Selecting objects of type QQuickPathView with attributes: {}
15:39:08.990 DEBUG dbus:415 - Selecting objects of type AbstractButton with attributes: {}
15:39:09.103 DEBUG dbus:415 - Selecting objects of type AbstractButton with attributes: {}
15:39:09.199 DEBUG _common:35 - Moving to object's globalRect coordinates.
15:39:09.200 DEBUG _uinput:331 - Tapping at: 463,125
15:39:09.302 DEBUG dbus:415 - Selecting objects of type TabBarStyle with attributes: {}
15:39:10.487 DEBUG dbus:415 - Selecting objects of type Tabs with attributes: {}
15:39:10.573 DEBUG dbus:415 - Selecting objects of type Tab with attributes: {}
15:39:10.670 DEBUG dbus:415 - Selecting objects of type QQuickLoader with attributes: {'objectName': 'albumsCheckerboardLoader'}
15:39:11.145 DEBUG dbus:415 - Selecting objects of type CheckerboardDelegate with attributes: {'objectName': 'checkerboardDelegate'}
15:39:12.539 DEBUG dbus:415 - Selecting objects of type MainScreen with attributes: {}
15:39:12.616 DEBUG dbus:415 - Selecting objects of type Toolbar with attributes: {}
15:39:12.750 DEBUG _uinput:365 - Dragging from 384,1279 to 384,1218
15:39:14.113 DEBUG dbus:415 - Selecting objects of type ActionItem with attributes: {'objectName': 'addButton'}
15:39:14.176 DEBUG _common:35 - Moving to object's globalRect coordinates.
15:39:14.177 DEBUG _uinput:331 - Tapping at: 579,1208
15:39:14.391 DEBUG dbus:415 - Selecting objects of type AlbumEditorAnimated with attributes: {}
15:39:15.967 DEBUG dbus:415 - Selecting objects of type QQuickImage with attributes: {'objectName': 'albumCoverImage'}
15:39:16.378 DEBUG _uinput:331 - Tapping at: 384,1048
15:39:16.480 DEBUG dbus:415 - Selecting objects of type CheckerboardDelegate with attributes: {'objectName': 'checkerboardDelegate'}
15:39:17.389 DEBUG _common:35 - Moving to object's globalRect coordinates.
15:39:17.490 DEBUG _uinput:331 - Tapping at: 201,445
15:39:17.595 DEBUG dbus:415 - Selecting objects of type AlbumViewerAnimated with attributes: {'objectName': 'albumViewerAnimated'}
15:39:20.250 DEBUG dbus:415 - Selecting objects of type AlbumViewer with attributes: {'objectName': 'albumViewer'}
15:39:21.923 DEBUG dbus:415 - Selecting objects of type FramePortrait with attributes: {'visible': True, 'isLoaded': True}
15:39:22.079 WARNING dbus:522 - Your query '/gallery-app[id=1]//FramePortrait' returned a lot of data (33 items). This is likely to be slow. You may
want to consider optimising your query to return fewer items.
15:39:22.261 DEBUG dbus:415 - Selecting objects of type QQuickImage with attributes: {'visible': True, 'objectName': 'addButton'}
15:39:23.987 DEBUG _common:35 - Moving to object's globalRect coordinates.
15:39:24.088 DEBUG _uinput:331 - Tapping at: 384,669
15:39:24.191 DEBUG dbus:415 - Selecting objects of type MediaSelector with attributes: {}
15:39:24.457 DEBUG dbus:415 - Selecting objects of type MediaSelector with attributes: {}
15:39:24.759 DEBUG dbus:415 - Selecting objects of type MediaSelector with attributes: {}
15:39:25.025 DEBUG dbus:415 - Selecting objects of type MediaSelector with attributes: {}
15:39:25.312 DEBUG dbus:415 - Selecting objects of type MediaSelector with attributes: {}
15:39:25.575 DEBUG dbus:415 - Selecting objects of type MediaSelector with attributes: {}
15:39:25.862 DEBUG dbus:415 - Selecting objects of type MediaSelector with attributes: {}
15:39:26.123 DEBUG dbus:415 - Selecting objects of type MediaSelector with attributes: {}
15:39:26.413 DEBUG dbus:415 - Selecting objects of type MediaSelector with attributes: {}
15:39:26.670 DEBUG dbus:415 - Selecting objects of type MediaSelector with attributes: {}
15:39:26.948 DEBUG dbus:415 - Selecting objects of type MediaSelector with attributes: {}
15:39:27.023 INFO testcase:552 - waiting for process to exit.
15:39:27.024 INFO testcase:554 - Killing process 5416
15:39:27.387 ERROR testresult:35 - ERROR: gallery_app.tests.test_album_view.TestAlbumView.test_add_photo_to_new_album
15:39:27.389 ERROR testresult:35 - traceback: {{{
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/gallery_app/tests/test_album_view.py", line 100, in test_add_photo_to_new_album
self.ensure_media_selector_is_fully_open()
File "/usr/lib/python2.7/dist-packages/gallery_app/tests/test_album_view.py", line 45, in ensure_media_selector_is_fully_open
self.assertThat(media_selector.opacity, Eventually(Equals(1.0)))
AttributeError: 'NoneType' object has no attribute 'opacity'
}}}
15:39:27.391 ERROR testresult:35 - process-return-code: {{{
-15}}}
15:39:27.392 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 0x4028bd8d 0x4028bd39
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 81 ms - 40.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.
"
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.
"
}}}
15:39:27.401 ERROR testresult:35 - process-stdout: {{{
}}}
ADB_RC=1
command_type
testcase_test