** Summary changed:

- Autopilot test flakyness in test_outgoing_answer_local_hangup
+ Autopilot test flakyness in test_outgoing_answer_local_hangup and 
test_outgoing_answer_remote_hangup

** Description changed:

  On smoketesting, we are getting frequent failures of the
  test_outgoing_answer_local_hangup test in dialer_app test suite. It
  doesn't happen locally when running the tests - only on smoketesting.
  Re-runs can lead to things working again.
  
- Traceback:
+ Traceback test_outgoing_answer_local_hangup:
+ 
  Traceback (most recent call last):
-   File "/usr/lib/python2.7/dist-packages/dialer_app/tests/test_calls.py", 
line 98, in test_outgoing_answer_local_hangup
-     self.main_view.live_call_page.click_hangup_button()
-   File "/usr/lib/python2.7/dist-packages/dialer_app/emulators.py", line 49, 
in click_hangup_button
-     self.visible.wait_for(True)
-   File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", 
line 520, in __getattr__
-     self.refresh_state()
-   File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", 
line 474, in refresh_state
-     _, new_state = self.get_new_state()
-   File "/usr/lib/python2.7/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/python2.7/dist-packages/autopilot/introspection/dbus.py", 
line 542, in get_state_by_path
-     data = self._backend.introspection_iface.GetState(piece)
-   File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in 
__call__
-     return self._proxy_method(*args, **keywords)
-   File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in 
__call__
-     **keywords)
-   File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in 
call_blocking
-     message, timeout)
+   File "/usr/lib/python2.7/dist-packages/dialer_app/tests/test_calls.py", 
line 98, in test_outgoing_answer_local_hangup
+     self.main_view.live_call_page.click_hangup_button()
+   File "/usr/lib/python2.7/dist-packages/dialer_app/tests/__init__.py", line 
104, in main_view
+     return self.app.select_single(emulators.MainView)
+   File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", 
line 320, in select_single
+     instances = self.select_many(type_name, **kwargs)
+   File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", 
line 458, in select_many
+     state_dicts = self.get_state_by_path(query_path)
+   File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", 
line 542, in get_state_by_path
+     data = self._backend.introspection_iface.GetState(piece)
+   File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in 
__call__
+     return self._proxy_method(*args, **keywords)
+   File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in 
__call__
+     **keywords)
+   File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in 
call_blocking
+     message, timeout)
  DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. 
Possible causes include: the remote application did not send a reply, the
  message bus security policy blocked the reply, the reply timeout expired, or 
the network connection was broken.
  
- Smoketesting results with the failure:
- 
http://ci.ubuntu.com/smokeng/trusty/touch/mako/293:20140413:20140411.3/7720/dialer_app/1022826/
+ Traceback test_outgoing_answer_remote_hangup:
+ 
+ Traceback (most recent call last):
+   File "/usr/lib/python2.7/dist-packages/dialer_app/tests/test_calls.py", 
line 107, in test_outgoing_answer_remote_hangup
+     self.main_view.live_call_page.title, Eventually(Equals(number)))
+   File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 404, in 
assertThat
+     mismatch_error = self._matchHelper(matchee, matcher, message, verbose)
+   File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 454, in 
_matchHelper
+     mismatch = matcher.match(matchee)
+   File "/usr/lib/python2.7/dist-packages/autopilot/matchers/__init__.py", 
line 113, in match
+     wait_fun(self.matcher, self.timeout)
+   File "/usr/lib/python2.7/dist-packages/autopilot/introspection/types.py", 
line 158, in wait_for
+     _, new_state = self.parent.get_new_state()
+   File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", 
line 564, in get_new_state
+     raise StateNotFoundError(self.__class__.__name__, id=self.id)
+ StateNotFoundError: Object not found with name 'LiveCall' and properties 
{'id': 32}.
+ 
+ Smoketesting results with the failures:
+  * 
http://ci.ubuntu.com/smokeng/trusty/touch/mako/299:20140416:20140411.3/7764/dialer_app/1038117/
+  * 
http://ci.ubuntu.com/smokeng/trusty/touch/mako/299:20140416:20140411.3/7764/dialer_app/1038122/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1307588

Title:
  Autopilot test flakyness in test_outgoing_answer_local_hangup and
  test_outgoing_answer_remote_hangup

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dialer-app/+bug/1307588/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to