[Bug 1272387] Re: needs porting to Python 3.4
Launchpad Bug Tracker
1272387 at bugs.launchpad.net
Tue Feb 25 00:47:51 UTC 2014
** Branch linked: lp:ubuntu/trusty-proposed/ubuntu-release-upgrader
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1272387
Title:
needs porting to Python 3.4
Status in “ubuntu-release-upgrader” package in Ubuntu:
New
Bug description:
With python3.4 as default python3, ubuntu-release-upgrader fails:
http://people.canonical.com/~pitti/tmp/autopkgtest-py34/fail/py34
-ubuntu-release-upgrader/results/
=====================================================================
FAIL: testfetcher (test_dist_upgrade_fetcher_core.TestDistUpgradeFetcherCoreTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/adt-run.N1L4KF/dsc0-build/ubuntu-release-upgrader-0.209/tests/test_dist_upgrade_fetcher_core.py", line 92, in testfetcher
self.assertTrue(res)
nose.proxy.AssertionError: AssertionError: None is not true
-------------------- >> begin captured stdout << ---------------------
authenticate 'quantal.tar.gz' against 'quantal.tar.gz.gpg'
gpg exited 2
Debug information:
gpg: fatal: can't open fd 30 for status output: Bad file descriptor
secmem usage: 0/0 bytes in 0/0 blocks of pool 0/0
Authentication failed
Authenticating the upgrade failed. There may be a problem with the network or with the server.
=================================
Unfortunately the test does not give away more information, like a
Python backtrace of the upgrader itself. So this needs some manual
investigation. I ran the test twice, once in the DC (where we run the
production autopkgtests) and once on my machine with unrestricted
network, with exactly the same failure.
Note that there are a few CRITICALs/WARNINGs before:
(process:9463): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
** (nosetests3:9463): WARNING **: Error retrieving accessibility bus
address: org.freedesktop.DBus.Error.ServiceUnknown: The name
org.a11y.Bus was not provided by any .service files
(nosetests3:9463): Gtk-CRITICAL **: gtk_main_quit: assertion 'main_loops != NULL' failed
/tmp/adt-run.N1L4KF/dsc0-build/ubuntu-release-upgrader-0.209/check_new_release_gtk.py:98: PyGIDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keywords for schema or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
But these already happen with python3.3, and with that the test
succeeds:
http://d-jenkins.ubuntu-ci:8080/job/trusty-adt-ubuntu-release-
upgrader/57/
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1272387/+subscriptions
More information about the foundations-bugs
mailing list