Testcase: test_edit_preset_must_update_preset

Build #:266:20140328.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
testtools.testresult.real._StringException: /var/log/syslog: {{{
Mar 28 15:47:50 ubuntu-phablet kernel: [  176.163992] iio-buffer, current state requested again
Mar 28 15:47:52 ubuntu-phablet kernel: [  178.019520] iio-buffer, current state requested again
Mar 28 15:48:02 ubuntu-phablet kernel: [  188.022927] healthd: battery l=82 v=4040 t=25.3 h=2 st=2 c=-739 chg=u
}}}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

(process:2751): 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: {{{
15:47:49.570 INFO globals:58 - ************************************************************
15:47:49.575 INFO globals:59 - Starting test ubuntu_clock_app.tests.test_timer.TestTimer.test_edit_preset_must_update_preset
15:47:49.576 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
15:47:49.605 WARNING testcase:155 - Process manager backend unavailable, application snapshot support disabled.
15:47:49.607 DEBUG __init__:103 - Backed up database
15:47:49.662 INFO testcase:305 - Attempting to launch click application '(default)' from click package  'com.ubuntu.clock' and URIs ''
15:47:53.250 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
15:47:53.337 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
15:47:53.365 INFO logging:45 - MainView: Open the Timer tab. Arguments (). Keyword arguments: {}.
15:47:53.367 INFO logging:45 - MainView: Open a tab. Arguments ('TimerTab',). Keyword arguments: {}.
15:47:53.368 DEBUG dbus:432 - Selecting objects of type Tabs with attributes: {}
15:47:53.395 DEBUG dbus:432 - Selecting objects of type Tab with attributes: {}
15:47:53.573 INFO logging:45 - MainView: Open a tab. Arguments (2,). Keyword arguments: {}.
15:47:53.574 DEBUG emulators:141 - Switch to tab with index 2.
15:47:53.574 DEBUG dbus:432 - Selecting objects of type Tabs with attributes: {}
15:47:53.599 DEBUG dbus:432 - Selecting objects of type Tab with attributes: {}
15:47:53.685 DEBUG dbus:432 - Selecting objects of type Tab with attributes: {}
15:47:53.910 DEBUG emulators:150 - Current tab index: 0.
15:47:53.911 INFO logging:45 - MainView: Open the next tab. Arguments (). Keyword arguments: {}.
15:47:53.911 DEBUG emulators:126 - Switch to next tab.
15:47:53.912 DEBUG dbus:432 - Selecting objects of type Header with attributes: {'objectName': 'MainView_Header'}
15:47:54.081 INFO logging:45 - Header: Open the next tab. Arguments (). Keyword arguments: {}.
15:47:54.082 DEBUG dbus:432 - Selecting objects of type TabBar with attributes: {}
15:47:54.103 INFO logging:45 - TabBar: Open the next tab. Arguments (). Keyword arguments: {}.
15:47:54.119 DEBUG emulators:350 - Already in selection mode.
15:47:54.121 DEBUG emulators:345 - Click the next tab bar button.
15:47:54.122 DEBUG dbus:432 - Selecting objects of type QQuickPathView with attributes: {}
15:47:54.164 DEBUG dbus:432 - Selecting objects of type AbstractButton with attributes: {}
15:47:54.250 DEBUG dbus:432 - Selecting objects of type AbstractButton with attributes: {}
15:47:54.463 DEBUG _common:45 - Moving to object's globalRect coordinates.
15:47:54.464 DEBUG _uinput:475 - Tapping at: 369,139
15:47:54.566 DEBUG dbus:432 - Selecting objects of type TabBarStyle with attributes: {}
15:47:56.095 DEBUG dbus:432 - Selecting objects of type Tabs with attributes: {}
15:47:56.140 DEBUG dbus:432 - Selecting objects of type Tab with attributes: {}
15:47:56.296 DEBUG emulators:150 - Current tab index: 1.
15:47:56.299 INFO logging:45 - MainView: Open the next tab. Arguments (). Keyword arguments: {}.
15:47:56.300 DEBUG emulators:126 - Switch to next tab.
15:47:56.301 DEBUG dbus:432 - Selecting objects of type Header with attributes: {'objectName': 'MainView_Header'}
15:47:56.420 INFO logging:45 - Header: Open the next tab. Arguments (). Keyword arguments: {}.
15:47:56.420 DEBUG dbus:432 - Selecting objects of type TabBar with attributes: {}
15:47:56.437 INFO logging:45 - TabBar: Open the next tab. Arguments (). Keyword arguments: {}.
15:47:56.450 DEBUG emulators:353 - Click the tab bar to enable selection mode.
15:47:56.463 DEBUG _common:45 - Moving to object's globalRect coordinates.
15:47:56.464 DEBUG _uinput:475 - Tapping at: 1280,139
15:47:56.565 DEBUG emulators:345 - Click the next tab bar button.
15:47:56.566 DEBUG dbus:432 - Selecting objects of type QQuickPathView with attributes: {}
15:47:56.685 DEBUG dbus:432 - Selecting objects of type AbstractButton with attributes: {}
15:47:56.798 DEBUG dbus:432 - Selecting objects of type AbstractButton with attributes: {}
15:47:57.054 DEBUG _common:45 - Moving to object's globalRect coordinates.
15:47:57.055 DEBUG _uinput:475 - Tapping at: 383,139
15:47:57.161 DEBUG dbus:432 - Selecting objects of type TabBarStyle with attributes: {}
15:47:58.959 DEBUG dbus:432 - Selecting objects of type Tabs with attributes: {}
15:47:59.009 DEBUG dbus:432 - Selecting objects of type Tab with attributes: {}
15:47:59.184 DEBUG dbus:432 - Selecting objects of type TimerPage with attributes: {}
15:47:59.215 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
15:47:59.241 DEBUG dbus:432 - Selecting objects of type QQuickListView with attributes: {}
15:47:59.303 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'presetTextLabel0'}
15:47:59.466 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
15:47:59.509 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'presetTimerLabel0'}
15:47:59.639 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
15:47:59.680 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'presetTextLabel1'}
15:47:59.814 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
15:47:59.871 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'presetTimerLabel1'}
15:48:00.028 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
15:48:00.067 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'presetTextLabel2'}
15:48:00.242 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
15:48:00.286 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'presetTimerLabel2'}
15:48:00.411 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
15:48:00.450 INFO logging:45 - TimerPage: Edit timer preset. Arguments ('Soft-boiled eggEdit', 0). Keyword arguments: {}.
15:48:00.464 DEBUG dbus:432 - Selecting objects of type QQuickListView with attributes: {'objectName': 'listTimerPreset'}
15:48:00.583 INFO logging:45 - QQuickListView: Click an element from the list. Arguments ('preset0',). Keyword arguments: {}.
15:48:00.584 DEBUG dbus:432 - Selecting objects of any type with attributes: {'objectName': 'preset0'}
15:48:00.636 DEBUG dbus:432 - Selecting objects of any type with attributes: {'objectName': 'preset0'}
15:48:00.787 DEBUG dbus:432 - Selecting objects of any type with attributes: {'objectName': 'preset0'}
15:48:00.855 DEBUG _common:45 - Moving to object's globalRect coordinates.
15:48:00.856 DEBUG _uinput:475 - Tapping at: 2087,400
15:48:00.961 DEBUG dbus:432 - Selecting objects of type LabelDots with attributes: {'objectName': 'namePreset'}
15:48:01.235 DEBUG _common:45 - Moving to object's globalRect coordinates.
15:48:01.237 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/python3/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/python3/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