Testcase: test_add_city_from_list_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_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: {{{
Oct 20 09:35:10 ubuntu-phablet kernel: [  120.524462] input: autopilot-finger as /devices/virtual/input/input6
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"
}}}

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
}}}

test-log: {{{
09:35:10.716 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
09:35:10.960 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
09:35:10.964 INFO logging:45 - TestClock: launch_test_click. Arguments (). Keyword arguments: {}.
09:35:10.967 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.clock' and URIs ''
09:35:11.738 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.clock_clock_3.2.147' with URIs '' via upstart-app-launch
09:35:15.454 INFO logging:45 - MainView: Open the Clock Page. Arguments (). Keyword arguments: {}.
09:35:15.754 INFO logging:45 - ClockPage: Swipe to reveal WorldCityList. Arguments (). Keyword arguments: {}.
09:35:16.257 DEBUG _common:45 - Moving to object's globalRect coordinates.
09:35:16.264 DEBUG _uinput:470 - Tapping at: 384,997
09:35:16.411 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