Testcase: test_add_photo_to_new_album

Build #:215:20140301.1:20140301.1
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_add_photo_to_new_album
testsuite
gallery_app.tests.test_album_view.TestAlbumView
returncode
1
command
autopilot
stderr
_StringException: Empty attachments:
  process-stdout

/var/log/syslog: {{{
Mar  1 19:33:07 ubuntu-phablet kernel: [  305.030975] bq27541_get_psp voltage_now= 4221000 uV
Mar  1 19:33:07 ubuntu-phablet kernel: [  305.032348] bq27541_get_psp status: Charging ret= 0x0201
Mar  1 19:33:07 ubuntu-phablet kernel: [  305.033905] bq27541_get_psp current = -161 mA
Mar  1 19:33:07 ubuntu-phablet kernel: [  305.034545] bq27541_get_psp voltage_now= 4221000 uV
Mar  1 19:33:07 ubuntu-phablet kernel: [  305.035217] bq27541_get_capacity = 99% ret= 98
Mar  1 19:33:07 ubuntu-phablet kernel: [  305.035858] bq27541_get_psp temperature= 199 (0.1¢XC)
Mar  1 19:33:07 ubuntu-phablet kernel: [  305.128906] bq27541_get_psp status: Charging ret= 0x0201
Mar  1 19:33:07 ubuntu-phablet kernel: [  305.129455] bq27541_get_psp status: Charging ret= 0x0201
Mar  1 19:33:07 ubuntu-phablet kernel: [  305.130065] bq27541_get_psp voltage_now= 4221000 uV
Mar  1 19:33:07 ubuntu-phablet kernel: [  305.130676] bq27541_get_capacity = 99% ret= 98
Mar  1 19:33:07 ubuntu-phablet kernel: [  305.131225] bq27541_get_psp temperature= 199 (0.1¢XC)
Mar  1 19:33:07 ubuntu-phablet kernel: [  305.132354] bq27541_get_psp current = -161 mA
Mar  1 19:33:07 ubuntu-phablet kernel: [  305.134277] bq27541_get_capacity = 99% ret= 98
Mar  1 19:33:07 ubuntu-phablet kernel: [  305.135070] bq27541_get_psp status: Charging ret= 0x107d
Mar  1 19:33:07 ubuntu-phablet kernel: [  305.135467] bq27541_get_psp voltage_now= 4221000 uV
Mar  1 19:33:07 ubuntu-phablet kernel: [  305.136260] bq27541_get_psp voltage_now= 4221000 uV
Mar  1 19:33:07 ubuntu-phablet kernel: [  305.137542] bq27541_get_capacity check capacity, cap = 65375, smb_retry = 0
Mar  1 19:33:07 ubuntu-phablet kernel: [  305.137939] bq27541_get_psp current = 1054 mA
Mar  1 19:33:07 ubuntu-phablet kernel: [  305.138763] bq27541_get_capacity check capacity, cap = 2929, smb_retry = 1
Mar  1 19:33:07 ubuntu-phablet kernel: [  305.139160] bq27541_get_psp error: temperature ret=4221, old_temp=199 
Mar  1 19:33:07 ubuntu-phablet kernel: [  305.139160] bq27541_get_psp temperature= 199 (0.1¢XC)
Mar  1 19:33:07 ubuntu-phablet kernel: [  305.140289] bq27541_get_capacity check capacity, cap = 513, smb_retry = 2
Mar  1 19:33:07 ubuntu-phablet kernel: [  305.140289] bq27541_get_capacity use old capacity=99
Mar  1 19:33:07 ubuntu-phablet kernel: [  305.140930] bq27541_get_psp status: Charging ret= 0x0ed0
Mar  1 19:33:07 ubuntu-phablet kernel: [  305.141265] healthd: battery l=99 v=4221 t=19.9 h=2 st=2 c=1 chg=u
Mar  1 19:33:07 ubuntu-phablet kernel: [  305.141845] bq27541_get_psp temperature= 199 (0.1¢XC)
Mar  1 19:33:07 ubuntu-phablet kernel: [  305.142944] bq27541_get_psp current = -161 mA
Mar  1 19:33:07 ubuntu-phablet kernel: [  305.144531] bq27541_get_psp status: Charging ret= 0x0201
Mar  1 19:33:07 ubuntu-phablet kernel: [  305.145111] bq27541_get_psp voltage_now= 4221000 uV
Mar  1 19:33:07 ubuntu-phablet kernel: [  305.145629] bq27541_get_capacity = 99% ret= 98
Mar  1 19:33:07 ubuntu-phablet kernel: [  305.146209] bq27541_get_psp temperature= 199 (0.1¢XC)
Mar  1 19:33:07 ubuntu-phablet kernel: [  305.147399] bq27541_get_psp current = -161 mA
Mar  1 19:33:07 ubuntu-phablet kernel: [  305.149475] bq27541_get_psp voltage_now= 4221000 uV
Mar  1 19:33:07 ubuntu-phablet kernel: [  305.151885] bq27541_get_psp status: Charging ret= 0x0201
Mar  1 19:33:07 ubuntu-phablet kernel: [  305.153411] bq27541_get_psp current = -161 mA
Mar  1 19:33:07 ubuntu-phablet kernel: [  305.154144] bq27541_get_psp voltage_now= 4221000 uV
Mar  1 19:33:07 ubuntu-phablet kernel: [  305.154785] bq27541_get_capacity = 99% ret= 98
Mar  1 19:33:07 ubuntu-phablet kernel: [  305.155456] bq27541_get_psp temperature= 199 (0.1¢XC)
Mar  1 19:33:07 ubuntu-phablet kernel: [  305.231323] smb345_charger: [smb345_config_thermal_limit] Bypass set HRD SFT limit=73
Mar  1 19:33:07 ubuntu-phablet kernel: [  305.231567] smb345_charger: [smb345_config_thermal_charging] temp=19, volt=4221000
Mar  1 19:33:07 ubuntu-phablet kernel: [  305.231933] smb345_charger: [smb345_config_thermal_charging] Bypass set Float Volt=e8
Mar  1 19:33:07 ubuntu-phablet kernel: [  305.232299] smb345_charger: [smb345_config_thermal_charging] Bypass charger enable
}}}

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 0xb2041ead 0xb2041e59
creating surface at (0, 58) with size (1200, 1862) with title 'Window 1'This plugin does not support propagateSizeHints()

QUbuntuWindow::moveResize (this=0x18704b0, 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 61 ms - 30.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
QOpenGLShader::link: "--From Vertex Shader:
--From Fragment Shader:
Link was successful.
" 

** (gallery-app:4138): 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.
" 
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: {{{
19:32:37.795 INFO globals:57 - ************************************************************
19:32:37.795 INFO globals:58 - Starting test gallery_app.tests.test_album_view.TestAlbumView.test_add_photo_to_new_album
19:32:37.799 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
19:32:37.804 WARNING testcase:152 - Process manager backend unavailable, application snapshot support disabled.
19:32:37.813 DEBUG __init__:170 - Launching installed gallery-app binary for device.
19:32:37.829 INFO _launcher:159 - Launching process: ['/usr/bin/gallery-app', '-testability',
'--desktop_file_hint=/usr/share/applications/gallery-app.desktop', '/tmp/gallery-ap_sd']
19:32:38.335 INFO __init__:387 - dbus.DBusException while attempting to get PID for :1.86: DBusException("Could not get PID of name ':1.86': no such
name",)
19:32:39.720 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
19:32:39.792 DEBUG dbus:431 - Selecting objects of type OrganicMediaList with attributes: {}
19:32:40.825 DEBUG dbus:431 - Selecting objects of type MainScreen with attributes: {}
19:32:40.913 INFO logging:45 - MainScreen: Open a tab. Arguments ('albumsTab',). Keyword arguments: {}.
19:32:40.914 DEBUG dbus:431 - Selecting objects of type Tabs with attributes: {}
19:32:40.952 DEBUG dbus:431 - Selecting objects of type Tab with attributes: {}
19:32:41.147 INFO logging:45 - MainScreen: Open a tab. Arguments (0,). Keyword arguments: {}.
19:32:41.148 DEBUG emulators:142 - Switch to tab with index 0.
19:32:41.149 DEBUG dbus:431 - Selecting objects of type Tabs with attributes: {}
19:32:41.190 DEBUG dbus:431 - Selecting objects of type Tab with attributes: {}
19:32:41.327 DEBUG dbus:431 - Selecting objects of type Tab with attributes: {}
19:32:41.537 DEBUG emulators:151 - Current tab index: 1.
19:32:41.538 INFO logging:45 - MainScreen: Open the next tab. Arguments (). Keyword arguments: {}.
19:32:41.539 DEBUG emulators:127 - Switch to next tab.
19:32:41.539 DEBUG dbus:431 - Selecting objects of type Header with attributes: {'objectName': 'MainView_Header'}
19:32:41.710 INFO logging:45 - Header: Open the next tab. Arguments (). Keyword arguments: {}.
19:32:41.711 DEBUG dbus:431 - Selecting objects of type TabBar with attributes: {}
19:32:41.748 INFO logging:45 - TabBar: Open the next tab. Arguments (). Keyword arguments: {}.
19:32:41.783 DEBUG emulators:351 - Already in selection mode.
19:32:41.783 DEBUG emulators:346 - Click the next tab bar button.
19:32:41.784 DEBUG dbus:431 - Selecting objects of type QQuickPathView with attributes: {}
19:32:41.893 DEBUG dbus:431 - Selecting objects of type AbstractButton with attributes: {}
19:32:42.020 DEBUG dbus:431 - Selecting objects of type AbstractButton with attributes: {}
19:32:42.423 DEBUG _common:45 - Moving to object's globalRect coordinates.
19:32:42.424 DEBUG _uinput:475 - Tapping at: 442,67
19:32:42.526 DEBUG dbus:431 - Selecting objects of type TabBarStyle with attributes: {}
19:32:43.865 DEBUG dbus:431 - Selecting objects of type Tabs with attributes: {}
19:32:43.958 DEBUG dbus:431 - Selecting objects of type Tab with attributes: {}
19:32:44.314 DEBUG emulators:151 - Current tab index: 2.
19:32:44.315 INFO logging:45 - MainScreen: Open the next tab. Arguments (). Keyword arguments: {}.
19:32:44.316 DEBUG emulators:127 - Switch to next tab.
19:32:44.317 DEBUG dbus:431 - Selecting objects of type Header with attributes: {'objectName': 'MainView_Header'}
19:32:44.513 INFO logging:45 - Header: Open the next tab. Arguments (). Keyword arguments: {}.
19:32:44.514 DEBUG dbus:431 - Selecting objects of type TabBar with attributes: {}
19:32:44.555 INFO logging:45 - TabBar: Open the next tab. Arguments (). Keyword arguments: {}.
19:32:44.592 DEBUG emulators:354 - Click the tab bar to enable selection mode.
19:32:44.630 DEBUG _common:45 - Moving to object's globalRect coordinates.
19:32:44.631 DEBUG _uinput:475 - Tapping at: 600,67
19:32:44.733 DEBUG emulators:346 - Click the next tab bar button.
19:32:44.733 DEBUG dbus:431 - Selecting objects of type QQuickPathView with attributes: {}
19:32:44.888 DEBUG dbus:431 - Selecting objects of type AbstractButton with attributes: {}
19:32:45.142 DEBUG dbus:431 - Selecting objects of type AbstractButton with attributes: {}
19:32:45.288 DEBUG _common:45 - Moving to object's globalRect coordinates.
19:32:45.290 DEBUG _uinput:475 - Tapping at: 463,67
19:32:45.399 DEBUG dbus:431 - Selecting objects of type TabBarStyle with attributes: {}
19:33:11.509 ERROR proxies:410 - Introspect error on :1.87:/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.
19:33:11.510 DEBUG proxies:413 - Executing introspect queue due to error
19:33:15.851 INFO _launcher:346 - waiting for process to exit.
19:33:15.854 INFO _launcher:273 - Killing process 4138
}}}

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 188, 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 157, 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 128, 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 231, 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