Testcase: test_dayview.TestDayView.test_current_month_and_year_is_selected

Build #:69:20131217.2:20131211.2
Arch:mako (Nexus 4)
Release:trusty
Variant:touch_custom
Artifacts
Console Log

Test case data

testcase
test_dayview.TestDayView.test_current_month_and_year_is_selected
testsuite
/tmp/tmpvjxQqD/testsuites/calendar-app-autopilot
returncode
1
command
autopilot-run calendar_app.tests.test_dayview.TestDayView.test_current_month_and_year_is_selected
stdout
ADB_RC=0
Loading tests from: /home/phablet/autopilot

23:17:46.184 INFO autopilot:139 - Autopilot Source Version: 1.4.0
Autopilot Package Version: 1.4+14.04.20131125-0ubuntu2
23:17:46.576 INFO globals:56 - ************************************************************
23:17:46.577 INFO globals:57 - Starting test calendar_app.tests.test_dayview.TestDayView.test_current_month_and_year_is_selected (with touch)
23:17:46.578 WARNING testcase:117 - No tracing available - install the python-autopilot-trace package!
23:17:46.738 WARNING testcase:154 - Process manager backend unavailable, application snapshot support disabled.
23:17:46.740 WARNING __init__:104 - No current database found
stop: Unknown instance:
initctl: Unknown instance: com.ubuntu.calendar_calendar_0.4.172
23:17:49.579 INFO testcase:352 - Click package com.ubuntu.calendar_calendar_0.4.172 has been launched with PID 5423
23:17:53.722 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:17:54.037 DEBUG dbus:431 - Selecting objects of type MainView with attributes: {}
23:17:54.244 INFO logging:45 - MainView: Open a tab. Arguments ('dayTab',). Keyword arguments: {}.
23:17:54.247 DEBUG dbus:431 - Selecting objects of type Tabs with attributes: {}
23:17:54.489 DEBUG dbus:431 - Selecting objects of type Tab with attributes: {}
23:17:54.869 INFO logging:45 - MainView: Open a tab. Arguments (3,). Keyword arguments: {}.
23:17:54.870 DEBUG emulators:136 - Switch to tab with index 3.
23:17:54.871 DEBUG dbus:431 - Selecting objects of type Tabs with attributes: {}
23:17:55.075 DEBUG dbus:431 - Selecting objects of type Tab with attributes: {}
23:17:55.313 DEBUG dbus:431 - Selecting objects of type Tab with attributes: {}
23:17:55.589 DEBUG emulators:145 - Current tab index: 1.
23:17:55.591 INFO logging:45 - MainView: Open the next tab. Arguments (). Keyword arguments: {}.
23:17:55.592 DEBUG emulators:121 - Switch to next tab.
23:17:55.593 DEBUG dbus:431 - Selecting objects of type Header with attributes: {'objectName': 'MainView_Header'}
23:18:02.482 INFO logging:45 - Header: Open the next tab. Arguments (). Keyword arguments: {}.
23:18:02.486 DEBUG dbus:431 - Selecting objects of type TabBar with attributes: {}
23:18:02.650 INFO testcase:540 - waiting for process to exit.
23:18:02.654 INFO testcase:542 - Killing process 5423
23:18:03.669 ERROR testresult:37 - ERROR: calendar_app.tests.test_dayview.TestDayView.test_current_month_and_year_is_selected(with touch)
23:18:03.673 ERROR testresult:37 - traceback: {{{
Traceback (most recent call last):
File "/home/phablet/autopilot/calendar_app/tests/test_dayview.py", line 25, in setUp
self.main_view.switch_to_tab("dayTab")
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