Testcase: test_weekview.TestWeekView.test_show_previous_weeks

Build #:74:20131219.1:20131218.2
Arch:mako (Nexus 4)
Release:trusty
Variant:touch_custom
Artifacts
Console Log

Test case data

testcase
test_weekview.TestWeekView.test_show_previous_weeks
testsuite
/tmp/tmpVYSb2o/testsuites/calendar-app-autopilot
returncode
1
command
autopilot-run calendar_app.tests.test_weekview.TestWeekView.test_show_previous_weeks
stdout
ADB_RC=0
Loading tests from: /home/phablet/autopilot

14:42:47.199 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu3
14:42:47.633 INFO globals:56 - ************************************************************
14:42:47.635 INFO globals:57 - Starting test calendar_app.tests.test_weekview.TestWeekView.test_show_previous_weeks (with touch)
14:42:47.637 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
14:42:47.802 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
14:42:47.804 WARNING __init__:104 - No current database found
stop: Unknown instance:
initctl: Unknown instance: com.ubuntu.calendar_calendar_0.4.172
14:42:51.761 INFO testcase:352 - Click package com.ubuntu.calendar_calendar_0.4.172 has been launched with PID 7128
14:42:55.005 INFO __init__:414 - dbus.DBusException while attempting to get PID for :1.351: DBusException("Could not get PID of name ':1.351': no such
name",)
14:42:55.692 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
14:42:55.963 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
14:42:56.201 INFO logging:45 - MainView: Open a tab. Arguments ('weekTab',). Keyword arguments: {}.
14:42:56.202 DEBUG dbus:431 - Selecting objects of type Tabs with attributes: {}
14:42:56.418 DEBUG dbus:431 - Selecting objects of type Tab with attributes: {}
14:42:56.784 INFO logging:45 - MainView: Open a tab. Arguments (2,). Keyword arguments: {}.
14:42:56.785 DEBUG emulators:136 - Switch to tab with index 2.
14:42:56.786 DEBUG dbus:431 - Selecting objects of type Tabs with attributes: {}
14:42:57.082 DEBUG dbus:431 - Selecting objects of type Tab with attributes: {}
14:42:57.315 DEBUG dbus:431 - Selecting objects of type Tab with attributes: {}
14:42:57.649 DEBUG emulators:145 - Current tab index: 1.
14:42:57.651 INFO logging:45 - MainView: Open the next tab. Arguments (). Keyword arguments: {}.
14:42:57.652 DEBUG emulators:121 - Switch to next tab.
14:42:57.653 DEBUG dbus:431 - Selecting objects of type Header with attributes: {'objectName': 'MainView_Header'}
14:43:04.748 INFO logging:45 - Header: Open the next tab. Arguments (). Keyword arguments: {}.
14:43:04.758 DEBUG dbus:431 - Selecting objects of type TabBar with attributes: {}
14:43:04.918 INFO testcase:540 - waiting for process to exit.
14:43:04.919 INFO testcase:542 - Killing process 7128
14:43:05.927 ERROR testresult:37 - ERROR: calendar_app.tests.test_weekview.TestWeekView.test_show_previous_weeks(with touch)
14:43:05.928 ERROR testresult:37 - traceback: {{{
Traceback (most recent call last):
File "/home/phablet/autopilot/calendar_app/tests/test_weekview.py", line 28, in setUp
self.main_view.switch_to_tab("weekTab")
File "/usr/lib/python2.7/dist-packages/autopilot/logging.py", line 46, in inner
return f(instance, *args, **kwargs)
File "/home/phablet/autopilot/ubuntuuitoolkit/emulators.py", line 182, in switch_to_tab
return self.switch_to_tab_by_index(tab.index)
File "/usr/lib/python2.7/dist-packages/autopilot/logging.py", line 46, in inner
return f(instance, *args, **kwargs)
File "/home/phablet/autopilot/ubuntuuitoolkit/emulators.py", line 151, in switch_to_tab_by_index
current_tab = self.switch_to_next_tab()
File "/usr/lib/python2.7/dist-packages/autopilot/logging.py", line 46, in inner
return f(instance, *args, **kwargs)
File "/home/phablet/autopilot/ubuntuuitoolkit/emulators.py", line 122, in switch_to_next_tab
self.get_header().switch_to_next_tab()
File "/usr/lib/python2.7/dist-packages/autopilot/logging.py", line 46, in inner
return f(instance, *args, **kwargs)
File "/home/phablet/autopilot/ubuntuuitoolkit/emulators.py", line 223, in switch_to_next_tab
raise ToolkitEmulatorException(_NO_TABS_ERROR)
ToolkitEmulatorException: The MainView has no Tabs.
}}}
ADB_RC=1
command_type
testcase_test