Testcase: test_edit_preset_must_update_preset

Build #:249:20140320.1: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 20 20:45:55 ubuntu-phablet kernel: [  139.978874] iio-buffer, current state requested again
Mar 20 20:45:57 ubuntu-phablet kernel: [  141.794398] iio-buffer, current state requested again
}}}

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

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

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

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

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

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

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

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

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

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

(process:2426): 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: {{{
20:45:53.641 INFO globals:57 - ************************************************************
20:45:53.642 INFO globals:58 - Starting test ubuntu_clock_app.tests.test_timer.TestTimer.test_edit_preset_must_update_preset
20:45:53.644 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
20:45:53.650 WARNING testcase:152 - Process manager backend unavailable, application snapshot support disabled.
20:45:53.652 DEBUG __init__:103 - Backed up database
20:45:55.248 INFO _launcher:83 - Click package com.ubuntu.clock_clock_1.0.373 has been launched with PID 2426
20:45:57.823 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
20:45:57.948 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
20:45:57.975 INFO logging:45 - MainView: Open the Timer tab. Arguments (). Keyword arguments: {}.
20:45:57.977 INFO logging:45 - MainView: Open a tab. Arguments ('TimerTab',). Keyword arguments: {}.
20:45:57.978 DEBUG dbus:432 - Selecting objects of type Tabs with attributes: {}
20:45:58.005 DEBUG dbus:432 - Selecting objects of type Tab with attributes: {}
20:45:58.147 INFO logging:45 - MainView: Open a tab. Arguments (2,). Keyword arguments: {}.
20:45:58.148 DEBUG emulators:141 - Switch to tab with index 2.
20:45:58.149 DEBUG dbus:432 - Selecting objects of type Tabs with attributes: {}
20:45:58.175 DEBUG dbus:432 - Selecting objects of type Tab with attributes: {}
20:45:58.251 DEBUG dbus:432 - Selecting objects of type Tab with attributes: {}
20:45:58.480 DEBUG emulators:150 - Current tab index: 0.
20:45:58.482 INFO logging:45 - MainView: Open the next tab. Arguments (). Keyword arguments: {}.
20:45:58.483 DEBUG emulators:126 - Switch to next tab.
20:45:58.484 DEBUG dbus:432 - Selecting objects of type Header with attributes: {'objectName': 'MainView_Header'}
20:45:58.704 INFO logging:45 - Header: Open the next tab. Arguments (). Keyword arguments: {}.
20:45:58.705 DEBUG dbus:432 - Selecting objects of type TabBar with attributes: {}
20:45:58.725 INFO logging:45 - TabBar: Open the next tab. Arguments (). Keyword arguments: {}.
20:45:58.742 DEBUG emulators:350 - Already in selection mode.
20:45:58.743 DEBUG emulators:345 - Click the next tab bar button.
20:45:58.744 DEBUG dbus:432 - Selecting objects of type QQuickPathView with attributes: {}
20:45:58.784 DEBUG dbus:432 - Selecting objects of type AbstractButton with attributes: {}
20:45:58.882 DEBUG dbus:432 - Selecting objects of type AbstractButton with attributes: {}
20:45:59.094 DEBUG _common:45 - Moving to object's globalRect coordinates.
20:45:59.094 DEBUG _uinput:475 - Tapping at: 369,139
20:45:59.196 DEBUG dbus:432 - Selecting objects of type TabBarStyle with attributes: {}
20:45:59.738 DEBUG dbus:432 - Selecting objects of type Tabs with attributes: {}
20:45:59.800 DEBUG dbus:432 - Selecting objects of type Tab with attributes: {}
20:45:59.934 DEBUG emulators:150 - Current tab index: 1.
20:45:59.934 INFO logging:45 - MainView: Open the next tab. Arguments (). Keyword arguments: {}.
20:45:59.935 DEBUG emulators:126 - Switch to next tab.
20:45:59.935 DEBUG dbus:432 - Selecting objects of type Header with attributes: {'objectName': 'MainView_Header'}
20:46:00.083 INFO logging:45 - Header: Open the next tab. Arguments (). Keyword arguments: {}.
20:46:00.084 DEBUG dbus:432 - Selecting objects of type TabBar with attributes: {}
20:46:00.105 INFO logging:45 - TabBar: Open the next tab. Arguments (). Keyword arguments: {}.
20:46:00.120 DEBUG emulators:353 - Click the tab bar to enable selection mode.
20:46:00.138 DEBUG _common:45 - Moving to object's globalRect coordinates.
20:46:00.139 DEBUG _uinput:475 - Tapping at: 1280,139
20:46:00.243 DEBUG emulators:345 - Click the next tab bar button.
20:46:00.243 DEBUG dbus:432 - Selecting objects of type QQuickPathView with attributes: {}
20:46:00.878 DEBUG dbus:432 - Selecting objects of type AbstractButton with attributes: {}
20:46:00.982 DEBUG dbus:432 - Selecting objects of type AbstractButton with attributes: {}
20:46:01.228 DEBUG _common:45 - Moving to object's globalRect coordinates.
20:46:01.229 DEBUG _uinput:475 - Tapping at: 383,139
20:46:01.337 DEBUG dbus:432 - Selecting objects of type TabBarStyle with attributes: {}
20:46:02.134 DEBUG dbus:432 - Selecting objects of type Tabs with attributes: {}
20:46:02.219 DEBUG dbus:432 - Selecting objects of type Tab with attributes: {}
20:46:02.340 DEBUG dbus:432 - Selecting objects of type TimerPage with attributes: {}
20:46:02.371 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
20:46:02.392 DEBUG dbus:432 - Selecting objects of type QQuickListView with attributes: {}
20:46:02.445 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'presetTextLabel0'}
20:46:02.558 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
20:46:02.601 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'presetTimerLabel0'}
20:46:02.728 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
20:46:02.801 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'presetTextLabel1'}
20:46:02.953 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
20:46:03.010 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'presetTimerLabel1'}
20:46:03.175 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
20:46:03.225 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'presetTextLabel2'}
20:46:03.345 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
20:46:03.390 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'presetTimerLabel2'}
20:46:03.507 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
20:46:03.581 INFO logging:45 - TimerPage: Edit timer preset. Arguments (u'Soft-boiled eggEdit', 0). Keyword arguments: {}.
20:46:03.613 DEBUG dbus:432 - Selecting objects of type QQuickListView with attributes: {'objectName': 'listTimerPreset'}
20:46:03.740 INFO logging:45 - QQuickListView: Click an element from the list. Arguments ('preset0',). Keyword arguments: {}.
20:46:03.741 DEBUG dbus:432 - Selecting objects of any type with attributes: {'objectName': 'preset0'}
20:46:03.793 DEBUG dbus:432 - Selecting objects of any type with attributes: {'objectName': 'preset0'}
20:46:03.975 DEBUG dbus:432 - Selecting objects of any type with attributes: {'objectName': 'preset0'}
20:46:04.047 DEBUG _common:45 - Moving to object's globalRect coordinates.
20:46:04.048 DEBUG _uinput:475 - Tapping at: 2087,400
20:46:04.149 DEBUG dbus:432 - Selecting objects of type LabelDots with attributes: {'objectName': 'namePreset'}
20:46:04.425 DEBUG _common:45 - Moving to object's globalRect coordinates.
20:46:04.426 DEBUG _uinput:475 - Tapping at: 806,1218
20:46:15.140 INFO _launcher:264 - waiting for process to exit.
20:46:15.141 INFO _launcher:279 - Killing process 2426
}}}

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