Testcase: test_save_state

Build #:219:20140304:20140304
Arch:flo (Nexus 7 2013)
Release:trusty
Variant:touch
Artifacts
Console Log

Failure explanation

This test failure has not yet been categorized.
Log in to edit.

Test case data

testcase
test_save_state
testsuite
gallery_app.tests.test_album_view.TestAlbumView
returncode
1
command
autopilot
stderr
_StringException: Empty attachments:
  process-stdout

/var/log/syslog: {{{
Mar  4 05:18:10 ubuntu-phablet kernel: [  396.036071] bq27541_get_psp voltage_now= 4216000 uV
Mar  4 05:18:10 ubuntu-phablet kernel: [  396.037445] bq27541_get_psp status: Charging ret= 0x0001
Mar  4 05:18:10 ubuntu-phablet kernel: [  396.038909] bq27541_get_psp current = -174 mA
Mar  4 05:18:10 ubuntu-phablet kernel: [  396.039550] bq27541_get_psp voltage_now= 4216000 uV
Mar  4 05:18:10 ubuntu-phablet kernel: [  396.040191] bq27541_get_capacity = 98% ret= 97
Mar  4 05:18:10 ubuntu-phablet kernel: [  396.040832] bq27541_get_psp temperature= 205 (0.1¢XC)
}}}

process-return-code: {{{-11}}}
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'
Testability driver loaded. Wire protocol version is "1.4".
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 0xb1fe6ead 0xb1fe6e59
creating surface at (0, 58) with size (1200, 1862) with title 'Window 1'This plugin does not support propagateSizeHints()

QUbuntuWindow::moveResize (this=0x21b14b0, x=0, y=0, w=1200, h=1920)
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
Opening ("/tmp/gallery-ap_sd") ... 
Opened ("/tmp/gallery-ap_sd") 2 media files loaded in 48 ms - 24.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.
file:///usr/share/gallery-app/rc/qml/MainScreen.qml:73: TypeError: Cannot call method 'leaveSelectionMode' of null

** (gallery-app:5143): WARNING **: Unable to register app: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: Invalid application ID
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 
Detectable autorepeat not supported. 
Invalid key 'albumPageTopMargin' passed to getDeviceSpecific()
Invalid key 'albumPageBottomMargin' passed to getDeviceSpecific()
Invalid key 'albumPageOuterMargin' passed to getDeviceSpecific()
Invalid key 'albumPageInsideMargin' passed to getDeviceSpecific()
Invalid key 'albumPreviewTopMargin' passed to getDeviceSpecific()
Invalid key 'albumPreviewBottomMargin' passed to getDeviceSpecific()
Invalid key 'albumPreviewGutterMargin' passed to getDeviceSpecific()
Invalid key 'albumPreviewOuterMargin' passed to getDeviceSpecific()
Invalid key 'albumPreviewInsideMargin' passed to getDeviceSpecific()
Invalid key 'albumPageTopMargin' passed to getDeviceSpecific()
Invalid key 'albumPageBottomMargin' passed to getDeviceSpecific()
Invalid key 'albumPageOuterMargin' passed to getDeviceSpecific()
Invalid key 'albumPageInsideMargin' passed to getDeviceSpecific()
Invalid key 'albumPreviewTopMargin' passed to getDeviceSpecific()
Invalid key 'albumPreviewBottomMargin' passed to getDeviceSpecific()
Invalid key 'albumPreviewGutterMargin' passed to getDeviceSpecific()
Invalid key 'albumPreviewOuterMargin' passed to getDeviceSpecific()
Invalid key 'albumPreviewInsideMargin' passed to getDeviceSpecific()
}}}

test-log: {{{
05:17:52.935 INFO globals:57 - ************************************************************
05:17:52.935 INFO globals:58 - Starting test gallery_app.tests.test_album_view.TestAlbumView.test_save_state
05:17:52.936 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
05:17:52.946 WARNING testcase:152 - Process manager backend unavailable, application snapshot support disabled.
05:17:52.969 DEBUG __init__:170 - Launching installed gallery-app binary for device.
05:17:52.991 INFO _launcher:159 - Launching process: ['/usr/bin/gallery-app', '-testability',
'--desktop_file_hint=/usr/share/applications/gallery-app.desktop', '/tmp/gallery-ap_sd']
05:17:54.897 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
05:17:54.972 DEBUG dbus:431 - Selecting objects of type OrganicMediaList with attributes: {}
05:17:56.003 DEBUG dbus:431 - Selecting objects of type MainScreen with attributes: {}
05:17:56.092 INFO logging:45 - MainScreen: Open a tab. Arguments ('albumsTab',). Keyword arguments: {}.
05:17:56.093 DEBUG dbus:431 - Selecting objects of type Tabs with attributes: {}
05:17:56.127 DEBUG dbus:431 - Selecting objects of type Tab with attributes: {}
05:17:56.297 INFO logging:45 - MainScreen: Open a tab. Arguments (0,). Keyword arguments: {}.
05:17:56.298 DEBUG emulators:141 - Switch to tab with index 0.
05:17:56.298 DEBUG dbus:431 - Selecting objects of type Tabs with attributes: {}
05:17:56.340 DEBUG dbus:431 - Selecting objects of type Tab with attributes: {}
05:17:56.467 DEBUG dbus:431 - Selecting objects of type Tab with attributes: {}
05:17:56.678 DEBUG emulators:150 - Current tab index: 1.
05:17:56.679 INFO logging:45 - MainScreen: Open the next tab. Arguments (). Keyword arguments: {}.
05:17:56.679 DEBUG emulators:126 - Switch to next tab.
05:17:56.680 DEBUG dbus:431 - Selecting objects of type Header with attributes: {'objectName': 'MainView_Header'}
05:17:56.725 INFO logging:45 - Header: Open the next tab. Arguments (). Keyword arguments: {}.
05:17:56.726 DEBUG dbus:431 - Selecting objects of type TabBar with attributes: {}
05:17:56.760 INFO logging:45 - TabBar: Open the next tab. Arguments (). Keyword arguments: {}.
05:17:56.795 DEBUG emulators:350 - Already in selection mode.
05:17:56.796 DEBUG emulators:345 - Click the next tab bar button.
05:17:56.796 DEBUG dbus:431 - Selecting objects of type QQuickPathView with attributes: {}
05:17:56.922 DEBUG dbus:431 - Selecting objects of type AbstractButton with attributes: {}
05:17:57.083 DEBUG dbus:431 - Selecting objects of type AbstractButton with attributes: {}
05:17:57.371 DEBUG _common:45 - Moving to object's globalRect coordinates.
05:17:57.372 DEBUG _uinput:475 - Tapping at: 442,67
05:17:57.473 DEBUG dbus:431 - Selecting objects of type TabBarStyle with attributes: {}
05:17:58.818 DEBUG dbus:431 - Selecting objects of type Tabs with attributes: {}
05:17:58.921 DEBUG dbus:431 - Selecting objects of type Tab with attributes: {}
05:17:59.265 DEBUG emulators:150 - Current tab index: 2.
05:17:59.266 INFO logging:45 - MainScreen: Open the next tab. Arguments (). Keyword arguments: {}.
05:17:59.267 DEBUG emulators:126 - Switch to next tab.
05:17:59.267 DEBUG dbus:431 - Selecting objects of type Header with attributes: {'objectName': 'MainView_Header'}
05:17:59.320 INFO logging:45 - Header: Open the next tab. Arguments (). Keyword arguments: {}.
05:17:59.321 DEBUG dbus:431 - Selecting objects of type TabBar with attributes: {}
05:17:59.369 INFO logging:45 - TabBar: Open the next tab. Arguments (). Keyword arguments: {}.
05:17:59.403 DEBUG emulators:353 - Click the tab bar to enable selection mode.
05:17:59.451 DEBUG _common:45 - Moving to object's globalRect coordinates.
05:17:59.452 DEBUG _uinput:475 - Tapping at: 600,67
05:17:59.553 DEBUG emulators:345 - Click the next tab bar button.
05:17:59.554 DEBUG dbus:431 - Selecting objects of type QQuickPathView with attributes: {}
05:17:59.688 DEBUG dbus:431 - Selecting objects of type AbstractButton with attributes: {}
05:17:59.952 DEBUG dbus:431 - Selecting objects of type AbstractButton with attributes: {}
05:18:00.118 DEBUG _common:45 - Moving to object's globalRect coordinates.
05:18:00.120 DEBUG _uinput:475 - Tapping at: 463,67
05:18:00.222 DEBUG dbus:431 - Selecting objects of type TabBarStyle with attributes: {}
05:18:26.345 ERROR proxies:410 - Introspect error on :1.107:/com/canonical/Autopilot/Introspection: dbus.exceptions.DBusException:
org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus
security policy blocked the reply, the reply timeout expired, or the network connection was broken.
05:18:26.346 DEBUG proxies:413 - Executing introspect queue due to error
05:18:29.824 INFO _launcher:346 - waiting for process to exit.
05:18:29.828 INFO _launcher:273 - Killing process 5143
}}}

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/gallery_app/tests/test_album_view.py", line 41, in setUp
    self.switch_to_albums_tab()
  File "/usr/lib/python2.7/dist-packages/gallery_app/tests/__init__.py", line 222, in switch_to_albums_tab
    self.main_view.switch_to_tab("albumsTab")
  File "/usr/lib/python2.7/dist-packages/autopilot/logging.py", line 46, in inner
    return f(instance, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/ubuntuuitoolkit/emulators.py", line 187, in switch_to_tab
    return self.switch_to_tab_by_index(tab.index)
  File "/usr/lib/python2.7/dist-packages/autopilot/logging.py", line 46, in inner
    return f(instance, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/ubuntuuitoolkit/emulators.py", line 156, in switch_to_tab_by_index
    current_tab = self.switch_to_next_tab()
  File "/usr/lib/python2.7/dist-packages/autopilot/logging.py", line 46, in inner
    return f(instance, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/ubuntuuitoolkit/emulators.py", line 127, in switch_to_next_tab
    self.get_header().switch_to_next_tab()
  File "/usr/lib/python2.7/dist-packages/autopilot/logging.py", line 46, in inner
    return f(instance, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/ubuntuuitoolkit/emulators.py", line 230, in switch_to_next_tab
    self._get_animating().wait_for(False)
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/types.py", line 158, in wait_for
    _, new_state = self.parent.get_new_state()
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 560, in get_new_state
    return self.get_state_by_path(self.get_class_query_string())[0]
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 540, in get_state_by_path
    data = self._backend.introspection_iface.GetState(piece)
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
DBusException: org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)

command_type
testcase_test