[Bug 654733] Re: bp.launchpad.test_register.TestBranchRegistration.test_onto_transport tests fail on Python 2.7
Jelmer Vernooij
654733 at bugs.launchpad.net
Wed Jun 8 09:15:03 UTC 2011
** Also affects: bzr (Ubuntu)
Importance: Undecided
Status: New
** Changed in: bzr (Ubuntu)
Status: New => Fix Released
** Also affects: bzr (Ubuntu Natty)
Importance: Undecided
Status: New
** Changed in: bzr (Ubuntu Natty)
Status: New => In Progress
--
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:
In Progress
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.
More information about the foundations-bugs
mailing list