Testcase: test_add_city_by_searching_must_add_world_city

Build #:290:20141020:20141017.2
Arch:mako (Nexus 4)
Release:utopic
Variant:touch_custom
Artifacts
Console Log

Failure explanation

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

Test case data

testcase
test_add_city_by_searching_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: {{{
Oct 20 09:35:15 ubuntu-phablet dbus[1506]: apparmor="DENIED" operation="dbus_method_return"  bus="session" mask="send" name=":1.99" pid=3770
profile="com.ubuntu.clock_clock_3.2.147" peer_pid=3759 peer_profile="unconfined"
Oct 20 09:35:33 ubuntu-phablet dbus[1506]: apparmor="DENIED" operation="dbus_method_return"  bus="session" mask="send" name=":1.99" pid=3956
profile="com.ubuntu.clock_clock_3.2.147" peer_pid=3759 peer_profile="unconfined"
Oct 20 09:35:35 ubuntu-phablet kernel: [  145.682588] wlan: [1390:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:ef chan=
36, rssi = -88, countryCode US
Oct 20 09:35:35 ubuntu-phablet kernel: [  145.682832] wlan: [1390:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:21:d8:49:c8:e6 chan=
6, rssi = -63, countryCode US
Oct 20 09:35:35 ubuntu-phablet kernel: [  145.683076] wlan: [1390:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 74:91:1a:28:c5:dd chan=
161, rssi = -58, countryCode US
Oct 20 09:35:35 ubuntu-phablet kernel: [  145.683259] wlan: [1390:E :SME] csrMoveTempScanResultsToMainList: 2928: Information about current country
Bssid 74:91:1a:28:c5:dd chan= 161, rssi = -58, countryCode US
Oct 20 09:35:35 ubuntu-phablet kernel: [  145.683931] wlan: [1390:E :SME] csrMoveTempScanResultsToMainList: 2908: 11d AP Bssid 00:19:07:c4:12:40 chan=
1, rssi = -57, countryCode US
}}}

Application Log (com.ubuntu.clock_clock_3.2.147): {{{
libust[3770/3772]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3770/3772]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3770/3773]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3770/3773]: 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".
"Theme not found: " "themes.Ubuntu.Custom"

(process:3770): dconf-WARNING **: unable to open named profile (/custom/etc/dconf_profile): using the null configuration.
QQmlComponent: Component is not ready
QQmlComponent: Component is not ready
QQmlComponent: Component is not ready
QQmlComponent: Component is not ready
QQmlComponent: Component is not ready
QQmlComponent: Component is not ready
QQmlComponent: Component is not ready
QQmlComponent: Component is not ready
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:330:9: QML AppHeader: Warning: Style PageHeadStyle.qml not found in theme
themes.Ubuntu.Custom
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:202:5: QML StyledItem: Warning: Style MainViewStyle.qml not found in theme
themes.Ubuntu.Custom
qml: [LOG]: Clock Page loaded
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/PageHeadConfiguration.qml:192: TypeError: Cannot read property 'selected' of null
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:392: TypeError: Cannot read property '__tabBar' of null
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/PageHeadConfiguration.qml:192: TypeError: Cannot read property 'selected' of null
file:///usr/share/click/preinstalled/com.ubuntu.clock/3.2.147/share/qml/upstreamcomponents/PageWithBottomEdge.qml:178: TypeError: Cannot read property
'normal' of null
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Label.qml:58: TypeError: Cannot read property 'selected' of null
file:///usr/share/click/preinstalled/com.ubuntu.clock/3.2.147/share/qml/upstreamcomponents/FakeHeader.qml:30: TypeError: Cannot read property 'normal'
of null
file:///usr/share/click/preinstalled/com.ubuntu.clock/3.2.147/share/qml/upstreamcomponents/PageWithBottomEdge.qml:293: TypeError: Cannot read property
'normal' of null
file:///usr/share/click/preinstalled/com.ubuntu.clock/3.2.147/share/qml/clock/ClockPage.qml:87: TypeError: Cannot read property 'selected' of null
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Label.qml:58: TypeError: Cannot read property 'selected' of null
UbuntuWindow - regular geometry
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:202:5: QML StyledItem: Warning: Style MainViewStyle.qml not found in theme
themes.Ubuntu.Custom
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:392: TypeError: Cannot read property '__tabBar' of null
UbuntuWindow::handleSurfaceResize(width=768, height=1226)
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.
QQmlComponent: Component is not ready
QQmlComponent: Component is not ready
QQmlComponent: Component is not ready
QQmlComponent: Component is not ready
QQmlComponent: Component is not ready
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
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/PageHeadConfiguration.qml:192: TypeError: Cannot read property 'selected' of null
file:///usr/share/click/preinstalled/com.ubuntu.clock/3.2.147/share/qml/components/HeaderButton.qml:35: TypeError: Cannot read property 'selected' of
null
file:///usr/share/click/preinstalled/com.ubuntu.clock/3.2.147/share/qml/components/HeaderButton.qml:35: TypeError: Cannot read property 'selected' of
null
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Label.qml:58: TypeError: Cannot read property 'selected' of null
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Label.qml:58: TypeError: Cannot read property 'selected' of null
Request with 1 sources
qml: [LOG]: Alarm Database loaded
libust[3956/3960]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3956/3960]: 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".
"Theme not found: " "themes.Ubuntu.Custom"

(process:3956): dconf-WARNING **: unable to open named profile (/custom/etc/dconf_profile): using the null configuration.
QQmlComponent: Component is not ready
QQmlComponent: Component is not ready
QQmlComponent: Component is not ready
QQmlComponent: Component is not ready
QQmlComponent: Component is not ready
QQmlComponent: Component is not ready
QQmlComponent: Component is not ready
QQmlComponent: Component is not ready
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:330:9: QML AppHeader: Warning: Style PageHeadStyle.qml not found in theme
themes.Ubuntu.Custom
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:202:5: QML StyledItem: Warning: Style MainViewStyle.qml not found in theme
themes.Ubuntu.Custom
qml: [LOG]: Clock Page loaded
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/PageHeadConfiguration.qml:192: TypeError: Cannot read property 'selected' of null
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:392: TypeError: Cannot read property '__tabBar' of null
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/PageHeadConfiguration.qml:192: TypeError: Cannot read property 'selected' of null
file:///usr/share/click/preinstalled/com.ubuntu.clock/3.2.147/share/qml/upstreamcomponents/PageWithBottomEdge.qml:178: TypeError: Cannot read property
'normal' of null
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Label.qml:58: TypeError: Cannot read property 'selected' of null
file:///usr/share/click/preinstalled/com.ubuntu.clock/3.2.147/share/qml/upstreamcomponents/FakeHeader.qml:30: TypeError: Cannot read property 'normal'
of null
file:///usr/share/click/preinstalled/com.ubuntu.clock/3.2.147/share/qml/upstreamcomponents/PageWithBottomEdge.qml:293: TypeError: Cannot read property
'normal' of null
file:///usr/share/click/preinstalled/com.ubuntu.clock/3.2.147/share/qml/clock/ClockPage.qml:87: TypeError: Cannot read property 'selected' of null
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Label.qml:58: TypeError: Cannot read property 'selected' of null
UbuntuWindow - regular geometry
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:202:5: QML StyledItem: Warning: Style MainViewStyle.qml not found in theme
themes.Ubuntu.Custom
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/MainView.qml:392: TypeError: Cannot read property '__tabBar' of null
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.
QQmlComponent: Component is not ready
QQmlComponent: Component is not ready
QQmlComponent: Component is not ready
QQmlComponent: Component is not ready
QQmlComponent: Component is not ready
UbuntuWindow::handleSurfaceResize(width=768, height=1226)
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
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/PageHeadConfiguration.qml:192: TypeError: Cannot read property 'selected' of null
file:///usr/share/click/preinstalled/com.ubuntu.clock/3.2.147/share/qml/components/HeaderButton.qml:35: TypeError: Cannot read property 'selected' of
null
file:///usr/share/click/preinstalled/com.ubuntu.clock/3.2.147/share/qml/components/HeaderButton.qml:35: TypeError: Cannot read property 'selected' of
null
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Label.qml:58: TypeError: Cannot read property 'selected' of null
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Label.qml:58: TypeError: Cannot read property 'selected' of null
qml: [LOG]: Alarm Database loaded
}}}

test-log: {{{
09:35:28.973 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
09:35:28.978 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
09:35:28.979 INFO logging:45 - TestClock: launch_test_click. Arguments (). Keyword arguments: {}.
09:35:28.980 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.clock' and URIs ''
09:35:29.706 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.clock_clock_3.2.147' with URIs '' via upstart-app-launch
09:35:33.702 INFO logging:45 - MainView: Open the Clock Page. Arguments (). Keyword arguments: {}.
09:35:34.013 INFO logging:45 - ClockPage: Swipe to reveal WorldCityList. Arguments (). Keyword arguments: {}.
09:35:34.477 DEBUG _common:45 - Moving to object's globalRect coordinates.
09:35:34.478 DEBUG _uinput:470 - Tapping at: 384,997
09:35:34.613 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 75, in test_add_city_by_searching_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