Testcase: test_add_recurring_type_alarm_must_add_to_alarm_list

Build #:210:20140227:20140224
Arch:flo (Nexus 7 2013)
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_add_recurring_type_alarm_must_add_to_alarm_list
testsuite
ubuntu_clock_app.tests.test_alarm.TestAlarm
returncode
1
command
autopilot
stderr
_StringException: /var/log/syslog: {{{
Feb 27 06:49:54 ubuntu-phablet kernel: [  275.008300] bq27541_get_psp voltage_now= 4096000 uV
Feb 27 06:49:54 ubuntu-phablet kernel: [  275.009643] bq27541_get_psp status: Charging ret= 0x0101
Feb 27 06:49:54 ubuntu-phablet kernel: [  275.011108] bq27541_get_psp current = -410 mA
Feb 27 06:49:54 ubuntu-phablet kernel: [  275.011840] bq27541_get_psp voltage_now= 4096000 uV
Feb 27 06:49:54 ubuntu-phablet kernel: [  275.012512] bq27541_get_capacity = 90% ret= 89
Feb 27 06:49:54 ubuntu-phablet kernel: [  275.013153] bq27541_get_psp temperature= 200 (0.1¢XC)
Feb 27 06:50:23 ubuntu-phablet kernel: [  304.813903] bq27541_get_psp status: Charging ret= 0x0101
Feb 27 06:50:23 ubuntu-phablet kernel: [  304.814453] bq27541_get_psp status: Charging ret= 0x0101
Feb 27 06:50:23 ubuntu-phablet kernel: [  304.815002] bq27541_get_psp voltage_now= 4122000 uV
Feb 27 06:50:23 ubuntu-phablet kernel: [  304.815551] bq27541_get_capacity = 90% ret= 89
Feb 27 06:50:23 ubuntu-phablet kernel: [  304.816131] bq27541_get_psp temperature= 200 (0.1¢XC)
Feb 27 06:50:23 ubuntu-phablet kernel: [  304.817230] bq27541_get_psp current = -177 mA
Feb 27 06:50:23 ubuntu-phablet kernel: [  304.818969] bq27541_get_capacity = 90% ret= 89
Feb 27 06:50:23 ubuntu-phablet kernel: [  304.819610] bq27541_get_psp voltage_now= 4122000 uV
Feb 27 06:50:23 ubuntu-phablet kernel: [  304.820831] bq27541_get_psp current = -177 mA
Feb 27 06:50:23 ubuntu-phablet kernel: [  304.821472] bq27541_get_psp temperature= 200 (0.1¢XC)
Feb 27 06:50:23 ubuntu-phablet kernel: [  304.822113] bq27541_get_psp status: Charging ret= 0x0101
Feb 27 06:50:23 ubuntu-phablet kernel: [  304.822570] healthd: battery l=90 v=4122 t=20.0 h=2 st=2 c=0 chg=u
Feb 27 06:50:23 ubuntu-phablet kernel: [  304.825927] bq27541_get_psp status: Charging ret= 0x0101
Feb 27 06:50:23 ubuntu-phablet kernel: [  304.826477] bq27541_get_psp voltage_now= 4122000 uV
Feb 27 06:50:23 ubuntu-phablet kernel: [  304.827026] bq27541_get_capacity = 90% ret= 89
Feb 27 06:50:23 ubuntu-phablet kernel: [  304.827575] bq27541_get_psp temperature= 200 (0.1¢XC)
Feb 27 06:50:23 ubuntu-phablet kernel: [  304.828674] bq27541_get_psp current = -177 mA
Feb 27 06:50:23 ubuntu-phablet kernel: [  304.830627] bq27541_get_psp status: Charging ret= 0x0101
Feb 27 06:50:23 ubuntu-phablet kernel: [  304.831207] bq27541_get_psp voltage_now= 4122000 uV
Feb 27 06:50:23 ubuntu-phablet kernel: [  304.831756] bq27541_get_capacity = 90% ret= 89
Feb 27 06:50:23 ubuntu-phablet kernel: [  304.832305] bq27541_get_psp temperature= 200 (0.1¢XC)
Feb 27 06:50:23 ubuntu-phablet kernel: [  304.833618] bq27541_get_psp current = -177 mA
Feb 27 06:50:23 ubuntu-phablet kernel: [  304.837890] bq27541_get_psp voltage_now= 4122000 uV
Feb 27 06:50:23 ubuntu-phablet kernel: [  304.839294] bq27541_get_psp status: Charging ret= 0x0101
Feb 27 06:50:23 ubuntu-phablet kernel: [  304.840789] bq27541_get_psp current = -177 mA
Feb 27 06:50:23 ubuntu-phablet kernel: [  304.841430] bq27541_get_psp voltage_now= 4122000 uV
Feb 27 06:50:23 ubuntu-phablet kernel: [  304.842102] bq27541_get_capacity = 90% ret= 89
Feb 27 06:50:23 ubuntu-phablet kernel: [  304.842742] bq27541_get_psp temperature= 200 (0.1¢XC)
Feb 27 06:50:23 ubuntu-phablet kernel: [  304.908721] smb345_charger: [smb345_config_thermal_limit] Bypass set HRD SFT limit=73
Feb 27 06:50:23 ubuntu-phablet kernel: [  304.908996] smb345_charger: [smb345_config_thermal_charging] temp=20, volt=4096000
Feb 27 06:50:23 ubuntu-phablet kernel: [  304.909362] smb345_charger: [smb345_config_thermal_charging] Bypass set Float Volt=e8
Feb 27 06:50:23 ubuntu-phablet kernel: [  304.909637] smb345_charger: [smb345_config_thermal_charging] Bypass charger enable
}}}

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

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

(process:2929): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
creating surface at (0, 58) with size (1200, 1862) with title 'qmlscene: clock'libust[3157/3160]: Error: Error opening shm /lttng-ust-wait-5-32011 (in
get_wait_shm() at lttng-ust-comm.c:881)
libust[3157/3160]: 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:3157): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

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

(process:3157): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
creating surface at (0, 58) with size (1200, 1862) with title 'qmlscene: clock'libust[3659/3662]: Error: Error opening shm /lttng-ust-wait-5-32011 (in
get_wait_shm() at lttng-ust-comm.c:881)
libust[3659/3662]: 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:3659): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

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

(process:3659): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
creating surface at (0, 58) with size (1200, 1862) with title 'qmlscene: clock'libust[3779/3782]: Error: Error opening shm /lttng-ust-wait-5-32011 (in
get_wait_shm() at lttng-ust-comm.c:881)
libust[3779/3782]: 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:3779): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

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

(process:3779): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
creating surface at (0, 58) with size (1200, 1862) with title 'qmlscene: clock'libust[3987/3990]: Error: Error opening shm /lttng-ust-wait-5-32011 (in
get_wait_shm() at lttng-ust-comm.c:881)
libust[3987/3990]: 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:3987): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

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

(process:3987): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
creating surface at (0, 58) with size (1200, 1862) with title 'qmlscene: clock'libust[4231/4234]: Error: Error opening shm /lttng-ust-wait-5-32011 (in
get_wait_shm() at lttng-ust-comm.c:881)
libust[4231/4234]: 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:4231): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

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

(process:4231): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
creating surface at (0, 58) with size (1200, 1862) with title 'qmlscene: clock'libust[4376/4379]: Error: Error opening shm /lttng-ust-wait-5-32011 (in
get_wait_shm() at lttng-ust-comm.c:881)
libust[4376/4379]: 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:4376): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

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

(process:4376): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
creating surface at (0, 58) with size (1200, 1862) with title 'qmlscene: clock'libust[4459/4462]: Error: Error opening shm /lttng-ust-wait-5-32011 (in
get_wait_shm() at lttng-ust-comm.c:881)
libust[4459/4462]: 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:4459): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

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

(process:4459): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
creating surface at (0, 58) with size (1200, 1862) with title 'qmlscene: clock'
}}}

test-log: {{{
06:49:51.307 INFO globals:57 - ************************************************************
06:49:51.310 INFO globals:58 - Starting test ubuntu_clock_app.tests.test_alarm.TestAlarm.test_add_recurring_type_alarm_must_add_to_alarm_list
06:49:51.313 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
06:49:51.319 WARNING testcase:152 - Process manager backend unavailable, application snapshot support disabled.
06:49:51.321 DEBUG __init__:103 - Backed up database
06:49:54.231 INFO _launcher:83 - Click package com.ubuntu.clock_clock_1.0.349 has been launched with PID 4459
06:49:55.923 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:49:56.011 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:49:56.045 INFO logging:45 - MainView: Open a tab. Arguments ('AlarmTab',). Keyword arguments: {}.
06:49:56.046 DEBUG dbus:431 - Selecting objects of type Tabs with attributes: {}
06:49:56.076 DEBUG dbus:431 - Selecting objects of type Tab with attributes: {}
06:49:56.264 INFO logging:45 - MainView: Open a tab. Arguments (1,). Keyword arguments: {}.
06:49:56.265 DEBUG emulators:142 - Switch to tab with index 1.
06:49:56.266 DEBUG dbus:431 - Selecting objects of type Tabs with attributes: {}
06:49:56.300 DEBUG dbus:431 - Selecting objects of type Tab with attributes: {}
06:49:56.412 DEBUG dbus:431 - Selecting objects of type Tab with attributes: {}
06:49:56.632 DEBUG emulators:151 - Current tab index: 0.
06:49:56.632 INFO logging:45 - MainView: Open the next tab. Arguments (). Keyword arguments: {}.
06:49:56.633 DEBUG emulators:127 - Switch to next tab.
06:49:56.634 DEBUG dbus:431 - Selecting objects of type Header with attributes: {'objectName': 'MainView_Header'}
06:49:56.836 INFO logging:45 - Header: Open the next tab. Arguments (). Keyword arguments: {}.
06:49:56.837 DEBUG dbus:431 - Selecting objects of type TabBar with attributes: {}
06:49:56.861 INFO logging:45 - TabBar: Open the next tab. Arguments (). Keyword arguments: {}.
06:49:56.886 DEBUG emulators:351 - Already in selection mode.
06:49:56.887 DEBUG emulators:346 - Click the next tab bar button.
06:49:56.888 DEBUG dbus:431 - Selecting objects of type QQuickPathView with attributes: {}
06:49:56.948 DEBUG dbus:431 - Selecting objects of type AbstractButton with attributes: {}
06:49:57.093 DEBUG dbus:431 - Selecting objects of type AbstractButton with attributes: {}
06:49:57.476 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:49:57.477 DEBUG _uinput:475 - Tapping at: 383,125
06:49:57.581 DEBUG dbus:431 - Selecting objects of type TabBarStyle with attributes: {}
06:49:58.992 DEBUG dbus:431 - Selecting objects of type Tabs with attributes: {}
06:49:59.070 DEBUG dbus:431 - Selecting objects of type Tab with attributes: {}
06:49:59.275 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:49:59.308 DEBUG dbus:431 - Selecting objects of type QQuickListView with attributes: {'objectName': 'listSavedAlarm'}
06:49:59.560 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:49:59.590 INFO logging:45 - MainView: Function to add an alarm. Arguments ('Recurring Test', 'Recurring', 'Null'). Keyword arguments: {}.
06:49:59.591 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:49:59.592 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
06:49:59.621 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:49:59.677 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('addAlarmButton',). Keyword arguments: {}.
06:49:59.677 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'addAlarmButton'}
06:49:59.787 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:49:59.788 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:49:59.874 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:49:59.875 DEBUG _uinput:475 - Tapping at: 1119,1848
06:49:59.977 DEBUG dbus:431 - Selecting objects of type Label with attributes: {'objectName': 'hourLabel'}
06:50:01.831 DEBUG _common:45 - Moving to object's globalRect coordinates.
06:50:01.832 DEBUG _uinput:475 - Tapping at: 537,567
06:50:01.934 DEBUG dbus:431 - Selecting objects of type AddAlarmPage with attributes: {}
06:50:01.990 DEBUG dbus:431 - Selecting objects of type DialerHand with attributes: {'objectName': 'hourHand'}
06:50:02.546 DEBUG _uinput:546 - Dragging from 600,405 to 312,837
06:50:03.007 DEBUG dbus:431 - Selecting objects of type Label with attributes: {'objectName': 'minuteLabel'}
06:50:28.039 ERROR proxies:410 - Introspect error on :1.114:/com/canonical/Autopilot/Introspection: dbus.exceptions.DBusException:
org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus
security policy blocked the reply, the reply timeout expired, or the network connection was broken.
06:50:28.040 DEBUG proxies:413 - Executing introspect queue due to error
06:50:31.130 INFO _launcher:258 - waiting for process to exit.
06:50:31.131 INFO _launcher:273 - Killing process 4459
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/ubuntu_clock_app/tests/test_alarm.py", line 81, in test_add_recurring_type_alarm_must_add_to_alarm_list
    self.main_view.add_alarm('Recurring Test', 'Recurring', 'Null')
  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 188, in add_alarm
    self._set_alarm_time()
  File "/home/phablet/autopilot/ubuntu_clock_app/emulators.py", line 221, in _set_alarm_time
    self._click_alarm_minute_label()
  File "/home/phablet/autopilot/ubuntu_clock_app/emulators.py", line 239, in _click_alarm_minute_label
    'Label', objectName='minuteLabel')
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 373, in wait_select_single
    return self.select_single(type_name, **kwargs)
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 318, in select_single
    instances = self.select_many(type_name, **kwargs)
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 456, in select_many
    state_dicts = self.get_state_by_path(query_path)
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 540, in get_state_by_path
    data = self._backend.introspection_iface.GetState(piece)
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
DBusException: org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)

command_type
testcase_test