http://paste.ubuntu.com/7406228/
When running the tests on my mako device running utopic image #14 I get lots of failures.
File "/home/phablet/autopilot/calendar_app/tests/test_monthview.py", line 76, in test_monthview_go_to_today_prev_month
self._test_go_to_today(-1)
File "/home/phablet/autopilot/calendar_app/tests/test_monthview.py", line 67, in _test_go_to_today
self._assert_today()
File "/home/phablet/autopilot/calendar_app/tests/test_monthview.py", line 60, in _assert_today
Eventually(Equals(today.day)))
File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 406, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: After 10.0 seconds test failed: 6 != 5
Traceback (most recent call last):
File "/home/phablet/autopilot/calendar_app/tests/test_dayview.py", line 31, in setUp
self.main_view.switch_to_tab("dayTab")
File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
return f(instance, *args, **kwargs)
File "/home/phablet/autopilot/ubuntuuitoolkit/emulators.py", line 220, in switch_to_tab
return self.switch_to_tab_by_index(tab.index)
File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
return f(instance, *args, **kwargs)
File "/home/phablet/autopilot/ubuntuuitoolkit/emulators.py", line 189, in switch_to_tab_by_index
return self._switch_to_tab_in_deprecated_tabbar_by_index(index)
File "/home/phablet/autopilot/ubuntuuitoolkit/emulators.py", line 162, in _switch_to_tab_in_deprecated_tabbar_by_index
current_tab = self.switch_to_next_tab()
File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
return f(instance, *args, **kwargs)
File "/home/phablet/autopilot/ubuntuuitoolkit/emulators.py", line 141, in switch_to_next_tab
self.get_header().switch_to_next_tab()
File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
return f(instance, *args, **kwargs)
File "/home/phablet/autopilot/ubuntuuitoolkit/emulators.py", line 292, in switch_to_next_tab
self._switch_to_next_tab_in_deprecated_tabbar()
File "/home/phablet/autopilot/ubuntuuitoolkit/emulators.py", line 275, in _switch_to_next_tab_in_deprecated_tabbar
self._get_animating().wait_for(False)
File "/home/phablet/autopilot/ubuntuuitoolkit/emulators.py", line 263, in _get_animating
if (self.useDeprecatedToolbar):
File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 520, in __getattr__
self.refresh_state()
File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 474, in refresh_state
_, new_state = self.get_new_state()
File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 562, in get_new_state
return self.get_state_by_path(self.get_class_query_string())[0]
File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 542, in get_state_by_path
data = self._backend.introspection_iface.GetState(piece)
File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 70, in __call__
return self._proxy_method(*args, **keywords)
File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 145, in __call__
**keywords)
File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.59 was not provided by any .service files
Traceback (most recent call last):
File "/home/phablet/autopilot/calendar_app/tests/test_calendar.py", line 50, in test_new_event
self.main_view.switch_to_tab("dayTab")
File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
return f(instance, *args, **kwargs)
File "/home/phablet/autopilot/ubuntuuitoolkit/emulators.py", line 220, in switch_to_tab
return self.switch_to_tab_by_index(tab.index)
File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
return f(instance, *args, **kwargs)
File "/home/phablet/autopilot/ubuntuuitoolkit/emulators.py", line 189, in switch_to_tab_by_index
return self._switch_to_tab_in_deprecated_tabbar_by_index(index)
File "/home/phablet/autopilot/ubuntuuitoolkit/emulators.py", line 162, in _switch_to_tab_in_deprecated_tabbar_by_index
current_tab = self.switch_to_next_tab()
File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
return f(instance, *args, **kwargs)
File "/home/phablet/autopilot/ubuntuuitoolkit/emulators.py", line 141, in switch_to_next_tab
self.get_header().switch_to_next_tab()
File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
return f(instance, *args, **kwargs)
File "/home/phablet/autopilot/ubuntuuitoolkit/emulators.py", line 292, in switch_to_next_tab
self._switch_to_next_tab_in_deprecated_tabbar()
File "/home/phablet/autopilot/ubuntuuitoolkit/emulators.py", line 275, in _switch_to_next_tab_in_deprecated_tabbar
self._get_animating().wait_for(False)
File "/home/phablet/autopilot/ubuntuuitoolkit/emulators.py", line 263, in _get_animating
if (self.useDeprecatedToolbar):
File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 520, in __getattr__
self.refresh_state()
File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 474, in refresh_state
_, new_state = self.get_new_state()
File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 562, in get_new_state
return self.get_state_by_path(self.get_class_query_string())[0]
File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 542, in get_state_by_path
data = self._backend.introspection_iface.GetState(piece)
File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 70, in __call__
return self._proxy_method(*args, **keywords)
File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 145, in __call__
**keywords)
File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)
etc..
Fix committed into lp:ubuntu-calendar-app at revision 267, scheduled for release in ubuntu- calendar- app, milestone alpha-1