Testcase: test_edit_preset_must_update_preset

Build #:257:20140324.1: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_edit_preset_must_update_preset
testsuite
ubuntu_clock_app.tests.test_timer.TestTimer
returncode
1
command
autopilot
stderr
_StringException: /var/log/syslog: {{{
Mar 25 03:21:24 ubuntu-phablet kernel: [  184.502563] bq27541_get_psp status: Charging ret= 0x0101
Mar 25 03:21:24 ubuntu-phablet kernel: [  184.503143] bq27541_get_psp status: Charging ret= 0x0101
Mar 25 03:21:24 ubuntu-phablet kernel: [  184.503692] bq27541_get_psp voltage_now= 4129000 uV
Mar 25 03:21:24 ubuntu-phablet kernel: [  184.504394] bq27541_get_capacity = 90% ret= 89
Mar 25 03:21:24 ubuntu-phablet kernel: [  184.505035] bq27541_get_psp temperature= 211 (0.1¢XC)
Mar 25 03:21:24 ubuntu-phablet kernel: [  184.506164] bq27541_get_psp current = -160 mA
Mar 25 03:21:24 ubuntu-phablet kernel: [  184.507629] bq27541_get_capacity = 90% ret= 89
Mar 25 03:21:24 ubuntu-phablet kernel: [  184.508270] bq27541_get_psp voltage_now= 4129000 uV
Mar 25 03:21:24 ubuntu-phablet kernel: [  184.509490] bq27541_get_psp current = -160 mA
Mar 25 03:21:24 ubuntu-phablet kernel: [  184.510223] bq27541_get_psp temperature= 211 (0.1¢XC)
Mar 25 03:21:24 ubuntu-phablet kernel: [  184.510864] bq27541_get_psp status: Charging ret= 0x0101
Mar 25 03:21:24 ubuntu-phablet kernel: [  184.511199] healthd: battery l=90 v=4129 t=21.1 h=2 st=2 c=0 chg=u
Mar 25 03:21:24 ubuntu-phablet kernel: [  184.513275] bq27541_get_psp status: Charging ret= 0x0101
Mar 25 03:21:24 ubuntu-phablet kernel: [  184.513793] bq27541_get_psp voltage_now= 4129000 uV
Mar 25 03:21:24 ubuntu-phablet kernel: [  184.514373] bq27541_get_capacity = 90% ret= 89
Mar 25 03:21:24 ubuntu-phablet kernel: [  184.514923] bq27541_get_psp temperature= 211 (0.1¢XC)
Mar 25 03:21:24 ubuntu-phablet kernel: [  184.516021] bq27541_get_psp current = -160 mA
Mar 25 03:21:24 ubuntu-phablet kernel: [  184.517608] bq27541_get_psp status: Charging ret= 0x0101
Mar 25 03:21:24 ubuntu-phablet kernel: [  184.518188] bq27541_get_psp voltage_now= 4129000 uV
Mar 25 03:21:24 ubuntu-phablet kernel: [  184.518737] bq27541_get_capacity = 90% ret= 89
Mar 25 03:21:24 ubuntu-phablet kernel: [  184.519317] bq27541_get_psp temperature= 211 (0.1¢XC)
Mar 25 03:21:24 ubuntu-phablet kernel: [  184.520477] bq27541_get_psp current = -160 mA
Mar 25 03:21:24 ubuntu-phablet kernel: [  184.522460] bq27541_get_psp voltage_now= 4129000 uV
Mar 25 03:21:24 ubuntu-phablet kernel: [  184.523803] bq27541_get_psp status: Charging ret= 0x0101
Mar 25 03:21:24 ubuntu-phablet kernel: [  184.525329] bq27541_get_psp current = -160 mA
Mar 25 03:21:24 ubuntu-phablet kernel: [  184.525970] bq27541_get_psp voltage_now= 4129000 uV
Mar 25 03:21:24 ubuntu-phablet kernel: [  184.526641] bq27541_get_capacity = 90% ret= 89
Mar 25 03:21:24 ubuntu-phablet kernel: [  184.527282] bq27541_get_psp temperature= 211 (0.1¢XC)
Mar 25 03:21:24 ubuntu-phablet kernel: [  184.611816] smb345_charger: [smb345_config_thermal_limit] Bypass set HRD SFT limit=73
Mar 25 03:21:24 ubuntu-phablet kernel: [  184.612457] smb345_charger: [smb345_config_thermal_charging] temp=21, volt=4139000
Mar 25 03:21:24 ubuntu-phablet kernel: [  184.612823] smb345_charger: [smb345_config_thermal_charging] Bypass set Float Volt=e8
Mar 25 03:21:24 ubuntu-phablet kernel: [  184.613098] smb345_charger: [smb345_config_thermal_charging] Bypass charger enable
}}}

Application Log: {{{
libust[2812/2815]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2812/2815]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2812/2814]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:881)
Testability driver loaded. Wire protocol version is "1.4".
virtual QString QOrganizerEDSFactory::managerName() const 
virtual QtOrganizer::QOrganizerManagerEngine* QOrganizerEDSFactory::engine(const QMap<QString, QString>&, QtOrganizer::QOrganizerManager::Error*) eds 

(process:2812): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

(process:2812): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

(process:2812): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
creating surface at (0, 58) with size (1200, 1862) with title 'qmlscene: clock'libust[2987/2990]: Error: Error opening shm /lttng-ust-wait-5-32011 (in
get_wait_shm() at lttng-ust-comm.c:881)
libust[2987/2990]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2987/2989]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2987/2989]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:881)
Testability driver loaded. Wire protocol version is "1.4".
virtual QString QOrganizerEDSFactory::managerName() const 
virtual QtOrganizer::QOrganizerManagerEngine* QOrganizerEDSFactory::engine(const QMap<QString, QString>&, QtOrganizer::QOrganizerManager::Error*) eds 

(process:2987): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

(process:2987): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

(process:2987): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
creating surface at (0, 58) with size (1200, 1862) with title 'qmlscene: clock'libust[3387/3389]: Error: Error opening shm /lttng-ust-wait-5 (in
get_wait_shm() at lttng-ust-comm.c:881)
libust[3387/3389]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[3387/3390]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[3387/3390]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
Testability driver loaded. Wire protocol version is "1.4".
virtual QString QOrganizerEDSFactory::managerName() const 
virtual QtOrganizer::QOrganizerManagerEngine* QOrganizerEDSFactory::engine(const QMap<QString, QString>&, QtOrganizer::QOrganizerManager::Error*) eds 

(process:3387): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

(process:3387): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

(process:3387): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
creating surface at (0, 58) with size (1200, 1862) with title 'qmlscene: clock'libust[3492/3495]: Error: Error opening shm /lttng-ust-wait-5-32011 (in
get_wait_shm() at lttng-ust-comm.c:881)
libust[3492/3495]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
Testability driver loaded. Wire protocol version is "1.4".
virtual QString QOrganizerEDSFactory::managerName() const 
virtual QtOrganizer::QOrganizerManagerEngine* QOrganizerEDSFactory::engine(const QMap<QString, QString>&, QtOrganizer::QOrganizerManager::Error*) eds 

(process:3492): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

(process:3492): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

(process:3492): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
creating surface at (0, 58) with size (1200, 1862) with title 'qmlscene: clock'libust[3620/3623]: Error: Error opening shm /lttng-ust-wait-5-32011 (in
get_wait_shm() at lttng-ust-comm.c:881)
libust[3620/3623]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[3620/3622]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[3620/3622]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:881)
Testability driver loaded. Wire protocol version is "1.4".
virtual QString QOrganizerEDSFactory::managerName() const 
virtual QtOrganizer::QOrganizerManagerEngine* QOrganizerEDSFactory::engine(const QMap<QString, QString>&, QtOrganizer::QOrganizerManager::Error*) eds 

(process:3620): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

(process:3620): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

(process:3620): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
creating surface at (0, 58) with size (1200, 1862) with title 'qmlscene: clock'
}}}

test-log: {{{
03:21:10.024 INFO globals:58 - ************************************************************
03:21:10.027 INFO globals:59 - Starting test ubuntu_clock_app.tests.test_timer.TestTimer.test_edit_preset_must_update_preset
03:21:10.037 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
03:21:10.046 WARNING testcase:155 - Process manager backend unavailable, application snapshot support disabled.
03:21:10.047 DEBUG __init__:103 - Backed up database
03:21:10.080 INFO testcase:305 - Attempting to launch click application '(default)' from click package  'com.ubuntu.clock' and URIs ''
03:21:14.060 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
03:21:14.168 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
03:21:14.197 INFO logging:45 - MainView: Open the Timer tab. Arguments (). Keyword arguments: {}.
03:21:14.198 INFO logging:45 - MainView: Open a tab. Arguments ('TimerTab',). Keyword arguments: {}.
03:21:14.199 DEBUG dbus:432 - Selecting objects of type Tabs with attributes: {}
03:21:14.231 DEBUG dbus:432 - Selecting objects of type Tab with attributes: {}
03:21:14.491 INFO logging:45 - MainView: Open a tab. Arguments (2,). Keyword arguments: {}.
03:21:14.491 DEBUG emulators:141 - Switch to tab with index 2.
03:21:14.492 DEBUG dbus:432 - Selecting objects of type Tabs with attributes: {}
03:21:14.523 DEBUG dbus:432 - Selecting objects of type Tab with attributes: {}
03:21:14.628 DEBUG dbus:432 - Selecting objects of type Tab with attributes: {}
03:21:14.913 DEBUG emulators:150 - Current tab index: 0.
03:21:14.915 INFO logging:45 - MainView: Open the next tab. Arguments (). Keyword arguments: {}.
03:21:14.916 DEBUG emulators:126 - Switch to next tab.
03:21:14.917 DEBUG dbus:432 - Selecting objects of type Header with attributes: {'objectName': 'MainView_Header'}
03:21:15.140 INFO logging:45 - Header: Open the next tab. Arguments (). Keyword arguments: {}.
03:21:15.141 DEBUG dbus:432 - Selecting objects of type TabBar with attributes: {}
03:21:15.174 INFO logging:45 - TabBar: Open the next tab. Arguments (). Keyword arguments: {}.
03:21:15.204 DEBUG emulators:350 - Already in selection mode.
03:21:15.205 DEBUG emulators:345 - Click the next tab bar button.
03:21:15.206 DEBUG dbus:432 - Selecting objects of type QQuickPathView with attributes: {}
03:21:15.294 DEBUG dbus:432 - Selecting objects of type AbstractButton with attributes: {}
03:21:15.517 DEBUG dbus:432 - Selecting objects of type AbstractButton with attributes: {}
03:21:15.878 DEBUG _common:45 - Moving to object's globalRect coordinates.
03:21:15.879 DEBUG _uinput:475 - Tapping at: 334,125
03:21:15.981 DEBUG dbus:432 - Selecting objects of type TabBarStyle with attributes: {}
03:21:17.516 DEBUG dbus:432 - Selecting objects of type Tabs with attributes: {}
03:21:17.590 DEBUG dbus:432 - Selecting objects of type Tab with attributes: {}
03:21:17.841 DEBUG emulators:150 - Current tab index: 1.
03:21:17.842 INFO logging:45 - MainView: Open the next tab. Arguments (). Keyword arguments: {}.
03:21:17.843 DEBUG emulators:126 - Switch to next tab.
03:21:17.844 DEBUG dbus:432 - Selecting objects of type Header with attributes: {'objectName': 'MainView_Header'}
03:21:18.085 INFO logging:45 - Header: Open the next tab. Arguments (). Keyword arguments: {}.
03:21:18.086 DEBUG dbus:432 - Selecting objects of type TabBar with attributes: {}
03:21:18.123 INFO logging:45 - TabBar: Open the next tab. Arguments (). Keyword arguments: {}.
03:21:18.156 DEBUG emulators:353 - Click the tab bar to enable selection mode.
03:21:18.190 DEBUG _common:45 - Moving to object's globalRect coordinates.
03:21:18.191 DEBUG _uinput:475 - Tapping at: 600,125
03:21:18.293 DEBUG emulators:345 - Click the next tab bar button.
03:21:18.294 DEBUG dbus:432 - Selecting objects of type QQuickPathView with attributes: {}
03:21:18.405 DEBUG dbus:432 - Selecting objects of type AbstractButton with attributes: {}
03:21:18.658 DEBUG dbus:432 - Selecting objects of type AbstractButton with attributes: {}
03:21:19.128 DEBUG _common:45 - Moving to object's globalRect coordinates.
03:21:19.129 DEBUG _uinput:475 - Tapping at: 347,125
03:21:19.232 DEBUG dbus:432 - Selecting objects of type TabBarStyle with attributes: {}
03:21:21.119 DEBUG dbus:432 - Selecting objects of type Tabs with attributes: {}
03:21:21.200 DEBUG dbus:432 - Selecting objects of type Tab with attributes: {}
03:21:21.569 DEBUG dbus:432 - Selecting objects of type TimerPage with attributes: {}
03:21:21.650 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
03:21:21.730 DEBUG dbus:432 - Selecting objects of type QQuickListView with attributes: {}
03:21:21.917 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'presetTextLabel0'}
03:21:22.182 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
03:21:22.304 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'presetTimerLabel0'}
03:21:22.559 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
03:21:22.660 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'presetTextLabel1'}
03:21:22.928 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
03:21:22.989 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'presetTimerLabel1'}
03:21:23.211 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
03:21:23.276 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'presetTextLabel2'}
03:21:23.500 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
03:21:23.584 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'presetTimerLabel2'}
03:21:23.830 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
03:21:23.944 INFO logging:45 - TimerPage: Edit timer preset. Arguments (u'Soft-boiled eggEdit', 0). Keyword arguments: {}.
03:21:23.983 DEBUG dbus:432 - Selecting objects of type QQuickFlickable with attributes: {'objectName': 'animationContainer'}
03:21:24.255 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
03:21:24.456 DEBUG _uinput:546 - Dragging from 600,989 to 600,369
03:21:25.101 DEBUG dbus:432 - Selecting objects of type QQuickFlickable with attributes: {'objectName': 'animationContainer'}
03:21:25.424 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
03:21:25.674 DEBUG dbus:432 - Selecting objects of type QQuickListView with attributes: {'objectName': 'listTimerPreset'}
03:21:25.951 INFO logging:45 - QQuickListView: Click an element from the list. Arguments ('preset0',). Keyword arguments: {}.
03:21:25.952 DEBUG dbus:432 - Selecting objects of any type with attributes: {'objectName': 'preset0'}
03:21:26.101 DEBUG dbus:432 - Selecting objects of any type with attributes: {'objectName': 'preset0'}
03:21:26.590 DEBUG dbus:432 - Selecting objects of any type with attributes: {'objectName': 'preset0'}
03:21:26.730 DEBUG _common:45 - Moving to object's globalRect coordinates.
03:21:26.731 DEBUG _uinput:475 - Tapping at: 600,1436
03:21:26.833 DEBUG dbus:432 - Selecting objects of type LabelDots with attributes: {'objectName': 'namePreset'}
03:21:27.111 DEBUG _common:45 - Moving to object's globalRect coordinates.
03:21:27.112 DEBUG _uinput:475 - Tapping at: 600,794
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/ubuntu_clock_app/tests/test_timer.py", line 83, in test_edit_preset_must_update_preset
    self.page.edit_preset_timer(edited_name, timer_index)
  File "/usr/lib/python2.7/dist-packages/autopilot/logging.py", line 46, in inner
    return f(instance, *args, **kwargs)
  File "/home/phablet/autopilot/ubuntu_clock_app/emulators.py", line 837, in edit_preset_timer
    self._set_timer_name(name)
  File "/home/phablet/autopilot/ubuntu_clock_app/emulators.py", line 727, in _set_timer_name
    name_label.write(name)
  File "/home/phablet/autopilot/ubuntuuitoolkit/emulators.py", line 473, in write
    self.focus.wait_for(True)
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/types.py", line 181, in wait_for
    failure_msg))
AssertionError: After 10.0 seconds test on LabelDots.focus failed: True != dbus.Boolean(False, variant_level=1)

command_type
testcase_test