Testcase: test_add_feed_to_new_topic(with touch)

Build #:152:20140726:20140725.1
Arch:mako (Nexus 4)
Release:devel
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(with touch)
testsuite
shorts_app.tests.test_rssreader.TestMainWindow
returncode
1
command
autopilot
stderr
_StringException: /var/log/syslog: {{{
Jul 26 05:33:27 ubuntu-phablet kernel: [  242.128643] healthd: battery l=99 v=4287 t=28.4 h=2 st=2 c=43 chg=u
Jul 26 05:33:27 ubuntu-phablet kernel: [  242.189104] healthd: battery l=98 v=4300 t=28.4 h=2 st=2 c=90 chg=u
Jul 26 05:33:29 ubuntu-phablet kernel: [  244.330077] wlan: [1349:E :HDD] hdd_tx_rx_pkt_cnt_stat_timer_handler: Disable split scan
}}}

Application Log (com.ubuntu.shorts_shorts_0.2.256): {{{
libust[3101/3104]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3101/3104]: 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".
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Tabs.qml:341: TypeError: Cannot call method 'indexOf' of undefined
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/ListItems/ValueSelector.qml:209:17: QML QQuickImage: Cannot open:
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/ListItems/artwork/ListItemProgressionArrow.png
ERROR: NO TAGS DATABASE
 (file:///usr/share/click/preinstalled/com.ubuntu.shorts/0.2.256/databasemodule_v2.js:498)
loadTags (file:///usr/share/click/preinstalled/com.ubuntu.shorts/0.2.256/databasemodule_v2.js:496)
reloadTopics (file:///usr/share/click/preinstalled/com.ubuntu.shorts/0.2.256/feeds/TopicManagement.qml:28)
onCompleted (file:///usr/share/click/preinstalled/com.ubuntu.shorts/0.2.256/feeds/TopicManagement.qml:22)
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
callbacks 0xb3b71445 0xb3b7133d
creating surface at (0, 58) with size (768, 1222) with title 'qmlscene: mainView'qml: Whoops, null model in loadMoreItems
qml: Whoops, null model in loadMoreItems
qml: Whoops, null model in loadMoreItems
qml: Whoops, null model in loadMoreItems
qml: feed updateFeedByXml, AFFECTED ROWS:  1
qml:  -------- UPDATE INFO -------- 
qml: Ubuntu Developer http://developer.ubuntu.com http://developer.ubuntu.com/feed/ Bring your apps to Ubuntu
qml: preloadArticlesProperties:  0
qml: article delete, AFFECTED ROWS:  0
qml: feed updateFeedByXml, AFFECTED ROWS:  1
qml:  -------- UPDATE INFO -------- 
qml: Design http://design.canonical.com http://design.canonical.com/feed/ 
qml: preloadArticlesProperties:  0
qml: article delete, AFFECTED ROWS:  0
qml: feed updateFeedByXml, AFFECTED ROWS:  1
qml:  -------- UPDATE INFO -------- 
qml: Canonical Voices http://voices.canonical.com http://voices.canonical.com/feed/atom/ 
qml: preloadArticlesProperties:  0
qml: article delete, AFFECTED ROWS:  0
qml: feed updateFeedByXml, AFFECTED ROWS:  1
qml:  -------- UPDATE INFO -------- 
qml: Ubuntu Insights https://insights.ubuntu.com http://insights.ubuntu.com/feed/ 
qml: preloadArticlesProperties:  0
qml: article delete, AFFECTED ROWS:  0
qml: feed updateFeedByXml, AFFECTED ROWS:  1
qml:  -------- UPDATE INFO -------- 
qml: Canonical Blog http://blog.canonical.com http://blog.canonical.com/feed/ All the Canonical news that's fit to print
qml: preloadArticlesProperties:  0
qml: article delete, AFFECTED ROWS:  0
loadmore: 331ms
qml: pageStack 1000020 0
qml: pageStack 1000004 0
qml: pageStack 1000020 0
qml: tag INSERT ID:  3
qml: dbResult.tagId 3
qml: feed INSERT ID:  6
qml: dbResult.feedId 6
qml: feed updateFeedByXml, AFFECTED ROWS:  1
qml: feed_tag INSERT ID:  6
qml: pageStack 1000004 0
qml: feed updateFeedByXml, AFFECTED ROWS:  1
qml:  -------- UPDATE INFO -------- 
qml: Ubuntu Insights https://insights.ubuntu.com http://www.canonical.com/rss.xml 
qml: preloadArticlesProperties:  0
qml: article delete, AFFECTED ROWS:  0
loadmore: 222ms
file:///usr/share/click/preinstalled/com.ubuntu.shorts/0.2.256/TopicTab.qml:13: TypeError: Cannot read property 'isListView' of null
file:///usr/share/click/preinstalled/com.ubuntu.shorts/0.2.256/TopicTab.qml:13: TypeError: Cannot read property 'isListView' of null
file:///usr/share/click/preinstalled/com.ubuntu.shorts/0.2.256/article_items/ArticleOneImgA.qml:50:25: Unable to assign [undefined] to QUrl
file:///usr/share/click/preinstalled/com.ubuntu.shorts/0.2.256/article_items/ArticleFullImg.qml:51:25: Unable to assign [undefined] to QUrl
loadmore: 97ms
qml: item about to be removed:  3
qml: feed delete by tag id, AFFECTED ROWS:  1
qml: tag delete, AFFECTED ROWS:  1
loadmore: 237ms
file:///usr/share/click/preinstalled/com.ubuntu.shorts/0.2.256/TopicTab.qml:13: TypeError: Cannot read property 'isListView' of null
file:///usr/share/click/preinstalled/com.ubuntu.shorts/0.2.256/TopicTab.qml:13: TypeError: Cannot read property 'isListView' of null
file:///usr/share/click/preinstalled/com.ubuntu.shorts/0.2.256/TopicTab.qml:13: TypeError: Cannot read property 'isListView' of null
libust[3594/3598]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3594/3598]: 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".
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Tabs.qml:341: TypeError: Cannot call method 'indexOf' of undefined
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/ListItems/ValueSelector.qml:209:17: QML QQuickImage: Cannot open:
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/ListItems/artwork/ListItemProgressionArrow.png
ERROR: NO TAGS DATABASE
 (file:///usr/share/click/preinstalled/com.ubuntu.shorts/0.2.256/databasemodule_v2.js:498)
loadTags (file:///usr/share/click/preinstalled/com.ubuntu.shorts/0.2.256/databasemodule_v2.js:496)
reloadTopics (file:///usr/share/click/preinstalled/com.ubuntu.shorts/0.2.256/feeds/TopicManagement.qml:28)
onCompleted (file:///usr/share/click/preinstalled/com.ubuntu.shorts/0.2.256/feeds/TopicManagement.qml:22)
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
callbacks 0xb3bad445 0xb3bad33d
creating surface at (0, 58) with size (768, 1222) with title 'qmlscene: mainView'qml: Whoops, null model in loadMoreItems
qml: Whoops, null model in loadMoreItems
qml: Whoops, null model in loadMoreItems
qml: Whoops, null model in loadMoreItems
qml: feed updateFeedByXml, AFFECTED ROWS:  1
qml:  -------- UPDATE INFO -------- 
qml: Ubuntu Developer http://developer.ubuntu.com http://developer.ubuntu.com/feed/ Bring your apps to Ubuntu
qml: preloadArticlesProperties:  0
qml: article delete, AFFECTED ROWS:  0
qml: feed updateFeedByXml, AFFECTED ROWS:  1
qml:  -------- UPDATE INFO -------- 
qml: Design http://design.canonical.com http://design.canonical.com/feed/ 
qml: preloadArticlesProperties:  0
qml: article delete, AFFECTED ROWS:  0
qml: feed updateFeedByXml, AFFECTED ROWS:  1
qml:  -------- UPDATE INFO -------- 
qml: Canonical Voices http://voices.canonical.com http://voices.canonical.com/feed/atom/ 
qml: preloadArticlesProperties:  0
qml: article delete, AFFECTED ROWS:  0
qml: feed updateFeedByXml, AFFECTED ROWS:  1
qml:  -------- UPDATE INFO -------- 
qml: Ubuntu Insights https://insights.ubuntu.com http://insights.ubuntu.com/feed/ 
qml: preloadArticlesProperties:  0
qml: article delete, AFFECTED ROWS:  0
qml: feed updateFeedByXml, AFFECTED ROWS:  1
qml:  -------- UPDATE INFO -------- 
qml: Canonical Blog http://blog.canonical.com http://blog.canonical.com/feed/ All the Canonical news that's fit to print
qml: preloadArticlesProperties:  0
qml: article delete, AFFECTED ROWS:  0
loadmore: 315ms
qml: pageStack 1000020 0
qml: pageStack 1000004 0
qml: pageStack 1000020 0
qml: tag INSERT ID:  3
qml: dbResult.tagId 3
qml: feed INSERT ID:  6
qml: dbResult.feedId 6
qml: feed updateFeedByXml, AFFECTED ROWS:  1
qml: feed_tag INSERT ID:  6
qml: pageStack 1000004 0
qml: feed updateFeedByXml, AFFECTED ROWS:  1
qml:  -------- UPDATE INFO -------- 
qml: Ubuntu Insights https://insights.ubuntu.com http://www.canonical.com/rss.xml 
qml: preloadArticlesProperties:  0
qml: article delete, AFFECTED ROWS:  0
loadmore: 200ms
file:///usr/share/click/preinstalled/com.ubuntu.shorts/0.2.256/TopicTab.qml:13: TypeError: Cannot read property 'isListView' of null
file:///usr/share/click/preinstalled/com.ubuntu.shorts/0.2.256/TopicTab.qml:13: TypeError: Cannot read property 'isListView' of null
file:///usr/share/click/preinstalled/com.ubuntu.shorts/0.2.256/article_items/ArticleOneImgA.qml:50:25: Unable to assign [undefined] to QUrl
file:///usr/share/click/preinstalled/com.ubuntu.shorts/0.2.256/article_items/ArticleFullImg.qml:51:25: Unable to assign [undefined] to QUrl
loadmore: 105ms
qml: feed delete, AFFECTED ROWS:  1
qml: onFeedEdit:  3
loadmore: 224ms
libust[3794/3796]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3794/3796]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3794/3797]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[3794/3797]: 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".
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Tabs.qml:341: TypeError: Cannot call method 'indexOf' of undefined
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/ListItems/ValueSelector.qml:209:17: QML QQuickImage: Cannot open:
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/ListItems/artwork/ListItemProgressionArrow.png
ERROR: NO TAGS DATABASE
 (file:///usr/share/click/preinstalled/com.ubuntu.shorts/0.2.256/databasemodule_v2.js:498)
loadTags (file:///usr/share/click/preinstalled/com.ubuntu.shorts/0.2.256/databasemodule_v2.js:496)
reloadTopics (file:///usr/share/click/preinstalled/com.ubuntu.shorts/0.2.256/feeds/TopicManagement.qml:28)
onCompleted (file:///usr/share/click/preinstalled/com.ubuntu.shorts/0.2.256/feeds/TopicManagement.qml:22)
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
callbacks 0xb3b70445 0xb3b7033d
creating surface at (0, 58) with size (768, 1222) with title 'qmlscene: mainView'qml: Whoops, null model in loadMoreItems
qml: Whoops, null model in loadMoreItems
qml: Whoops, null model in loadMoreItems
qml: Whoops, null model in loadMoreItems
qml: feed updateFeedByXml, AFFECTED ROWS:  1
qml:  -------- UPDATE INFO -------- 
qml: Ubuntu Developer http://developer.ubuntu.com http://developer.ubuntu.com/feed/ Bring your apps to Ubuntu
qml: preloadArticlesProperties:  0
qml: article delete, AFFECTED ROWS:  0
qml: feed updateFeedByXml, AFFECTED ROWS:  1
qml:  -------- UPDATE INFO -------- 
qml: Design http://design.canonical.com http://design.canonical.com/feed/ 
qml: preloadArticlesProperties:  0
qml: article delete, AFFECTED ROWS:  0
qml: feed updateFeedByXml, AFFECTED ROWS:  1
qml:  -------- UPDATE INFO -------- 
qml: Canonical Voices http://voices.canonical.com http://voices.canonical.com/feed/atom/ 
qml: preloadArticlesProperties:  0
qml: article delete, AFFECTED ROWS:  0
qml: feed updateFeedByXml, AFFECTED ROWS:  1
qml:  -------- UPDATE INFO -------- 
qml: Ubuntu Insights https://insights.ubuntu.com http://insights.ubuntu.com/feed/ 
qml: preloadArticlesProperties:  0
qml: article delete, AFFECTED ROWS:  0
qml: feed updateFeedByXml, AFFECTED ROWS:  1
qml:  -------- UPDATE INFO -------- 
qml: Canonical Blog http://blog.canonical.com http://blog.canonical.com/feed/ All the Canonical news that's fit to print
qml: preloadArticlesProperties:  0
qml: article delete, AFFECTED ROWS:  0
loadmore: 305ms
}}}

test-log: {{{
05:33:23.002 WARNING testcase:112 - No tracing available - install the python-autopilot-trace package!
05:33:23.010 WARNING testcase:159 - Process manager backend unavailable, application snapshot support disabled.
05:33:23.011 DEBUG __init__:77 - Backed up database
05:33:23.040 DEBUG __init__:53 - Running via click package
05:33:23.042 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.shorts' and URIs ''
05:33:23.818 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.shorts_shorts_0.2.256' with URIs '' via upstart-app-launch
05:33:34.591 INFO logging:45 - MainView: go_to_add_feeds. Arguments (). Keyword arguments: {}.
05:33:34.592 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
05:33:34.656 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
05:33:34.727 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('addreadsbutton',). Keyword arguments: {}.
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/shorts_app/tests/test_rssreader.py", line 82, 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 62, in add_feed_to_new_topic
    add_feeds_page = self.shorts_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 97, in go_to_add_feeds
    popover = self._click_add_reads()
  File "/home/phablet/autopilot/shorts_app/__init__.py", line 117, in _click_add_reads
    toolbar.click_button('addreadsbutton')
  File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
    return f(instance, *args, **kwargs)
  File "/home/phablet/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_toolbar.py", line 88, in click_button
    'Toolbar must be opened before calling click_button().')
ubuntuuitoolkit._custom_proxy_objects._common.ToolkitException: Toolbar must be opened before calling click_button().

command_type
testcase_test