Testcase: test_rssreader.TestMainWindow.test_add_remove_feed_and_topic

Build #:67:20131215:20131211.2
Arch:mako (Nexus 4)
Release:trusty
Variant:touch
Artifacts
Console Log

Test case data

testcase
test_rssreader.TestMainWindow.test_add_remove_feed_and_topic
testsuite
/tmp/tmpC_AnPw/testsuites/ubuntu-rssreader-app-autopilot
returncode
1
command
autopilot-run ubuntu_rssreader_app.tests.test_rssreader.TestMainWindow.test_add_remove_feed_and_topic
stdout
ADB_RC=0
Loading tests from: /home/phablet/autopilot

06:43:21.727 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu2
06:43:22.108 INFO globals:56 - ************************************************************
06:43:22.110 INFO globals:57 - Starting test ubuntu_rssreader_app.tests.test_rssreader.TestMainWindow.test_add_remove_feed_and_topic (with touch)
06:43:22.111 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
06:43:22.342 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
06:43:22.343 WARNING __init__:111 - No current database found
maliit-server stop/waiting
initctl: Unknown instance: com.ubuntu.shorts_shorts_0.2.147
06:43:26.562 INFO testcase:352 - Click package com.ubuntu.shorts_shorts_0.2.147 has been launched with PID 4820
06:43:28.422 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:43:28.517 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:43:28.565 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'running': 'True'}
06:43:29.417 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:43:29.550 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'running': 'True'}
06:43:31.202 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'running': 'True'}
06:43:32.876 DEBUG dbus:431 - Selecting objects of type ActivityIndicator with attributes: {'running': 'True'}
06:43:33.818 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:43:33.925 DEBUG dbus:431 - Selecting objects of type ShortsTab with attributes: {'objectName': 'Tab0'}
06:43:34.779 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:43:34.834 DEBUG dbus:431 - Selecting objects of type ShortsTab with attributes: {'objectName': 'Tab0'}
06:43:35.710 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:43:35.755 DEBUG dbus:431 - Selecting objects of type ShortsTab with attributes: {'objectName': 'Tab0'}
06:43:36.673 DEBUG test_rssreader:47 - starting test add feed and topic
06:43:36.675 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:43:36.727 DEBUG dbus:431 - Selecting objects of type ChooseTopicPage with attributes: {'objectName': 'choosetopicpage'}
06:43:37.560 DEBUG test_rssreader:52 - opening toolbar
06:43:37.561 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:43:37.645 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:43:37.645 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
06:43:37.691 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:43:37.824 DEBUG _uinput:366 - Dragging from 384,1279 to 384,1136
06:43:39.185 DEBUG test_rssreader:56 - clicking addreadsbutton
06:43:39.187 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('addreadsbutton',). Keyword arguments: {}.
06:43:39.188 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'addreadsbutton'}
06:43:39.277 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:43:39.287 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:43:39.342 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:43:39.343 DEBUG _uinput:332 - Tapping at: 579,1208
06:43:39.446 DEBUG test_rssreader:60 - clicking + Add feeds
06:43:39.447 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:43:39.659 DEBUG dbus:431 - Selecting objects of type ActionSelectionPopover with attributes: {}
06:43:39.751 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:43:39.801 DEBUG dbus:431 - Selecting objects of type Empty with attributes: {}
06:43:39.974 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:43:39.975 DEBUG _uinput:332 - Tapping at: 384,846
06:43:40.081 DEBUG test_rssreader:65 - asserting append page
06:43:40.082 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:43:40.269 DEBUG dbus:431 - Selecting objects of type AppendFeedPage with attributes: {'objectName': 'appendfeedpage'}
06:43:41.192 DEBUG test_rssreader:70 - inputting feed
06:43:41.193 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:43:41.238 DEBUG dbus:431 - Selecting objects of type TextField with attributes: {'objectName': 'tfFeedUrl'}
06:43:42.145 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:43:42.146 DEBUG _uinput:332 - Tapping at: 384,310
06:43:43.331 DEBUG _uinput:135 - Typing text 'http://www.canonical.com/rss.xml'
06:43:43.332 DEBUG _uinput:80 - Pressing h (35)
06:43:43.446 DEBUG _uinput:103 - Releasing h (35)
06:43:43.547 DEBUG _uinput:80 - Pressing t (20)
06:43:43.649 DEBUG _uinput:103 - Releasing t (20)
06:43:43.751 DEBUG _uinput:80 - Pressing t (20)
06:43:43.852 DEBUG _uinput:103 - Releasing t (20)
06:43:43.958 DEBUG _uinput:80 - Pressing p (25)
06:43:44.065 DEBUG _uinput:103 - Releasing p (25)
06:43:44.166 DEBUG _uinput:80 - Pressing : (42)
06:43:44.272 DEBUG _uinput:80 - Pressing : (39)
06:43:44.382 DEBUG _uinput:103 - Releasing : (42)
06:43:44.487 DEBUG _uinput:103 - Releasing : (39)
06:43:44.593 DEBUG _uinput:80 - Pressing / (53)
06:43:44.694 DEBUG _uinput:103 - Releasing / (53)
06:43:44.801 DEBUG _uinput:80 - Pressing / (53)
06:43:44.903 DEBUG _uinput:103 - Releasing / (53)
06:43:45.008 DEBUG _uinput:80 - Pressing w (17)
06:43:45.116 DEBUG _uinput:103 - Releasing w (17)
06:43:45.218 DEBUG _uinput:80 - Pressing w (17)
06:43:45.326 DEBUG _uinput:103 - Releasing w (17)
06:43:45.433 DEBUG _uinput:80 - Pressing w (17)
06:43:45.547 DEBUG _uinput:103 - Releasing w (17)
06:43:45.653 DEBUG _uinput:80 - Pressing . (52)
06:43:45.768 DEBUG _uinput:103 - Releasing . (52)
06:43:45.869 DEBUG _uinput:80 - Pressing c (46)
06:43:45.977 DEBUG _uinput:103 - Releasing c (46)
06:43:46.084 DEBUG _uinput:80 - Pressing a (30)
06:43:46.197 DEBUG _uinput:103 - Releasing a (30)
06:43:46.326 DEBUG _uinput:80 - Pressing n (49)
06:43:46.427 DEBUG _uinput:103 - Releasing n (49)
06:43:46.529 DEBUG _uinput:80 - Pressing o (24)
06:43:46.637 DEBUG _uinput:103 - Releasing o (24)
06:43:46.744 DEBUG _uinput:80 - Pressing n (49)
06:43:46.859 DEBUG _uinput:103 - Releasing n (49)
06:43:46.961 DEBUG _uinput:80 - Pressing i (23)
06:43:47.068 DEBUG _uinput:103 - Releasing i (23)
06:43:47.174 DEBUG _uinput:80 - Pressing c (46)
06:43:47.282 DEBUG _uinput:103 - Releasing c (46)
06:43:47.384 DEBUG _uinput:80 - Pressing a (30)
06:43:47.493 DEBUG _uinput:103 - Releasing a (30)
06:43:47.595 DEBUG _uinput:80 - Pressing l (38)
06:43:47.703 DEBUG _uinput:103 - Releasing l (38)
06:43:47.805 DEBUG _uinput:80 - Pressing . (52)
06:43:47.912 DEBUG _uinput:103 - Releasing . (52)
06:43:48.019 DEBUG _uinput:80 - Pressing c (46)
06:43:48.120 DEBUG _uinput:103 - Releasing c (46)
06:43:48.222 DEBUG _uinput:80 - Pressing o (24)
06:43:48.331 DEBUG _uinput:103 - Releasing o (24)
06:43:48.432 DEBUG _uinput:80 - Pressing m (50)
06:43:48.533 DEBUG _uinput:103 - Releasing m (50)
06:43:48.635 DEBUG _uinput:80 - Pressing / (53)
06:43:48.745 DEBUG _uinput:103 - Releasing / (53)
06:43:48.850 DEBUG _uinput:80 - Pressing r (19)
06:43:48.959 DEBUG _uinput:103 - Releasing r (19)
06:43:49.064 DEBUG _uinput:80 - Pressing s (31)
06:43:49.173 DEBUG _uinput:103 - Releasing s (31)
06:43:49.275 DEBUG _uinput:80 - Pressing s (31)
06:43:49.383 DEBUG _uinput:103 - Releasing s (31)
06:43:49.485 DEBUG _uinput:80 - Pressing . (52)
06:43:49.594 DEBUG _uinput:103 - Releasing . (52)
06:43:49.702 DEBUG _uinput:80 - Pressing x (45)
06:43:49.814 DEBUG _uinput:103 - Releasing x (45)
06:43:49.916 DEBUG _uinput:80 - Pressing m (50)
06:43:50.027 DEBUG _uinput:103 - Releasing m (50)
06:43:50.130 DEBUG _uinput:80 - Pressing l (38)
06:43:50.231 DEBUG _uinput:103 - Releasing l (38)
06:43:50.468 DEBUG _uinput:122 - Pressing and Releasing: Enter
06:43:50.470 DEBUG _uinput:80 - Pressing Enter (28)
06:43:50.581 DEBUG _uinput:103 - Releasing Enter (28)
06:43:50.683 DEBUG test_rssreader:74 - asserting checkbox
06:43:50.684 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:43:50.811 DEBUG dbus:431 - Selecting objects of type CheckBox with attributes: {'objectName': 'feedCheckbox'}
06:43:51.693 DEBUG test_rssreader:77 - grabbing checkbox
06:43:51.694 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:43:51.758 DEBUG dbus:431 - Selecting objects of type CheckBox with attributes: {'objectName': 'feedCheckbox'}
06:43:52.655 DEBUG test_rssreader:79 - clicking checkbox
06:43:52.706 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:43:52.708 DEBUG _uinput:332 - Tapping at: 693,519
06:43:52.810 DEBUG test_rssreader:81 - asserting checkbox checked
06:43:52.895 DEBUG test_rssreader:85 - asserting next
06:43:52.896 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:43:52.994 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'nextButton'}
06:43:53.849 DEBUG test_rssreader:88 - grabbing next
06:43:53.850 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:43:53.894 DEBUG dbus:431 - Selecting objects of type Button with attributes: {'objectName': 'nextButton'}
06:43:54.702 DEBUG test_rssreader:90 - clicking next
06:43:54.748 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:43:54.750 DEBUG _uinput:332 - Tapping at: 642,1208
06:43:54.854 DEBUG test_rssreader:94 - asserting choose topic page
06:43:54.855 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:43:55.020 DEBUG dbus:431 - Selecting objects of type ChooseTopicPage with attributes: {'objectName': 'choosetopicpage'}
06:43:55.945 DEBUG test_rssreader:99 - grabbing topics
06:43:55.947 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:43:55.998 DEBUG dbus:431 - Selecting objects of type Standard with attributes: {'objectName': 'topicItem'}
06:43:56.931 DEBUG test_rssreader:102 - found 2 topics
06:43:56.961 DEBUG test_rssreader:104 - Topic: Canonical
06:43:56.986 DEBUG test_rssreader:104 - Topic: Ubuntu
06:43:56.986 DEBUG test_rssreader:107 - input topic
06:43:56.987 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:43:57.029 DEBUG dbus:431 - Selecting objects of type TextField with attributes: {'objectName': 'newTopic'}
06:43:58.094 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:43:58.095 DEBUG _uinput:332 - Tapping at: 384,588
06:43:59.290 DEBUG _uinput:135 - Typing text 'CanonicalTopic'
06:43:59.291 DEBUG _uinput:80 - Pressing C (42)
06:43:59.394 DEBUG _uinput:80 - Pressing C (46)
06:43:59.499 DEBUG _uinput:103 - Releasing C (42)
06:43:59.606 DEBUG _uinput:103 - Releasing C (46)
06:43:59.714 DEBUG _uinput:80 - Pressing a (30)
06:43:59.815 DEBUG _uinput:103 - Releasing a (30)
06:43:59.921 DEBUG _uinput:80 - Pressing n (49)
06:44:00.029 DEBUG _uinput:103 - Releasing n (49)
06:44:00.134 DEBUG _uinput:80 - Pressing o (24)
06:44:00.248 DEBUG _uinput:103 - Releasing o (24)
06:44:00.354 DEBUG _uinput:80 - Pressing n (49)
06:44:00.464 DEBUG _uinput:103 - Releasing n (49)
06:44:00.570 DEBUG _uinput:80 - Pressing i (23)
06:44:00.684 DEBUG _uinput:103 - Releasing i (23)
06:44:00.791 DEBUG _uinput:80 - Pressing c (46)
06:44:00.906 DEBUG _uinput:103 - Releasing c (46)
06:44:01.008 DEBUG _uinput:80 - Pressing a (30)
06:44:01.116 DEBUG _uinput:103 - Releasing a (30)
06:44:01.222 DEBUG _uinput:80 - Pressing l (38)
06:44:01.331 DEBUG _uinput:103 - Releasing l (38)
06:44:01.433 DEBUG _uinput:80 - Pressing T (42)
06:44:01.542 DEBUG _uinput:80 - Pressing T (20)
06:44:01.650 DEBUG _uinput:103 - Releasing T (42)
06:44:01.757 DEBUG _uinput:103 - Releasing T (20)
06:44:01.863 DEBUG _uinput:80 - Pressing o (24)
06:44:01.971 DEBUG _uinput:103 - Releasing o (24)
06:44:02.077 DEBUG _uinput:80 - Pressing p (25)
06:44:02.192 DEBUG _uinput:103 - Releasing p (25)
06:44:02.298 DEBUG _uinput:80 - Pressing i (23)
06:44:02.409 DEBUG _uinput:103 - Releasing i (23)
06:44:02.514 DEBUG _uinput:80 - Pressing c (46)
06:44:02.623 DEBUG _uinput:103 - Releasing c (46)
06:44:02.834 DEBUG _uinput:122 - Pressing and Releasing: Enter
06:44:02.836 DEBUG _uinput:80 - Pressing Enter (28)
06:44:02.950 DEBUG _uinput:103 - Releasing Enter (28)
06:44:03.051 DEBUG test_rssreader:283 - starting remove feed
06:44:03.052 DEBUG test_rssreader:111 - removing feed
06:44:03.052 DEBUG test_rssreader:113 - opening toolbar
06:44:03.053 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:44:03.383 INFO logging:45 - MainView: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:44:03.384 DEBUG dbus:431 - Selecting objects of type Toolbar with attributes: {}
06:44:03.439 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:44:03.496 DEBUG test_rssreader:117 - clicking edit topics
06:44:03.498 INFO logging:45 - Toolbar: Click a button of the toolbar. Arguments ('edittopicsbutton',). Keyword arguments: {}.
06:44:03.498 DEBUG dbus:431 - Selecting objects of type ActionItem with attributes: {'objectName': 'edittopicsbutton'}
06:44:03.616 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:44:03.617 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
06:44:03.687 DEBUG _common:35 - Moving to object's globalRect coordinates.
06:44:03.689 DEBUG _uinput:332 - Tapping at: 687,1208
06:44:03.792 DEBUG test_rssreader:121 - assert feedlist page
06:44:03.793 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
06:44:03.864 DEBUG dbus:431 - Selecting objects of type TopicManagement with attributes: {'objectName': 'topicmanagement'}
06:44:16.067 INFO testcase:540 - waiting for process to exit.
06:44:16.074 INFO testcase:542 - Killing process 4820
06:44:17.109 ERROR testresult:37 - FAIL: ubuntu_rssreader_app.tests.test_rssreader.TestMainWindow.test_add_remove_feed_and_topic(with touch)
06:44:17.113 ERROR testresult:37 - traceback: {{{
Traceback (most recent call last):
File "/home/phablet/autopilot/ubuntu_rssreader_app/tests/test_rssreader.py", line 285, in test_add_remove_feed_and_topic
self._remove_feed(feedName, topicName)
File "/home/phablet/autopilot/ubuntu_rssreader_app/tests/test_rssreader.py", line 123, in _remove_feed
self.assertThat(feedlistpage.visible, Eventually(Equals(True)))
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 412, in assertThat
raise MismatchError(matchee, matcher, mismatch, verbose)
MismatchError: After 10.0 seconds test on TopicManagement.visible failed: True != dbus.Boolean(False, variant_level=1)
}}}
ADB_RC=1
command_type
testcase_test