Public bug reported: 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 :-) ** Affects: webapps-sprint Importance: High Assignee: Alberto Mardegan (mardy) Status: In Progress ** Affects: qtbase-opensource-src (Ubuntu) Importance: Undecided Status: New ** Affects: ubuntu-system-settings-online-accounts (Ubuntu) Importance: Critical Assignee: Alberto Mardegan (mardy) Status: In Progress ** Also affects: ubuntu-system-settings-online-accounts (Ubuntu) Importance: Undecided Status: New ** Changed in: ubuntu-system-settings-online-accounts (Ubuntu) Assignee: (unassigned) => Alberto Mardegan (mardy) ** Changed in: ubuntu-system-settings-online-accounts (Ubuntu) Status: New => In Progress ** Changed in: ubuntu-system-settings-online-accounts (Ubuntu) Importance: Undecided => Critical ** Also affects: webapps-sprint Importance: Undecided Status: New ** Changed in: webapps-sprint Status: New => In Progress ** Changed in: webapps-sprint Importance: Undecided => High ** Changed in: webapps-sprint Assignee: (unassigned) => Alberto Mardegan (mardy) ** Changed in: webapps-sprint Milestone: None => sprint-26 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, 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: In Progress 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 -- 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