Testcase: test_toggle_alarm_status_must_enable_or_disable_alarm

Build #:268:20140330:20140329
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_toggle_alarm_status_must_enable_or_disable_alarm
testsuite
ubuntu_clock_app.tests.test_alarm.TestAlarm
returncode
1
command
autopilot
stderr
testtools.testresult.real._StringException: /var/log/syslog: {{{
Mar 30 06:58:34 ubuntu-phablet kernel: [  227.616571] iio-buffer, current state requested again
Mar 30 06:58:35 ubuntu-phablet kernel: [  229.362729] iio-buffer, current state requested again
}}}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

(process:2923): 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:58:32.745 INFO globals:58 - ************************************************************
06:58:32.748 INFO globals:59 - Starting test ubuntu_clock_app.tests.test_alarm.TestAlarm.test_toggle_alarm_status_must_enable_or_disable_alarm
06:58:32.751 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
06:58:32.791 WARNING testcase:155 - Process manager backend unavailable, application snapshot support disabled.
06:58:32.802 DEBUG __init__:103 - Backed up database
06:58:32.887 INFO testcase:305 - Attempting to launch click application '(default)' from click package  'com.ubuntu.clock' and URIs ''
06:58:36.368 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
06:58:36.445 DEBUG dbus:432 - Selecting objects of type MainView with attributes: {}
06:58:36.472 INFO logging:45 - MainView: Open the Alarm Tab. Arguments (). Keyword arguments: {}.
06:58:36.474 INFO logging:45 - MainView: Open a tab. Arguments ('AlarmTab',). Keyword arguments: {}.
06:58:36.475 DEBUG dbus:432 - Selecting objects of type Tabs with attributes: {}
06:58:36.502 DEBUG dbus:432 - Selecting objects of type Tab with attributes: {}
06:58:36.615 INFO logging:45 - MainView: Open a tab. Arguments (1,). Keyword arguments: {}.
06:58:36.616 DEBUG emulators:141 - Switch to tab with index 1.
06:58:36.616 DEBUG dbus:432 - Selecting objects of type Tabs with attributes: {}
06:58:36.668 DEBUG dbus:432 - Selecting objects of type Tab with attributes: {}
06:58:36.746 DEBUG dbus:432 - Selecting objects of type Tab with attributes: {}
06:58:36.885 DEBUG emulators:150 - Current tab index: 0.
06:58:36.887 INFO logging:45 - MainView: Open the next tab. Arguments (). Keyword arguments: {}.
06:58:36.888 DEBUG emulators:126 - Switch to next tab.
06:58:36.889 DEBUG dbus:432 - Selecting objects of type Header with attributes: {'objectName': 'MainView_Header'}
06:58:37.037 INFO logging:45 - Header: Open the next tab. Arguments (). Keyword arguments: {}.
06:58:37.038 DEBUG dbus:432 - Selecting objects of type TabBar with attributes: {}
06:58:37.107 INFO logging:45 - TabBar: Open the next tab. Arguments (). Keyword arguments: {}.
06:58:37.128 DEBUG emulators:350 - Already in selection mode.
06:58:37.129 DEBUG emulators:345 - Click the next tab bar button.
06:58:37.129 DEBUG dbus:432 - Selecting objects of type QQuickPathView with attributes: {}
06:58:37.214 DEBUG dbus:432 - Selecting objects of type AbstractButton with attributes: {}
06:58:37.320 DEBUG dbus:432 - Selecting objects of type AbstractButton with attributes: {}
06:58:37.511 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:58:37.513 DEBUG _uinput:475 - Tapping at: 369,139
06:58:37.617 DEBUG dbus:432 - Selecting objects of type TabBarStyle with attributes: {}
06:58:37.676 DEBUG dbus:432 - Selecting objects of type Tabs with attributes: {}
06:58:37.723 DEBUG dbus:432 - Selecting objects of type Tab with attributes: {}
06:58:37.862 DEBUG emulators:150 - Current tab index: 0.
06:58:37.863 INFO logging:45 - MainView: Open the next tab. Arguments (). Keyword arguments: {}.
06:58:37.863 DEBUG emulators:126 - Switch to next tab.
06:58:37.864 DEBUG dbus:432 - Selecting objects of type Header with attributes: {'objectName': 'MainView_Header'}
06:58:37.972 INFO logging:45 - Header: Open the next tab. Arguments (). Keyword arguments: {}.
06:58:37.972 DEBUG dbus:432 - Selecting objects of type TabBar with attributes: {}
06:58:37.987 INFO logging:45 - TabBar: Open the next tab. Arguments (). Keyword arguments: {}.
06:58:38.000 DEBUG emulators:350 - Already in selection mode.
06:58:38.001 DEBUG emulators:345 - Click the next tab bar button.
06:58:38.001 DEBUG dbus:432 - Selecting objects of type QQuickPathView with attributes: {}
06:58:38.034 DEBUG dbus:432 - Selecting objects of type AbstractButton with attributes: {}
06:58:38.128 DEBUG dbus:432 - Selecting objects of type AbstractButton with attributes: {}
06:58:38.329 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:58:38.330 DEBUG _uinput:475 - Tapping at: 369,139
06:58:38.434 DEBUG dbus:432 - Selecting objects of type TabBarStyle with attributes: {}
06:58:38.496 DEBUG dbus:432 - Selecting objects of type Tabs with attributes: {}
06:58:38.540 DEBUG dbus:432 - Selecting objects of type Tab with attributes: {}
06:58:38.686 DEBUG emulators:150 - Current tab index: 0.
06:58:38.688 INFO logging:45 - MainView: Open the next tab. Arguments (). Keyword arguments: {}.
06:58:38.688 DEBUG emulators:126 - Switch to next tab.
06:58:38.689 DEBUG dbus:432 - Selecting objects of type Header with attributes: {'objectName': 'MainView_Header'}
06:58:38.795 INFO logging:45 - Header: Open the next tab. Arguments (). Keyword arguments: {}.
06:58:38.796 DEBUG dbus:432 - Selecting objects of type TabBar with attributes: {}
06:58:38.811 INFO logging:45 - TabBar: Open the next tab. Arguments (). Keyword arguments: {}.
06:58:38.830 DEBUG emulators:350 - Already in selection mode.
06:58:38.832 DEBUG emulators:345 - Click the next tab bar button.
06:58:38.833 DEBUG dbus:432 - Selecting objects of type QQuickPathView with attributes: {}
06:58:38.884 DEBUG dbus:432 - Selecting objects of type AbstractButton with attributes: {}
06:58:38.996 DEBUG dbus:432 - Selecting objects of type AbstractButton with attributes: {}
06:58:39.157 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:58:39.158 DEBUG _uinput:475 - Tapping at: 369,139
06:58:39.263 DEBUG dbus:432 - Selecting objects of type TabBarStyle with attributes: {}
06:58:39.359 DEBUG dbus:432 - Selecting objects of type Tabs with attributes: {}
06:58:39.404 DEBUG dbus:432 - Selecting objects of type Tab with attributes: {}
06:58:39.564 DEBUG emulators:150 - Current tab index: 0.
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/ubuntu_clock_app/tests/test_alarm.py", line 45, in setUp
    self.page = self.main_view.open_alarm()
  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 55, in open_alarm
    self.switch_to_tab('AlarmTab')
  File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
    return f(instance, *args, **kwargs)
  File "/home/phablet/autopilot/ubuntuuitoolkit/emulators.py", line 187, in switch_to_tab
    return self.switch_to_tab_by_index(tab.index)
  File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
    return f(instance, *args, **kwargs)
  File "/home/phablet/autopilot/ubuntuuitoolkit/emulators.py", line 155, in switch_to_tab_by_index
    'The tab with index {0} was not selected.'.format(index))
ubuntuuitoolkit.emulators.ToolkitEmulatorException: The tab with index 1 was not selected.

command_type
testcase_test