[Bug 1870076] Re: python-magnuclient ftbfs in focal
Launchpad Bug Tracker
1870076 at bugs.launchpad.net
Fri Apr 3 16:56:09 UTC 2020
This bug was fixed in the package python-magnumclient - 2.11.0-0ubuntu4
---------------
python-magnumclient (2.11.0-0ubuntu4) focal; urgency=medium
* d/p/skip-tests.patch: Refresh patch to ensure that tests are skipped
for >= Python 3.7 rather than == (LP: #1870076).
* d/rules: Set PBR_VERSION to fix failing shell tests.
-- James Page <james.page at ubuntu.com> Fri, 03 Apr 2020 11:53:04 +0100
** Changed in: python-magnumclient (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-magnumclient in Ubuntu.
https://bugs.launchpad.net/bugs/1870076
Title:
python-magnuclient ftbfs in focal
Status in python-magnumclient package in Ubuntu:
Fix Released
Bug description:
seen in the second focal test rebuild
https://launchpadlibrarian.net/471775813/buildlog_ubuntu-focal-amd64.python-magnumclient_2.11.0-0ubuntu3_BUILDING.txt.gz
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/magnumclient/common/httpclient.py", line 409, in __iter__
yield self.next()
File "/<<PKGBUILDDIR>>/magnumclient/common/httpclient.py", line 421, in next
raise StopIteration()
StopIteration
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/magnumclient/tests/test_httpclient.py", line 134, in test_server_exception_msg_and_traceback
error = self.assertRaises(exc.InternalServerError,
File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 489, in assertRaises
self.assertThat(our_callable, matcher)
File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 500, in assertThat
mismatch_error = self._matchHelper(matchee, matcher, message, verbose)
File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 551, in _matchHelper
mismatch = matcher.match(matchee)
File "/usr/lib/python3/dist-packages/testtools/matchers/_exception.py", line 108, in match
mismatch = self.exception_matcher.match(exc_info)
File "/usr/lib/python3/dist-packages/testtools/matchers/_higherorder.py", line 62, in match
mismatch = matcher.match(matchee)
File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 479, in match
reraise(*matchee)
File "/usr/lib/python3/dist-packages/testtools/_compat3x.py", line 16, in reraise
raise exc_obj.with_traceback(exc_tb)
File "/usr/lib/python3/dist-packages/testtools/matchers/_exception.py", line 101, in match
result = matchee()
File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 1053, in __call__
return self._callable_object(*self._args, **self._kwargs)
File "/<<PKGBUILDDIR>>/magnumclient/common/httpclient.py", line 233, in json_request
resp, body_iter = self._http_request(url, method, **kwargs)
File "/<<PKGBUILDDIR>>/magnumclient/common/httpclient.py", line 201, in _http_request
body_list = [
File "/<<PKGBUILDDIR>>/magnumclient/common/httpclient.py", line 201, in <listcomp>
body_list = [
RuntimeError: generator raised StopIteration
magnumclient.tests.test_httpclient.HttpClientTest.test_server_success_body_json
-------------------------------------------------------------------------------
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/magnumclient/common/httpclient.py", line 409, in __iter__
yield self.next()
File "/<<PKGBUILDDIR>>/magnumclient/common/httpclient.py", line 421, in next
raise StopIteration()
StopIteration
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/magnumclient/tests/test_httpclient.py", line 363, in test_server_success_body_json
resp, body = client.json_request('GET', '/v1/resources')
File "/<<PKGBUILDDIR>>/magnumclient/common/httpclient.py", line 233, in json_request
resp, body_iter = self._http_request(url, method, **kwargs)
File "/<<PKGBUILDDIR>>/magnumclient/common/httpclient.py", line 201, in _http_request
body_list = [
File "/<<PKGBUILDDIR>>/magnumclient/common/httpclient.py", line 201, in <listcomp>
body_list = [
RuntimeError: generator raised StopIteration
======
Totals
======
Ran: 454 tests in 6.2408 sec.
- Passed: 447
- Skipped: 0
- Expected Fail: 0
- Unexpected Success: 0
- Failed: 7
Sum of execute time for each test: 13.1898 sec.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-magnumclient/+bug/1870076/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list