Test suite fails in all versions of Python
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Aptdaemon |
New
|
Undecided
|
Unassigned | ||
aptdaemon (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Trusty |
Fix Released
|
High
|
Unassigned |
Bug Description
Current aptdaemon has several test failures when running under Python 3.4:
http://
Reproducible in trunk (lp:aptdaemon) with
$ PYTHONPATH=. python3.4 tests/test_
[...]
=======
FAIL: test_install_file (__main_
Test the installation of a local package file.
-------
Traceback (most recent call last):
File "tests/
trans.
AssertionError: dbus.String(
debconf: DbDriver "passwords" warning: could not open /var/cache/
Selecting previously unselected package silly-base.
(Reading database ... 0 files and directories currently installed.)
Preparing to unpack .../silly-
Unpacking silly-base (0.1-0update1) ...
Setting up silly-base (0.1-0update1) ...
=======
FAIL: test_install_
Test the installation of a local package file which is not known
-------
Traceback (most recent call last):
File "tests/
trans.
AssertionError: dbus.String(
This also failed in autopkgtest, but works in trunk:
$ PYTHONPATH=. python3.4 tests/test_pk.py PackageKitTest.
that maybe because trunk has been fixed for that, or the test is flaky.
Changed in aptdaemon (Ubuntu Trusty): | |
assignee: | nobody → Barry Warsaw (barry) |
Changed in aptdaemon (Ubuntu Trusty): | |
status: | Triaged → In Progress |
Since python 3.4 has been made the default this has broken aptdaemon; this is now also holding back other packages in -proposed, so bumping severity.
https:/ /jenkins. qa.ubuntu. com/view/ Trusty/ view/AutoPkgTes t/job/trusty- adt-aptdaemon/ 42/ARCH= i386,label= adt/console is a current log of the failures.