[Touch-packages] [Bug 1461059] Re: open_scope frequently fails on vivid

2017-03-13 Thread MichaƂ Sawicz
** No longer affects: unity8

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

Title:
  open_scope frequently fails on vivid

Status in ubuntu-system-tests:
  Fix Committed
Status in unity8 package in Ubuntu:
  Fix Released

Bug description:
  It seems the open_scope('clickscope') calls are frequently failing in
  vivid. This appears to be due to bad timing, as the primary scope
  (Today) is not fully loaded when we start trying to swipe, so we end
  up with:

  Traceback (most recent call last):
File 
"/tmp/adt-run.X7uiLh/build.uaq/real-tree/ubuntu_system_tests/tests/test_camera.py",
 line 53, in setUp
  self.camera_app = self._launch_camera_app().main_window
File 
"/tmp/adt-run.X7uiLh/build.uaq/real-tree/ubuntu_system_tests/tests/test_camera.py",
 line 58, in _launch_camera_app
  apps_scope = dash.open_scope('clickscope')
File 
"/tmp/adt-run.X7uiLh/deps/usr/lib/python3/dist-packages/autopilot/logging.py", 
line 46, in inner
  return f(instance, *args, **kwargs)
File 
"/tmp/adt-run.X7uiLh/deps/usr/lib/python3/dist-packages/unity8/shell/emulators/dash.py",
 line 88, in open_scope
  return self._open_scope_scrolling(scope_loader)
File 
"/tmp/adt-run.X7uiLh/deps/usr/lib/python3/dist-packages/unity8/shell/emulators/dash.py",
 line 109, in _open_scope_scrolling
  scroll()
File 
"/tmp/adt-run.X7uiLh/deps/usr/lib/python3/dist-packages/autopilot/logging.py", 
line 46, in inner
  return f(instance, *args, **kwargs)
File 
"/tmp/adt-run.X7uiLh/deps/usr/lib/python3/dist-packages/unity8/shell/emulators/dash.py",
 line 156, in _scroll_to_right_scope
  self.dash_content_list.currentIndex.wait_for(original_index + 1)
File 
"/tmp/adt-run.X7uiLh/deps/usr/lib/python3/dist-packages/autopilot/introspection/types.py",
 line 180, in wait_for
  failure_msg))
  AssertionError: After 10.0 seconds test on QQuickListView.currentIndex 
failed: 2 != dbus.Int32(1, variant_level=1)

  Probably there needs to be a delay or some check to make sure the
  scope is fully loaded before attempting to swipe.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-system-tests/+bug/1461059/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1461059] Re: open_scope frequently fails on vivid

2015-06-22 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/unity8

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

Title:
  open_scope frequently fails on vivid

Status in Ubuntu System Test Suite:
  Fix Committed
Status in The Unity 8 shell:
  New
Status in unity8 package in Ubuntu:
  Fix Released

Bug description:
  It seems the open_scope('clickscope') calls are frequently failing in
  vivid. This appears to be due to bad timing, as the primary scope
  (Today) is not fully loaded when we start trying to swipe, so we end
  up with:

  Traceback (most recent call last):
File 
/tmp/adt-run.X7uiLh/build.uaq/real-tree/ubuntu_system_tests/tests/test_camera.py,
 line 53, in setUp
  self.camera_app = self._launch_camera_app().main_window
File 
/tmp/adt-run.X7uiLh/build.uaq/real-tree/ubuntu_system_tests/tests/test_camera.py,
 line 58, in _launch_camera_app
  apps_scope = dash.open_scope('clickscope')
File 
/tmp/adt-run.X7uiLh/deps/usr/lib/python3/dist-packages/autopilot/logging.py, 
line 46, in inner
  return f(instance, *args, **kwargs)
File 
/tmp/adt-run.X7uiLh/deps/usr/lib/python3/dist-packages/unity8/shell/emulators/dash.py,
 line 88, in open_scope
  return self._open_scope_scrolling(scope_loader)
File 
/tmp/adt-run.X7uiLh/deps/usr/lib/python3/dist-packages/unity8/shell/emulators/dash.py,
 line 109, in _open_scope_scrolling
  scroll()
File 
/tmp/adt-run.X7uiLh/deps/usr/lib/python3/dist-packages/autopilot/logging.py, 
line 46, in inner
  return f(instance, *args, **kwargs)
File 
/tmp/adt-run.X7uiLh/deps/usr/lib/python3/dist-packages/unity8/shell/emulators/dash.py,
 line 156, in _scroll_to_right_scope
  self.dash_content_list.currentIndex.wait_for(original_index + 1)
File 
/tmp/adt-run.X7uiLh/deps/usr/lib/python3/dist-packages/autopilot/introspection/types.py,
 line 180, in wait_for
  failure_msg))
  AssertionError: After 10.0 seconds test on QQuickListView.currentIndex 
failed: 2 != dbus.Int32(1, variant_level=1)

  Probably there needs to be a delay or some check to make sure the
  scope is fully loaded before attempting to swipe.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-system-tests/+bug/1461059/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1461059] Re: open_scope frequently fails on vivid

2015-06-18 Thread Launchpad Bug Tracker
This bug was fixed in the package unity8 -
8.10+15.10.20150616.1-0ubuntu1

---
unity8 (8.10+15.10.20150616.1-0ubuntu1) wily; urgency=medium

  [ Albert Astals Cid ]
  * Bind running to the proper object.visible
  * Do not use template in generated card creator code
  * Fix regression introduced by the concierge change
  * Take into account the extra margin on top when calculating the
display margin
  * workaround oxide 1.7 issue (LP: #1459142)

  [ CI Train Bot ]
  * New rebuild forced.

  [ Federico Gimenez ]
  * On the autopilot helpers, swipe if the item to open from the dash is
not visible. unity8-autopilot dependencies now require ubuntu-ui-
toolkit-autopilot (= 1.2.1485+15.04.20150417.1-0ubuntu1)

  [ Florian Boucault ]
  * Notifications: shaped icon was stretching the icon instead of
respecting its aspect ratio and filling the whole shape. (LP:
#1450229)

  [ Josh Arenson ]
  * Implement bare-bones shellMode=greeter and shellMode=shell

  [ Leo Arias ]
  * On the autopilot helpers, swipe if the item to open from the dash is
not visible. unity8-autopilot dependencies now require ubuntu-ui-
toolkit-autopilot (= 1.2.1485+15.04.20150417.1-0ubuntu1)

  [ Leonardo Arias Fonseca ]
  * On the autopilot helpers, swipe if the item to open from the dash is
not visible. unity8-autopilot dependencies now require ubuntu-ui-
toolkit-autopilot (= 1.2.1485+15.04.20150417.1-0ubuntu1)

  [ Michael Zanetti ]
  * add info on how to run a single function in make test

  [ Richard Huddie ]
  * Slow down the speed of autopilot helpers used to swipe to a
different scope to improve the reliability. (LP: #1461059, #1457047)

 -- CI Train Bot ci-train-...@canonical.com  Tue, 16 Jun 2015 15:12:59
+

** Changed in: unity8 (Ubuntu)
   Status: New = Fix Released

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

Title:
  open_scope frequently fails on vivid

Status in Ubuntu System Test Suite:
  Fix Committed
Status in The Unity 8 shell:
  New
Status in unity8 package in Ubuntu:
  Fix Released

Bug description:
  It seems the open_scope('clickscope') calls are frequently failing in
  vivid. This appears to be due to bad timing, as the primary scope
  (Today) is not fully loaded when we start trying to swipe, so we end
  up with:

  Traceback (most recent call last):
File 
/tmp/adt-run.X7uiLh/build.uaq/real-tree/ubuntu_system_tests/tests/test_camera.py,
 line 53, in setUp
  self.camera_app = self._launch_camera_app().main_window
File 
/tmp/adt-run.X7uiLh/build.uaq/real-tree/ubuntu_system_tests/tests/test_camera.py,
 line 58, in _launch_camera_app
  apps_scope = dash.open_scope('clickscope')
File 
/tmp/adt-run.X7uiLh/deps/usr/lib/python3/dist-packages/autopilot/logging.py, 
line 46, in inner
  return f(instance, *args, **kwargs)
File 
/tmp/adt-run.X7uiLh/deps/usr/lib/python3/dist-packages/unity8/shell/emulators/dash.py,
 line 88, in open_scope
  return self._open_scope_scrolling(scope_loader)
File 
/tmp/adt-run.X7uiLh/deps/usr/lib/python3/dist-packages/unity8/shell/emulators/dash.py,
 line 109, in _open_scope_scrolling
  scroll()
File 
/tmp/adt-run.X7uiLh/deps/usr/lib/python3/dist-packages/autopilot/logging.py, 
line 46, in inner
  return f(instance, *args, **kwargs)
File 
/tmp/adt-run.X7uiLh/deps/usr/lib/python3/dist-packages/unity8/shell/emulators/dash.py,
 line 156, in _scroll_to_right_scope
  self.dash_content_list.currentIndex.wait_for(original_index + 1)
File 
/tmp/adt-run.X7uiLh/deps/usr/lib/python3/dist-packages/autopilot/introspection/types.py,
 line 180, in wait_for
  failure_msg))
  AssertionError: After 10.0 seconds test on QQuickListView.currentIndex 
failed: 2 != dbus.Int32(1, variant_level=1)

  Probably there needs to be a delay or some check to make sure the
  scope is fully loaded before attempting to swipe.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-system-tests/+bug/1461059/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp