Testcase: test_add_city_from_list_must_add_world_city

Build #:138:20141121:20141119
Arch:mako (Nexus 4)
Release:utopic
Variant:touch_stable
Artifacts
Console Log

Failure explanation

This test failure has not yet been categorized.
Log in to edit.

Test case data

testcase
test_add_city_from_list_must_add_world_city
testsuite
ubuntu_clock_app.tests.test_clock.TestClock
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)

/var/log/syslog: {{{
Nov 21 17:41:40 ubuntu-phablet kernel: [  333.678773] wlan: [1383:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:ee chan=
149, rssi = -81, countryCode US
Nov 21 17:41:40 ubuntu-phablet kernel: [  333.679017] wlan: [1383:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:ed chan=
149, rssi = -80, countryCode US
Nov 21 17:41:40 ubuntu-phablet kernel: [  333.679261] wlan: [1383:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:ec chan=
149, rssi = -79, countryCode US
Nov 21 17:41:40 ubuntu-phablet kernel: [  333.679505] wlan: [1383:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:e6 chan=
6, rssi = -65, countryCode US
Nov 21 17:41:40 ubuntu-phablet kernel: [  333.680115] wlan: [1383:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:19:07:c4:12:40 chan=
1, rssi = -55, countryCode US
Nov 21 17:41:40 ubuntu-phablet kernel: [  333.680329] wlan: [1383:E :SME] csrMoveTempScanResultsToMainList: 2928: Information about current country
Bssid 00:19:07:c4:12:40 chan= 1, rssi = -55, countryCode US
}}}

Application Log (com.ubuntu.clock_clock_3.2.165): {{{
libust[3662/3665]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3662/3665]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3662/3664]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3662/3664]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
Testability driver loaded. Wire protocol version is "1.4".
qml: [LOG]: Clock Page loaded
UbuntuWindow - regular geometry
qml: [Source Error]: Location Service Error
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=768, height=1222)
UbuntuWindow::handleSurfaceFocusChange(focused=false)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
qml: [LOG]: Alarm Page loaded

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

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

(process:3662): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
Fail to connect with client Unable to connect to 'Alarms': No such source for UID '1416591528.3662.0@ubuntu-phablet'

(process:3662): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(process:3662): libecal-CRITICAL **: e_cal_client_get_view: assertion 'E_IS_CAL_CLIENT (client)' failed
libust[4187/4190]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4187/4190]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4187/4189]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4187/4189]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
Testability driver loaded. Wire protocol version is "1.4".
qml: [LOG]: Clock Page loaded
UbuntuWindow - regular geometry
qml: [Source Error]: Location Service Error
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=768, height=1222)
UbuntuWindow::handleSurfaceFocusChange(focused=false)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
qml: [LOG]: Alarm Page loaded

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

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

(process:4187): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
qml: [LOG]: Alarm Database loaded
libust[4300/4303]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4300/4303]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
Testability driver loaded. Wire protocol version is "1.4".
qml: [LOG]: Clock Page loaded
UbuntuWindow - regular geometry
qml: [Source Error]: Location Service Error
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=768, height=1222)
UbuntuWindow::handleSurfaceFocusChange(focused=false)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
qml: [LOG]: Alarm Page loaded

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

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

(process:4300): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
qml: [LOG]: Alarm Database loaded
libust[4469/4471]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4469/4471]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4469/4472]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4469/4472]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
Testability driver loaded. Wire protocol version is "1.4".
qml: [LOG]: Clock Page loaded
UbuntuWindow - regular geometry
qml: [Source Error]: Location Service Error
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=768, height=1222)
UbuntuWindow::handleSurfaceFocusChange(focused=false)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
qml: [LOG]: Alarm Page loaded

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

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

(process:4469): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
qml: [LOG]: Alarm Database loaded
libust[4654/4662]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4654/4662]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4654/4661]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4654/4661]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
Testability driver loaded. Wire protocol version is "1.4".
qml: [LOG]: Clock Page loaded
UbuntuWindow - regular geometry
qml: [Source Error]: Location Service Error
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=768, height=1222)
UbuntuWindow::handleSurfaceFocusChange(focused=false)
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
qml: WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and
actions.
qml: [LOG]: Alarm Page loaded

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

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

(process:4654): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied.  dconf will not work properly.
qml: [LOG]: Alarm Database loaded
}}}

test-log: {{{
17:41:09.010 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
17:41:09.017 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
17:41:09.018 INFO logging:45 - TestClock: launch_test_click. Arguments (). Keyword arguments: {}.
17:41:09.019 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.clock' and URIs ''
17:41:09.811 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.clock_clock_3.2.165' with URIs '' via upstart-app-launch
17:41:37.364 ERROR proxies:410 - Introspect error on :1.113:/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.
17:41:37.370 DEBUG proxies:413 - Executing introspect queue due to error
17:41:39.056 INFO logging:45 - MainView: Open the Clock Page. Arguments (). Keyword arguments: {}.
17:41:39.311 INFO logging:45 - ClockPage: Swipe to reveal WorldCityList. Arguments (). Keyword arguments: {}.
17:41:39.562 DEBUG _common:45 - Moving to object's globalRect coordinates.
17:41:39.563 DEBUG _uinput:470 - Tapping at: 384,997
17:41:39.709 INFO logging:45 - MainView: Return the World City List page. Arguments (). Keyword arguments: {}.
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/ubuntu_clock_app/tests/test_clock.py", line 55, in test_add_city_from_list_must_add_world_city
    worldCityList = self.main_view.get_worldCityList()
  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 67, in get_worldCityList
    objectName="worldCityList")
  File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 295, in wait_select_single
    return self.select_single(type_name, **kwargs)
  File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 244, in select_single
    raise StateNotFoundError(type_name_str, **kwargs)
autopilot.exceptions.StateNotFoundError: Object not found with name 'WorldCityList' and properties {'objectName': 'worldCityList'}.

Tips on minimizing the occurrence of this failureare available here:
http://developer.ubuntu.com/api/devel/ubuntu-14.10/python/autopilot/faq/troubleshooting.html

command_type
testcase_test