[Bug 1272359] [NEW] needs porting to Python 3.4
Martin Pitt
martin.pitt at ubuntu.com
Fri Jan 24 14:37:42 UTC 2014
Public bug reported:
Current aptdaemon has several test failures when running under Python
3.4:
http://people.canonical.com/~pitti/tmp/autopkgtest-
py34/fail/py34-aptdaemon/results/
Reproducible in trunk (lp:aptdaemon) with
$ PYTHONPATH=. python3.4 tests/test_worker.py WorkerTestCase.test_install_file WorkerTestCase.test_install_unknown_file
[...]
======================================================================
FAIL: test_install_file (__main__.WorkerTestCase)
Test the installation of a local package file.
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/test_worker.py", line 347, in test_install_file
trans._error_property[1]))
AssertionError: dbus.String('exit-failed') != 'exit-success' : error-package-manager-failed: debconf: DbDriver "passwords" warning: could not open /var/cache/debconf/passwords.dat: Keine Berechtigung
debconf: DbDriver "passwords" warning: could not open /var/cache/debconf/passwords.dat: Keine Berechtigung
Selecting previously unselected package silly-base.
(Reading database ... 0 files and directories currently installed.)
Preparing to unpack .../silly-base_0.1-0update1_all.deb ...
Unpacking silly-base (0.1-0update1) ...
Setting up silly-base (0.1-0update1) ...
======================================================================
FAIL: test_install_unknown_file (__main__.WorkerTestCase)
Test the installation of a local package file which is not known
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/test_worker.py", line 394, in test_install_unknown_file
trans._error_property[1]))
AssertionError: dbus.String('exit-failed') != 'exit-success' : error-package-manager-failed:
This also failed in autopkgtest, but works in trunk:
$ PYTHONPATH=. python3.4 tests/test_pk.py
PackageKitTest.test_install_files
that maybe because trunk has been fixed for that, or the test is flaky.
** Affects: aptdaemon (Ubuntu)
Importance: Undecided
Status: New
** Tags: python3.4
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to aptdaemon in Ubuntu.
https://bugs.launchpad.net/bugs/1272359
Title:
needs porting to Python 3.4
Status in “aptdaemon” package in Ubuntu:
New
Bug description:
Current aptdaemon has several test failures when running under Python
3.4:
http://people.canonical.com/~pitti/tmp/autopkgtest-
py34/fail/py34-aptdaemon/results/
Reproducible in trunk (lp:aptdaemon) with
$ PYTHONPATH=. python3.4 tests/test_worker.py WorkerTestCase.test_install_file WorkerTestCase.test_install_unknown_file
[...]
======================================================================
FAIL: test_install_file (__main__.WorkerTestCase)
Test the installation of a local package file.
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/test_worker.py", line 347, in test_install_file
trans._error_property[1]))
AssertionError: dbus.String('exit-failed') != 'exit-success' : error-package-manager-failed: debconf: DbDriver "passwords" warning: could not open /var/cache/debconf/passwords.dat: Keine Berechtigung
debconf: DbDriver "passwords" warning: could not open /var/cache/debconf/passwords.dat: Keine Berechtigung
Selecting previously unselected package silly-base.
(Reading database ... 0 files and directories currently installed.)
Preparing to unpack .../silly-base_0.1-0update1_all.deb ...
Unpacking silly-base (0.1-0update1) ...
Setting up silly-base (0.1-0update1) ...
======================================================================
FAIL: test_install_unknown_file (__main__.WorkerTestCase)
Test the installation of a local package file which is not known
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/test_worker.py", line 394, in test_install_unknown_file
trans._error_property[1]))
AssertionError: dbus.String('exit-failed') != 'exit-success' : error-package-manager-failed:
This also failed in autopkgtest, but works in trunk:
$ PYTHONPATH=. python3.4 tests/test_pk.py
PackageKitTest.test_install_files
that maybe because trunk has been fixed for that, or the test is
flaky.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aptdaemon/+bug/1272359/+subscriptions
More information about the foundations-bugs
mailing list