test_create_list_delete_volume_transfer fails in the gate

Bug #1255292 reported by Matt Riedemann
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Cinder
Invalid
Undecided
Unassigned
tempest
In Progress
High
John Griffith

Bug Description

New fail here:

http://logs.openstack.org/83/58383/1/gate/gate-tempest-devstack-vm-postgres-full/8c23e96/console.html

http://paste.openstack.org/show/54019/

2013-11-26 08:54:04.252 | traceback-1: {{{
2013-11-26 08:54:04.253 | Traceback (most recent call last):
2013-11-26 08:54:04.253 | File "tempest/services/volume/json/volumes_client.py", line 98, in delete_volume
2013-11-26 08:54:04.253 | return self.delete("volumes/%s" % str(volume_id))
2013-11-26 08:54:04.253 | File "tempest/common/rest_client.py", line 308, in delete
2013-11-26 08:54:04.253 | return self.request('DELETE', url, headers)
2013-11-26 08:54:04.253 | File "tempest/common/rest_client.py", line 436, in request
2013-11-26 08:54:04.253 | resp, resp_body)
2013-11-26 08:54:04.253 | File "tempest/common/rest_client.py", line 486, in _error_checker
2013-11-26 08:54:04.254 | raise exceptions.BadRequest(resp_body)
2013-11-26 08:54:04.254 | BadRequest: Bad request
2013-11-26 08:54:04.254 | Details: {u'badRequest': {u'message': u'Invalid volume: Volume status must be available or error, but current status is: awaiting-transfer', u'code': 400}}
2013-11-26 08:54:04.254 | }}}
2013-11-26 08:54:04.254 |
2013-11-26 08:54:04.254 | Traceback (most recent call last):
2013-11-26 08:54:04.255 | File "tempest/api/volume/test_volume_transfers.py", line 111, in test_create_list_delete_volume_transfer
2013-11-26 08:54:04.255 | self.assertEqual(volume['id'], body[0]['volume_id'])
2013-11-26 08:54:04.255 | File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 322, in assertEqual
2013-11-26 08:54:04.255 | self.assertThat(observed, matcher, message)
2013-11-26 08:54:04.255 | File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 412, in assertThat
2013-11-26 08:54:04.255 | raise MismatchError(matchee, matcher, mismatch, verbose)
2013-11-26 08:54:04.255 | MismatchError: !=:
2013-11-26 08:54:04.256 | reference = u'5e331c69-7d8d-4f5d-ac79-4a281d1f4307'
2013-11-26 08:54:04.256 | actual = u'1fe91e30-438a-4609-92fe-0be0b43bc8ff'
2013-11-26 08:54:04.256 |
2013-11-26 08:54:04.256 |
2013-11-26 08:54:04.256 | ======================================================================
2013-11-26 08:54:04.256 | FAIL: tempest.api.volume.test_volume_transfers.VolumesTransfersTestXML.test_create_list_delete_volume_transfer

Seeing a few failures in the cinder api logs but not around the same time as this failure.

http://paste.openstack.org/show/54020/
http://paste.openstack.org/show/54021/

Revision history for this message
John Griffith (john-griffith) wrote :

This is actually due to a bad assumption in Tempest of there only ever being a single transfer. This also seems to expose an issue with the wait for resource status.

Changed in cinder:
status: New → Invalid
Changed in tempest:
status: New → In Progress
assignee: nobody → John Griffith (john-griffith)
Sean Dague (sdague)
Changed in tempest:
importance: Undecided → High
Revision history for this message
Cedric Brandily (cbrandily) wrote :
Revision history for this message
David Kranz (david-kranz) wrote :

This is the same bug as https://bugs.launchpad.net/cinder/+bug/1262432. As I said in the last comment, I don't think this is a tempest issue unless I totally misunderstand how transfers are related to tenants.

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.