test_selecting_a_month_switch_to_month_view failed on mako #80

Bug #1329671 reported by Brendan Donegan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Calendar App
Expired
Undecided
Unassigned

Bug Description

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

Traceback (most recent call last):
  File "/home/phablet/autopilot/calendar_app/tests/test_yearview.py", line 32, in setUp
    self.main_view.get_year_view, Eventually(NotEquals(None)))
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 404, in assertThat
    mismatch_error = self._matchHelper(matchee, matcher, message, verbose)
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 454, in _matchHelper
    mismatch = matcher.match(matchee)
  File "/usr/lib/python3/dist-packages/autopilot/matchers/__init__.py", line 113, in match
    wait_fun(self.matcher, self.timeout)
  File "/usr/lib/python3/dist-packages/autopilot/matchers/__init__.py", line 129, in _callable_wait_for
    new_value = refresh_fn()
  File "/home/phablet/autopilot/calendar_app/emulators.py", line 30, in get_year_view
    return self.wait_select_single("YearView")
  File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 299, in wait_select_single
    return self.select_single(type_name, **kwargs)
  File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 248, in select_single
    raise StateNotFoundError(type_name_str, **kwargs)
autopilot.exceptions.StateNotFoundError: Object not found with name 'YearView'.

For some reason the year view is not visible at the time the test is run. Eventually is being used so it's not likely to be a simple timing issue. We can note that there was a crash when this test was run, but it seems to be unrelated - https://jenkins.qa.ubuntu.com/job/utopic-touch-mako-smoke-daily/287/artifact/clientlogs/calendar_app/_usr_lib_arm-linux-gnueabihf_url-dispatcher_update-directory.32011.crash/*view*/

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

This re-occured on image #81

Changed in ubuntu-calendar-app:
status: New → Confirmed
Revision history for this message
Brendan Donegan (brendan-donegan) wrote :

No longer occuring, or reproducible

Changed in ubuntu-calendar-app:
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Ubuntu Calendar App because there has been no activity for 60 days.]

Changed in ubuntu-calendar-app:
status: Incomplete → Expired
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.