tests using address_book_service_testability (e.g. test_fill_form) fail

Bug #1353921 reported by Brendan Donegan on 2014-08-07
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Calendar App
Undecided
Unassigned

Bug Description

When running calendar_app tests in mako image #176 we see the following errors:

Traceback (most recent call last):
  File "/home/phablet/autopilot/calendar_app/tests/test_custom_proxy_objects.py", line 36, in test_fill_form
    new_event_page._fill_form(test_event)
  File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
    return f(instance, *args, **kwargs)
  File "/home/phablet/autopilot/calendar_app/emulators.py", line 460, in _fill_form
    self._fill_guests(event_information.guests)
  File "/home/phablet/autopilot/calendar_app/emulators.py", line 501, in _fill_guests
    raise CalendarException('No guest found with name %s' % guest)
calendar_app.emulators.CalendarException: No guest found with name UX User

This is because this test is using the address_book_service_testability module to create a fake contact, but that module relies on address-book-service-dummy being installed. This is not done during the click setup process. Installing address-book-service-dummy fixes the issue.

Related branches

tags: added: qa-broken-test qa-daily-testing
Nicholas Skaggs (nskaggs) wrote :

I would recommend making calendar the first choice for moving over to autopkgtest once reminders lands and finishes out the proof of concept. The manifest lists all of it's depends so it should be good to go.

Leo Arias (elopio) wrote :

Thanks for the investigation and the fix!

Leo Arias (elopio) wrote :

And agree with balloons. Moar autopkgtests.

Changed in ubuntu-calendar-app:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers