[Reproducible-builds] Bug#818149: python-glanceclient: FTBFS: TypeError: 'NoneType' object has no attribute '__getitem__'
Chris Lamb
lamby at debian.org
Mon Mar 14 09:54:22 UTC 2016
Source: python-glanceclient
Version: 1:1.1.0-4
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
Dear Maintainer,
python-glanceclient fails to build from source in unstable/amd64:
[..]
glanceclient.tests.unit.v2.test_tasks.TestController.test_list_tasks_with_invalid_sort_key
glanceclient.tests.unit.v2.test_tasks.TestController.test_list_tasks_with_invalid_sort_key ... ok
glanceclient.tests.unit.v2.test_tasks.TestController.test_list_tasks_with_marker
glanceclient.tests.unit.v2.test_tasks.TestController.test_list_tasks_with_marker ... ok
glanceclient.tests.unit.v2.test_tasks.TestController.test_list_tasks_with_single_sort_key
glanceclient.tests.unit.v2.test_tasks.TestController.test_list_tasks_with_single_sort_key ... ok
glanceclient.tests.unit.v2.test_tasks.TestController.test_list_tasks_with_status
glanceclient.tests.unit.v2.test_tasks.TestController.test_list_tasks_with_status ... ok
glanceclient.tests.unit.v2.test_tasks.TestController.test_list_tasks_with_type
glanceclient.tests.unit.v2.test_tasks.TestController.test_list_tasks_with_type ... ok
glanceclient.tests.unit.v2.test_tasks.TestController.test_list_tasks_with_wrong_status
glanceclient.tests.unit.v2.test_tasks.TestController.test_list_tasks_with_wrong_status ... ok
glanceclient.tests.unit.v2.test_tasks.TestController.test_list_tasks_with_wrong_type
glanceclient.tests.unit.v2.test_tasks.TestController.test_list_tasks_with_wrong_type ... ok
======================================================================
FAIL: glanceclient.tests.unit.v1.test_shell.ShellInvalidEndpointandParameterTest.test_image_delete_invalid_endpoint
glanceclient.tests.unit.v1.test_shell.ShellInvalidEndpointandParameterTest.test_image_delete_invalid_endpoint
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
File "glanceclient/tests/unit/v1/test_shell.py", line 283, in test_image_delete_invalid_endpoint
self.run_command, 'image-delete <fake>')
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 422, in assertRaises
self.assertThat(our_callable, matcher)
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 433, in assertThat
mismatch_error = self._matchHelper(matchee, matcher, message, verbose)
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 483, in _matchHelper
mismatch = matcher.match(matchee)
File "/usr/lib/python2.7/dist-packages/testtools/matchers/_exception.py", line 108, in match
mismatch = self.exception_matcher.match(exc_info)
File "/usr/lib/python2.7/dist-packages/testtools/matchers/_higherorder.py", line 62, in match
mismatch = matcher.match(matchee)
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 414, in match
reraise(*matchee)
File "/usr/lib/python2.7/dist-packages/testtools/matchers/_exception.py", line 101, in match
result = matchee()
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 969, in __call__
return self._callable_object(*self._args, **self._kwargs)
File "glanceclient/tests/unit/v1/test_shell.py", line 263, in run_command
self.shell.main(cmd.split())
File "glanceclient/shell.py", line 700, in main
args.func(client, args)
File "glanceclient/v1/shell.py", line 368, in do_image_delete
image = utils.find_resource(gc.images, args_image)
File "glanceclient/common/utils.py", line 232, in find_resource
matches = list(manager.list(filters={'name': name_or_id}))
File "glanceclient/v1/images.py", line 254, in list
for image in paginate(params, return_request_id):
File "glanceclient/v1/images.py", line 238, in paginate
images, resp = self._list(url, "images")
File "glanceclient/v1/images.py", line 68, in _list
data = body[response_key]
TypeError: 'NoneType' object has no attribute '__getitem__'
======================================================================
FAIL: glanceclient.tests.unit.v1.test_shell.ShellInvalidEndpointandParameterTest.test_image_download_invalid_endpoint
glanceclient.tests.unit.v1.test_shell.ShellInvalidEndpointandParameterTest.test_image_download_invalid_endpoint
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
File "glanceclient/tests/unit/v1/test_shell.py", line 288, in test_image_download_invalid_endpoint
self.run_command, 'image-download <fake>')
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 422, in assertRaises
self.assertThat(our_callable, matcher)
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 433, in assertThat
mismatch_error = self._matchHelper(matchee, matcher, message, verbose)
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 483, in _matchHelper
mismatch = matcher.match(matchee)
File "/usr/lib/python2.7/dist-packages/testtools/matchers/_exception.py", line 108, in match
mismatch = self.exception_matcher.match(exc_info)
File "/usr/lib/python2.7/dist-packages/testtools/matchers/_higherorder.py", line 62, in match
mismatch = matcher.match(matchee)
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 414, in match
reraise(*matchee)
File "/usr/lib/python2.7/dist-packages/testtools/matchers/_exception.py", line 101, in match
result = matchee()
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 969, in __call__
return self._callable_object(*self._args, **self._kwargs)
File "glanceclient/tests/unit/v1/test_shell.py", line 263, in run_command
self.shell.main(cmd.split())
File "glanceclient/shell.py", line 700, in main
args.func(client, args)
File "glanceclient/v1/shell.py", line 164, in do_image_download
image = utils.find_resource(gc.images, args.image)
File "glanceclient/common/utils.py", line 232, in find_resource
matches = list(manager.list(filters={'name': name_or_id}))
File "glanceclient/v1/images.py", line 254, in list
for image in paginate(params, return_request_id):
File "glanceclient/v1/images.py", line 238, in paginate
images, resp = self._list(url, "images")
File "glanceclient/v1/images.py", line 68, in _list
data = body[response_key]
TypeError: 'NoneType' object has no attribute '__getitem__'
======================================================================
FAIL: glanceclient.tests.unit.v1.test_shell.ShellInvalidEndpointandParameterTest.test_image_list_invalid_endpoint
glanceclient.tests.unit.v1.test_shell.ShellInvalidEndpointandParameterTest.test_image_list_invalid_endpoint
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
File "glanceclient/tests/unit/v1/test_shell.py", line 273, in test_image_list_invalid_endpoint
exc.CommunicationError, self.run_command, 'image-list')
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 422, in assertRaises
self.assertThat(our_callable, matcher)
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 433, in assertThat
mismatch_error = self._matchHelper(matchee, matcher, message, verbose)
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 483, in _matchHelper
mismatch = matcher.match(matchee)
File "/usr/lib/python2.7/dist-packages/testtools/matchers/_exception.py", line 108, in match
mismatch = self.exception_matcher.match(exc_info)
File "/usr/lib/python2.7/dist-packages/testtools/matchers/_higherorder.py", line 62, in match
mismatch = matcher.match(matchee)
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 414, in match
reraise(*matchee)
File "/usr/lib/python2.7/dist-packages/testtools/matchers/_exception.py", line 101, in match
result = matchee()
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 969, in __call__
return self._callable_object(*self._args, **self._kwargs)
File "glanceclient/tests/unit/v1/test_shell.py", line 263, in run_command
self.shell.main(cmd.split())
File "glanceclient/shell.py", line 700, in main
args.func(client, args)
File "glanceclient/v1/shell.py", line 123, in do_image_list
utils.print_list(images, columns)
File "glanceclient/common/utils.py", line 183, in print_list
for o in objs:
File "glanceclient/v1/images.py", line 254, in list
for image in paginate(params, return_request_id):
File "glanceclient/v1/images.py", line 238, in paginate
images, resp = self._list(url, "images")
File "glanceclient/v1/images.py", line 68, in _list
data = body[response_key]
TypeError: 'NoneType' object has no attribute '__getitem__'
======================================================================
FAIL: glanceclient.tests.unit.v1.test_shell.ShellInvalidEndpointandParameterTest.test_image_show_invalid_endpoint
glanceclient.tests.unit.v1.test_shell.ShellInvalidEndpointandParameterTest.test_image_show_invalid_endpoint
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
File "glanceclient/tests/unit/v1/test_shell.py", line 298, in test_image_show_invalid_endpoint
self.run_command, 'image-show --human-readable <IMAGE_ID>')
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 422, in assertRaises
self.assertThat(our_callable, matcher)
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 433, in assertThat
mismatch_error = self._matchHelper(matchee, matcher, message, verbose)
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 483, in _matchHelper
mismatch = matcher.match(matchee)
File "/usr/lib/python2.7/dist-packages/testtools/matchers/_exception.py", line 108, in match
mismatch = self.exception_matcher.match(exc_info)
File "/usr/lib/python2.7/dist-packages/testtools/matchers/_higherorder.py", line 62, in match
mismatch = matcher.match(matchee)
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 414, in match
reraise(*matchee)
File "/usr/lib/python2.7/dist-packages/testtools/matchers/_exception.py", line 101, in match
result = matchee()
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 969, in __call__
return self._callable_object(*self._args, **self._kwargs)
File "glanceclient/tests/unit/v1/test_shell.py", line 263, in run_command
self.shell.main(cmd.split())
File "glanceclient/shell.py", line 700, in main
args.func(client, args)
File "glanceclient/v1/shell.py", line 149, in do_image_show
image_id = utils.find_resource(gc.images, args.image).id
File "glanceclient/common/utils.py", line 232, in find_resource
matches = list(manager.list(filters={'name': name_or_id}))
File "glanceclient/v1/images.py", line 254, in list
for image in paginate(params, return_request_id):
File "glanceclient/v1/images.py", line 238, in paginate
images, resp = self._list(url, "images")
File "glanceclient/v1/images.py", line 68, in _list
data = body[response_key]
TypeError: 'NoneType' object has no attribute '__getitem__'
======================================================================
FAIL: glanceclient.tests.unit.v1.test_shell.ShellInvalidEndpointandParameterTest.test_member_create_invalid_endpoint
glanceclient.tests.unit.v1.test_shell.ShellInvalidEndpointandParameterTest.test_member_create_invalid_endpoint
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
File "glanceclient/tests/unit/v1/test_shell.py", line 304, in test_member_create_invalid_endpoint
'member-create --can-share <IMAGE_ID> <TENANT_ID>')
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 422, in assertRaises
self.assertThat(our_callable, matcher)
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 433, in assertThat
mismatch_error = self._matchHelper(matchee, matcher, message, verbose)
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 483, in _matchHelper
mismatch = matcher.match(matchee)
File "/usr/lib/python2.7/dist-packages/testtools/matchers/_exception.py", line 108, in match
mismatch = self.exception_matcher.match(exc_info)
File "/usr/lib/python2.7/dist-packages/testtools/matchers/_higherorder.py", line 62, in match
mismatch = matcher.match(matchee)
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 414, in match
reraise(*matchee)
File "/usr/lib/python2.7/dist-packages/testtools/matchers/_exception.py", line 101, in match
result = matchee()
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 969, in __call__
return self._callable_object(*self._args, **self._kwargs)
File "glanceclient/tests/unit/v1/test_shell.py", line 263, in run_command
self.shell.main(cmd.split())
File "glanceclient/shell.py", line 700, in main
args.func(client, args)
File "glanceclient/v1/shell.py", line 418, in do_member_create
image = utils.find_resource(gc.images, args.image)
File "glanceclient/common/utils.py", line 232, in find_resource
matches = list(manager.list(filters={'name': name_or_id}))
File "glanceclient/v1/images.py", line 254, in list
for image in paginate(params, return_request_id):
File "glanceclient/v1/images.py", line 238, in paginate
images, resp = self._list(url, "images")
File "glanceclient/v1/images.py", line 68, in _list
data = body[response_key]
TypeError: 'NoneType' object has no attribute '__getitem__'
======================================================================
FAIL: glanceclient.tests.unit.v1.test_shell.ShellInvalidEndpointandParameterTest.test_member_delete_invalid_endpoint
glanceclient.tests.unit.v1.test_shell.ShellInvalidEndpointandParameterTest.test_member_delete_invalid_endpoint
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
File "glanceclient/tests/unit/v1/test_shell.py", line 310, in test_member_delete_invalid_endpoint
'member-delete <IMAGE_ID> <TENANT_ID>')
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 422, in assertRaises
self.assertThat(our_callable, matcher)
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 433, in assertThat
mismatch_error = self._matchHelper(matchee, matcher, message, verbose)
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 483, in _matchHelper
mismatch = matcher.match(matchee)
File "/usr/lib/python2.7/dist-packages/testtools/matchers/_exception.py", line 108, in match
mismatch = self.exception_matcher.match(exc_info)
File "/usr/lib/python2.7/dist-packages/testtools/matchers/_higherorder.py", line 62, in match
mismatch = matcher.match(matchee)
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 414, in match
reraise(*matchee)
File "/usr/lib/python2.7/dist-packages/testtools/matchers/_exception.py", line 101, in match
result = matchee()
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 969, in __call__
return self._callable_object(*self._args, **self._kwargs)
File "glanceclient/tests/unit/v1/test_shell.py", line 263, in run_command
self.shell.main(cmd.split())
File "glanceclient/shell.py", line 700, in main
args.func(client, args)
File "glanceclient/v1/shell.py", line 428, in do_member_delete
image_id = utils.find_resource(gc.images, args.image).id
File "glanceclient/common/utils.py", line 232, in find_resource
matches = list(manager.list(filters={'name': name_or_id}))
File "glanceclient/v1/images.py", line 254, in list
for image in paginate(params, return_request_id):
File "glanceclient/v1/images.py", line 238, in paginate
images, resp = self._list(url, "images")
File "glanceclient/v1/images.py", line 68, in _list
data = body[response_key]
TypeError: 'NoneType' object has no attribute '__getitem__'
======================================================================
FAIL: glanceclient.tests.unit.v1.test_shell.ShellInvalidEndpointandParameterTest.test_members_list_invalid_endpoint
glanceclient.tests.unit.v1.test_shell.ShellInvalidEndpointandParameterTest.test_members_list_invalid_endpoint
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
File "glanceclient/tests/unit/v1/test_shell.py", line 293, in test_members_list_invalid_endpoint
self.run_command, 'member-list --image-id fake')
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 422, in assertRaises
self.assertThat(our_callable, matcher)
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 433, in assertThat
mismatch_error = self._matchHelper(matchee, matcher, message, verbose)
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 483, in _matchHelper
mismatch = matcher.match(matchee)
File "/usr/lib/python2.7/dist-packages/testtools/matchers/_exception.py", line 108, in match
mismatch = self.exception_matcher.match(exc_info)
File "/usr/lib/python2.7/dist-packages/testtools/matchers/_higherorder.py", line 62, in match
mismatch = matcher.match(matchee)
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 414, in match
reraise(*matchee)
File "/usr/lib/python2.7/dist-packages/testtools/matchers/_exception.py", line 101, in match
result = matchee()
File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 969, in __call__
return self._callable_object(*self._args, **self._kwargs)
File "glanceclient/tests/unit/v1/test_shell.py", line 263, in run_command
self.shell.main(cmd.split())
File "glanceclient/shell.py", line 700, in main
args.func(client, args)
File "glanceclient/v1/shell.py", line 405, in do_member_list
members = gc.image_members.list(**kwargs)
File "glanceclient/v1/image_members.py", line 51, in list
out.extend(self._list_by_image(image))
File "glanceclient/v1/image_members.py", line 65, in _list_by_image
for member in body['members']:
TypeError: 'NoneType' object has no attribute '__getitem__'
----------------------------------------------------------------------
Ran 428 tests in 5.818s
FAILED (failures=7, skipped=4)
debian/rules:38: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/home/lamby/temp/cdt.20160314072949.4DmenPN8NC/python-glanceclient-1.1.0'
debian/rules:11: recipe for target 'build' failed
make: *** [build] Error 2
[..]
The full build log is attached.
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-glanceclient.1:1.1.0-4.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 11500 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160314/00b8faea/attachment.obj>
More information about the Reproducible-builds
mailing list