Testcase: test_edit_preset_must_update_preset

Build #:263:20140327: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 27 06:40:07 ubuntu-phablet kernel: [  133.662161] iio-buffer, current state requested again
Mar 27 06:40:09 ubuntu-phablet kernel: [  135.502713] iio-buffer, current state requested again
Mar 27 06:40:29 ubuntu-phablet kernel: [  155.044558] pd-g3d: Power-on latency exceeded, new value 6043083 ns
}}}

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

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

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

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

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

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

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

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

(process:2495): 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:40:06.326 INFO globals:58 - ************************************************************
06:40:06.327 INFO globals:59 - Starting test ubuntu_clock_app.tests.test_timer.TestTimer.test_edit_preset_must_update_preset
06:40:06.328 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
06:40:06.334 WARNING testcase:155 - Process manager backend unavailable, application snapshot support disabled.
06:40:06.338 DEBUG __init__:103 - Backed up database
06:40:06.485 INFO testcase:305 - Attempting to launch click application '(default)' from click package  'com.ubuntu.clock' and URIs ''
06:40:10.298 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
06:40:10.374 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
06:40:10.406 INFO logging:45 - MainView: Open the Timer tab. Arguments (). Keyword arguments: {}.
06:40:10.408 INFO logging:45 - MainView: Open a tab. Arguments ('TimerTab',). Keyword arguments: {}.
06:40:10.410 DEBUG dbus:432 - Selecting objects of type Tabs with attributes: {}
06:40:10.438 DEBUG dbus:432 - Selecting objects of type Tab with attributes: {}
06:40:10.635 INFO logging:45 - MainView: Open a tab. Arguments (2,). Keyword arguments: {}.
06:40:10.637 DEBUG emulators:141 - Switch to tab with index 2.
06:40:10.638 DEBUG dbus:432 - Selecting objects of type Tabs with attributes: {}
06:40:10.655 DEBUG dbus:432 - Selecting objects of type Tab with attributes: {}
06:40:10.716 DEBUG dbus:432 - Selecting objects of type Tab with attributes: {}
06:40:10.924 DEBUG emulators:150 - Current tab index: 0.
06:40:10.926 INFO logging:45 - MainView: Open the next tab. Arguments (). Keyword arguments: {}.
06:40:10.928 DEBUG emulators:126 - Switch to next tab.
06:40:10.929 DEBUG dbus:432 - Selecting objects of type Header with attributes: {'objectName': 'MainView_Header'}
06:40:11.066 INFO logging:45 - Header: Open the next tab. Arguments (). Keyword arguments: {}.
06:40:11.067 DEBUG dbus:432 - Selecting objects of type TabBar with attributes: {}
06:40:11.085 INFO logging:45 - TabBar: Open the next tab. Arguments (). Keyword arguments: {}.
06:40:11.101 DEBUG emulators:350 - Already in selection mode.
06:40:11.103 DEBUG emulators:345 - Click the next tab bar button.
06:40:11.104 DEBUG dbus:432 - Selecting objects of type QQuickPathView with attributes: {}
06:40:11.153 DEBUG dbus:432 - Selecting objects of type AbstractButton with attributes: {}
06:40:11.293 DEBUG dbus:432 - Selecting objects of type AbstractButton with attributes: {}
06:40:11.508 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:40:11.509 DEBUG _uinput:475 - Tapping at: 369,139
06:40:11.611 DEBUG dbus:432 - Selecting objects of type TabBarStyle with attributes: {}
06:40:13.112 DEBUG dbus:432 - Selecting objects of type Tabs with attributes: {}
06:40:13.156 DEBUG dbus:432 - Selecting objects of type Tab with attributes: {}
06:40:13.269 DEBUG emulators:150 - Current tab index: 1.
06:40:13.269 INFO logging:45 - MainView: Open the next tab. Arguments (). Keyword arguments: {}.
06:40:13.270 DEBUG emulators:126 - Switch to next tab.
06:40:13.270 DEBUG dbus:432 - Selecting objects of type Header with attributes: {'objectName': 'MainView_Header'}
06:40:13.382 INFO logging:45 - Header: Open the next tab. Arguments (). Keyword arguments: {}.
06:40:13.382 DEBUG dbus:432 - Selecting objects of type TabBar with attributes: {}
06:40:13.400 INFO logging:45 - TabBar: Open the next tab. Arguments (). Keyword arguments: {}.
06:40:13.413 DEBUG emulators:353 - Click the tab bar to enable selection mode.
06:40:13.425 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:40:13.425 DEBUG _uinput:475 - Tapping at: 1280,139
06:40:13.526 DEBUG emulators:345 - Click the next tab bar button.
06:40:13.528 DEBUG dbus:432 - Selecting objects of type QQuickPathView with attributes: {}
06:40:13.617 DEBUG dbus:432 - Selecting objects of type AbstractButton with attributes: {}
06:40:13.744 DEBUG dbus:432 - Selecting objects of type AbstractButton with attributes: {}
06:40:14.032 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:40:14.032 DEBUG _uinput:475 - Tapping at: 383,139
06:40:14.135 DEBUG dbus:432 - Selecting objects of type TabBarStyle with attributes: {}
06:40:15.986 DEBUG dbus:432 - Selecting objects of type Tabs with attributes: {}
06:40:16.054 DEBUG dbus:432 - Selecting objects of type Tab with attributes: {}
06:40:16.212 DEBUG dbus:432 - Selecting objects of type TimerPage with attributes: {}
06:40:16.255 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
06:40:16.286 DEBUG dbus:432 - Selecting objects of type QQuickListView with attributes: {}
06:40:16.366 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'presetTextLabel0'}
06:40:16.524 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
06:40:16.576 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'presetTimerLabel0'}
06:40:16.733 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
06:40:16.800 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'presetTextLabel1'}
06:40:16.953 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
06:40:17.002 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'presetTimerLabel1'}
06:40:17.160 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
06:40:17.215 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'presetTextLabel2'}
06:40:17.342 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
06:40:17.387 DEBUG dbus:432 - Selecting objects of type Label with attributes: {'objectName': 'presetTimerLabel2'}
06:40:17.526 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
06:40:17.575 INFO logging:45 - TimerPage: Edit timer preset. Arguments (u'Soft-boiled eggEdit', 0). Keyword arguments: {}.
06:40:17.595 DEBUG dbus:432 - Selecting objects of type QQuickListView with attributes: {'objectName': 'listTimerPreset'}
06:40:17.708 INFO logging:45 - QQuickListView: Click an element from the list. Arguments ('preset0',). Keyword arguments: {}.
06:40:17.708 DEBUG dbus:432 - Selecting objects of any type with attributes: {'objectName': 'preset0'}
06:40:17.784 DEBUG dbus:432 - Selecting objects of any type with attributes: {'objectName': 'preset0'}
06:40:18.003 DEBUG dbus:432 - Selecting objects of any type with attributes: {'objectName': 'preset0'}
06:40:18.081 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:40:18.081 DEBUG _uinput:475 - Tapping at: 2087,400
06:40:18.190 DEBUG dbus:432 - Selecting objects of type LabelDots with attributes: {'objectName': 'namePreset'}
06:40:18.450 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:40:18.450 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