Project

General

Profile

Actions

Bug #49747

closed
CB MW

tempest: test_create_object_with_transfer_encoding fails

Bug #49747: tempest: test_create_object_with_transfer_encoding fails

Added by Casey Bodley over 5 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
-
Due date:
% Done:

100%

Source:
Backport:
pacific octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v17.0.0-6227-g1acee2ab76
Released In:
v17.2.0~1403
Upkeep Timestamp:
2025-07-14T17:58:41+00:00

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

Related issues 2 (0 open — 2 closed)

Copied to rgw - Backport #51782: octopus: tempest: test_create_object_with_transfer_encoding failsResolvedCory Snyder

Actions
Copied to rgw - Backport #51783: pacific: tempest: test_create_object_with_transfer_encoding failsResolvedCory Snyder

Actions

MB Updated by Matt Benjamin over 5 years ago Actions #3

  • Status changed from New to Triaged
  • Assignee set to Marcus Watts

MW Updated by Marcus Watts over 5 years ago Actions #4

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 Actions #5

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 Actions #6

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 Actions #7

@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:

https://github.com/ceph/ceph/blob/master/qa/suites/rgw/tempest/tasks/rgw_tempest.yaml#L39-L46

CB Updated by Casey Bodley over 5 years ago Actions #8

  • 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 Actions #9

  • Status changed from Fix Under Review to Pending Backport

UB Updated by Upkeep Bot over 5 years ago Actions #10

  • Copied to Backport #51782: octopus: tempest: test_create_object_with_transfer_encoding fails added

UB Updated by Upkeep Bot over 5 years ago Actions #11

  • Copied to Backport #51783: pacific: tempest: test_create_object_with_transfer_encoding fails added

KS Updated by Konstantin Shalygin about 4 years ago Actions #13

  • Status changed from Pending Backport to Resolved
  • % Done changed from 0 to 100

UB Updated by Upkeep Bot over 1 year ago Actions #14

  • 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
Actions

Also available in: PDF Atom