test_create_object_with_transfer_encoding is failing on tripleo jobs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Critical
|
Unassigned |
Bug Description
He is the history of this test: This test never ran before, it was always being skipped. Recently it seems this test was running fine (according upstream) and so it was unskipped on tempest commit https:/
Here is the output of the failure:
ft1.13: tempest.
2022-07-26 12:52:03,255 210485 INFO [tempest.
2022-07-26 12:52:03,255 210485 DEBUG [tempest.
Body: <generator object chunkify at 0x7fac8c328270>
Response - Headers: {'content-type': 'text/plain', 'content-length': '78', 'x-trans-id': 'tx4cfa0f2d87f2
Body: b'Unsupported Transfer-Coding header value specified in Transfer-Encoding header'
}}}
Traceback (most recent call last):
File "/usr/lib/
resp, _ = self.object_
File "/usr/lib/
resp, body = self.put(url, data, headers, chunked=chunked)
File "/usr/lib/
return self.request('PUT', url, extra_headers, headers, body, chunked)
File "/usr/lib/
self.
File "/usr/lib/
raise exceptions.
tempest.
Details: b'Unsupported Transfer-Coding header value specified in Transfer-Encoding header'
Basically opening the bug to track down and also to add this particular test on the skiplist
Changed in tripleo: | |
status: | Triaged → Fix Released |
The error makes no sense from the logs we have. It would only raised in this place in the code: https:/ /github. com/openstack/ swift/blob/ master/ swift/common/ swob.py# L866-L875
As you can see, this would only be the case if the transfer-encoding header contains a comma-separated list of strings. However, Tempest only sends a single string: https:/ /github. com/openstack/ tempest/ blob/master/ tempest/ api/object_ storage/ test_object_ services. py#L189- L195
This is also seen in the logs: /logserver. rdoproject. org/63/ 44163/1/ check/periodic- tripleo- ci-centos- 9-standalone- full-tempest- api-tempest- master/ 5a1376b/ logs/undercloud /home/zuul/ tempest/ tempest. log.txt. gz lib.common. rest_client [tx4cfa0f2d87f2 4ba4a70fa- 0062dfe373 tx4cfa0f2d87f24 ba4a70fa- 0062dfe373 ] Request - Headers: {'Transfer- Encoding' : 'chunked', 'X-Auth-Token': '<omitted>'}
https:/
2022-07-26 12:52:03.255 210485 DEBUG tempest.
What happened inbetween, not visible in the logs?