Testcase: test_switch_to_grid_view_mode

Build #:121:20150304.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_switch_to_grid_view_mode
testsuite
shorts_app.tests.test_rssreader.TestMainWindow
returncode
1
command
autopilot
stderr
_StringException: Binary content:
  FailedTestScreenshot (image/png)

/var/log/syslog: {{{
Mar  4 11:49:00 ubuntu-phablet powerd[862]: handle_requestSysState from :1.52 - ACTIVE (1)
Mar  4 11:49:00 ubuntu-phablet powerd[862]: name_watch_add: looking for :1.52
Mar  4 11:49:00 ubuntu-phablet powerd[862]: watching :1.52 to see when it disappears on dbus
Mar  4 11:49:00 ubuntu-phablet powerd[862]: libsuspend: acquire_wake_lock: powerd_power_request
Mar  4 11:49:00 ubuntu-phablet powerd[862]: handle_requestSysState - SUCCESS
Mar  4 11:49:00 ubuntu-phablet powerd[862]: Enqueue state change to ACTIVE
Mar  4 11:49:00 ubuntu-phablet powerd[862]: queue empty && state == current, discarding
Mar  4 11:49:00 ubuntu-phablet powerd[862]: libsuspend: release_wake_lock: powerd_power_request
Mar  4 11:49:02 ubuntu-phablet kernel: [  217.131512] type=1400 audit(1425469742.153:87): apparmor="DENIED" operation="open"
profile="com.ubuntu.shorts_shorts_0.2.357" name="/dev/tty" pid=4190 comm="qmlscene" requested_mask="r" denied_mask="r" fsuid=32011 ouid=0
Mar  4 11:49:16 ubuntu-phablet kernel: [  231.558919] wlan: [1454:E :HDD] hdd_tx_rx_pkt_cnt_stat_timer_handler: Disable split scan
Mar  4 11:49:31 ubuntu-phablet kernel: [  246.596673] wlan: [1454:E :HDD] hdd_tx_rx_pkt_cnt_stat_timer_handler: Disable split scan
Mar  4 11:49:49 ubuntu-phablet powerd[862]: handle_clearSysState from :1.52, cookie: fd226579-c2e3-4ed9-a120-765ebb33882a
Mar  4 11:49:49 ubuntu-phablet powerd[862]: name_watch_remove: looking for :1.52
Mar  4 11:49:49 ubuntu-phablet powerd[862]: name_watch: ref_count for :1.52 is now 0
Mar  4 11:49:49 ubuntu-phablet powerd[862]: no longer watching :1.52, there are no more requests
Mar  4 11:49:49 ubuntu-phablet powerd[862]: libsuspend: acquire_wake_lock: powerd_power_request
Mar  4 11:49:49 ubuntu-phablet powerd[862]: Enqueue state change to ACTIVE
Mar  4 11:49:49 ubuntu-phablet powerd[862]: queue empty && state == current, discarding
Mar  4 11:49:49 ubuntu-phablet powerd[862]: libsuspend: release_wake_lock: powerd_power_request
}}}

Application Log (com.ubuntu.shorts_shorts_0.2.357): {{{
libust[3642/3646]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:958)
libust[3642/3646]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:958)
libust[3642/3647]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:958)
libust[3642/3647]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:958)
[1425469611.405210] Loader: Loading modules from: /usr/lib/arm-linux-gnueabihf/mir/client-platform/
[1425469611.406217] Loader: Loading module: /usr/lib/arm-linux-gnueabihf/mir/client-platform/dummy.so
[1425469611.408352] Loader: Loading module: /usr/lib/arm-linux-gnueabihf/mir/client-platform/mesa.so.2
[1425469611.409573] Loader: Loading module: /usr/lib/arm-linux-gnueabihf/mir/client-platform/android.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.84" (uid=32011 pid=3642 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=1527 comm="NetworkManager ")"
QNetworkManagerInterface::QNetworkManagerInterface(QObject*) nmReply "An AppArmor policy prevents this sender from sending this message to this
recipient; type="method_call", sender=":1.84" (uid=32011 pid=3642 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=1527 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
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
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
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/ArticleOneImgA.qml:55:25: Unable to assign [undefined] to QUrl
loadmore: 290ms
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: 88ms
file:///custom/click/com.ubuntu.shorts/0.2.357/article_items/ArticleOneImgA.qml:55:25: Unable to assign [undefined] to QUrl
loadmore: 89ms
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/ListItems/ValueSelector.qml:267: TypeError: Cannot read property of null
qml: detail:  [{"id":1,"name":"Ubuntu"},{"id":2,"name":"Canonical"},{"id":3,"name":"Test topic"}]
qml: new topic id:  3
qml: detail:  [{"id":1,"name":"Ubuntu"},{"id":2,"name":"Canonical"},{"id":3,"name":"Test topic"}]
qml: new topic id:  1
qml: feed_tag delete by feedId and tagId:  1
qml: feed_tag INSERT ID:  7
qml: onFeedEdit:  3
loadmore: 92ms
qml: onFeedEdit:  1
loadmore: 91ms
loadmore: 85ms
qml: onFeedEdit:  3
loadmore: 123ms
qml: onFeedEdit:  1
loadmore: 100ms
loadmore: 84ms
libust[3863/3869]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:958)
libust[3863/3869]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:958)
[1425469660.995872] Loader: Loading modules from: /usr/lib/arm-linux-gnueabihf/mir/client-platform/
[1425469660.996788] Loader: Loading module: /usr/lib/arm-linux-gnueabihf/mir/client-platform/dummy.so
[1425469660.998862] Loader: Loading module: /usr/lib/arm-linux-gnueabihf/mir/client-platform/mesa.so.2
[1425469661.000174] Loader: Loading module: /usr/lib/arm-linux-gnueabihf/mir/client-platform/android.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.85" (uid=32011 pid=3863 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=1527 comm="NetworkManager ")"
QNetworkManagerInterface::QNetworkManagerInterface(QObject*) nmReply "An AppArmor policy prevents this sender from sending this message to this
recipient; type="method_call", sender=":1.85" (uid=32011 pid=3863 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=1527 comm="NetworkManager ")"
"Object path cannot be empty"
"Object path cannot be empty"
loadmore: 216ms
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: 78ms
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: 77ms
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/ArticleOneImgA.qml:55:25: Unable to assign [undefined] to QUrl
loadmore: 115ms
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
qml: pageStack 1000020 0
qml: Database, add tag: already exist tag with source:  Test topic
qml: pageStack 1000004 0
file:///custom/click/com.ubuntu.shorts/0.2.357/article_items/ArticleOneImgA.qml:48:20: QML QQuickImage: Socket operation timed out
file:///custom/click/com.ubuntu.shorts/0.2.357/article_items/ArticleOneImgA.qml:48:20: QML QQuickImage: Socket operation timed out
file:///custom/click/com.ubuntu.shorts/0.2.357/article_items/ArticleFullImg.qml:50:20: QML QQuickImage: Socket operation timed out
libust[4190/4196]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:958)
libust[4190/4196]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:958)
[1425469741.318408] Loader: Loading modules from: /usr/lib/arm-linux-gnueabihf/mir/client-platform/
[1425469741.319323] Loader: Loading module: /usr/lib/arm-linux-gnueabihf/mir/client-platform/dummy.so
[1425469741.321733] Loader: Loading module: /usr/lib/arm-linux-gnueabihf/mir/client-platform/mesa.so.2
[1425469741.322892] Loader: Loading module: /usr/lib/arm-linux-gnueabihf/mir/client-platform/android.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.86" (uid=32011 pid=4190 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=1527 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=4190 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=1527 comm="NetworkManager ")"
"Object path cannot be empty"
"Object path cannot be empty"
loadmore: 244ms
file:///custom/click/com.ubuntu.shorts/0.2.357/article_items/ArticleOneImgA.qml:55:25: Unable to assign [undefined] to QUrl
UbuntuWindow - regular geometry
file:///custom/click/com.ubuntu.shorts/0.2.357/article_items/ArticleOneImgA.qml:55:25: Unable to assign [undefined] to QUrl
loadmore: 115ms
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: 78ms
qml: Whoops, null model in loadMoreItems
qml: Whoops, null model in loadMoreItems
qml: Whoops, null model in loadMoreItems
UbuntuWindow::handleSurfaceFocusChange(focused=true)
UbuntuClipboard - Got invalid serialized mime data. Ignoring it.
UbuntuWindow::handleSurfaceResize(width=768, height=1222)
file:///custom/click/com.ubuntu.shorts/0.2.357/article_items/ArticleFullImg.qml:57:25: Unable to assign [undefined] to QUrl
loadmore: 78ms
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.
}}}

test-log: {{{
11:48:59.851 WARNING testcase:175 - Process manager backend unavailable, application snapshot support disabled.
11:48:59.896 INFO logging:45 - TestMainWindow: launch_test_click. Arguments (). Keyword arguments: {}.
11:48:59.898 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.shorts' and URIs ''
11:49:00.865 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.shorts_shorts_0.2.357' with URIs '' via upstart-app-launch
11:49:22.222 INFO logging:45 - MainView: Change view mode. Arguments ('isNotListMode',). Keyword arguments: {}.
11:49:23.453 DEBUG _common:45 - Moving to object's globalRect coordinates.
11:49:23.453 DEBUG _uinput:473 - Tapping at: 705,121
11:49:25.141 DEBUG _common:45 - Moving to object's globalRect coordinates.
11:49:25.142 DEBUG _uinput:473 - Tapping at: 588,244
11:49:25.244 INFO logging:45 - MainView: Change view mode. Arguments ('isListMode',). Keyword arguments: {}.
11:49:26.966 DEBUG _common:45 - Moving to object's globalRect coordinates.
11:49:26.966 DEBUG _uinput:473 - Tapping at: 705,121
}}}

Traceback (most recent call last):
  File "/home/phablet/autopilot/shorts_app/tests/test_rssreader.py", line 90, in test_switch_to_grid_view_mode
    self.app.main_view.change_view_mode("isListMode")
  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 266, in change_view_mode
    "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 failureare available here:
http://developer.ubuntu.com/api/devel/ubuntu-14.10/python/autopilot/faq/troubleshooting.html

command_type
testcase_test