← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1614108] Re: QStandardPaths::RuntimeLocation returns empty string under pbuilder

 

This bug was fixed in the package ubuntu-system-settings-online-accounts
- 0.7+16.10.20161004-0ubuntu1

---------------
ubuntu-system-settings-online-accounts (0.7+16.10.20161004-0ubuntu1) yakkety; urgency=medium

  * Tests: create runtime directory, fix execution under pbuilder (LP:
    #1614108)
  * Build-Depend on upstart to avoid s390x builds on yakkety.

 -- Alberto Mardegan <mardy@xxxxxxxxxxxxxxxxxxxxx>  Tue, 04 Oct 2016
09:33:35 +0000

** Changed in: ubuntu-system-settings-online-accounts (Ubuntu)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to qtbase-opensource-src in
Ubuntu.
https://bugs.launchpad.net/bugs/1614108

Title:
  QStandardPaths::RuntimeLocation returns empty string under pbuilder

Status in webapps-sprint:
  In Progress
Status in qtbase-opensource-src package in Ubuntu:
  New
Status in ubuntu-system-settings-online-accounts package in Ubuntu:
  Fix Released

Bug description:
  The unit tests for ubuntu-system-settings-online-accounts are failing
  when run under pbuilder:

  ==================
  task-0: ********* Start testing of UiProxyTest *********
  task-0: Config: Using QtTest library 5.5.1, Qt 5.5.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 5.3.1 20160519)
  task-0: PASS : UiProxyTest::initTestCase()
  task-0: PASS : UiProxyTest::testInit()
  task-0: QWARN : UiProxyTest::testRequest(success) QStandardPaths: wrong ownership on runtime directory /run/user/1001, -2 instead of 1234
  task-0: QWARN : UiProxyTest::testRequest(success) Couldn't setup IPC socket
  task-0: FAIL! : UiProxyTest::testRequest(success) '(!remoteProcesses.isEmpty())' returned FALSE. ()
  task-0: Loc: [tst_ui_proxy.cpp(319)]
  ==================

  I've debugged the issue, and I've verified that
  QStandardPaths::writableLocation(QStandardPaths::RuntimeLocation) is
  returning an empty string. Although it's documented that in some
  systems that function can return NULL, it would be better if it didn't
  :-)

To manage notifications about this bug go to:
https://bugs.launchpad.net/webapps-sprint/+bug/1614108/+subscriptions


References