python3 test failure

Bug #1236022 reported by Chuck Short
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-cinderclient
Invalid
Undecided
Unassigned

Bug Description

======================================================================
FAIL: cinderclient.tests.v2.test_volumes.VolumesTest.test_extend
tags: worker-1
----------------------------------------------------------------------
Empty attachments:
  stderr
  stdout

Traceback (most recent call last):
  File "/home/chuck/work/server/openstack/python3/python-cinderclient/python-cinderclient/cinderclient/tests/v2/test_volumes.py", line 41, in test_attach
    cs.volumes.attach(v, 1, '/dev/vdc')
  File "/home/chuck/work/server/openstack/python3/python-cinderclient/python-cinderclient/cinderclient/v2/volumes.py", line 243, in attach
    'mountpoint': mountpoint})
  File "/home/chuck/work/server/openstack/python3/python-cinderclient/python-cinderclient/cinderclient/v2/volumes.py", line 230, in _action
    return self.api.client.post(url, body=body)
  File "/home/chuck/work/server/openstack/python3/python-cinderclient/python-cinderclient/cinderclient/client.py", line 210, in post
    return self._cs_request(url, 'POST', **kwargs)
  File "/home/chuck/work/server/openstack/python3/python-cinderclient/python-cinderclient/cinderclient/tests/v2/fakes.py", line 240, in _cs_request
    status, headers, body = getattr(self, callback)(**kwargs)
  File "/home/chuck/work/server/openstack/python3/python-cinderclient/python-cinderclient/cinderclient/tests/v2/fakes.py", line 326, in post_volumes_1234_action
    assert list(body[action].keys()) == ['instance_uuid', 'mountpoint']
AssertionError

======================================================================
FAIL: cinderclient.tests.v1.test_volumes.VolumesTest.test_extend
tags: worker-1
----------------------------------------------------------------------
Empty attachments:
  stderr
  stdout

Traceback (most recent call last):
  File "/home/chuck/work/server/openstack/python3/python-cinderclient/python-cinderclient/cinderclient/tests/v1/test_volumes.py", line 88, in test_extend
    cs.volumes.extend(v, 2)
  File "/home/chuck/work/server/openstack/python3/python-cinderclient/python-cinderclient/cinderclient/v1/volumes.py", line 363, in extend
    {'new_size': new_size})
  File "/home/chuck/work/server/openstack/python3/python-cinderclient/python-cinderclient/cinderclient/v1/volumes.py", line 237, in _action
    return self.api.client.post(url, body=body)
  File "/home/chuck/work/server/openstack/python3/python-cinderclient/python-cinderclient/cinderclient/client.py", line 210, in post
    return self._cs_request(url, 'POST', **kwargs)
  File "/home/chuck/work/server/openstack/python3/python-cinderclient/python-cinderclient/cinderclient/tests/v1/fakes.py", line 233, in _cs_request
    status, headers, body = getattr(self, callback)(**kwargs)
  File "/home/chuck/work/server/openstack/python3/python-cinderclient/python-cinderclient/cinderclient/tests/v1/fakes.py", line 338, in post_volumes_1234_action
    assert body[action].keys() == ['new_size']
AssertionError

Tags: tests
Chuck Short (zulcss)
description: updated
Eric Harney (eharney)
tags: added: tests
Revision history for this message
Sean McGinnis (sean-mcginnis) wrote : Bug Cleanup

Closing stale bug. If this is still an issue please reopen.

Changed in python-cinderclient:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.