tempest.api.object_storage.test_account_quotas_negative.AccountQuotasNegativeTest:test_upload_large_object

Bug #1288918 reported by Joe Gordon
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)
New
Undecided
Unassigned
tempest
Confirmed
Low
Unassigned

Bug Description

http://logstash.openstack.org/#eyJzZWFyY2giOiJtZXNzYWdlOlwiwqDCoEZpbGUgXFxcInRlbXBlc3QvYXBpL29iamVjdF9zdG9yYWdlL3Rlc3RfYWNjb3VudF9xdW90YXNfbmVnYXRpdmUucHlcXFwiXCIgQU5EIG1lc3NhZ2U6XCIgaW4gdGVzdF91cGxvYWRfbGFyZ2Vfb2JqZWN0XCIgQU5EIGZpbGVuYW1lOlwiY29uc29sZS5odG1sXCIiLCJmaWVsZHMiOltdLCJvZmZzZXQiOjAsInRpbWVmcmFtZSI6IjYwNDgwMCIsImdyYXBobW9kZSI6ImNvdW50IiwidGltZSI6eyJ1c2VyX2ludGVydmFsIjowfSwic3RhbXAiOjEzOTQxMjk5ODA4OTQsIm1vZGUiOiIiLCJhbmFseXplX2ZpZWxkIjoiIn0=

message:" File \"tempest/api/object_storage/test_account_quotas_negative.py\"" AND message:" in test_upload_large_object" AND filename:"console.html"

ft319.1: tempest.api.object_storage.test_account_quotas_negative.AccountQuotasNegativeTest.test_upload_large_object[gate,negative,smoke]_StringException: Empty attachments:
  stderr
  stdout

pythonlogging:'': {{{
2014-03-06 15:06:20,903 Request: POST http://127.0.0.1:8080/v1/AUTH_a9496cbf7d134303ade7cdbc3522fe21
2014-03-06 15:06:20,903 Request Headers: {'X-Account-Meta-Quota-Bytes': '20'}
2014-03-06 15:06:20,957 Response Status: 204
2014-03-06 15:06:20,958 Response Headers: {'content-length': '0', 'x-trans-id': 'txd3dc02412c36418481db6-0053188eec', 'date': 'Thu, 06 Mar 2014 15:06:20 GMT', 'content-type': 'text/html; charset=UTF-8', 'connection': 'close'}
2014-03-06 15:06:20,959 Request: PUT http://127.0.0.1:8080/v1/AUTH_a9496cbf7d134303ade7cdbc3522fe21/TestContainer-1455863011/TestObject-1052047476
2014-03-06 15:06:20,959 Request Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<Token omitted>'}
2014-03-06 15:06:20,959 Request Body: testtesttesttesttesttesttestte
2014-03-06 15:06:21,030 Response Status: 201
2014-03-06 15:06:21,030 Response Headers: {'content-length': '0', 'last-modified': 'Thu, 06 Mar 2014 15:06:21 GMT', 'connection': 'close', 'etag': 'd1828b5c4ec3bee4b1eb3025c1f7031f', 'x-trans-id': 'tx2ddd442cae714542950d4-0053188eec', 'date': 'Thu, 06 Mar 2014 15:06:21 GMT', 'content-type': 'text/html; charset=UTF-8'}
2014-03-06 15:06:21,031 Request: POST http://127.0.0.1:8080/v1/AUTH_a9496cbf7d134303ade7cdbc3522fe21
2014-03-06 15:06:21,032 Request Headers: {'X-Remove-Account-Meta-Quota-Bytes': 'x'}
2014-03-06 15:06:21,057 Response Status: 204
2014-03-06 15:06:21,057 Response Headers: {'content-length': '0', 'x-trans-id': 'txb601b244558e4c859d485-0053188eed', 'date': 'Thu, 06 Mar 2014 15:06:21 GMT', 'content-type': 'text/html; charset=UTF-8', 'connection': 'close'}
}}}

Traceback (most recent call last):
  File "tempest/test.py", line 173, in wrapper
    return func(*func_args, **func_kwargs)
  File "tempest/api/object_storage/test_account_quotas_negative.py", line 129, in test_upload_large_object
    self.container_name, object_name, data)
  File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 393, in assertRaises
    self.assertThat(our_callable, matcher)
  File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 406, in assertThat
    raise mismatch_error
MismatchError: <bound method ObjectClient.create_object of <tempest.services.object_storage.object_client.ObjectClient object at 0xb227110>> returned ({'status': '201', 'content-length': '0', 'last-modified': 'Thu, 06 Mar 2014 15:06:21 GMT', 'connection': 'close', 'etag': 'd1828b5c4ec3bee4b1eb3025c1f7031f', 'x-trans-id': 'tx2ddd442cae714542950d4-0053188eec', 'date': 'Thu, 06 Mar 2014 15:06:21 GMT', 'content-type': 'text/html; charset=UTF-8'}, '')

http://logs.openstack.org/79/71479/16/check/check-tempest-dsvm-postgres-full/309394e/logs/testr_results.html.gz

Changed in tempest:
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
Sean Dague (sdague) wrote :

I'm duping this to the new bug because I didn't realize this bug existed, and there is a much more completely analysis of the root cause in the new bug

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.