Share-app test failures in mako and maguro smoke: module "Friends" is not installed

Bug #1218237 reported by Para Siva
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
share-app
Fix Committed
Undecided
Ken VanDine
share-app (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The following failure message causes all the share app smoke tests to fail on mako and maguro starting from 20130829:

/build/buildd/share-app-0.12~+13.10.20130731/qmlapplication.cpp:63
Module 'ShareApp' does not contain a module identifier directive - it cannot be protected from external registrations.
virtual void OnlineAccounts::Plugin::registerTypes(const char*) Ubuntu.OnlineAccounts
file:///usr/share/share-app/main.qml:20:1: module "Friends" is not installed
     import Friends 0.1
     ^
callbacks 0x400b375d 0x400b3709
creating surface at (0, 58) with size (768, 1222) with title 'Share'
}}}

test-log: {{{
06:51:33.006 INFO globals:49 - ************************************************************
06:51:33.007 INFO globals:50 - Starting test share_app.tests.test_share.TestShare.test_cancel (with touch)
06:51:33.008 WARNING testcase:115 - No tracing available - install the python-autopilot-trace package!
06:51:33.308 WARNING testcase:152 - Process manager backend unavailable, application snapshot support disabled.
06:51:33.342 INFO __init__:156 - Launching process: ['/usr/bin/share-app', '-testability',
'--desktop_file_hint=/usr/share/applications/share-app.desktop']
06:51:37.273 INFO __init__:400 - dbus.DBusException while attempting to get PID for org.freedesktop.DBus: DBusException("Could not get PID of name
'org.freedesktop.DBus': no such name",)
06:51:40.294 DEBUG dbus:391 - Selecting objects of type MainView with attributes: {}
06:51:40.309 INFO testcase:443 - waiting for process to exit.
}}}

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/share_app/tests/test_share.py", line 24, in setUp
    self.assertThat(self.main_window.get_qml_view().visible, Eventually(Equals(True)))
AttributeError: 'NoneType' object has no attribute 'visible'

The failure logs are at:
http://reports.qa.ubuntu.com/smokeng/saucy/image/3814/share-app-autopilot/315244/
http://reports.qa.ubuntu.com/smokeng/saucy/image/3814/share-app-autopilot/315245/
http://reports.qa.ubuntu.com/smokeng/saucy/image/3816/share-app-autopilot/315362/
and
http://reports.qa.ubuntu.com/smokeng/saucy/image/3816/share-app-autopilot/315363/

Related branches

Revision history for this message
Olivier Tilloy (osomon) wrote :

According to the utah log (https://jenkins.qa.ubuntu.com/job/saucy-touch-mako-smoke-share-app-autopilot/78/artifact/clientlogs/utah.yaml/*view*/), qtdeclarative5-friends0.2 is installed (version 0.2.0+13.10.20130822-0ubuntu1), and it’s marked as replacing and providing qtdeclarative5-friends-plugin, however it installs its plugin files in /usr/lib/arm-linux-gnueabihf/qt5/qml/Friends.0.2/, whereas I guess they are expected in /usr/lib/arm-linux-gnueabihf/qt5/qml/Friends/.

Revision history for this message
Olivier Tilloy (osomon) wrote :

It appears qtdeclarative5-friends-plugin was renamed to qtdeclarative5-friends0.2 recently. Not sure this was communicated to client applications. Reverse dependencies (such as share-app and qtdeclarative5-ubuntu-ui-extras0.1 probably need updating.

Assigning to Ken for advice on what needs updating.

Changed in share-app:
assignee: nobody → Ken VanDine (ken-vandine)
status: New → Confirmed
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:share-app at revision 80, scheduled for release in share-app, milestone ubuntu-13.04-month-5

Changed in share-app:
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package share-app - 0.12~+13.10.20130830.1-0ubuntu1

---------------
share-app (0.12~+13.10.20130830.1-0ubuntu1) saucy; urgency=low

  [ Ken VanDine ]
  * Updated for qtdeclarative5-friends0.2 . (LP: #1218237)

  [ Ubuntu daily release ]
  * Automatic snapshot from revision 80
 -- Ubuntu daily release <email address hidden> Fri, 30 Aug 2013 07:31:02 +0000

Changed in share-app (Ubuntu):
status: New → Fix Released
Bill Filler (bfiller)
no longer affects: touch-preview-images
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.