Public bug reported:
(similar to bug #1567294 and bug #1592475)
This is because in an sbuild chroot HOME is set to /sbuild-nonexistent.
09:59:00 task-0: ********* Start testing of TestDownload *********
09:59:00 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
20160413)
09:59:00 task-0: PASS : TestDownload::initTestCase()
09:59:00 task-0: QDEBUG : TestDownload::testAllowMobileDownload(Enabled) Start
http server
09:59:00 task-0: QDEBUG : TestDownload::testAllowMobileDownload(Enabled) Server
dir:
"/sbuild-nonexistent/.qttest/share/test_client_download_client/TestDownload/http_server"
09:59:00 task-0: QWARN : TestDownload::testAllowMobileDownload(Enabled)
QProcess: Destroyed while process ("python") is still running.
09:59:00 task-0: QDEBUG : TestDownload::testAllowMobileDownload(Enabled) Start
http server
09:59:00 task-0: QWARN : TestDownload::testAllowMobileDownload(Enabled)
QProcess: Destroyed while process ("python") is still running.
09:59:00 task-0: QDEBUG : TestDownload::testAllowMobileDownload(Enabled) Start
http server
09:59:00 task-0: QWARN : TestDownload::testAllowMobileDownload(Enabled)
QProcess: Destroyed while process ("python") is still running.
09:59:00 task-0: QDEBUG : TestDownload::testAllowMobileDownload(Enabled) Start
http server
09:59:00 task-0: QDEBUG : TestDownload::testAllowMobileDownload(Enabled) Http
server running on 8110
09:59:00 task-0: FAIL! : TestDownload::testAllowMobileDownload() Caught
unhandled exception
09:59:00 task-0: Loc: [qtestcase.cpp(2657)]
09:59:00 task-0: Totals: 1 passed, 1 failed, 0 skipped, 0 blacklisted
09:59:00 task-0: ********* Finished testing of TestDownload *********
09:59:00 terminate called after throwing an instance of
'boost::filesystem::filesystem_error'
09:59:00 what(): boost::filesystem::create_directories: Permission denied:
"/sbuild-nonexistent/.qttest/share/test_client_download_client"
** Affects: ubuntu-download-manager (Ubuntu)
Importance: High
Assignee: Olivier Tilloy (osomon)
Status: In Progress
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1593170
Title:
Some unit tests fail when run under an sbuild chroot
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-download-manager/+bug/1593170/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs