← Back to team overview

touch-packages team mailing list archive

[Bug 1513044] Re: autopilot tests failing, unable to find 'Label'

 

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

** Changed in: messaging-app (Ubuntu)
   Importance: Undecided => High

** Also affects: canonical-devices-system-image
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to messaging-app in Ubuntu.
https://bugs.launchpad.net/bugs/1513044

Title:
  autopilot tests failing, unable to find 'Label'

Status in Canonical System Image:
  New
Status in messaging-app package in Ubuntu:
  New

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/test_messaging.py", line 290, in test_delete_message_swipe_right
      self.main_view.send_message([phone_num], message)
    File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
      return f(instance, *args, **kwargs)
    File "/usr/lib/python3/dist-packages/messaging_app/emulators.py", line 392, in send_message
      thread_bubble = self.get_message(message)
    File "/usr/lib/python3/dist-packages/messaging_app/emulators.py", line 68, in get_message
      '{}'.format(text))
  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:
  https://launchpad.net/~thomir/+archive/ubuntu/trv

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1513044/+subscriptions


References