Bug #49747
closedtempest: test_create_object_with_transfer_encoding fails
100%
Description
2021-03-10T18:42:03.765 INFO:teuthology.orchestra.run.gibba042.stdout:==============================
2021-03-10T18:42:03.766 INFO:teuthology.orchestra.run.gibba042.stdout:Failed 1 tests - output below:
2021-03-10T18:42:03.766 INFO:teuthology.orchestra.run.gibba042.stdout:==============================
2021-03-10T18:42:03.766 INFO:teuthology.orchestra.run.gibba042.stdout:
2021-03-10T18:42:03.766 INFO:teuthology.orchestra.run.gibba042.stdout:tempest.api.object_storage.test_object_services.ObjectTest.test_create_object_with_transfer_encoding[id-4f84422a-e2f2-4403-b601-726a4220b54e]
2021-03-10T18:42:03.767 INFO:teuthology.orchestra.run.gibba042.stdout:---------------------------------------------------------------------------------------------------------------------------------------------
2021-03-10T18:42:03.767 INFO:teuthology.orchestra.run.gibba042.stdout:
2021-03-10T18:42:03.767 INFO:teuthology.orchestra.run.gibba042.stdout:Captured traceback:
2021-03-10T18:42:03.767 INFO:teuthology.orchestra.run.gibba042.stdout:~~~~~~~~~~~~~~~~~~~
2021-03-10T18:42:03.767 INFO:teuthology.orchestra.run.gibba042.stdout: Traceback (most recent call last):
2021-03-10T18:42:03.768 INFO:teuthology.orchestra.run.gibba042.stdout:
2021-03-10T18:42:03.768 INFO:teuthology.orchestra.run.gibba042.stdout: File "/home/ubuntu/cephtest/tempest/tempest/api/object_storage/test_object_services.py", line 189, in test_create_object_with_transfer_encoding
2021-03-10T18:42:03.768 INFO:teuthology.orchestra.run.gibba042.stdout: resp, _ = self.object_client.create_object(
2021-03-10T18:42:03.768 INFO:teuthology.orchestra.run.gibba042.stdout:
2021-03-10T18:42:03.768 INFO:teuthology.orchestra.run.gibba042.stdout: File "/home/ubuntu/cephtest/tempest/tempest/lib/services/object_storage/object_client.py", line 41, in create_object
2021-03-10T18:42:03.769 INFO:teuthology.orchestra.run.gibba042.stdout: resp, body = self.put(url, data, headers, chunked=chunked)
2021-03-10T18:42:03.769 INFO:teuthology.orchestra.run.gibba042.stdout:
2021-03-10T18:42:03.769 INFO:teuthology.orchestra.run.gibba042.stdout: File "/home/ubuntu/cephtest/tempest/tempest/lib/common/rest_client.py", line 347, in put
2021-03-10T18:42:03.769 INFO:teuthology.orchestra.run.gibba042.stdout: return self.request('PUT', url, extra_headers, headers, body, chunked)
2021-03-10T18:42:03.769 INFO:teuthology.orchestra.run.gibba042.stdout:
2021-03-10T18:42:03.770 INFO:teuthology.orchestra.run.gibba042.stdout: File "/home/ubuntu/cephtest/tempest/tempest/lib/common/rest_client.py", line 687, in request
2021-03-10T18:42:03.770 INFO:teuthology.orchestra.run.gibba042.stdout: self._error_checker(resp, resp_body)
2021-03-10T18:42:03.770 INFO:teuthology.orchestra.run.gibba042.stdout:
2021-03-10T18:42:03.770 INFO:teuthology.orchestra.run.gibba042.stdout: File "/home/ubuntu/cephtest/tempest/tempest/lib/common/rest_client.py", line 798, in _error_checker
2021-03-10T18:42:03.771 INFO:teuthology.orchestra.run.gibba042.stdout: raise exceptions.BadRequest(resp_body, resp=resp)
2021-03-10T18:42:03.771 INFO:teuthology.orchestra.run.gibba042.stdout:
2021-03-10T18:42:03.771 INFO:teuthology.orchestra.run.gibba042.stdout: tempest.lib.exceptions.BadRequest: Bad request
fails on pacific too
CB Updated by Casey Bodley over 5 years ago
- Backport changed from pacific to pacific octopus nautilus
MB Updated by Matt Benjamin over 5 years ago
- Status changed from New to Triaged
- Assignee set to Marcus Watts
MW Updated by Marcus Watts over 5 years ago
So far I have failed to reproduce this problem - various banches on fedora, rhel8. Most of the teuthology reports where this is failing are ubuntu using the beast front-end, so I'll explore that combination next.
MW Updated by Marcus Watts over 5 years ago
I've managed to recreate this in several ubuntu focal environments with teuthology. So far it's looking very ubuntu specific.
MW Updated by Marcus Watts over 5 years ago
Problem appears to be with tempest. It sends "transfer-encoding: chunked" twice. The tempest test is also failing with swift itself and is now apparently disabled: see https://bugs.launchpad.net/tempest/+bug/1905432
I'm not sure why centos/rhel are exhibiting different behavior - it may be due to behavior inside of beast, possibly due to a different compiler, hash order, etc.
CB Updated by Casey Bodley over 5 years ago
@Marcus can you please try to resolve this upstream for teuthology?
if we just shouldn't be running this test, it can be filtered out with the blocklist here:
CB Updated by Casey Bodley over 5 years ago
- Status changed from Triaged to Fix Under Review
- Backport changed from pacific octopus nautilus to pacific octopus
- Pull request ID set to 42361
CB Updated by Casey Bodley over 5 years ago
- Status changed from Fix Under Review to Pending Backport
UB Updated by Upkeep Bot over 5 years ago
- Copied to Backport #51782: octopus: tempest: test_create_object_with_transfer_encoding fails added
UB Updated by Upkeep Bot over 5 years ago
- Copied to Backport #51783: pacific: tempest: test_create_object_with_transfer_encoding fails added
KS Updated by Konstantin Shalygin about 4 years ago
- Status changed from Pending Backport to Resolved
- % Done changed from 0 to 100
UB Updated by Upkeep Bot over 1 year ago
- Merge Commit set to 1acee2ab76fe04475c2c7d5ec65063b60fec9634
- Fixed In set to v17.0.0-6227-g1acee2ab76
- Released In set to v17.2.0~1403
- Upkeep Timestamp set to 2025-07-14T17:58:41+00:00