Testcase: test_add_feed_to_new_topic

Build #:271:20150728:20150708
Arch:mako (Nexus 4)
Release:wily
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_feed_to_new_topic
testsuite
shorts_app.tests.test_rssreader.TestMainWindow
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)

/var/log/syslog: {{{
Jul 28 08:05:09 ubuntu-phablet powerd[891]: handle_requestSysState from :1.81 (active) - ACTIVE (1)
Jul 28 08:05:09 ubuntu-phablet powerd[891]: name_watch_add: looking for :1.81
Jul 28 08:05:09 ubuntu-phablet powerd[891]: watching :1.81 to see when it disappears on dbus
Jul 28 08:05:09 ubuntu-phablet powerd[891]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 28 08:05:09 ubuntu-phablet powerd[891]: handle_requestSysState - SUCCESS
Jul 28 08:05:09 ubuntu-phablet powerd[891]: Enqueue state change to ACTIVE
Jul 28 08:05:09 ubuntu-phablet powerd[891]: queue empty && state == current, discarding
Jul 28 08:05:09 ubuntu-phablet powerd[891]: libsuspend: release_wake_lock: powerd_power_request
Jul 28 08:05:26 ubuntu-phablet powerd[891]: handle_requestSysState from :1.21 (usensord) - ACTIVE (1)
Jul 28 08:05:26 ubuntu-phablet powerd[891]: name_watch_add: looking for :1.21
Jul 28 08:05:26 ubuntu-phablet powerd[891]: watching :1.21 to see when it disappears on dbus
Jul 28 08:05:26 ubuntu-phablet powerd[891]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 28 08:05:26 ubuntu-phablet powerd[891]: handle_requestSysState - SUCCESS
Jul 28 08:05:26 ubuntu-phablet powerd[891]: Enqueue state change to ACTIVE
Jul 28 08:05:26 ubuntu-phablet powerd[891]: queue empty && state == current, discarding
Jul 28 08:05:26 ubuntu-phablet powerd[891]: libsuspend: release_wake_lock: powerd_power_request
Jul 28 08:05:28 ubuntu-phablet powerd[891]: handle_clearSysState from :1.21, cookie: 74caa217-233d-4f46-b04f-0cdc43546592
Jul 28 08:05:28 ubuntu-phablet powerd[891]: clear_sys_request: usensord - :1.21
Jul 28 08:05:28 ubuntu-phablet powerd[891]: name_watch_remove: looking for :1.21
Jul 28 08:05:28 ubuntu-phablet powerd[891]: name_watch: ref_count for :1.21 is now 0
Jul 28 08:05:28 ubuntu-phablet powerd[891]: no longer watching :1.21, there are no more requests
Jul 28 08:05:28 ubuntu-phablet powerd[891]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 28 08:05:28 ubuntu-phablet powerd[891]: Enqueue state change to ACTIVE
Jul 28 08:05:28 ubuntu-phablet powerd[891]: queue empty && state == current, discarding
Jul 28 08:05:28 ubuntu-phablet powerd[891]: libsuspend: release_wake_lock: powerd_power_request
Jul 28 08:05:44 ubuntu-phablet powerd[891]: handle_clearSysState from :1.81, cookie: b8e8afb1-cc3e-4a6d-80d8-87b26ec4c299
Jul 28 08:05:44 ubuntu-phablet powerd[891]: clear_sys_request: active - :1.81
Jul 28 08:05:44 ubuntu-phablet powerd[891]: name_watch_remove: looking for :1.81
Jul 28 08:05:44 ubuntu-phablet powerd[891]: name_watch: ref_count for :1.81 is now 0
Jul 28 08:05:44 ubuntu-phablet powerd[891]: no longer watching :1.81, there are no more requests
Jul 28 08:05:44 ubuntu-phablet powerd[891]: libsuspend: acquire_wake_lock: powerd_power_request
Jul 28 08:05:44 ubuntu-phablet powerd[891]: Enqueue state change to ACTIVE
Jul 28 08:05:44 ubuntu-phablet powerd[891]: queue empty && state == current, discarding
Jul 28 08:05:44 ubuntu-phablet powerd[891]: libsuspend: release_wake_lock: powerd_power_request
Jul 28 08:05:45 ubuntu-phablet dbus[761]: [system] Activating service name='com.canonical.PropertyService' (using servicehelper)
Jul 28 08:05:45 ubuntu-phablet dbus[761]: [system] Successfully activated service 'com.canonical.PropertyService'
}}}

Application Log (com.ubuntu.shorts_shorts_0.2.357.1): {{{
libust[6303/6311]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[6303/6311]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[6303/6310]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[6303/6310]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:971)
Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
Testability driver loaded. Wire protocol version is "1.4".
file:///custom/click/com.ubuntu.shorts/0.2.357.1/feeds/EditFeedPage.qml:121:17: QML TextField: Theme.createStyleComponent() is deprecated. Use
ThemeSettings instead.
file:///custom/click/com.ubuntu.shorts/0.2.357.1/feeds/TopicManagement.qml:160:17: QML Button: Theme.createStyleComponent() is deprecated. Use
ThemeSettings instead.
file:///custom/click/com.ubuntu.shorts/0.2.357.1/feeds/AppendFeedPage.qml:251:13: QML ActivityIndicator: Theme.createStyleComponent() is deprecated.
Use ThemeSettings instead.
file:///custom/click/com.ubuntu.shorts/0.2.357.1/feeds/AppendFeedPage.qml:128:9: QML TextField: Theme.createStyleComponent() is deprecated. Use
ThemeSettings instead.
<Unknown File>: Invalid empty URL
<Unknown File>: Invalid empty URL
<Unknown File>: Invalid empty URL
<Unknown File>: Invalid empty URL
<Unknown File>: Invalid empty URL
<Unknown File>: Invalid empty URL
<Unknown File>: Invalid empty URL
<Unknown File>: Invalid empty URL
ERROR: NO TAGS DATABASE
 (file:///custom/click/com.ubuntu.shorts/0.2.357.1/databasemodule_v2.js:489)
loadTags (file:///custom/click/com.ubuntu.shorts/0.2.357.1/databasemodule_v2.js:487)
reloadTopics (file:///custom/click/com.ubuntu.shorts/0.2.357.1/feeds/TopicManagement.qml:29)
onCompleted (file:///custom/click/com.ubuntu.shorts/0.2.357.1/feeds/TopicManagement.qml:23)
qml: db version:  1.2
qml: tag INSERT ID:  1
qml: dbResult.tagId 1
qml: feed INSERT ID:  1
qml: dbResult.feedId 1
qml: feed INSERT ID:  2
qml: dbResult.feedId 2
qml: feed_tag INSERT ID:  1
qml: feed_tag INSERT ID:  2
qml: tag INSERT ID:  2
qml: dbResult.tagId 2
qml: feed INSERT ID:  3
qml: dbResult.feedId 3
qml: feed INSERT ID:  4
qml: dbResult.feedId 4
qml: feed INSERT ID:  5
qml: dbResult.feedId 5
qml: feed_tag INSERT ID:  3
qml: feed_tag INSERT ID:  4
qml: feed_tag INSERT ID:  5
qml: REFRESH TOPIC 0
qml: feed SELECTED:  5
QNetworkManagerInterface::QNetworkManagerInterface(QObject*) propsReply "An AppArmor policy prevents this sender from sending this message to this
recipient; type="method_call", sender=":1.101" (uid=32011 pid=6303 comm="/usr/lib/arm-linux-gnueabihf/qt5/bin/qmlscene shor")
interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager"
(uid=0 pid=1829 comm="NetworkManager ")"
QNetworkManagerInterface::QNetworkManagerInterface(QObject*) nmReply "An AppArmor policy prevents this sender from sending this message to this
recipient; type="method_call", sender=":1.101" (uid=32011 pid=6303 comm="/usr/lib/arm-linux-gnueabihf/qt5/bin/qmlscene shor")
interface="org.freedesktop.NetworkManager" member="GetDevices" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager"
(uid=0 pid=1829 comm="NetworkManager ")"
"Object path cannot be empty"
"Object path cannot be empty"
UbuntuWindow - regular geometry
qml: Whoops, null model in loadMoreItems
qml: Whoops, null model in loadMoreItems
qml: Whoops, null model in loadMoreItems
qml: Whoops, null model in loadMoreItems
file:///custom/click/com.ubuntu.shorts/0.2.357.1/feeds/TopicComponent.qml:181:17: QML TextField: Theme.createStyleComponent() is deprecated. Use
ThemeSettings instead.
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
UbuntuWindow::handleSurfaceResize(width=768, height=1222)
qml: Whoops, null model in loadMoreItems
qml: Whoops, null model in loadMoreItems
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
qml: XML NETWORK GFA: {"responseDetails":"","responseStatus":0}
qml: XML NETWORK GFA: {"responseDetails":"","responseStatus":0}
qml: XML NETWORK GFA: {"responseDetails":"","responseStatus":0}
libust[7444/7447]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[7444/7447]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
Testability driver loaded. Wire protocol version is "1.4".
file:///custom/click/com.ubuntu.shorts/0.2.357.1/feeds/EditFeedPage.qml:121:17: QML TextField: Theme.createStyleComponent() is deprecated. Use
ThemeSettings instead.
file:///custom/click/com.ubuntu.shorts/0.2.357.1/feeds/TopicManagement.qml:160:17: QML Button: Theme.createStyleComponent() is deprecated. Use
ThemeSettings instead.
file:///custom/click/com.ubuntu.shorts/0.2.357.1/feeds/AppendFeedPage.qml:251:13: QML ActivityIndicator: Theme.createStyleComponent() is deprecated.
Use ThemeSettings instead.
file:///custom/click/com.ubuntu.shorts/0.2.357.1/feeds/AppendFeedPage.qml:128:9: QML TextField: Theme.createStyleComponent() is deprecated. Use
ThemeSettings instead.
<Unknown File>: Invalid empty URL
<Unknown File>: Invalid empty URL
<Unknown File>: Invalid empty URL
<Unknown File>: Invalid empty URL
<Unknown File>: Invalid empty URL
<Unknown File>: Invalid empty URL
<Unknown File>: Invalid empty URL
<Unknown File>: Invalid empty URL
qml: db version:  1.2
UbuntuWindow - regular geometry
qml: Whoops, null model in loadMoreItems
qml: Whoops, null model in loadMoreItems
qml: Whoops, null model in loadMoreItems
qml: Whoops, null model in loadMoreItems
file:///custom/click/com.ubuntu.shorts/0.2.357.1/feeds/TopicComponent.qml:181:17: QML TextField: Theme.createStyleComponent() is deprecated. Use
ThemeSettings instead.
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
UbuntuWindow::handleSurfaceResize(width=768, height=1222)
qml: Whoops, null model in loadMoreItems
qml: Whoops, null model in loadMoreItems
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
libust[7682/7684]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[7682/7684]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
Testability driver loaded. Wire protocol version is "1.4".
file:///custom/click/com.ubuntu.shorts/0.2.357.1/feeds/EditFeedPage.qml:121:17: QML TextField: Theme.createStyleComponent() is deprecated. Use
ThemeSettings instead.
file:///custom/click/com.ubuntu.shorts/0.2.357.1/feeds/TopicManagement.qml:160:17: QML Button: Theme.createStyleComponent() is deprecated. Use
ThemeSettings instead.
file:///custom/click/com.ubuntu.shorts/0.2.357.1/feeds/AppendFeedPage.qml:251:13: QML ActivityIndicator: Theme.createStyleComponent() is deprecated.
Use ThemeSettings instead.
file:///custom/click/com.ubuntu.shorts/0.2.357.1/feeds/AppendFeedPage.qml:128:9: QML TextField: Theme.createStyleComponent() is deprecated. Use
ThemeSettings instead.
<Unknown File>: Invalid empty URL
<Unknown File>: Invalid empty URL
<Unknown File>: Invalid empty URL
<Unknown File>: Invalid empty URL
<Unknown File>: Invalid empty URL
<Unknown File>: Invalid empty URL
<Unknown File>: Invalid empty URL
<Unknown File>: Invalid empty URL
qml: db version:  1.2
UbuntuWindow - regular geometry
qml: Whoops, null model in loadMoreItems
qml: Whoops, null model in loadMoreItems
qml: Whoops, null model in loadMoreItems
qml: Whoops, null model in loadMoreItems
file:///custom/click/com.ubuntu.shorts/0.2.357.1/feeds/TopicComponent.qml:181:17: QML TextField: Theme.createStyleComponent() is deprecated. Use
ThemeSettings instead.
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=768, height=1222)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
qml: Whoops, null model in loadMoreItems
qml: Whoops, null model in loadMoreItems
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
libust[7888/7901]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
libust[7888/7901]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:971)
Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
Testability driver loaded. Wire protocol version is "1.4".
file:///custom/click/com.ubuntu.shorts/0.2.357.1/feeds/EditFeedPage.qml:121:17: QML TextField: Theme.createStyleComponent() is deprecated. Use
ThemeSettings instead.
file:///custom/click/com.ubuntu.shorts/0.2.357.1/feeds/TopicManagement.qml:160:17: QML Button: Theme.createStyleComponent() is deprecated. Use
ThemeSettings instead.
file:///custom/click/com.ubuntu.shorts/0.2.357.1/feeds/AppendFeedPage.qml:251:13: QML ActivityIndicator: Theme.createStyleComponent() is deprecated.
Use ThemeSettings instead.
file:///custom/click/com.ubuntu.shorts/0.2.357.1/feeds/AppendFeedPage.qml:128:9: QML TextField: Theme.createStyleComponent() is deprecated. Use
ThemeSettings instead.
<Unknown File>: Invalid empty URL
<Unknown File>: Invalid empty URL
<Unknown File>: Invalid empty URL
<Unknown File>: Invalid empty URL
<Unknown File>: Invalid empty URL
<Unknown File>: Invalid empty URL
<Unknown File>: Invalid empty URL
<Unknown File>: Invalid empty URL
qml: db version:  1.2
UbuntuWindow - regular geometry
qml: Whoops, null model in loadMoreItems
qml: Whoops, null model in loadMoreItems
qml: Whoops, null model in loadMoreItems
qml: Whoops, null model in loadMoreItems
file:///custom/click/com.ubuntu.shorts/0.2.357.1/feeds/TopicComponent.qml:181:17: QML TextField: Theme.createStyleComponent() is deprecated. Use
ThemeSettings instead.
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
UbuntuWindow::handleSurfaceResize(width=768, height=1222)
qml: Whoops, null model in loadMoreItems
qml: Whoops, null model in loadMoreItems
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
}}}

test-log: {{{
08:05:08.651 WARNING testcase:181 - Process manager backend unavailable, application snapshot support disabled.
08:05:08.716 INFO logging:45 - TestMainWindow: launch_test_click. Arguments (). Keyword arguments: {}.
08:05:08.719 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.shorts' and URIs ''
08:05:09.841 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.shorts_shorts_0.2.357.1' with URIs '' via upstart-app-launch
08:05:26.111 INFO logging:45 - MainView: go_to_add_feeds. Arguments (). Keyword arguments: {}.
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/shorts_app/tests/test_rssreader.py", line 74, in test_add_feed_to_new_topic
    self.add_feed_to_new_topic(test_feed_url, test_feed_title, test_topic)
  File "/home/phablet/autopilot/shorts_app/tests/test_rssreader.py", line 54, in add_feed_to_new_topic
    add_feeds_page = self.app.main_view.go_to_add_feeds()
  File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
    return f(instance, *args, **kwargs)
  File "/home/phablet/autopilot/shorts_app/__init__.py", line 49, in go_to_add_feeds
    self._click_add_reads()
  File "/home/phablet/autopilot/shorts_app/__init__.py", line 69, in _click_add_reads
    "StyledItem", objectName="popover_foreground")
  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 'StyledItem' and properties {'objectName': 'popover_foreground'}.

Tips on minimizing the occurrence of this failure are available here: https://developer.ubuntu.com/api/autopilot/python/1.5.0/faq-troubleshooting/

command_type
testcase_test