Testcase: test_edit_preset_must_update_preset

Build #:263:20140327: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 27 07:28:22 ubuntu-phablet kernel: [  184.495056] bq27541_get_psp status: Charging ret= 0x0101
Mar 27 07:28:22 ubuntu-phablet kernel: [  184.495605] bq27541_get_psp status: Charging ret= 0x0101
Mar 27 07:28:22 ubuntu-phablet kernel: [  184.496154] bq27541_get_psp voltage_now= 4099000 uV
Mar 27 07:28:22 ubuntu-phablet kernel: [  184.496704] bq27541_get_capacity = 86% ret= 85
Mar 27 07:28:22 ubuntu-phablet kernel: [  184.497253] bq27541_get_psp temperature= 249 (0.1¢XC)
Mar 27 07:28:22 ubuntu-phablet kernel: [  184.498382] bq27541_get_psp current = -172 mA
Mar 27 07:28:22 ubuntu-phablet kernel: [  184.499206] bq27541_get_capacity = 86% ret= 85
Mar 27 07:28:22 ubuntu-phablet kernel: [  184.500305] bq27541_get_psp voltage_now= 4099000 uV
Mar 27 07:28:22 ubuntu-phablet kernel: [  184.501464] bq27541_get_psp current = -172 mA
Mar 27 07:28:22 ubuntu-phablet kernel: [  184.502075] bq27541_get_psp temperature= 249 (0.1¢XC)
Mar 27 07:28:22 ubuntu-phablet kernel: [  184.502868] bq27541_get_psp status: Charging ret= 0x0101
Mar 27 07:28:22 ubuntu-phablet kernel: [  184.503234] bq27541_get_psp status: Charging ret= 0x0d03
Mar 27 07:28:22 ubuntu-phablet kernel: [  184.503601] healthd: battery l=86 v=4099 t=24.9 h=2 st=2 c=0 chg=u
Mar 27 07:28:22 ubuntu-phablet kernel: [  184.503784] bq27541_get_psp voltage_now= 4099000 uV
Mar 27 07:28:22 ubuntu-phablet kernel: [  184.504302] bq27541_get_capacity = 86% ret= 85
Mar 27 07:28:22 ubuntu-phablet kernel: [  184.504913] bq27541_get_psp temperature= 249 (0.1¢XC)
Mar 27 07:28:22 ubuntu-phablet kernel: [  184.506011] bq27541_get_psp current = -172 mA
Mar 27 07:28:22 ubuntu-phablet kernel: [  184.507537] bq27541_get_psp status: Charging ret= 0x0101
Mar 27 07:28:22 ubuntu-phablet kernel: [  184.508087] bq27541_get_psp voltage_now= 4099000 uV
Mar 27 07:28:22 ubuntu-phablet kernel: [  184.508728] bq27541_get_capacity = 86% ret= 85
Mar 27 07:28:22 ubuntu-phablet kernel: [  184.509307] bq27541_get_psp temperature= 249 (0.1¢XC)
Mar 27 07:28:22 ubuntu-phablet kernel: [  184.510864] bq27541_get_psp current = -172 mA
Mar 27 07:28:22 ubuntu-phablet kernel: [  184.512908] bq27541_get_psp voltage_now= 4099000 uV
Mar 27 07:28:22 ubuntu-phablet kernel: [  184.514221] bq27541_get_psp status: Charging ret= 0x0101
Mar 27 07:28:22 ubuntu-phablet kernel: [  184.516265] bq27541_get_psp current = -172 mA
Mar 27 07:28:22 ubuntu-phablet kernel: [  184.516906] bq27541_get_psp voltage_now= 4099000 uV
Mar 27 07:28:22 ubuntu-phablet kernel: [  184.517578] bq27541_get_capacity = 86% ret= 85
Mar 27 07:28:22 ubuntu-phablet kernel: [  184.518218] bq27541_get_psp temperature= 249 (0.1¢XC)
Mar 27 07:28:22 ubuntu-phablet kernel: [  184.599792] smb345_charger: [smb345_config_thermal_limit] Bypass set HRD SFT limit=73
Mar 27 07:28:22 ubuntu-phablet kernel: [  184.600158] smb345_charger: [smb345_config_thermal_charging] temp=24, volt=4106000
Mar 27 07:28:22 ubuntu-phablet kernel: [  184.600738] smb345_charger: [smb345_config_thermal_charging] Bypass set Float Volt=e8
Mar 27 07:28:22 ubuntu-phablet kernel: [  184.601776] smb345_charger: [smb345_config_thermal_charging] Bypass charger enable
}}}

Application Log: {{{
libust[2674/2677]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2674/2677]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2674/2676]: 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:2674): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

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

(process:2674): 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[2845/2849]: Error: Error opening shm /lttng-ust-wait-5-32011 (in
get_wait_shm() at lttng-ust-comm.c:881)
libust[2845/2849]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2845/2848]: 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:2845): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

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

(process:2845): 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[3083/3086]: Error: Error opening shm /lttng-ust-wait-5-32011 (in
get_wait_shm() at lttng-ust-comm.c:881)
libust[3083/3086]: 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:3083): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

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

(process:3083): 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[3181/3184]: Error: Error opening shm /lttng-ust-wait-5-32011 (in
get_wait_shm() at lttng-ust-comm.c:881)
libust[3181/3184]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[3181/3183]: 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:3181): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

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

(process:3181): 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[3299/3301]: Error: Error opening shm /lttng-ust-wait-5 (in
get_wait_shm() at lttng-ust-comm.c:881)
libust[3299/3301]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[3299/3302]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[3299/3302]: 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:3299): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

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

(process:3299): 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: {{{
07:28:07.833 INFO globals:58 - ************************************************************
07:28:07.834 INFO globals:59 - Starting test ubuntu_clock_app.tests.test_timer.TestTimer.test_edit_preset_must_update_preset
07:28:07.835 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
07:28:07.840 WARNING testcase:155 - Process manager backend unavailable, application snapshot support disabled.
07:28:07.842 DEBUG __init__:103 - Backed up database
07:28:07.872 INFO testcase:305 - Attempting to launch click application '(default)' from click package  'com.ubuntu.clock' and URIs ''
07:28:11.785 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
07:28:11.942 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
07:28:11.971 INFO logging:45 - MainView: Open the Timer tab. Arguments (). Keyword arguments: {}.
07:28:11.973 INFO logging:45 - MainView: Open a tab. Arguments ('TimerTab',). Keyword arguments: {}.
07:28:11.973 DEBUG dbus:432 - Selecting objects of type Tabs with attributes: {}
07:28:12.000 DEBUG dbus:432 - Selecting objects of type Tab with attributes: {}
07:28:12.198 INFO logging:45 - MainView: Open a tab. Arguments (2,). Keyword arguments: {}.
07:28:12.199 DEBUG emulators:141 - Switch to tab with index 2.
07:28:12.199 DEBUG dbus:432 - Selecting objects of type Tabs with attributes: {}
07:28:12.274 DEBUG dbus:432 - Selecting objects of type Tab with attributes: {}
07:28:12.377 DEBUG dbus:432 - Selecting objects of type Tab with attributes: {}
07:28:12.569 DEBUG emulators:150 - Current tab index: 0.
07:28:12.570 INFO logging:45 - MainView: Open the next tab. Arguments (). Keyword arguments: {}.
07:28:12.571 DEBUG emulators:126 - Switch to next tab.
07:28:12.572 DEBUG dbus:432 - Selecting objects of type Header with attributes: {'objectName': 'MainView_Header'}
07:28:12.791 INFO logging:45 - Header: Open the next tab. Arguments (). Keyword arguments: {}.
07:28:12.792 DEBUG dbus:432 - Selecting objects of type TabBar with attributes: {}
07:28:12.841 INFO logging:45 - TabBar: Open the next tab. Arguments (). Keyword arguments: {}.
07:28:12.883 DEBUG emulators:350 - Already in selection mode.
07:28:12.884 DEBUG emulators:345 - Click the next tab bar button.
07:28:12.885 DEBUG dbus:432 - Selecting objects of type QQuickPathView with attributes: {}
07:28:12.975 DEBUG dbus:432 - Selecting objects of type AbstractButton with attributes: {}
07:28:13.193 DEBUG dbus:432 - Selecting objects of type AbstractButton with attributes: {}
07:28:13.530 DEBUG _common:45 - Moving to object's globalRect coordinates.
07:28:13.531 DEBUG _uinput:475 - Tapping at: 334,125
07:28:13.632 DEBUG dbus:432 - Selecting objects of type TabBarStyle with attributes: {}
07:28:15.148 DEBUG dbus:432 - Selecting objects of type Tabs with attributes: {}
07:28:15.234 DEBUG dbus:432 - Selecting objects of type Tab with attributes: {}
07:28:15.500 DEBUG emulators:150 - Current tab index: 1.
07:28:15.500 INFO logging:45 - MainView: Open the next tab. Arguments (). Keyword arguments: {}.
07:28:15.501 DEBUG emulators:126 - Switch to next tab.
07:28:15.501 DEBUG dbus:432 - Selecting objects of type Header with attributes: {'objectName': 'MainView_Header'}
07:28:15.706 INFO logging:45 - Header: Open the next tab. Arguments (). Keyword arguments: {}.
07:28:15.707 DEBUG dbus:432 - Selecting objects of type TabBar with attributes: {}
07:28:15.742 INFO logging:45 - TabBar: Open the next tab. Arguments (). Keyword arguments: {}.
07:28:15.779 DEBUG emulators:353 - Click the tab bar to enable selection mode.
07:28:15.809 DEBUG _common:45 - Moving to object's globalRect coordinates.
07:28:15.809 DEBUG _uinput:475 - Tapping at: 600,125
07:28:15.911 DEBUG emulators:345 - Click the next tab bar button.
07:28:15.912 DEBUG dbus:432 - Selecting objects of type QQuickPathView with attributes: {}
07:28:15.997 DEBUG dbus:432 - Selecting objects of type AbstractButton with attributes: {}
07:28:16.253 DEBUG dbus:432 - Selecting objects of type AbstractButton with attributes: {}
07:28:16.649 DEBUG _common:45 - Moving to object's globalRect coordinates.
07:28:16.650 DEBUG _uinput:475 - Tapping at: 347,125
07:28:16.754 DEBUG dbus:432 - Selecting objects of type TabBarStyle with attributes: {}
07:28:18.627 DEBUG dbus:432 - Selecting objects of type Tabs with attributes: {}
07:28:18.708 DEBUG dbus:432 - Selecting objects of type Tab with attributes: {}
07:28:19.056 DEBUG dbus:432 - Selecting objects of type TimerPage with attributes: {}
07:28:19.138 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
07:28:19.197 DEBUG dbus:432 - Selecting objects of type QQuickListView with attributes: {}
07:28:19.381 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'presetTextLabel0'}
07:28:19.654 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
07:28:19.778 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'presetTimerLabel0'}
07:28:20.055 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
07:28:20.169 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'presetTextLabel1'}
07:28:20.383 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
07:28:20.446 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'presetTimerLabel1'}
07:28:20.673 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
07:28:20.737 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'presetTextLabel2'}
07:28:20.972 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
07:28:21.039 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'presetTimerLabel2'}
07:28:21.263 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
07:28:21.334 INFO logging:45 - TimerPage: Edit timer preset. Arguments (u'Soft-boiled eggEdit', 0). Keyword arguments: {}.
07:28:21.365 DEBUG dbus:432 - Selecting objects of type QQuickFlickable with attributes: {'objectName': 'animationContainer'}
07:28:21.611 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
07:28:21.741 DEBUG _uinput:546 - Dragging from 600,989 to 600,369
07:28:22.383 DEBUG dbus:432 - Selecting objects of type QQuickFlickable with attributes: {'objectName': 'animationContainer'}
07:28:22.666 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
07:28:23.998 DEBUG dbus:432 - Selecting objects of type QQuickListView with attributes: {'objectName': 'listTimerPreset'}
07:28:24.284 INFO logging:45 - QQuickListView: Click an element from the list. Arguments ('preset0',). Keyword arguments: {}.
07:28:24.284 DEBUG dbus:432 - Selecting objects of any type with attributes: {'objectName': 'preset0'}
07:28:24.427 DEBUG dbus:432 - Selecting objects of any type with attributes: {'objectName': 'preset0'}
07:28:24.892 DEBUG dbus:432 - Selecting objects of any type with attributes: {'objectName': 'preset0'}
07:28:25.098 DEBUG _common:45 - Moving to object's globalRect coordinates.
07:28:25.099 DEBUG _uinput:475 - Tapping at: 600,1436
07:28:25.201 DEBUG dbus:432 - Selecting objects of type LabelDots with attributes: {'objectName': 'namePreset'}
07:28:25.489 DEBUG _common:45 - Moving to object's globalRect coordinates.
07:28:25.490 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