← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1274434] Re: Possible environment dependency in tst_MainView::testLocalStorage()

 

** Package changed: ubuntu-ui-toolkit (Ubuntu) => ubuntu-ui-toolkit

-- 
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/1274434

Title:
  Possible environment dependency in tst_MainView::testLocalStorage()

Status in Ubuntu UI Toolkit:
  Incomplete

Bug description:
  For some reason, tst_MainView::testLocalStorage() fails in local
  sbuild/chrorot builds on amd64 but seem to succeed on the buildds
  (PPAs in particular).  I have not yet verified whether local armhf
  chroot builds are also affected, since the build segfaults locally on
  armhf.

  Here is an excerpt of the local build failure (entirely reproducible):

  QWARN  : tst_MainView::testLocalStorage() unity::action::ActionManager::ActionManager(QObject*):
  	Could not get session bus. Actions will not be available through D-Bus.
  	Reason: Could not connect: Connection refused
  QWARN  : tst_MainView::testLocalStorage() unity::action::ActionManager::ActionManager(QObject*):
  	Could not determine application identifier. HUD will not work properly.
  	Provide your application identifier in $APP_ID environment variable.
  QWARN  : tst_MainView::testLocalStorage() QSqlQuery::prepare: database not open
  QWARN  : tst_MainView::testLocalStorage() file:///«BUILDDIR»/ubuntu-ui-toolkit-0.1.46+14.04.20131216/tests/unit/tst_mainview/LocalStorage.qml:27: Error:  

  ** (process:61722): CRITICAL **: Unable to get session bus: Operation was cancelled
  FAIL!  : tst_MainView::testLocalStorage() 'QFile::exists(databaseFolder)' returned FALSE. ()
     Loc: [tst_mainview.cpp(140)]

  However, as you can see here, the build on PPA succeeds:
  https://launchpad.net/~barry/+archive/experimental/+build/5535025

  What's missing or different in the local build environment?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1274434/+subscriptions


References