Testcase: test_edit_topic

Build #:120:20150303.1:20150210
Arch:mako (Nexus 4)
Release:vivid
Variant:touch
Artifacts
Console Log

Failure explanation

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

Test case data

testcase
test_edit_topic
testsuite
shorts_app.tests.test_rssreader.TestMainWindow
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)

/var/log/syslog: {{{
Mar  3 18:46:32 ubuntu-phablet powerd[862]: handle_requestSysState from :1.62 - ACTIVE (1)
Mar  3 18:46:32 ubuntu-phablet powerd[862]: name_watch_add: looking for :1.62
Mar  3 18:46:32 ubuntu-phablet powerd[862]: watching :1.62 to see when it disappears on dbus
Mar  3 18:46:32 ubuntu-phablet powerd[862]: libsuspend: acquire_wake_lock: powerd_power_request
Mar  3 18:46:32 ubuntu-phablet powerd[862]: handle_requestSysState - SUCCESS
Mar  3 18:46:32 ubuntu-phablet powerd[862]: Enqueue state change to ACTIVE
Mar  3 18:46:32 ubuntu-phablet powerd[862]: queue empty && state == current, discarding
Mar  3 18:46:32 ubuntu-phablet powerd[862]: libsuspend: release_wake_lock: powerd_power_request
Mar  3 18:46:34 ubuntu-phablet kernel: [  138.008759] type=1400 audit(1425408394.377:132): apparmor="DENIED" operation="open"
profile="com.ubuntu.shorts_shorts_0.2.357" name="/dev/tty" pid=4066 comm="qmlscene" requested_mask="r" denied_mask="r" fsuid=32011 ouid=0
Mar  3 18:46:46 ubuntu-phablet kernel: [  150.530901] wlan: [1346:E :HDD] hdd_tx_rx_pkt_cnt_stat_timer_handler: Disable split scan
Mar  3 18:47:21 ubuntu-phablet powerd[862]: handle_clearSysState from :1.62, cookie: 70d0c49e-afbe-4fb1-9a35-7719181de0d8
Mar  3 18:47:21 ubuntu-phablet powerd[862]: name_watch_remove: looking for :1.62
Mar  3 18:47:21 ubuntu-phablet powerd[862]: name_watch: ref_count for :1.62 is now 0
Mar  3 18:47:21 ubuntu-phablet powerd[862]: no longer watching :1.62, there are no more requests
Mar  3 18:47:21 ubuntu-phablet powerd[862]: libsuspend: acquire_wake_lock: powerd_power_request
Mar  3 18:47:21 ubuntu-phablet powerd[862]: Enqueue state change to ACTIVE
Mar  3 18:47:21 ubuntu-phablet powerd[862]: queue empty && state == current, discarding
Mar  3 18:47:21 ubuntu-phablet powerd[862]: libsuspend: release_wake_lock: powerd_power_request
}}}

Application Log (com.ubuntu.shorts_shorts_0.2.357): {{{
libust[3618/3631]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:958)
[1425408348.072078] Loader: Loading modules from: /usr/lib/arm-linux-gnueabihf/mir/client-platform/
[1425408348.072964] Loader: Loading module: /usr/lib/arm-linux-gnueabihf/mir/client-platform/dummy.so
[1425408348.075742] Loader: Loading module: /usr/lib/arm-linux-gnueabihf/mir/client-platform/android.so.2
[1425408348.077605] Loader: Loading module: /usr/lib/arm-linux-gnueabihf/mir/client-platform/mesa.so.2
Testability driver loaded. Wire protocol version is "1.4".
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/ListItems/ValueSelector.qml:201:17: QML QQuickImage: Cannot open:
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/ListItems/artwork/chevron.png
<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/databasemodule_v2.js:489)
loadTags (file:///custom/click/com.ubuntu.shorts/0.2.357/databasemodule_v2.js:487)
reloadTopics (file:///custom/click/com.ubuntu.shorts/0.2.357/feeds/TopicManagement.qml:29)
onCompleted (file:///custom/click/com.ubuntu.shorts/0.2.357/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.86" (uid=32011 pid=3618 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=1397 comm="NetworkManager ")"
QNetworkManagerInterface::QNetworkManagerInterface(QObject*) nmReply "An AppArmor policy prevents this sender from sending this message to this
recipient; type="method_call", sender=":1.86" (uid=32011 pid=3618 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=1397 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
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.
qml: feed updateFeedByXml, AFFECTED ROWS:  1
qml:  -------- UPDATE INFO -------- 
qml: Ubuntu developer - Latest entries http://developer.ubuntu.com/en/blog/ http://developer.ubuntu.com/feed/ The latest entries for the site Ubuntu
developer
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
file:///custom/click/com.ubuntu.shorts/0.2.357/article_items/ArticleFullImg.qml:57:25: Unable to assign [undefined] to QUrl
loadmore: 278ms
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: 125ms
file:///custom/click/com.ubuntu.shorts/0.2.357/article_items/ArticleOneImgA.qml:55:25: Unable to assign [undefined] to QUrl
loadmore: 88ms
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
qml: feed delete, AFFECTED ROWS:  1
qml: onFeedEdit:  3
loadmore: 109ms
libust[4066/4072]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:958)
libust[4066/4072]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:958)
[1425408393.162588] Loader: Loading modules from: /usr/lib/arm-linux-gnueabihf/mir/client-platform/
[1425408393.163504] Loader: Loading module: /usr/lib/arm-linux-gnueabihf/mir/client-platform/dummy.so
[1425408393.165611] Loader: Loading module: /usr/lib/arm-linux-gnueabihf/mir/client-platform/android.so.2
[1425408393.167229] Loader: Loading module: /usr/lib/arm-linux-gnueabihf/mir/client-platform/mesa.so.2
Testability driver loaded. Wire protocol version is "1.4".
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/ListItems/ValueSelector.qml:201:17: QML QQuickImage: Cannot open:
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/ListItems/artwork/chevron.png
<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
QNetworkManagerInterface::QNetworkManagerInterface(QObject*) propsReply "An AppArmor policy prevents this sender from sending this message to this
recipient; type="method_call", sender=":1.87" (uid=32011 pid=4066 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=1397 comm="NetworkManager ")"
QNetworkManagerInterface::QNetworkManagerInterface(QObject*) nmReply "An AppArmor policy prevents this sender from sending this message to this
recipient; type="method_call", sender=":1.87" (uid=32011 pid=4066 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=1397 comm="NetworkManager ")"
"Object path cannot be empty"
"Object path cannot be empty"
loadmore: 290ms
file:///custom/click/com.ubuntu.shorts/0.2.357/article_items/ArticleFullImg.qml:57:25: Unable to assign [undefined] to QUrl
UbuntuWindow - regular geometry
file:///custom/click/com.ubuntu.shorts/0.2.357/article_items/ArticleFullImg.qml:57:25: Unable to assign [undefined] to QUrl
loadmore: 116ms
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/article_items/ArticleFullImg.qml:57:25: Unable to assign [undefined] to QUrl
loadmore: 76ms
qml: Whoops, null model in loadMoreItems
qml: Whoops, null model in loadMoreItems
qml: Whoops, null model in loadMoreItems
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuWindow::handleSurfaceResize(width=768, height=1222)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
file:///custom/click/com.ubuntu.shorts/0.2.357/article_items/ArticleFullImg.qml:57:25: Unable to assign [undefined] to QUrl
loadmore: 127ms
qml: Whoops, null model in loadMoreItems
qml: Whoops, null model in loadMoreItems
qml: Whoops, null model in loadMoreItems
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
qml: pageStack 1000020 0
qml: pageStack 1000004 0
}}}

test-log: {{{
18:46:31.652 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
18:46:31.709 INFO logging:45 - TestMainWindow: launch_test_click. Arguments (). Keyword arguments: {}.
18:46:31.713 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.shorts' and URIs ''
18:46:32.763 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.shorts_shorts_0.2.357' with URIs '' via upstart-app-launch
18:46:53.793 INFO logging:45 - MainView: go_to_add_feeds. Arguments (). Keyword arguments: {}.
18:46:55.090 DEBUG _common:45 - Moving to object's globalRect coordinates.
18:46:55.091 DEBUG _uinput:473 - Tapping at: 705,121
18:46:56.821 DEBUG _common:45 - Moving to object's globalRect coordinates.
18:46:56.822 DEBUG _uinput:473 - Tapping at: 588,355
18:46:57.166 INFO logging:45 - AppendFeedPage: search_feed. Arguments ('http://www.canonical.com/rss.xml',). Keyword arguments: {}.
18:46:57.297 INFO logging:45 - TextField: Write into the text field. Arguments ('http://www.canonical.com/rss.xml\n',). Keyword arguments: {}.
18:46:57.332 DEBUG _common:45 - Moving to object's globalRect coordinates.
18:46:57.333 DEBUG _uinput:473 - Tapping at: 384,292
18:46:57.528 INFO logging:45 - TextField: Clear the text field. Arguments (). Keyword arguments: {}.
18:46:57.563 DEBUG _uinput:195 - Typing text 'http://www.canonical.com/rss.xml\n'
18:46:57.564 DEBUG _uinput:57 - Pressing h (35).
18:46:57.666 DEBUG _uinput:88 - Releasing h (35).
18:46:57.770 DEBUG _uinput:57 - Pressing t (20).
18:46:57.874 DEBUG _uinput:88 - Releasing t (20).
18:46:57.980 DEBUG _uinput:57 - Pressing t (20).
18:46:58.087 DEBUG _uinput:88 - Releasing t (20).
18:46:58.191 DEBUG _uinput:57 - Pressing p (25).
18:46:58.297 DEBUG _uinput:88 - Releasing p (25).
18:46:58.406 DEBUG _uinput:57 - Pressing KEY_LEFTSHIFT (42).
18:46:58.515 DEBUG _uinput:57 - Pressing SEMICOLON (39).
18:46:58.624 DEBUG _uinput:88 - Releasing SEMICOLON (39).
18:46:58.731 DEBUG _uinput:88 - Releasing KEY_LEFTSHIFT (42).
18:46:58.838 DEBUG _uinput:57 - Pressing SLASH (53).
18:46:58.944 DEBUG _uinput:88 - Releasing SLASH (53).
18:46:59.050 DEBUG _uinput:57 - Pressing SLASH (53).
18:46:59.154 DEBUG _uinput:88 - Releasing SLASH (53).
18:46:59.261 DEBUG _uinput:57 - Pressing w (17).
18:46:59.363 DEBUG _uinput:88 - Releasing w (17).
18:46:59.470 DEBUG _uinput:57 - Pressing w (17).
18:46:59.572 DEBUG _uinput:88 - Releasing w (17).
18:46:59.680 DEBUG _uinput:57 - Pressing w (17).
18:46:59.787 DEBUG _uinput:88 - Releasing w (17).
18:46:59.892 DEBUG _uinput:57 - Pressing DOT (52).
18:46:59.999 DEBUG _uinput:88 - Releasing DOT (52).
18:47:00.102 DEBUG _uinput:57 - Pressing c (46).
18:47:00.205 DEBUG _uinput:88 - Releasing c (46).
18:47:00.311 DEBUG _uinput:57 - Pressing a (30).
18:47:00.418 DEBUG _uinput:88 - Releasing a (30).
18:47:00.522 DEBUG _uinput:57 - Pressing n (49).
18:47:00.624 DEBUG _uinput:88 - Releasing n (49).
18:47:00.731 DEBUG _uinput:57 - Pressing o (24).
18:47:00.838 DEBUG _uinput:88 - Releasing o (24).
18:47:00.944 DEBUG _uinput:57 - Pressing n (49).
18:47:01.052 DEBUG _uinput:88 - Releasing n (49).
18:47:01.159 DEBUG _uinput:57 - Pressing i (23).
18:47:01.266 DEBUG _uinput:88 - Releasing i (23).
18:47:01.372 DEBUG _uinput:57 - Pressing c (46).
18:47:01.479 DEBUG _uinput:88 - Releasing c (46).
18:47:01.586 DEBUG _uinput:57 - Pressing a (30).
18:47:01.693 DEBUG _uinput:88 - Releasing a (30).
18:47:01.799 DEBUG _uinput:57 - Pressing l (38).
18:47:01.902 DEBUG _uinput:88 - Releasing l (38).
18:47:02.008 DEBUG _uinput:57 - Pressing DOT (52).
18:47:02.119 DEBUG _uinput:88 - Releasing DOT (52).
18:47:02.223 DEBUG _uinput:57 - Pressing c (46).
18:47:02.331 DEBUG _uinput:88 - Releasing c (46).
18:47:02.437 DEBUG _uinput:57 - Pressing o (24).
18:47:02.543 DEBUG _uinput:88 - Releasing o (24).
18:47:02.653 DEBUG _uinput:57 - Pressing m (50).
18:47:02.759 DEBUG _uinput:88 - Releasing m (50).
18:47:02.863 DEBUG _uinput:57 - Pressing SLASH (53).
18:47:02.971 DEBUG _uinput:88 - Releasing SLASH (53).
18:47:03.076 DEBUG _uinput:57 - Pressing r (19).
18:47:03.182 DEBUG _uinput:88 - Releasing r (19).
18:47:03.289 DEBUG _uinput:57 - Pressing s (31).
18:47:03.391 DEBUG _uinput:88 - Releasing s (31).
18:47:03.498 DEBUG _uinput:57 - Pressing s (31).
18:47:03.601 DEBUG _uinput:88 - Releasing s (31).
18:47:03.709 DEBUG _uinput:57 - Pressing DOT (52).
18:47:03.817 DEBUG _uinput:88 - Releasing DOT (52).
18:47:03.921 DEBUG _uinput:57 - Pressing x (45).
18:47:04.027 DEBUG _uinput:88 - Releasing x (45).
18:47:04.136 DEBUG _uinput:57 - Pressing m (50).
18:47:04.242 DEBUG _uinput:88 - Releasing m (50).
18:47:04.349 DEBUG _uinput:57 - Pressing l (38).
18:47:04.456 DEBUG _uinput:88 - Releasing l (38).
18:47:04.562 DEBUG _uinput:57 - Pressing ENTER (28).
18:47:04.670 DEBUG _uinput:88 - Releasing ENTER (28).
18:47:06.125 INFO logging:45 - AppendFeedPage: Select feed items from the list of results. Arguments ('Ubuntu Insights',). Keyword arguments: {}.
18:47:06.327 INFO logging:45 - QQuickListView: Click an element from the list. Arguments ('feedCheckbox-Ubuntu Insights',). Keyword arguments: {}.
18:47:06.416 INFO logging:45 - QQuickListView: Make the child visible. Arguments (<ubuntuuitoolkit._custom_proxy_objects._checkbox.CheckBox object at
0xb335ff50>,). Keyword arguments: {}.
18:47:07.362 DEBUG _flickable:113 - The element is already visible.
18:47:07.389 DEBUG _common:45 - Moving to object's globalRect coordinates.
18:47:07.389 DEBUG _uinput:473 - Tapping at: 705,492
18:47:07.491 INFO logging:45 - AppendFeedPage: click_next_button. Arguments (). Keyword arguments: {}.
18:47:07.692 DEBUG _common:45 - Moving to object's globalRect coordinates.
18:47:07.693 DEBUG _uinput:473 - Tapping at: 660,1226
18:47:09.232 INFO logging:45 - ChooseTopicPage: add_topic. Arguments ('Test topic',). Keyword arguments: {}.
18:47:09.309 INFO logging:45 - TextField: Write into the text field. Arguments ('Test topic\n',). Keyword arguments: {}.
18:47:09.344 DEBUG _common:45 - Moving to object's globalRect coordinates.
18:47:09.345 DEBUG _uinput:473 - Tapping at: 384,346
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/shorts_app/tests/test_rssreader.py", line 124, in test_edit_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 61, in add_feed_to_new_topic
    choose_topics_page.add_topic(topic)
  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 381, in add_topic
    new_topic_text_field.write(topic + '\n')
  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/_textfield.py", line 51, in write
    self.focus.wait_for(True)
  File "/usr/lib/python3/dist-packages/autopilot/introspection/types.py", line 180, in wait_for
    failure_msg))
AssertionError: After 10.0 seconds test on TextField.focus failed: True != dbus.Boolean(False, variant_level=1)

command_type
testcase_test