test_outgoing_answer_remote_hangup failed on mako #108

Bug #1336741 reported by Brendan Donegan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dialer-app
Fix Released
Undecided
Unassigned
dialer-app (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

This test is failing on mako image #108 with the following error:

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/dialer_app/tests/test_calls.py", line 123, in test_outgoing_answer_remote_hangup
    elapsed_time = self.main_view.live_call_page.get_elapsed_call_time()
  File "/usr/lib/python2.7/dist-packages/dialer_app/emulators.py", line 46, in get_elapsed_call_time
    return self.wait_select_single(objectName='stopWatch').elapsed
  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 564, in get_new_state
    raise StateNotFoundError(self.__class__.__name__, id=self.id)
StateNotFoundError: Object not found with name 'StopWatch' and properties {'id': 33}.

This can be reproduced locally but only happens once every 2-3 runs, maybe less frequently. Running the test in a loop 10 times should produce at least a couple of failures.

Related branches

Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

The linked branch might fix this

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dialer-app - 0.1+14.10.20140703-0ubuntu1

---------------
dialer-app (0.1+14.10.20140703-0ubuntu1) utopic; urgency=low

  [ CI bot ]
  * Resync trunk

  [ Gustavo Pichorim Boiko ]
  * Use wait_select_single() everywhere to avoid flaky tests, and make
    sure we get the contact editor page only after it is fully loaded.
    (LP: #1336741)
  * Handle the dialer:// URI that will be used to request the live call
    view and set the active call indicator to visible when not on the
    live call screen.
  * Enable emergency mode calls and also add support for running dialer
    in a different mode when the greeter is active.
 -- Ubuntu daily release <email address hidden> Thu, 03 Jul 2014 13:39:52 +0000

Changed in dialer-app (Ubuntu):
status: New → Fix Released
Bill Filler (bfiller)
Changed in dialer-app:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.