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
Updated by Casey Bodley about 3 years ago
- Backport changed from pacific to pacific octopus nautilus
this is showing up in octopus too: http://qa-proxy.ceph.com/teuthology/yuriw-2021-03-13_22:01:53-rgw-wip-yuriw-octopus-15.2.10-distro-basic-smithi/5962643/teuthology.log
Updated by Matt Benjamin about 3 years ago
- Status changed from New to Triaged
- Assignee set to Marcus Watts
Updated by Marcus Watts almost 3 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.
Updated by Marcus Watts almost 3 years ago
I've managed to recreate this in several ubuntu focal environments with teuthology. So far it's looking very ubuntu specific.
Updated by Marcus Watts almost 3 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.
Updated by Casey Bodley almost 3 years ago
@Marcus Sorensen 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:
https://github.com/ceph/ceph/blob/master/qa/suites/rgw/tempest/tasks/rgw_tempest.yaml#L39-L46
Updated by Casey Bodley almost 3 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
Updated by Casey Bodley over 2 years ago
- Status changed from Fix Under Review to Pending Backport
Updated by Backport Bot over 2 years ago
- Copied to Backport #51782: octopus: tempest: test_create_object_with_transfer_encoding fails added
Updated by Backport Bot over 2 years ago
- Copied to Backport #51783: pacific: tempest: test_create_object_with_transfer_encoding fails added
Updated by Backport Bot over 1 year ago
- Tags changed from tempest to tempest backport_processed
Updated by Konstantin Shalygin over 1 year ago
- Status changed from Pending Backport to Resolved
- % Done changed from 0 to 100
- Tags changed from tempest backport_processed to tempest