← Back to team overview

touch-packages team mailing list archive

[Bug 1358968] Re: gallery_app.tests.test_photo_viewer.TestPhotoViewer.test_share_button is failing since image #175

 

This bug was fixed in the package gallery-app -
0.0.67+14.10.20140821-0ubuntu1

---------------
gallery-app (0.0.67+14.10.20140821-0ubuntu1) utopic; urgency=low

  [ Arthur Mello ]
  * Search for new directories when there is any change on the watched
    directories (LP: #1357155)

  [ Leo Arias ]
  * Update the content picker version on autopilot tests. (LP: #1358968)
 -- Ubuntu daily release <ps-jenkins@xxxxxxxxxxxxxxxxxxx>   Thu, 21 Aug 2014 13:42:05 +0000

** Changed in: gallery-app (Ubuntu)
       Status: New => Fix Released

** Branch linked: lp:ubuntu/utopic-proposed/gallery-app

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

Title:
  gallery_app.tests.test_photo_viewer.TestPhotoViewer.test_share_button
  is failing since image #175

Status in Gallery App:
  In Progress
Status in “gallery-app” package in Ubuntu:
  Fix Released

Bug description:
  This test has been unstable for a long time, but it has failed on
  every single execution since image #175.

  Latest result:
  http://ci.ubuntu.com/smokeng/utopic/touch/mako/200:20140819.2:20140811.1/9800/gallery_app/1556521/

  test-log: {{{
  21:11:33.930 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
  21:11:33.938 WARNING testcase:162 - Process manager backend unavailable, application snapshot support disabled.
  21:11:33.975 DEBUG __init__:217 - Launching gallery-app via click package.
  21:11:33.976 INFO _launcher:280 - Attempting to launch click application '(default)' from click package  'com.ubuntu.gallery' and URIs ''
  21:11:34.748 INFO _launcher:120 - Attempting to launch application 'com.ubuntu.gallery_gallery_2.9.1.1043' with URIs '' via upstart-app-launch
  21:11:43.100 INFO logging:45 - MainScreen: Open a tab. Arguments ('eventsTab',). Keyword arguments: {}.
  21:11:43.148 DEBUG dbus:353 - Selecting objects of type Tab with attributes: {}
  21:11:43.280 INFO logging:45 - MainScreen: Open a tab. Arguments (1,). Keyword arguments: {}.
  21:11:43.369 DEBUG dbus:353 - Selecting objects of type Tab with attributes: {}
  21:11:43.450 DEBUG dbus:353 - Selecting objects of type Tab with attributes: {}
  21:11:43.646 DEBUG dbus:353 - Selecting objects of type QQuickItem with attributes: {'objectName': 'eventPhoto'}
  21:11:43.925 INFO logging:45 - MainScreen: Close the toolbar if it's opened. Arguments (). Keyword arguments: {}.
  21:11:43.971 INFO logging:45 - Toolbar: Close the toolbar if it's opened. Arguments (). Keyword arguments: {}.
  21:11:44.100 DEBUG _uinput:541 - Dragging from 384,1136 to 384,1279
  21:11:46.305 DEBUG dbus:353 - Selecting objects of type QQuickItem with attributes: {'objectName': 'eventPhoto'}
  21:11:46.390 DEBUG dbus:353 - Selecting objects of type QQuickImage with attributes: {}
  21:11:46.543 DEBUG dbus:353 - Selecting objects of type QQuickImage with attributes: {}
  21:11:46.680 DEBUG _common:45 - Moving to object's globalRect coordinates.
  21:11:46.681 DEBUG _uinput:470 - Tapping at: 164,528
  21:11:51.417 INFO logging:45 - MainScreen: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
  21:11:51.474 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
  21:11:52.617 INFO logging:45 - MainScreen: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
  21:11:52.673 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
  21:11:52.838 DEBUG _common:45 - Moving to object's globalRect coordinates.
  21:11:52.839 INFO logging:45 - Toolbar: Open the toolbar if it's not already opened. Arguments (). Keyword arguments: {}.
  21:11:52.910 DEBUG _common:45 - Moving to object's globalRect coordinates.
  21:11:52.910 DEBUG _uinput:470 - Tapping at: 687,1208
  21:12:13.381 DEBUG runtest:172 - Deleting /home/phablet/Pictures
  21:12:14.247 DEBUG runtest:172 - Restoring backed up pics to /home/phablet/Pictures
  }}}

  Traceback (most recent call last):
    File "/home/phablet/autopilot/gallery_app/tests/test_photo_viewer.py", line 119, in test_share_button
      share_picker = self.photo_viewer.get_share_peer_picker()
    File "/home/phablet/autopilot/gallery_app/emulators/photo_viewer.py", line 40, in get_share_peer_picker
      objectName="sharePicker")
    File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 296, in wait_select_single
      return self.select_single(type_name, **kwargs)
    File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 245, in select_single
      raise StateNotFoundError(type_name_str, **kwargs)
  autopilot.exceptions.StateNotFoundError: Object not found with name 'ContentPeerPicker' and properties {'objectName': 'sharePicker'}.

  Tips on minimizing the occurrence of this failureare available here:
  http://developer.ubuntu.com/api/devel/ubuntu-14.10/python/autopilot/faq/troubleshooting.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/gallery-app/+bug/1358968/+subscriptions