Testcase: test_edit_preset_must_update_preset

Build #:258:20140325: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 11:44:14 ubuntu-phablet kernel: [  184.493743] bq27541_get_psp status: Charging ret= 0x0101
Mar 25 11:44:14 ubuntu-phablet kernel: [  184.494293] bq27541_get_psp status: Charging ret= 0x0101
Mar 25 11:44:14 ubuntu-phablet kernel: [  184.494873] bq27541_get_psp voltage_now= 4123000 uV
Mar 25 11:44:14 ubuntu-phablet kernel: [  184.495422] bq27541_get_capacity = 89% ret= 88
Mar 25 11:44:14 ubuntu-phablet kernel: [  184.495971] bq27541_get_psp temperature= 221 (0.1¢XC)
Mar 25 11:44:14 ubuntu-phablet kernel: [  184.497100] bq27541_get_psp current = -161 mA
Mar 25 11:44:14 ubuntu-phablet kernel: [  184.498016] bq27541_get_capacity = 89% ret= 88
Mar 25 11:44:14 ubuntu-phablet kernel: [  184.498870] bq27541_get_psp status: Charging ret= 0x101b
Mar 25 11:44:14 ubuntu-phablet kernel: [  184.499267] bq27541_get_psp voltage_now= 4123000 uV
Mar 25 11:44:14 ubuntu-phablet kernel: [  184.499999] bq27541_get_psp voltage_now= 4123000 uV
Mar 25 11:44:14 ubuntu-phablet kernel: [  184.501098] bq27541_get_capacity check capacity, cap = 65375, smb_retry = 0
Mar 25 11:44:14 ubuntu-phablet kernel: [  184.501525] bq27541_get_psp current = 788 mA
Mar 25 11:44:14 ubuntu-phablet kernel: [  184.502227] bq27541_get_capacity check capacity, cap = 2951, smb_retry = 1
Mar 25 11:44:14 ubuntu-phablet kernel: [  184.502624] bq27541_get_psp error: temperature ret=4123, old_temp=221 
Mar 25 11:44:14 ubuntu-phablet kernel: [  184.502624] bq27541_get_psp temperature= 221 (0.1¢XC)
Mar 25 11:44:14 ubuntu-phablet kernel: [  184.503387] bq27541_get_capacity check capacity, cap = 257, smb_retry = 2
Mar 25 11:44:14 ubuntu-phablet kernel: [  184.503387] bq27541_get_capacity use old capacity=89
Mar 25 11:44:14 ubuntu-phablet kernel: [  184.504455] bq27541_get_psp status: Charging ret= 0x0d62
Mar 25 11:44:14 ubuntu-phablet kernel: [  184.504852] healthd: battery l=89 v=4123 t=22.1 h=2 st=2 c=0 chg=u
Mar 25 11:44:14 ubuntu-phablet kernel: [  184.505432] bq27541_get_psp temperature= 221 (0.1¢XC)
Mar 25 11:44:14 ubuntu-phablet kernel: [  184.506530] bq27541_get_psp current = -161 mA
Mar 25 11:44:14 ubuntu-phablet kernel: [  184.507385] bq27541_get_psp status: Charging ret= 0x0101
Mar 25 11:44:14 ubuntu-phablet kernel: [  184.508148] bq27541_get_psp voltage_now= 4123000 uV
Mar 25 11:44:14 ubuntu-phablet kernel: [  184.508697] bq27541_get_capacity = 89% ret= 88
Mar 25 11:44:14 ubuntu-phablet kernel: [  184.509246] bq27541_get_psp temperature= 221 (0.1¢XC)
Mar 25 11:44:14 ubuntu-phablet kernel: [  184.510375] bq27541_get_psp current = -161 mA
Mar 25 11:44:14 ubuntu-phablet kernel: [  184.511657] bq27541_get_psp status: Charging ret= 0x0101
Mar 25 11:44:14 ubuntu-phablet kernel: [  184.512237] bq27541_get_psp voltage_now= 4123000 uV
Mar 25 11:44:14 ubuntu-phablet kernel: [  184.513061] bq27541_get_capacity = 89% ret= 88
Mar 25 11:44:14 ubuntu-phablet kernel: [  184.513671] bq27541_get_psp temperature= 221 (0.1¢XC)
Mar 25 11:44:14 ubuntu-phablet kernel: [  184.514831] bq27541_get_psp current = -161 mA
Mar 25 11:44:14 ubuntu-phablet kernel: [  184.519622] bq27541_get_psp voltage_now= 4123000 uV
Mar 25 11:44:14 ubuntu-phablet kernel: [  184.521087] bq27541_get_psp status: Charging ret= 0x0101
Mar 25 11:44:14 ubuntu-phablet kernel: [  184.522552] bq27541_get_psp current = -161 mA
Mar 25 11:44:14 ubuntu-phablet kernel: [  184.523193] bq27541_get_psp voltage_now= 4123000 uV
Mar 25 11:44:14 ubuntu-phablet kernel: [  184.523834] bq27541_get_capacity = 89% ret= 88
Mar 25 11:44:14 ubuntu-phablet kernel: [  184.524475] bq27541_get_psp temperature= 221 (0.1¢XC)
Mar 25 11:44:14 ubuntu-phablet kernel: [  184.585632] smb345_charger: [smb345_config_thermal_limit] Bypass set HRD SFT limit=73
Mar 25 11:44:14 ubuntu-phablet kernel: [  184.585876] smb345_charger: [smb345_config_thermal_charging] temp=22, volt=4103000
Mar 25 11:44:14 ubuntu-phablet kernel: [  184.586273] smb345_charger: [smb345_config_thermal_charging] Bypass set Float Volt=e8
Mar 25 11:44:14 ubuntu-phablet kernel: [  184.586517] smb345_charger: [smb345_config_thermal_charging] Bypass charger enable
}}}

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

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

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

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

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

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

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

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

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

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

(process:3547): 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: {{{
11:44:00.463 INFO globals:58 - ************************************************************
11:44:00.464 INFO globals:59 - Starting test ubuntu_clock_app.tests.test_timer.TestTimer.test_edit_preset_must_update_preset
11:44:00.467 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
11:44:00.472 WARNING testcase:155 - Process manager backend unavailable, application snapshot support disabled.
11:44:00.486 DEBUG __init__:103 - Backed up database
11:44:00.520 INFO testcase:305 - Attempting to launch click application '(default)' from click package  'com.ubuntu.clock' and URIs ''
11:44:04.456 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
11:44:04.609 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
11:44:04.639 INFO logging:45 - MainView: Open the Timer tab. Arguments (). Keyword arguments: {}.
11:44:04.640 INFO logging:45 - MainView: Open a tab. Arguments ('TimerTab',). Keyword arguments: {}.
11:44:04.641 DEBUG dbus:432 - Selecting objects of type Tabs with attributes: {}
11:44:04.669 DEBUG dbus:432 - Selecting objects of type Tab with attributes: {}
11:44:04.850 INFO logging:45 - MainView: Open a tab. Arguments (2,). Keyword arguments: {}.
11:44:04.851 DEBUG emulators:141 - Switch to tab with index 2.
11:44:04.853 DEBUG dbus:432 - Selecting objects of type Tabs with attributes: {}
11:44:04.886 DEBUG dbus:432 - Selecting objects of type Tab with attributes: {}
11:44:05.034 DEBUG dbus:432 - Selecting objects of type Tab with attributes: {}
11:44:05.256 DEBUG emulators:150 - Current tab index: 0.
11:44:05.257 INFO logging:45 - MainView: Open the next tab. Arguments (). Keyword arguments: {}.
11:44:05.258 DEBUG emulators:126 - Switch to next tab.
11:44:05.259 DEBUG dbus:432 - Selecting objects of type Header with attributes: {'objectName': 'MainView_Header'}
11:44:05.522 INFO logging:45 - Header: Open the next tab. Arguments (). Keyword arguments: {}.
11:44:05.523 DEBUG dbus:432 - Selecting objects of type TabBar with attributes: {}
11:44:05.555 INFO logging:45 - TabBar: Open the next tab. Arguments (). Keyword arguments: {}.
11:44:05.586 DEBUG emulators:350 - Already in selection mode.
11:44:05.587 DEBUG emulators:345 - Click the next tab bar button.
11:44:05.588 DEBUG dbus:432 - Selecting objects of type QQuickPathView with attributes: {}
11:44:05.674 DEBUG dbus:432 - Selecting objects of type AbstractButton with attributes: {}
11:44:05.913 DEBUG dbus:432 - Selecting objects of type AbstractButton with attributes: {}
11:44:06.273 DEBUG _common:45 - Moving to object's globalRect coordinates.
11:44:06.274 DEBUG _uinput:475 - Tapping at: 334,125
11:44:06.376 DEBUG dbus:432 - Selecting objects of type TabBarStyle with attributes: {}
11:44:07.843 DEBUG dbus:432 - Selecting objects of type Tabs with attributes: {}
11:44:07.922 DEBUG dbus:432 - Selecting objects of type Tab with attributes: {}
11:44:08.231 DEBUG emulators:150 - Current tab index: 1.
11:44:08.233 INFO logging:45 - MainView: Open the next tab. Arguments (). Keyword arguments: {}.
11:44:08.235 DEBUG emulators:126 - Switch to next tab.
11:44:08.235 DEBUG dbus:432 - Selecting objects of type Header with attributes: {'objectName': 'MainView_Header'}
11:44:08.491 INFO logging:45 - Header: Open the next tab. Arguments (). Keyword arguments: {}.
11:44:08.492 DEBUG dbus:432 - Selecting objects of type TabBar with attributes: {}
11:44:08.531 INFO logging:45 - TabBar: Open the next tab. Arguments (). Keyword arguments: {}.
11:44:08.564 DEBUG emulators:353 - Click the tab bar to enable selection mode.
11:44:08.598 DEBUG _common:45 - Moving to object's globalRect coordinates.
11:44:08.599 DEBUG _uinput:475 - Tapping at: 600,125
11:44:08.701 DEBUG emulators:345 - Click the next tab bar button.
11:44:08.701 DEBUG dbus:432 - Selecting objects of type QQuickPathView with attributes: {}
11:44:08.803 DEBUG dbus:432 - Selecting objects of type AbstractButton with attributes: {}
11:44:09.048 DEBUG dbus:432 - Selecting objects of type AbstractButton with attributes: {}
11:44:09.520 DEBUG _common:45 - Moving to object's globalRect coordinates.
11:44:09.520 DEBUG _uinput:475 - Tapping at: 347,125
11:44:09.622 DEBUG dbus:432 - Selecting objects of type TabBarStyle with attributes: {}
11:44:11.581 DEBUG dbus:432 - Selecting objects of type Tabs with attributes: {}
11:44:11.662 DEBUG dbus:432 - Selecting objects of type Tab with attributes: {}
11:44:12.017 DEBUG dbus:432 - Selecting objects of type TimerPage with attributes: {}
11:44:12.099 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
11:44:12.161 DEBUG dbus:432 - Selecting objects of type QQuickListView with attributes: {}
11:44:12.346 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'presetTextLabel0'}
11:44:12.620 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
11:44:12.778 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'presetTimerLabel0'}
11:44:13.048 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
11:44:13.159 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'presetTextLabel1'}
11:44:13.446 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
11:44:13.506 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'presetTimerLabel1'}
11:44:13.729 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
11:44:13.798 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'presetTextLabel2'}
11:44:14.020 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
11:44:14.098 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'presetTimerLabel2'}
11:44:14.381 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
11:44:14.495 INFO logging:45 - TimerPage: Edit timer preset. Arguments (u'Soft-boiled eggEdit', 0). Keyword arguments: {}.
11:44:14.549 DEBUG dbus:432 - Selecting objects of type QQuickFlickable with attributes: {'objectName': 'animationContainer'}
11:44:14.829 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
11:44:15.016 DEBUG _uinput:546 - Dragging from 600,989 to 600,369
11:44:15.658 DEBUG dbus:432 - Selecting objects of type QQuickFlickable with attributes: {'objectName': 'animationContainer'}
11:44:15.980 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
11:44:17.305 DEBUG dbus:432 - Selecting objects of type QQuickListView with attributes: {'objectName': 'listTimerPreset'}
11:44:17.591 INFO logging:45 - QQuickListView: Click an element from the list. Arguments ('preset0',). Keyword arguments: {}.
11:44:17.592 DEBUG dbus:432 - Selecting objects of any type with attributes: {'objectName': 'preset0'}
11:44:17.765 DEBUG dbus:432 - Selecting objects of any type with attributes: {'objectName': 'preset0'}
11:44:18.264 DEBUG dbus:432 - Selecting objects of any type with attributes: {'objectName': 'preset0'}
11:44:18.398 DEBUG _common:45 - Moving to object's globalRect coordinates.
11:44:18.399 DEBUG _uinput:475 - Tapping at: 600,1436
11:44:18.500 DEBUG dbus:432 - Selecting objects of type LabelDots with attributes: {'objectName': 'namePreset'}
11:44:18.782 DEBUG _common:45 - Moving to object's globalRect coordinates.
11:44:18.782 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