tempest failure in tempest.api.volume.admin.test_volume_quotas

Bug #1291162 reported by Lianhao Lu
34
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Cinder
Invalid
Undecided
Unassigned
tempest
Fix Released
Undecided
Cory Stone

Bug Description

We saw sporadic failures like the followings, details is at http://logs.openstack.org/90/63890/25/gate/gate-tempest-dsvm-full/cf26b8e/

2014-03-12 03:06:33.447 | ======================================================================
2014-03-12 03:06:33.447 | FAIL: tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_update_all_quota_resources_for_tenant[gate]
2014-03-12 03:06:33.448 | tempest.api.volume.admin.test_volume_quotas.VolumeQuotasAdminTestJSON.test_update_all_quota_resources_for_tenant[gate]
2014-03-12 03:06:33.448 | ----------------------------------------------------------------------
2014-03-12 03:06:33.448 | _StringException: Empty attachments:
2014-03-12 03:06:33.448 | stderr
2014-03-12 03:06:33.448 | stdout
2014-03-12 03:06:33.448 |
2014-03-12 03:06:33.448 | pythonlogging:'': {{{
2014-03-12 03:06:33.449 | 2014-03-12 02:55:37,082 Request: GET http://127.0.0.1:8776/v1/aa7b1fdcddc444e4b2ffbd797dca7052/os-quota-sets/64a8d0b3103843b3a7eb42b69fcb3d83/defaults
2014-03-12 03:06:33.449 | 2014-03-12 02:55:37,083 Request Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<Token omitted>'}
2014-03-12 03:06:33.449 | 2014-03-12 02:55:37,102 Response Status: 200
2014-03-12 03:06:33.449 | 2014-03-12 02:55:37,102 Nova/Cinder request id: req-7cf9f09b-405a-4044-a5ea-2a1be6356c40
2014-03-12 03:06:33.449 | 2014-03-12 02:55:37,103 Response Headers: {'content-length': '229', 'content-location': u'http://127.0.0.1:8776/v1/aa7b1fdcddc444e4b2ffbd797dca7052/os-quota-sets/64a8d0b3103843b3a7eb42b69fcb3d83/defaults', 'connection': 'close', 'date': 'Wed, 12 Mar 2014 02:55:37 GMT', 'content-type': 'application/json', 'x-openstack-request-id': 'req-7cf9f09b-405a-4044-a5ea-2a1be6356c40'}
2014-03-12 03:06:33.449 | 2014-03-12 02:55:37,103 Response Body: {"quota_set": {"snapshots_volume-type--1191136584": -1, "gigabytes": 1000, "snapshots": 10, "volumes_volume-type--1191136584": -1, "volumes": 10, "id": "64a8d0b3103843b3a7eb42b69fcb3d83", "gigabytes_volume-type--1191136584": -1}}
2014-03-12 03:06:33.450 | 2014-03-12 02:55:37,104 Request: PUT http://127.0.0.1:8776/v1/aa7b1fdcddc444e4b2ffbd797dca7052/os-quota-sets/64a8d0b3103843b3a7eb42b69fcb3d83
2014-03-12 03:06:33.450 | 2014-03-12 02:55:37,104 Request Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<Token omitted>'}
2014-03-12 03:06:33.450 | 2014-03-12 02:55:37,104 Request Body: {"quota_set": {"gigabytes": 1009, "snapshots": 11, "volumes": 11}}
2014-03-12 03:06:33.450 | 2014-03-12 02:55:37,177 Response Status: 200
2014-03-12 03:06:33.450 | 2014-03-12 02:55:37,177 Nova/Cinder request id: req-1e6ca4b8-fe8f-4478-ba52-ea0cf5466ac5
2014-03-12 03:06:33.450 | 2014-03-12 02:55:37,177 Response Headers: {'content-length': '187', 'date': 'Wed, 12 Mar 2014 02:55:37 GMT', 'content-type': 'application/json', 'connection': 'close', 'x-openstack-request-id': 'req-1e6ca4b8-fe8f-4478-ba52-ea0cf5466ac5'}
2014-03-12 03:06:33.450 | 2014-03-12 02:55:37,178 Response Body: {"quota_set": {"snapshots_volume-type--1191136584": -1, "gigabytes": 1009, "snapshots": 11, "volumes_volume-type--1191136584": -1, "volumes": 11, "gigabytes_volume-type--1191136584": -1}}
2014-03-12 03:06:33.451 | }}}
2014-03-12 03:06:33.451 |
2014-03-12 03:06:33.451 | traceback-1: {{{
2014-03-12 03:06:33.451 | Traceback (most recent call last):
2014-03-12 03:06:33.451 | TypeError: update_quota_set() got an unexpected keyword argument 'snapshots_volume-type--1191136584'
2014-03-12 03:06:33.451 | }}}
2014-03-12 03:06:33.451 |
2014-03-12 03:06:33.452 | Traceback (most recent call last):
2014-03-12 03:06:33.452 | File "tempest/api/volume/admin/test_volume_quotas.py", line 67, in test_update_all_quota_resources_for_tenant
2014-03-12 03:06:33.452 | self.assertEqual(new_quota_set, quota_set)
2014-03-12 03:06:33.452 | File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 321, in assertEqual
2014-03-12 03:06:33.452 | self.assertThat(observed, matcher, message)
2014-03-12 03:06:33.452 | File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 406, in assertThat
2014-03-12 03:06:33.452 | raise mismatch_error
2014-03-12 03:06:33.453 | MismatchError: !=:
2014-03-12 03:06:33.453 | reference = {'gigabytes': 1009, 'snapshots': 11, 'volumes': 11}
2014-03-12 03:06:33.453 | actual = {u'gigabytes': 1009,
2014-03-12 03:06:33.453 | u'gigabytes_volume-type--1191136584': -1,
2014-03-12 03:06:33.453 | u'snapshots': 11,
2014-03-12 03:06:33.453 | u'snapshots_volume-type--1191136584': -1,
2014-03-12 03:06:33.453 | u'volumes': 11,
2014-03-12 03:06:33.454 | u'volumes_volume-type--1191136584': -1}

Revision history for this message
Stuart McLaren (stuart-mclaren) wrote :
Changed in cinder:
status: New → Confirmed
importance: Undecided → High
milestone: none → icehouse-rc1
Mike Perez (thingee)
Changed in cinder:
status: Confirmed → Invalid
Changed in tempest:
status: New → Confirmed
assignee: nobody → Mike Perez (thingee)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tempest (master)

Fix proposed to branch: master
Review: https://review.openstack.org/81426

Changed in tempest:
status: Confirmed → In Progress
Changed in cinder:
importance: High → Undecided
milestone: icehouse-rc1 → none
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/81603

Changed in tempest:
assignee: Mike Perez (thingee) → Cory Stone (corystone)
Revision history for this message
Matt Riedemann (mriedem) wrote :
Revision history for this message
Matt Riedemann (mriedem) wrote :
Revision history for this message
Matt Riedemann (mriedem) wrote :

Fix was released to Icehouse: https://review.openstack.org/#/c/81603/

Changed in tempest:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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