Testcase: test_edit_preset_must_update_preset

Build #:258:20140325: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 25 10:59:17 ubuntu-phablet kernel: [  132.598685] init: sys_prop: mis-match msg size received: 0 expected: 128 errno: 2
Mar 25 10:59:18 ubuntu-phablet kernel: [  133.854532] iio-buffer, current state requested again
Mar 25 10:59:20 ubuntu-phablet kernel: [  135.644942] iio-buffer, current state requested again
}}}

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

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

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

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

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

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

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

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

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

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

(process:2618): 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: {{{
10:59:17.520 INFO globals:58 - ************************************************************
10:59:17.522 INFO globals:59 - Starting test ubuntu_clock_app.tests.test_timer.TestTimer.test_edit_preset_must_update_preset
10:59:17.525 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
10:59:17.534 WARNING testcase:155 - Process manager backend unavailable, application snapshot support disabled.
10:59:17.541 DEBUG __init__:103 - Backed up database
10:59:17.614 INFO testcase:305 - Attempting to launch click application '(default)' from click package  'com.ubuntu.clock' and URIs ''
10:59:21.320 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
10:59:21.398 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
10:59:21.429 INFO logging:45 - MainView: Open the Timer tab. Arguments (). Keyword arguments: {}.
10:59:21.431 INFO logging:45 - MainView: Open a tab. Arguments ('TimerTab',). Keyword arguments: {}.
10:59:21.433 DEBUG dbus:432 - Selecting objects of type Tabs with attributes: {}
10:59:21.459 DEBUG dbus:432 - Selecting objects of type Tab with attributes: {}
10:59:21.673 INFO logging:45 - MainView: Open a tab. Arguments (2,). Keyword arguments: {}.
10:59:21.674 DEBUG emulators:141 - Switch to tab with index 2.
10:59:21.674 DEBUG dbus:432 - Selecting objects of type Tabs with attributes: {}
10:59:21.704 DEBUG dbus:432 - Selecting objects of type Tab with attributes: {}
10:59:21.791 DEBUG dbus:432 - Selecting objects of type Tab with attributes: {}
10:59:22.047 DEBUG emulators:150 - Current tab index: 0.
10:59:22.053 INFO logging:45 - MainView: Open the next tab. Arguments (). Keyword arguments: {}.
10:59:22.053 DEBUG emulators:126 - Switch to next tab.
10:59:22.055 DEBUG dbus:432 - Selecting objects of type Header with attributes: {'objectName': 'MainView_Header'}
10:59:22.198 INFO logging:45 - Header: Open the next tab. Arguments (). Keyword arguments: {}.
10:59:22.198 DEBUG dbus:432 - Selecting objects of type TabBar with attributes: {}
10:59:22.214 INFO logging:45 - TabBar: Open the next tab. Arguments (). Keyword arguments: {}.
10:59:22.228 DEBUG emulators:350 - Already in selection mode.
10:59:22.228 DEBUG emulators:345 - Click the next tab bar button.
10:59:22.228 DEBUG dbus:432 - Selecting objects of type QQuickPathView with attributes: {}
10:59:22.259 DEBUG dbus:432 - Selecting objects of type AbstractButton with attributes: {}
10:59:22.343 DEBUG dbus:432 - Selecting objects of type AbstractButton with attributes: {}
10:59:22.596 DEBUG _common:45 - Moving to object's globalRect coordinates.
10:59:22.597 DEBUG _uinput:475 - Tapping at: 369,139
10:59:22.699 DEBUG dbus:432 - Selecting objects of type TabBarStyle with attributes: {}
10:59:24.218 DEBUG dbus:432 - Selecting objects of type Tabs with attributes: {}
10:59:24.270 DEBUG dbus:432 - Selecting objects of type Tab with attributes: {}
10:59:24.420 DEBUG emulators:150 - Current tab index: 1.
10:59:24.422 INFO logging:45 - MainView: Open the next tab. Arguments (). Keyword arguments: {}.
10:59:24.423 DEBUG emulators:126 - Switch to next tab.
10:59:24.424 DEBUG dbus:432 - Selecting objects of type Header with attributes: {'objectName': 'MainView_Header'}
10:59:24.555 INFO logging:45 - Header: Open the next tab. Arguments (). Keyword arguments: {}.
10:59:24.559 DEBUG dbus:432 - Selecting objects of type TabBar with attributes: {}
10:59:24.578 INFO logging:45 - TabBar: Open the next tab. Arguments (). Keyword arguments: {}.
10:59:24.593 DEBUG emulators:353 - Click the tab bar to enable selection mode.
10:59:24.606 DEBUG _common:45 - Moving to object's globalRect coordinates.
10:59:24.607 DEBUG _uinput:475 - Tapping at: 1280,139
10:59:24.710 DEBUG emulators:345 - Click the next tab bar button.
10:59:24.711 DEBUG dbus:432 - Selecting objects of type QQuickPathView with attributes: {}
10:59:24.811 DEBUG dbus:432 - Selecting objects of type AbstractButton with attributes: {}
10:59:24.955 DEBUG dbus:432 - Selecting objects of type AbstractButton with attributes: {}
10:59:25.251 DEBUG _common:45 - Moving to object's globalRect coordinates.
10:59:25.252 DEBUG _uinput:475 - Tapping at: 383,139
10:59:25.360 DEBUG dbus:432 - Selecting objects of type TabBarStyle with attributes: {}
10:59:26.162 DEBUG dbus:432 - Selecting objects of type Tabs with attributes: {}
10:59:26.252 DEBUG dbus:432 - Selecting objects of type Tab with attributes: {}
10:59:26.426 DEBUG dbus:432 - Selecting objects of type TimerPage with attributes: {}
10:59:26.456 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
10:59:26.477 DEBUG dbus:432 - Selecting objects of type QQuickListView with attributes: {}
10:59:26.533 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'presetTextLabel0'}
10:59:26.693 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
10:59:26.737 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'presetTimerLabel0'}
10:59:26.876 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
10:59:26.932 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'presetTextLabel1'}
10:59:27.091 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
10:59:27.139 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'presetTimerLabel1'}
10:59:27.259 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
10:59:27.322 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'presetTextLabel2'}
10:59:27.476 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
10:59:27.533 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'presetTimerLabel2'}
10:59:27.695 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
10:59:27.761 INFO logging:45 - TimerPage: Edit timer preset. Arguments (u'Soft-boiled eggEdit', 0). Keyword arguments: {}.
10:59:27.788 DEBUG dbus:432 - Selecting objects of type QQuickListView with attributes: {'objectName': 'listTimerPreset'}
10:59:27.936 INFO logging:45 - QQuickListView: Click an element from the list. Arguments ('preset0',). Keyword arguments: {}.
10:59:27.937 DEBUG dbus:432 - Selecting objects of any type with attributes: {'objectName': 'preset0'}
10:59:28.018 DEBUG dbus:432 - Selecting objects of any type with attributes: {'objectName': 'preset0'}
10:59:28.235 DEBUG dbus:432 - Selecting objects of any type with attributes: {'objectName': 'preset0'}
10:59:28.302 DEBUG _common:45 - Moving to object's globalRect coordinates.
10:59:28.303 DEBUG _uinput:475 - Tapping at: 2087,400
10:59:28.405 DEBUG dbus:432 - Selecting objects of type LabelDots with attributes: {'objectName': 'namePreset'}
10:59:28.673 DEBUG _common:45 - Moving to object's globalRect coordinates.
10:59:28.674 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