Testcase: test_add_photo

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

/var/log/syslog: {{{
Mar  3 05:10:18 ubuntu-phablet kernel: [  545.771789] bq27541_get_psp status: Charging ret= 0x0001
Mar  3 05:10:18 ubuntu-phablet kernel: [  545.772338] bq27541_get_psp status: Charging ret= 0x0001
Mar  3 05:10:18 ubuntu-phablet kernel: [  545.772888] bq27541_get_psp voltage_now= 4215000 uV
Mar  3 05:10:18 ubuntu-phablet kernel: [  545.773529] bq27541_get_capacity = 98% ret= 97
Mar  3 05:10:18 ubuntu-phablet kernel: [  545.774078] bq27541_get_psp temperature= 205 (0.1¢XC)
Mar  3 05:10:18 ubuntu-phablet kernel: [  545.775207] bq27541_get_psp current = -168 mA
Mar  3 05:10:18 ubuntu-phablet kernel: [  545.776641] bq27541_get_capacity = 98% ret= 97
Mar  3 05:10:18 ubuntu-phablet kernel: [  545.777282] bq27541_get_psp voltage_now= 4215000 uV
Mar  3 05:10:18 ubuntu-phablet kernel: [  545.778015] bq27541_get_psp status: Charging ret= 0xff58
Mar  3 05:10:18 ubuntu-phablet kernel: [  545.779296] bq27541_get_psp voltage_now= 4215000 uV
Mar  3 05:10:18 ubuntu-phablet kernel: [  545.779693] bq27541_get_psp current = 1029 mA
Mar  3 05:10:18 ubuntu-phablet kernel: [  545.780426] bq27541_get_capacity check capacity, cap = 2935, smb_retry = 0
Mar  3 05:10:18 ubuntu-phablet kernel: [  545.780822] bq27541_get_psp error: temperature ret=4215, old_temp=205 
Mar  3 05:10:18 ubuntu-phablet kernel: [  545.780822] bq27541_get_psp temperature= 205 (0.1¢XC)
Mar  3 05:10:18 ubuntu-phablet kernel: [  545.781524] bq27541_get_capacity bat_capacity_zero_count = 1
Mar  3 05:10:18 ubuntu-phablet kernel: [  545.781524] bq27541_get_capacity battery_check_interval = 10
Mar  3 05:10:18 ubuntu-phablet kernel: [  545.781555] bq27541_get_capacity = 0% ret= 1
Mar  3 05:10:18 ubuntu-phablet kernel: [  545.781921] bq27541_get_psp status: Charging ret= 0x0eba
Mar  3 05:10:18 ubuntu-phablet kernel: [  545.782318] healthd: battery l=98 v=4215 t=20.5 h=2 st=2 c=1 chg=u
Mar  3 05:10:18 ubuntu-phablet kernel: [  545.782470] bq27541_get_psp temperature= 205 (0.1¢XC)
Mar  3 05:10:18 ubuntu-phablet kernel: [  545.783905] bq27541_get_psp current = -168 mA
Mar  3 05:10:18 ubuntu-phablet kernel: [  545.785705] bq27541_get_psp status: Charging ret= 0x0001
Mar  3 05:10:18 ubuntu-phablet kernel: [  545.786254] bq27541_get_psp voltage_now= 4215000 uV
Mar  3 05:10:18 ubuntu-phablet kernel: [  545.786804] bq27541_get_capacity battery_check_interval = 60
Mar  3 05:10:18 ubuntu-phablet kernel: [  545.786834] bq27541_get_capacity = 98% ret= 97
Mar  3 05:10:18 ubuntu-phablet kernel: [  545.787384] bq27541_get_psp temperature= 205 (0.1¢XC)
Mar  3 05:10:18 ubuntu-phablet kernel: [  545.788482] bq27541_get_psp current = -168 mA
Mar  3 05:10:18 ubuntu-phablet kernel: [  545.790374] bq27541_get_psp voltage_now= 4215000 uV
Mar  3 05:10:18 ubuntu-phablet kernel: [  545.794128] bq27541_get_psp status: Charging ret= 0x0001
Mar  3 05:10:18 ubuntu-phablet kernel: [  545.795715] bq27541_get_psp current = -168 mA
Mar  3 05:10:18 ubuntu-phablet kernel: [  545.796356] bq27541_get_psp voltage_now= 4215000 uV
Mar  3 05:10:18 ubuntu-phablet kernel: [  545.796997] bq27541_get_capacity = 98% ret= 97
Mar  3 05:10:18 ubuntu-phablet kernel: [  545.797637] bq27541_get_psp temperature= 205 (0.1¢XC)
Mar  3 05:10:18 ubuntu-phablet kernel: [  545.873199] smb345_charger: [smb345_config_thermal_limit] Bypass set HRD SFT limit=73
Mar  3 05:10:18 ubuntu-phablet kernel: [  545.873443] smb345_charger: [smb345_config_thermal_charging] temp=20, volt=4216000
Mar  3 05:10:18 ubuntu-phablet kernel: [  545.873840] smb345_charger: [smb345_config_thermal_charging] Bypass set Float Volt=e8
Mar  3 05:10:18 ubuntu-phablet kernel: [  545.874114] 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 0xb2027ead 0xb2027e59
creating surface at (0, 58) with size (1200, 1862) with title 'Window 1'This plugin does not support propagateSizeHints()

QUbuntuWindow::moveResize (this=0x1e8e4b8, 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 57 ms - 28.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:5730): 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:09:51.559 INFO globals:57 - ************************************************************
05:09:51.560 INFO globals:58 - Starting test gallery_app.tests.test_album_view.TestAlbumView.test_add_photo
05:09:51.561 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
05:09:51.567 WARNING testcase:152 - Process manager backend unavailable, application snapshot support disabled.
05:09:51.575 DEBUG __init__:170 - Launching installed gallery-app binary for device.
05:09:51.590 INFO _launcher:159 - Launching process: ['/usr/bin/gallery-app', '-testability',
'--desktop_file_hint=/usr/share/applications/gallery-app.desktop', '/tmp/gallery-ap_sd']
05:09:53.444 DEBUG dbus:431 - Selecting objects of type QQuickView with attributes: {}
05:09:53.498 DEBUG dbus:431 - Selecting objects of type OrganicMediaList with attributes: {}
05:09:54.525 DEBUG dbus:431 - Selecting objects of type MainScreen with attributes: {}
05:09:54.606 INFO logging:45 - MainScreen: Open a tab. Arguments ('albumsTab',). Keyword arguments: {}.
05:09:54.607 DEBUG dbus:431 - Selecting objects of type Tabs with attributes: {}
05:09:54.636 DEBUG dbus:431 - Selecting objects of type Tab with attributes: {}
05:09:54.766 INFO logging:45 - MainScreen: Open a tab. Arguments (0,). Keyword arguments: {}.
05:09:54.767 DEBUG emulators:141 - Switch to tab with index 0.
05:09:54.768 DEBUG dbus:431 - Selecting objects of type Tabs with attributes: {}
05:09:54.798 DEBUG dbus:431 - Selecting objects of type Tab with attributes: {}
05:09:54.878 DEBUG dbus:431 - Selecting objects of type Tab with attributes: {}
05:09:55.004 DEBUG emulators:150 - Current tab index: 1.
05:09:55.005 INFO logging:45 - MainScreen: Open the next tab. Arguments (). Keyword arguments: {}.
05:09:55.006 DEBUG emulators:126 - Switch to next tab.
05:09:55.006 DEBUG dbus:431 - Selecting objects of type Header with attributes: {'objectName': 'MainView_Header'}
05:09:55.177 INFO logging:45 - Header: Open the next tab. Arguments (). Keyword arguments: {}.
05:09:55.178 DEBUG dbus:431 - Selecting objects of type TabBar with attributes: {}
05:09:55.204 INFO logging:45 - TabBar: Open the next tab. Arguments (). Keyword arguments: {}.
05:09:55.227 DEBUG emulators:350 - Already in selection mode.
05:09:55.228 DEBUG emulators:345 - Click the next tab bar button.
05:09:55.228 DEBUG dbus:431 - Selecting objects of type QQuickPathView with attributes: {}
05:09:55.289 DEBUG dbus:431 - Selecting objects of type AbstractButton with attributes: {}
05:09:55.405 DEBUG dbus:431 - Selecting objects of type AbstractButton with attributes: {}
05:09:55.666 DEBUG _common:45 - Moving to object's globalRect coordinates.
05:09:55.666 DEBUG _uinput:475 - Tapping at: 442,67
05:09:55.769 DEBUG dbus:431 - Selecting objects of type TabBarStyle with attributes: {}
05:09:57.030 DEBUG dbus:431 - Selecting objects of type Tabs with attributes: {}
05:09:57.096 DEBUG dbus:431 - Selecting objects of type Tab with attributes: {}
05:09:57.333 DEBUG emulators:150 - Current tab index: 2.
05:09:57.334 INFO logging:45 - MainScreen: Open the next tab. Arguments (). Keyword arguments: {}.
05:09:57.335 DEBUG emulators:126 - Switch to next tab.
05:09:57.336 DEBUG dbus:431 - Selecting objects of type Header with attributes: {'objectName': 'MainView_Header'}
05:09:57.532 INFO logging:45 - Header: Open the next tab. Arguments (). Keyword arguments: {}.
05:09:57.533 DEBUG dbus:431 - Selecting objects of type TabBar with attributes: {}
05:09:57.565 INFO logging:45 - TabBar: Open the next tab. Arguments (). Keyword arguments: {}.
05:09:57.592 DEBUG emulators:353 - Click the tab bar to enable selection mode.
05:09:57.619 DEBUG _common:45 - Moving to object's globalRect coordinates.
05:09:57.620 DEBUG _uinput:475 - Tapping at: 600,67
05:09:57.722 DEBUG emulators:345 - Click the next tab bar button.
05:09:57.722 DEBUG dbus:431 - Selecting objects of type QQuickPathView with attributes: {}
05:09:57.832 DEBUG dbus:431 - Selecting objects of type AbstractButton with attributes: {}
05:09:57.974 DEBUG dbus:431 - Selecting objects of type AbstractButton with attributes: {}
05:09:58.164 DEBUG _common:45 - Moving to object's globalRect coordinates.
05:09:58.165 DEBUG _uinput:475 - Tapping at: 463,67
05:09:58.266 DEBUG dbus:431 - Selecting objects of type TabBarStyle with attributes: {}
05:10:24.394 ERROR proxies:410 - Introspect error on :1.119:/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:10:24.395 DEBUG proxies:413 - Executing introspect queue due to error
05:10:28.385 INFO _launcher:346 - waiting for process to exit.
05:10:28.395 INFO _launcher:273 - Killing process 5730
}}}

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