Multiple test failures since move to Qt5.2 #238 on Mako

Bug #1293489 reported by Alan Pope 🍺🐧🐱 🦄
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Ubuntu Calendar App
Undecided
rosa maria

Bug Description

Since moving to Qt5.2 in image #238 on mako there's been some tests failing:-

Following links from most recent tests on #239

http://ci.ubuntu.com/smokeng/trusty/touch/mako/239:20140317:20140304/7181/calendar_app/900407/
10:03:32.889 INFO globals:58 - Starting test calendar_app.tests.test_dayview.TestDayView.test_show_previous_days (with touch)
...
Traceback (most recent call last):
  File "/home/phablet/autopilot/calendar_app/tests/test_dayview.py", line 24, in setUp
    self.assertThat(self.main_view.visible, Eventually(Equals(True)))
  File "/home/phablet/autopilot/calendar_app/tests/__init__.py", line 125, in main_view
    return self.app.select_single(emulators.MainView)
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 323, in select_single
    raise StateNotFoundError(type_name, **kwargs)
StateNotFoundError: Object not found with name '<class 'calendar_app.emulators.MainView'>'.

http://ci.ubuntu.com/smokeng/trusty/touch/mako/239:20140317:20140304/7181/calendar_app/900421/
10:10:42.328 INFO globals:58 - Starting test calendar_app.tests.test_calendar.TestMainView.test_new_event (with touch)
...
Traceback (most recent call last):
  File "/home/phablet/autopilot/calendar_app/tests/test_calendar.py", line 51, in test_new_event
    self.main_view.open_toolbar().click_button("neweventbutton")
  File "/home/phablet/autopilot/calendar_app/tests/__init__.py", line 125, in main_view
    return self.app.select_single(emulators.MainView)
  File "/usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py", line 323, in select_single
    raise StateNotFoundError(type_name, **kwargs)
StateNotFoundError: Object not found with name '<class 'calendar_app.emulators.MainView'>'.

Related branches

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Still there on #243: http://ci.ubuntu.com/smokeng/trusty/touch/mako/243:20140318:20140304/7236/calendar_app/

Although locally testing I had all tests passing.

Revision history for this message
Nicholas Skaggs (nskaggs) wrote :
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

This stopped happening from #244 onwards when it comes to automated image testing, can anyone think what's up?

http://ci.ubuntu.com/smokeng/trusty/touch/mako/248:20140320:20140304/7277/calendar_app/

#244 included mainly qtbase update with text rendering fixes:
http://people.canonical.com/~ogra/touch-image-stats/244.changes

But according to the merge requests discussion it's still there anyhow?

Changed in ubuntu-calendar-app:
assignee: nobody → rosa maria (rprosamaria383)
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