Testcase: test_edit_preset_must_update_preset

Build #:262:20140326:20140304
Arch:manta (Nexus 10)
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 26 06:39:11 ubuntu-phablet kernel: [  132.879276] mali mali.0: state restore latency exceeded, new value 3446292 ns
Mar 26 06:39:11 ubuntu-phablet kernel: [  133.281096] iio-buffer, current state requested again
Mar 26 06:39:13 ubuntu-phablet kernel: [  135.231718] iio-buffer, current state requested again
Mar 26 06:39:21 ubuntu-phablet kernel: [  143.300046] mali mali.0: state restore latency exceeded, new value 4276125 ns
}}}

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

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

(process:2061): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: clock'libust[2149/2152]: Error: Error opening shm /lttng-ust-wait-5-32011 (in
get_wait_shm() at lttng-ust-comm.c:881)
libust[2149/2152]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2149/2151]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2149/2151]: 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:2149): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

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

(process:2149): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: clock'libust[2241/2244]: Error: Error opening shm /lttng-ust-wait-5-32011 (in
get_wait_shm() at lttng-ust-comm.c:881)
libust[2241/2244]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2241/2243]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2241/2243]: 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:2241): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

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

(process:2241): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: clock'libust[2292/2295]: Error: Error opening shm /lttng-ust-wait-5-32011 (in
get_wait_shm() at lttng-ust-comm.c:881)
libust[2292/2295]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2292/2294]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2292/2294]: 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:2292): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

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

(process:2292): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
creating surface at (0, 64) with size (2560, 1536) with title 'qmlscene: clock'libust[2496/2499]: Error: Error opening shm /lttng-ust-wait-5-32011 (in
get_wait_shm() at lttng-ust-comm.c:881)
libust[2496/2499]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2496/2498]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[2496/2498]: 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:2496): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

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

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

test-log: {{{
06:39:10.130 INFO globals:58 - ************************************************************
06:39:10.131 INFO globals:59 - Starting test ubuntu_clock_app.tests.test_timer.TestTimer.test_edit_preset_must_update_preset
06:39:10.131 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
06:39:10.134 WARNING testcase:155 - Process manager backend unavailable, application snapshot support disabled.
06:39:10.137 DEBUG __init__:103 - Backed up database
06:39:10.227 INFO testcase:305 - Attempting to launch click application '(default)' from click package  'com.ubuntu.clock' and URIs ''
06:39:13.957 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
06:39:14.024 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
06:39:14.053 INFO logging:45 - MainView: Open the Timer tab. Arguments (). Keyword arguments: {}.
06:39:14.054 INFO logging:45 - MainView: Open a tab. Arguments ('TimerTab',). Keyword arguments: {}.
06:39:14.055 DEBUG dbus:432 - Selecting objects of type Tabs with attributes: {}
06:39:14.077 DEBUG dbus:432 - Selecting objects of type Tab with attributes: {}
06:39:14.201 INFO logging:45 - MainView: Open a tab. Arguments (2,). Keyword arguments: {}.
06:39:14.202 DEBUG emulators:141 - Switch to tab with index 2.
06:39:14.203 DEBUG dbus:432 - Selecting objects of type Tabs with attributes: {}
06:39:14.219 DEBUG dbus:432 - Selecting objects of type Tab with attributes: {}
06:39:14.290 DEBUG dbus:432 - Selecting objects of type Tab with attributes: {}
06:39:14.442 DEBUG emulators:150 - Current tab index: 0.
06:39:14.443 INFO logging:45 - MainView: Open the next tab. Arguments (). Keyword arguments: {}.
06:39:14.444 DEBUG emulators:126 - Switch to next tab.
06:39:14.445 DEBUG dbus:432 - Selecting objects of type Header with attributes: {'objectName': 'MainView_Header'}
06:39:14.573 INFO logging:45 - Header: Open the next tab. Arguments (). Keyword arguments: {}.
06:39:14.575 DEBUG dbus:432 - Selecting objects of type TabBar with attributes: {}
06:39:14.635 INFO logging:45 - TabBar: Open the next tab. Arguments (). Keyword arguments: {}.
06:39:14.657 DEBUG emulators:350 - Already in selection mode.
06:39:14.658 DEBUG emulators:345 - Click the next tab bar button.
06:39:14.659 DEBUG dbus:432 - Selecting objects of type QQuickPathView with attributes: {}
06:39:14.714 DEBUG dbus:432 - Selecting objects of type AbstractButton with attributes: {}
06:39:14.813 DEBUG dbus:432 - Selecting objects of type AbstractButton with attributes: {}
06:39:15.032 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:39:15.033 DEBUG _uinput:475 - Tapping at: 369,139
06:39:15.134 DEBUG dbus:432 - Selecting objects of type TabBarStyle with attributes: {}
06:39:16.632 DEBUG dbus:432 - Selecting objects of type Tabs with attributes: {}
06:39:16.677 DEBUG dbus:432 - Selecting objects of type Tab with attributes: {}
06:39:16.803 DEBUG emulators:150 - Current tab index: 1.
06:39:16.806 INFO logging:45 - MainView: Open the next tab. Arguments (). Keyword arguments: {}.
06:39:16.807 DEBUG emulators:126 - Switch to next tab.
06:39:16.808 DEBUG dbus:432 - Selecting objects of type Header with attributes: {'objectName': 'MainView_Header'}
06:39:16.947 INFO logging:45 - Header: Open the next tab. Arguments (). Keyword arguments: {}.
06:39:16.948 DEBUG dbus:432 - Selecting objects of type TabBar with attributes: {}
06:39:16.966 INFO logging:45 - TabBar: Open the next tab. Arguments (). Keyword arguments: {}.
06:39:16.981 DEBUG emulators:353 - Click the tab bar to enable selection mode.
06:39:16.994 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:39:16.996 DEBUG _uinput:475 - Tapping at: 1280,139
06:39:17.099 DEBUG emulators:345 - Click the next tab bar button.
06:39:17.102 DEBUG dbus:432 - Selecting objects of type QQuickPathView with attributes: {}
06:39:17.180 DEBUG dbus:432 - Selecting objects of type AbstractButton with attributes: {}
06:39:17.324 DEBUG dbus:432 - Selecting objects of type AbstractButton with attributes: {}
06:39:17.633 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:39:17.634 DEBUG _uinput:475 - Tapping at: 383,139
06:39:17.737 DEBUG dbus:432 - Selecting objects of type TabBarStyle with attributes: {}
06:39:18.516 DEBUG dbus:432 - Selecting objects of type Tabs with attributes: {}
06:39:18.587 DEBUG dbus:432 - Selecting objects of type Tab with attributes: {}
06:39:18.752 DEBUG dbus:432 - Selecting objects of type TimerPage with attributes: {}
06:39:18.783 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
06:39:18.806 DEBUG dbus:432 - Selecting objects of type QQuickListView with attributes: {}
06:39:18.863 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'presetTextLabel0'}
06:39:18.990 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
06:39:19.032 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'presetTimerLabel0'}
06:39:19.143 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
06:39:19.184 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'presetTextLabel1'}
06:39:19.337 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
06:39:19.384 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'presetTimerLabel1'}
06:39:19.528 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
06:39:19.574 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'presetTextLabel2'}
06:39:19.743 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
06:39:19.815 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'presetTimerLabel2'}
06:39:19.978 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
06:39:20.033 INFO logging:45 - TimerPage: Edit timer preset. Arguments (u'Soft-boiled eggEdit', 0). Keyword arguments: {}.
06:39:20.055 DEBUG dbus:432 - Selecting objects of type QQuickListView with attributes: {'objectName': 'listTimerPreset'}
06:39:20.203 INFO logging:45 - QQuickListView: Click an element from the list. Arguments ('preset0',). Keyword arguments: {}.
06:39:20.204 DEBUG dbus:432 - Selecting objects of any type with attributes: {'objectName': 'preset0'}
06:39:20.297 DEBUG dbus:432 - Selecting objects of any type with attributes: {'objectName': 'preset0'}
06:39:20.528 DEBUG dbus:432 - Selecting objects of any type with attributes: {'objectName': 'preset0'}
06:39:20.641 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:39:20.642 DEBUG _uinput:475 - Tapping at: 2087,400
06:39:20.744 DEBUG dbus:432 - Selecting objects of type LabelDots with attributes: {'objectName': 'namePreset'}
06:39:21.026 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:39:21.028 DEBUG _uinput:475 - Tapping at: 806,1218
}}}

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