Testcase: test_delete_local_world_city

Build #:214:20140301:20140228.1
Arch:mako (Nexus 4)
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_delete_local_world_city
testsuite
ubuntu_clock_app.tests.test_clock.TestClock
returncode
1
command
autopilot
stderr
_StringException: /var/log/syslog: {{{
Mar  1 07:16:02 ubuntu-phablet kernel: [  222.123241] healthd: battery l=99 v=4334 t=24.0 h=2 st=2 c=40 chg=u
Mar  1 07:16:02 ubuntu-phablet kernel: [  222.151258] adjust_soc: ibat_ua = -86300, vbat_uv = 4327714, soc = 99, batt_temp=240
Mar  1 07:16:10 ubuntu-phablet kernel: [  230.818281] wlan: [1272:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:e5 chan=
1, rssi = -71, countryCode US
Mar  1 07:16:10 ubuntu-phablet kernel: [  230.818586] wlan: [1272:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:e1 chan=
1, rssi = -66, countryCode US
Mar  1 07:16:10 ubuntu-phablet kernel: [  230.818800] wlan: [1272:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 74:91:1a:28:c5:dd chan=
161, rssi = -59, countryCode US
Mar  1 07:16:10 ubuntu-phablet kernel: [  230.818983] wlan: [1272:E :SME] csrMoveTempScanResultsToMainList: 2928: Information about current country
Bssid 74:91:1a:28:c5:dd chan= 161, rssi = -59, countryCode US
Mar  1 07:16:12 ubuntu-phablet kernel: [  232.200854] healthd: battery l=99 v=4372 t=24.0 h=2 st=2 c=-256 chg=u
}}}

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

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

(process:3302): 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 (768, 1222) with title 'qmlscene: clock'libust[3575/3579]: Error: Error opening shm /lttng-ust-wait-5-32011 (in
get_wait_shm() at lttng-ust-comm.c:881)
libust[3575/3579]: 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:3575): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

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

(process:3575): 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 (768, 1222) with title 'qmlscene: clock'libust[4175/4178]: Error: Error opening shm /lttng-ust-wait-5 (in
get_wait_shm() at lttng-ust-comm.c:881)
libust[4175/4178]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[4175/4179]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:881)
libust[4175/4179]: 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:4175): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

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

(process:4175): 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 (768, 1222) with title 'qmlscene: clock'libust[4314/4317]: Error: Error opening shm /lttng-ust-wait-5-32011 (in
get_wait_shm() at lttng-ust-comm.c:881)
libust[4314/4317]: 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:4314): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

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

(process:4314): 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 (768, 1222) with title 'qmlscene: clock'libust[4535/4539]: Error: Error opening shm /lttng-ust-wait-5-32011 (in
get_wait_shm() at lttng-ust-comm.c:881)
libust[4535/4539]: 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:4535): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

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

(process:4535): 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 (768, 1222) with title 'qmlscene: clock'libust[4801/4804]: Error: Error opening shm /lttng-ust-wait-5-32011 (in
get_wait_shm() at lttng-ust-comm.c:881)
libust[4801/4804]: 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:4801): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.

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

(process:4801): 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 (768, 1222) with title 'qmlscene: clock'
}}}

test-log: {{{
07:15:58.576 INFO globals:57 - ************************************************************
07:15:58.577 INFO globals:58 - Starting test ubuntu_clock_app.tests.test_clock.TestClock.test_delete_local_world_city
07:15:58.578 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
07:15:58.585 WARNING testcase:152 - Process manager backend unavailable, application snapshot support disabled.
07:15:58.587 DEBUG __init__:103 - Backed up database
07:16:01.745 INFO _launcher:83 - Click package com.ubuntu.clock_clock_1.0.349 has been launched with PID 4801
07:16:03.882 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:16:04.019 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:16:04.055 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:16:04.055 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
07:16:04.102 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:16:04.195 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:16:04.232 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
07:16:04.266 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('addCityAction',). Keyword arguments: {}.
07:16:04.267 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'addCityAction'}
07:16:04.379 DEBUG _common:45 - Moving to object's globalRect coordinates.
07:16:04.380 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
07:16:04.460 DEBUG _common:45 - Moving to object's globalRect coordinates.
07:16:04.461 DEBUG _uinput:475 - Tapping at: 687,1208
07:16:04.563 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:16:04.817 DEBUG dbus:431 - Selecting objects of type Base with attributes: {'objectName': 'worldcity0'}
07:16:06.059 DEBUG dbus:431 - Selecting objects of type Base with attributes: {'objectName': 'worldcity0'}
07:16:06.710 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:16:06.778 DEBUG dbus:431 - Selecting objects of type Label with attributes: {'objectName': 'city_name'}
07:16:06.871 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:16:06.933 DEBUG _common:45 - Moving to object's globalRect coordinates.
07:16:06.934 DEBUG _uinput:475 - Tapping at: 384,499
07:16:07.036 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:16:07.141 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:16:07.186 INFO logging:45 - MainView: Close the toolbar if it's opened. Arguments (). Keyword arguments: {}.
07:16:07.187 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
07:16:07.234 INFO logging:45 - Toolbar: Close the toolbar if it's opened. Arguments (). Keyword arguments: {}.
07:16:07.287 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:16:07.362 DEBUG dbus:431 - Selecting objects of type ClockPage with attributes: {}
07:16:07.401 DEBUG dbus:431 - Selecting objects of type QQuickFlickable with attributes: {}
07:16:07.526 DEBUG _uinput:546 - Dragging from 384,669 to 384,262
07:16:07.953 DEBUG dbus:431 - Selecting objects of type QQuickFlickable with attributes: {}
07:16:08.027 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:16:08.071 DEBUG dbus:431 - Selecting objects of any type with attributes: {'objectName': 'listWorldClocks'}
07:16:08.431 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
07:16:08.499 DEBUG dbus:431 - Selecting objects of type Standard with attributes: {'objectName': 'savedworldcity0'}
07:16:08.750 INFO logging:45 - Standard: Swipe the item in a specific direction. Arguments (). Keyword arguments: {}.
07:16:08.823 DEBUG _uinput:546 - Dragging from 96,1165 to 768,1165
07:16:20.231 INFO _launcher:258 - waiting for process to exit.
07:16:20.233 INFO _launcher:273 - Killing process 4801
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/ubuntu_clock_app/tests/test_clock.py", line 98, in test_delete_local_world_city
    saved_city.swipe_to_delete()
  File "/usr/lib/python2.7/dist-packages/autopilot/logging.py", line 46, in inner
    return f(instance, *args, **kwargs)
  File "/home/phablet/autopilot/ubuntuuitoolkit/emulators.py", line 595, in swipe_to_delete
    self._wait_until_deleted()
  File "/home/phablet/autopilot/ubuntuuitoolkit/emulators.py", line 617, in _wait_until_deleted
    self.implicitHeight.wait_for(0)
  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 Standard.implicitHeight failed: 0 != dbus.Double(112.0, variant_level=1)

command_type
testcase_test