[Bug 654733] Re: bp.launchpad.test_register.TestBranchRegistration.test_onto_transport tests fail on Python 2.7
Launchpad Bug Tracker
654733 at bugs.launchpad.net
Mon Aug 1 01:09:47 UTC 2011
This bug was fixed in the package bzr - 2.3.4-0ubuntu1
---------------
bzr (2.3.4-0ubuntu1) natty-proposed; urgency=low
* New upstream release.
+ Fix bzr version number in deprecation warnings. LP: #794960
+ Prevent write attemps on remote branch during "bzr up". LP: #786980
+ Fix conflict handling when two trees involved in a merge have different
root ids. LP: #805809
bzr (2.3.3-0ubuntu1) natty-proposed; urgency=low
* New upstream release.
+ Fixes deprecation warning on newer versions of Python. LP: #760435
+ Stops 'bzr push' from copying entire repository if a .bzr directory is
present without a branch. LP: #465517
+ Fixes undefined local variable error when waiting for lock. LP: #733136
+ Fixes lock contention issues pushing to a bound branch. LP: #733350
+ Transfers less data creating a new stacked branch. LP: #737234
+ Several fixes to the test suite, making it more robust. LP: #654733,
LP: #751824
+ 'bzr merge --pull --preview' actually shows a preview rather than
actually merging. LP: #760152
+ bzr smart server now supports UTF-8 user names. LP: #659763
+ user identity can now be set based on username and /etc/mailname, not
requiring it to be set manually. LP: #616878
+ stacking is now fully transitive. LP: #715000
+ makes in-terminal crash report of plugins much shorter. LP: #716389
-- Jelmer Vernooij <jelmer at debian.org> Thu, 14 Jul 2011 21:12:58 +0200
** Changed in: bzr (Ubuntu Natty)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bzr in Ubuntu.
https://bugs.launchpad.net/bugs/654733
Title:
bp.launchpad.test_register.TestBranchRegistration.test_onto_transport
tests fail on Python 2.7
Status in Bazaar Version Control System:
Fix Released
Status in “bzr” package in Ubuntu:
Fix Released
Status in “bzr” source package in Natty:
Fix Released
Bug description:
Two launchpad plugin tests fail on Python 2.7, both
test_onto_transport and test_onto_transport_unauthenticated.
<http://babune.ladeuil.net:24842/job/selftest-
maverick/37/testReport/junit/bzrlib.plugins.launchpad.test_register/TestBranchRegistration/test_onto_transport/>
Traceback (most recent call last):
File "/home/babune/lib/python/testtools/runtest.py", line 144, in _run_user
return fn(*args)
File "/home/babune/lib/python/testtools/testcase.py", line 465, in _run_test_method
testMethod()
File "/home/babune/babune/slaves/maverick64.local/workspace/selftest-maverick/bzrlib/plugins/launchpad/test_register.py", line 190, in test_onto_transport
rego.submit(service)
File "/home/babune/babune/slaves/maverick64.local/workspace/selftest-maverick/bzrlib/plugins/launchpad/lp_registration.py", line 272, in submit
self._authenticated)
File "/home/babune/babune/slaves/maverick64.local/workspace/selftest-maverick/bzrlib/plugins/launchpad/lp_registration.py", line 195, in send_request
result = method(*method_params)
File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.7/xmlrpclib.py", line 1570, in __request
verbose=self.__verbose
File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
return self.single_request(host, handler, request_body, verbose)
File "/usr/lib/python2.7/xmlrpclib.py", line 1303, in single_request
self.close()
File "/usr/lib/python2.7/xmlrpclib.py", line 1378, in close
if self._connection[1]:
AttributeError: InstrumentedXMLRPCTransport instance has no attribute '_connection'
This is xmlrpclib upstream changes fallout from <http://svn.python.org/view?view=rev&revision=73638> like bug 612096, but just affecting the test scaffolding. Hiding inside this error is another with InstrumentedXMLRPCConnection having no getresponse method, see <https://bugzilla.redhat.com/show_bug.cgi?id=619276#c11> for a nice write up of what's different there.
To manage notifications about this bug go to:
https://bugs.launchpad.net/bzr/+bug/654733/+subscriptions
More information about the foundations-bugs
mailing list