← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1235060] Re: Autopilot sometimes fail to open the toolbar

 

saucy has seen the end of its life and is no longer receiving any
updates. Marking the saucy task for this ticket as "Won't Fix".

** Changed in: ubuntu-ui-toolkit (Ubuntu Saucy)
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1235060

Title:
  Autopilot sometimes fail to open the toolbar

Status in File Manager application for Ubuntu devices:
  Incomplete
Status in Ubuntu UI Toolkit:
  Won't Fix
Status in ubuntu-ui-toolkit package in Ubuntu:
  Won't Fix
Status in ubuntu-ui-toolkit source package in Saucy:
  Won't Fix

Bug description:
  After some more weirds error by jenkins, we noticed that the failed
  tests tend to have in their log that they failed to open the toolbar.

  I ran the toolbar test around 300 times on saucy with no error. Then I
  ran them on my mako phone and it failed like 1 out of 30 times. The
  failure is really weird. I set a breakpoint when the toolbar failed to
  open and I got something like this:

  02:54:15.621 DEBUG _uinput:365 - Dragging from 384,1279 to 384,1218

  (didn't open)

  > /home/phablet/ubuntu-ui-toolkit/tests/autopilot/ubuntuuitoolkit/emulators.py(87)open_toolbar()
  -> return toolbar
  (Pdb) self.pointing_device.drag(384, 1279, 384, 1218)
  02:54:45.867 DEBUG _uinput:365 - Dragging from 384,1279 to 384,1218

  (didn't open)

  (Pdb) self.pointing_device.drag(384, 1279, 384, 1218)
  02:54:48.701 DEBUG _uinput:365 - Dragging from 384,1279 to 384,1218

  (didn't open)

  (Pdb) self.pointing_device.drag(384, 1279, 384, 1218)
  02:54:50.672 DEBUG _uinput:365 - Dragging from 384,1279 to 384,1218

  (didn't open)

  (Pdb) self.pointing_device.drag(384, 1279, 384, 1218)
  02:54:52.139 DEBUG _uinput:365 - Dragging from 384,1279 to 384,1218

  (opened)

  So, there's something non-deterministic happening. I repeated the same action a number of times, until it finally worked. And the required number of times was never the same.
  The problem might be on the toolkit, on unity or on autopilot.

  The test is deterministic, what is flaky is the environment.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-filemanager-app/+bug/1235060/+subscriptions