autopilot tests failing, unable to find 'Label'

Bug #1513044 reported by Brendan Donegan on 2015-11-04
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
Bill Filler
messaging-app (Ubuntu)
Gustavo Pichorim Boiko

Bug Description

Running the messaging-app autopilot tests, we get 20 out of 27 tests failing. The majority of them due to not being able to find 'Label' objects. This appears to be because Label has changed to UCLabel in a recent version of messaging-app. Below is a typical traceback from one of the failures:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/messaging_app/tests/", line 290, in test_delete_message_swipe_right
    self.main_view.send_message([phone_num], message)
  File "/usr/lib/python3/dist-packages/autopilot/", line 46, in inner
    return f(instance, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/messaging_app/", line 392, in send_message
    thread_bubble = self.get_message(message)
  File "/usr/lib/python3/dist-packages/messaging_app/", line 68, in get_message
messaging_app.emulators.EmulatorException: Could not find message with the text delete me okay

phablet@ubuntu-phablet:~$ system-image-cli -i
current build number: 164
device name: krillin
channel: ubuntu-touch/rc-proposed/bq-aquaris.en
last update: 2015-11-04 10:36:00
version version: 164
version ubuntu: 20151104
version device: 20150821-736d127
version custom: 20150925-901-35-40-vivid

Attached is a subunit file with all the results from the run - it can be best viewed with the 'trv' application:

Sebastien Bacher (seb128) wrote :

How did that manage to land, CI/QA should have looked at the results no?

Changed in messaging-app (Ubuntu):
importance: Undecided → High
Changed in canonical-devices-system-image:
importance: Undecided → High
Changed in canonical-devices-system-image:
assignee: nobody → Bill Filler (bfiller)
milestone: none → ww46-2015
status: New → Confirmed
Gustavo Pichorim Boiko (boiko) wrote :

A fix for that is already landed in messaging-app.

Changed in messaging-app (Ubuntu):
status: New → Fix Released
assignee: nobody → Gustavo Pichorim Boiko (boiko)
Changed in canonical-devices-system-image:
status: Confirmed → Fix Committed
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers