Shorts fails Autopilot tests on mako image #297

Bug #1308277 reported by Alan Pope 🍺🐧🐱 🦄
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Shorts App
Fix Released
Undecided
Unassigned

Bug Description

Trying to run autopilot tests for shorts, it's failing:-

After a while running the phone display turns off and it just spitting out the error at the end.

alan@deep-thought:~/phablet/scripts$ phablet-test-run -v shorts_app
23:22:37.567 INFO run:216 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20140410-0ubuntu1
Loading tests from: /home/phablet/autopilot

Tests running...
23:22:37.893 DEBUG __init__:69 - Running via click package
23:22:38.125 INFO globals:58 - ************************************************************
23:22:38.126 INFO globals:59 - Starting test shorts_app.tests.test_rssreader.TestMainWindow.test_switch_to_grid_view_mode (with touch)
23:22:38.128 WARNING testcase:116 - No tracing available - install the python-autopilot-trace package!
23:22:38.211 WARNING testcase:157 - Process manager backend unavailable, application snapshot support disabled.
23:22:38.213 WARNING __init__:113 - Prexisting backup database found and removed
23:22:38.213 DEBUG __init__:120 - Backed up database
stop: Unknown instance:
23:22:38.233 INFO testcase:307 - Attempting to launch click application '(default)' from click package 'com.ubuntu.shorts' and URIs ''
23:22:43.876 DEBUG dbus:433 - Selecting objects of type MainView with attributes: {}
23:22:44.171 DEBUG dbus:433 - Selecting objects of type MainView with attributes: {}
23:22:44.233 DEBUG dbus:433 - Selecting objects of type ActivityIndicator with attributes: {'running': 'True'}
23:22:45.175 DEBUG dbus:433 - Selecting objects of type MainView with attributes: {}
23:22:45.857 DEBUG dbus:433 - Selecting objects of type ActivityIndicator with attributes: {'running': 'True'}
23:22:47.226 DEBUG dbus:433 - Selecting objects of type MainView with attributes: {}
23:22:47.328 DEBUG dbus:433 - Selecting objects of type ShortsTab with attributes: {'objectName': 'Tab0'}
23:22:48.624 DEBUG dbus:433 - Selecting objects of type MainView with attributes: {}
23:22:48.688 INFO logging:45 - MainView: change_view_mode. Arguments (). Keyword arguments: {}.
23:22:48.689 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
23:22:48.690 DEBUG dbus:433 - Selecting objects of type Toolbar with attributes: {}
23:22:48.761 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
23:22:48.919 DEBUG _uinput:546 - Dragging from 384,1279 to 384,1136
23:22:49.139 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('changemodebutton',). Keyword arguments: {}.
23:22:49.176 DEBUG dbus:433 - Selecting objects of type ActionItem with attributes: {'objectName': 'changemodebutton'}
23:22:49.302 DEBUG _common:45 - Moving to object's globalRect coordinates.
23:22:49.304 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
23:22:49.384 DEBUG _common:45 - Moving to object's globalRect coordinates.
23:22:49.384 DEBUG _uinput:475 - Tapping at: 471,1208
23:22:49.489 DEBUG dbus:433 - Selecting objects of type MainView with attributes: {}
23:22:49.788 INFO logging:45 - MainView: change_view_mode. Arguments (). Keyword arguments: {}.
23:22:49.790 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
23:22:49.791 DEBUG dbus:433 - Selecting objects of type Toolbar with attributes: {}
23:22:49.870 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
23:22:50.002 DEBUG _uinput:546 - Dragging from 384,1279 to 384,1136
23:22:51.318 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('changemodebutton',). Keyword arguments: {}.
23:22:51.344 DEBUG dbus:433 - Selecting objects of type ActionItem with attributes: {'objectName': 'changemodebutton'}
23:22:51.430 DEBUG _common:45 - Moving to object's globalRect coordinates.
23:22:51.432 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
23:22:51.528 DEBUG _common:45 - Moving to object's globalRect coordinates.
23:22:51.529 DEBUG _uinput:475 - Tapping at: 471,1208
maliit-server start/running, process 3725
23:22:52.483 INFO testresult:46 - OK: shorts_app.tests.test_rssreader.TestMainWindow.test_switch_to_grid_view_mode(with touch)
23:22:52.487 DEBUG __init__:69 - Running via click package
23:22:52.490 INFO globals:58 - ************************************************************
23:22:52.491 INFO globals:59 - Starting test shorts_app.tests.test_rssreader.TestMainWindow.test_remove_feed_and_topic (with touch)
23:22:52.492 WARNING testcase:116 - No tracing available - install the python-autopilot-trace package!
23:22:52.524 WARNING testcase:157 - Process manager backend unavailable, application snapshot support disabled.
23:22:52.525 DEBUG __init__:120 - Backed up database
maliit-server stop/waiting
23:22:52.551 INFO testcase:307 - Attempting to launch click application '(default)' from click package 'com.ubuntu.shorts' and URIs ''
23:22:58.043 DEBUG dbus:433 - Selecting objects of type MainView with attributes: {}
23:22:58.390 DEBUG dbus:433 - Selecting objects of type MainView with attributes: {}
23:22:58.611 DEBUG dbus:433 - Selecting objects of type ActivityIndicator with attributes: {'running': 'True'}
23:22:59.449 DEBUG dbus:433 - Selecting objects of type MainView with attributes: {}
23:22:59.555 DEBUG dbus:433 - Selecting objects of type ActivityIndicator with attributes: {'running': 'True'}
23:23:01.362 DEBUG dbus:433 - Selecting objects of type MainView with attributes: {}
23:23:01.467 INFO logging:45 - MainView: go_to_add_feeds. Arguments (). Keyword arguments: {}.
23:23:01.469 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
23:23:01.469 DEBUG dbus:433 - Selecting objects of type Toolbar with attributes: {}
23:23:01.557 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
23:23:01.619 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('addreadsbutton',). Keyword arguments: {}.
23:23:01.661 DEBUG dbus:433 - Selecting objects of type ActionItem with attributes: {'objectName': 'addreadsbutton'}
23:23:01.774 DEBUG _common:45 - Moving to object's globalRect coordinates.
23:23:01.775 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
23:23:01.963 DEBUG _common:45 - Moving to object's globalRect coordinates.
23:23:01.966 DEBUG _uinput:475 - Tapping at: 579,1208
23:23:02.071 DEBUG dbus:433 - Selecting objects of type ActionSelectionPopover with attributes: {'objectName': 'addreadspopover'}
23:23:03.466 DEBUG dbus:433 - Selecting objects of type Empty with attributes: {}
23:23:03.617 DEBUG _common:45 - Moving to object's globalRect coordinates.
23:23:03.618 DEBUG _uinput:475 - Tapping at: 384,846
23:23:04.928 DEBUG dbus:433 - Selecting objects of type AppendFeedPage with attributes: {'objectName': 'appendfeedpage'}
23:23:06.145 DEBUG dbus:433 - Selecting objects of type MainView with attributes: {}
23:23:06.254 INFO logging:45 - AppendFeedPage: search_feed. Arguments ('http://www.canonical.com/rss.xml',). Keyword arguments: {}.
23:23:06.255 DEBUG dbus:433 - Selecting objects of type TextField with attributes: {'objectName': 'tfFeedUrl'}
23:23:06.498 DEBUG _common:45 - Moving to object's globalRect coordinates.
23:23:06.499 DEBUG _uinput:475 - Tapping at: 384,310
23:23:06.727 DEBUG _uinput:200 - Typing text 'http://www.canonical.com/rss.xmln'
23:23:06.728 DEBUG _uinput:62 - Pressing h (35).
23:23:06.830 DEBUG _uinput:93 - Releasing h (35).
23:23:06.932 DEBUG _uinput:62 - Pressing t (20).
23:23:07.034 DEBUG _uinput:93 - Releasing t (20).
23:23:07.143 DEBUG _uinput:62 - Pressing t (20).
23:23:07.245 DEBUG _uinput:93 - Releasing t (20).
23:23:07.348 DEBUG _uinput:62 - Pressing p (25).
23:23:07.456 DEBUG _uinput:93 - Releasing p (25).
23:23:07.560 DEBUG _uinput:62 - Pressing KEY_LEFTSHIFT (42).
23:23:07.662 DEBUG _uinput:62 - Pressing SEMICOLON (39).
23:23:07.764 DEBUG _uinput:93 - Releasing SEMICOLON (39).
23:23:07.873 DEBUG _uinput:93 - Releasing KEY_LEFTSHIFT (42).
23:23:07.981 DEBUG _uinput:62 - Pressing SLASH (53).
23:23:08.087 DEBUG _uinput:93 - Releasing SLASH (53).
23:23:08.198 DEBUG _uinput:62 - Pressing SLASH (53).
23:23:08.301 DEBUG _uinput:93 - Releasing SLASH (53).
23:23:08.408 DEBUG _uinput:62 - Pressing w (17).
23:23:08.516 DEBUG _uinput:93 - Releasing w (17).
23:23:08.624 DEBUG _uinput:62 - Pressing w (17).
23:23:08.726 DEBUG _uinput:93 - Releasing w (17).
23:23:08.835 DEBUG _uinput:62 - Pressing w (17).
23:23:08.937 DEBUG _uinput:93 - Releasing w (17).
23:23:09.040 DEBUG _uinput:62 - Pressing DOT (52).
23:23:09.142 DEBUG _uinput:93 - Releasing DOT (52).
23:23:09.249 DEBUG _uinput:62 - Pressing c (46).
23:23:09.356 DEBUG _uinput:93 - Releasing c (46).
23:23:09.465 DEBUG _uinput:62 - Pressing a (30).
23:23:09.573 DEBUG _uinput:93 - Releasing a (30).
23:23:09.678 DEBUG _uinput:62 - Pressing n (49).
23:23:09.787 DEBUG _uinput:93 - Releasing n (49).
23:23:09.895 DEBUG _uinput:62 - Pressing o (24).
23:23:09.998 DEBUG _uinput:93 - Releasing o (24).
23:23:10.101 DEBUG _uinput:62 - Pressing n (49).
23:23:10.211 DEBUG _uinput:93 - Releasing n (49).
23:23:10.320 DEBUG _uinput:62 - Pressing i (23).
23:23:10.428 DEBUG _uinput:93 - Releasing i (23).
23:23:10.534 DEBUG _uinput:62 - Pressing c (46).
23:23:10.643 DEBUG _uinput:93 - Releasing c (46).
23:23:10.749 DEBUG _uinput:62 - Pressing a (30).
23:23:10.857 DEBUG _uinput:93 - Releasing a (30).
23:23:10.966 DEBUG _uinput:62 - Pressing l (38).
23:23:11.068 DEBUG _uinput:93 - Releasing l (38).
23:23:11.170 DEBUG _uinput:62 - Pressing DOT (52).
23:23:11.273 DEBUG _uinput:93 - Releasing DOT (52).
23:23:11.380 DEBUG _uinput:62 - Pressing c (46).
23:23:11.483 DEBUG _uinput:93 - Releasing c (46).
23:23:11.591 DEBUG _uinput:62 - Pressing o (24).
23:23:11.697 DEBUG _uinput:93 - Releasing o (24).
23:23:11.808 DEBUG _uinput:62 - Pressing m (50).
23:23:11.912 DEBUG _uinput:93 - Releasing m (50).
23:23:12.021 DEBUG _uinput:62 - Pressing SLASH (53).
23:23:12.124 DEBUG _uinput:93 - Releasing SLASH (53).
23:23:12.232 DEBUG _uinput:62 - Pressing r (19).
23:23:12.343 DEBUG _uinput:93 - Releasing r (19).
23:23:12.448 DEBUG _uinput:62 - Pressing s (31).
23:23:12.556 DEBUG _uinput:93 - Releasing s (31).
23:23:12.668 DEBUG _uinput:62 - Pressing s (31).
23:23:12.774 DEBUG _uinput:93 - Releasing s (31).
23:23:12.877 DEBUG _uinput:62 - Pressing DOT (52).
23:23:12.986 DEBUG _uinput:93 - Releasing DOT (52).
23:23:13.096 DEBUG _uinput:62 - Pressing x (45).
23:23:13.204 DEBUG _uinput:93 - Releasing x (45).
23:23:13.309 DEBUG _uinput:62 - Pressing m (50).
23:23:13.417 DEBUG _uinput:93 - Releasing m (50).
23:23:13.520 DEBUG _uinput:62 - Pressing l (38).
23:23:13.622 DEBUG _uinput:93 - Releasing l (38).
23:23:13.727 DEBUG _uinput:62 - Pressing ENTER (28).
23:23:13.837 DEBUG _uinput:93 - Releasing ENTER (28).
23:23:13.941 DEBUG dbus:433 - Selecting objects of type QQuickListView with attributes: {'objectName': 'feedpagelistview'}
23:23:14.249 INFO logging:45 - AppendFeedPage: Select feed items from the list of results. Arguments ('Insights',). Keyword arguments: {}.
23:23:14.250 DEBUG dbus:433 - Selecting objects of type QQuickListView with attributes: {'objectName': 'feedpagelistview'}
23:23:14.361 INFO logging:45 - QQuickListView: Click an element from the list. Arguments ('feedpagelistitem-Insights',). Keyword arguments: {}.
23:23:14.362 DEBUG dbus:433 - Selecting objects of any type with attributes: {'objectName': 'feedpagelistitem-Insights'}
23:23:14.441 INFO logging:45 - QQuickListView: Make the child visible. Arguments (<ubuntuuitoolkit.emulators.Standard object at 0xb3aeea90>,). Keyword arguments: {}.
23:23:14.868 DEBUG emulators:553 - The element is already visible.
23:23:14.929 DEBUG _common:45 - Moving to object's globalRect coordinates.
23:23:14.932 DEBUG _uinput:475 - Tapping at: 384,519
23:23:15.040 INFO logging:45 - AppendFeedPage: click_next. Arguments (). Keyword arguments: {}.
23:23:15.041 DEBUG dbus:433 - Selecting objects of type Toolbar with attributes: {}
23:23:15.108 DEBUG dbus:433 - Selecting objects of type Button with attributes: {'objectName': 'nextButton'}
23:23:15.208 DEBUG _common:45 - Moving to object's globalRect coordinates.
23:23:15.209 DEBUG _uinput:475 - Tapping at: 642,1208
23:23:15.311 DEBUG dbus:433 - Selecting objects of type ChooseTopicPage with attributes: {'objectName': 'choosetopicpage'}
23:23:16.618 DEBUG dbus:433 - Selecting objects of type MainView with attributes: {}
23:23:16.675 INFO logging:45 - ChooseTopicPage: add_topic. Arguments ('Test topic',). Keyword arguments: {}.
23:23:16.676 DEBUG dbus:433 - Selecting objects of type TextField with attributes: {'objectName': 'newTopic'}
23:23:16.850 DEBUG _common:45 - Moving to object's globalRect coordinates.
23:23:16.850 DEBUG _uinput:475 - Tapping at: 384,588
23:23:17.026 DEBUG _uinput:200 - Typing text 'Test topicn'
23:23:17.028 DEBUG _uinput:62 - Pressing KEY_LEFTSHIFT (42).
23:23:17.130 DEBUG _uinput:62 - Pressing T (20).
23:23:17.235 DEBUG _uinput:93 - Releasing T (20).
23:23:17.341 DEBUG _uinput:93 - Releasing KEY_LEFTSHIFT (42).
23:23:17.449 DEBUG _uinput:62 - Pressing e (18).
23:23:17.558 DEBUG _uinput:93 - Releasing e (18).
23:23:17.665 DEBUG _uinput:62 - Pressing s (31).
23:23:17.773 DEBUG _uinput:93 - Releasing s (31).
23:23:17.881 DEBUG _uinput:62 - Pressing t (20).
23:23:17.991 DEBUG _uinput:93 - Releasing t (20).
23:23:18.096 DEBUG _uinput:62 - Pressing SPACE (57).
23:23:18.198 DEBUG _uinput:93 - Releasing SPACE (57).
23:23:18.301 DEBUG _uinput:62 - Pressing t (20).
23:23:18.403 DEBUG _uinput:93 - Releasing t (20).
23:23:18.510 DEBUG _uinput:62 - Pressing o (24).
23:23:18.613 DEBUG _uinput:93 - Releasing o (24).
23:23:18.722 DEBUG _uinput:62 - Pressing p (25).
23:23:18.824 DEBUG _uinput:93 - Releasing p (25).
23:23:18.933 DEBUG _uinput:62 - Pressing i (23).
23:23:19.035 DEBUG _uinput:93 - Releasing i (23).
23:23:19.137 DEBUG _uinput:62 - Pressing c (46).
23:23:19.240 DEBUG _uinput:93 - Releasing c (46).
23:23:19.348 DEBUG _uinput:62 - Pressing ENTER (28).
23:23:19.456 DEBUG _uinput:93 - Releasing ENTER (28).
23:23:19.558 DEBUG dbus:433 - Selecting objects of type MainView with attributes: {}
23:23:20.639 DEBUG dbus:433 - Selecting objects of type ActivityIndicator with attributes: {'running': 'True'}
23:23:23.278 DEBUG dbus:433 - Selecting objects of type ActivityIndicator with attributes: {'running': 'True'}
23:23:25.888 DEBUG dbus:433 - Selecting objects of type ActivityIndicator with attributes: {'running': 'True'}
23:23:28.449 DEBUG dbus:433 - Selecting objects of type ActivityIndicator with attributes: {'running': 'True'}
23:23:31.075 DEBUG dbus:433 - Selecting objects of type ActivityIndicator with attributes: {'running': 'True'}
23:23:33.679 DEBUG dbus:433 - Selecting objects of type ActivityIndicator with attributes: {'running': 'True'}
23:23:36.267 DEBUG dbus:433 - Selecting objects of type ActivityIndicator with attributes: {'running': 'True'}
23:23:38.885 DEBUG dbus:433 - Selecting objects of type ActivityIndicator with attributes: {'running': 'True'}
23:23:41.480 DEBUG dbus:433 - Selecting objects of type ActivityIndicator with attributes: {'running': 'True'}
23:23:44.080 DEBUG dbus:433 - Selecting objects of type ActivityIndicator with attributes: {'running': 'True'}
23:23:46.678 DEBUG dbus:433 - Selecting objects of type ActivityIndicator with attributes: {'running': 'True'}
23:23:49.271 DEBUG dbus:433 - Selecting objects of type ActivityIndicator with attributes: {'running': 'True'}
23:23:51.850 DEBUG dbus:433 - Selecting objects of type ActivityIndicator with attributes: {'running': 'True'}
23:23:54.464 DEBUG dbus:433 - Selecting objects of type ActivityIndicator with attributes: {'running': 'True'}
23:23:57.040 DEBUG dbus:433 - Selecting objects of type ActivityIndicator with attributes: {'running': 'True'}
23:23:59.651 DEBUG dbus:433 - Selecting objects of type ActivityIndicator with attributes: {'running': 'True'}

Related branches

Revision history for this message
Nicholas Skaggs (nskaggs) wrote :

This appears to be a network timeout.. The feed has to load. It's waiting for the spinner to stop, but timeouts waiting.

Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :

Well, ran again and it's fine. How odd.

Revision history for this message
Nicholas Skaggs (nskaggs) wrote :

Proposed a very small tweak which I think will eliminate this :-)

Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :

Fix committed into lp:ubuntu-rssreader-app at revision None, scheduled for release in ubuntu-rssreader-app, milestone alpha-1

Changed in ubuntu-rssreader-app:
status: New → Fix Committed
Changed in ubuntu-rssreader-app:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.