This bug was fixed in the package ubuntu-download-manager -
1.2+16.10.20160722.1-0ubuntu1

---------------
ubuntu-download-manager (1.2+16.10.20160722.1-0ubuntu1) yakkety; urgency=medium

  [ Olivier Tilloy ]
  * Fix unit tests when run under an sbuild chroot. (LP: #1593170)

 -- Michael Sheldon <[email protected]>  Fri, 22 Jul 2016
11:15:14 +0000

** Changed in: ubuntu-download-manager (Ubuntu)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-download-manager in
Ubuntu.
https://bugs.launchpad.net/bugs/1593170

Title:
  Some unit tests fail when run under an sbuild chroot

Status in ubuntu-download-manager package in Ubuntu:
  Fix Released

Bug description:
  (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"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-download-manager/+bug/1593170/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to