Project

General

Profile

Actions

Bug #49747

closed

tempest: test_create_object_with_transfer_encoding fails

Added by Casey Bodley about 3 years ago. Updated over 1 year ago.

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

100%

Source:
Tags:
tempest
Backport:
pacific octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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 open2 closed)

Copied to rgw - Backport #51782: octopus: tempest: test_create_object_with_transfer_encoding failsResolvedCory SnyderActions
Copied to rgw - Backport #51783: pacific: tempest: test_create_object_with_transfer_encoding failsResolvedCory SnyderActions
Actions #2

Updated by Casey Bodley about 3 years ago

  • Backport changed from pacific to pacific octopus nautilus
Actions #3

Updated by Matt Benjamin about 3 years ago

  • Status changed from New to Triaged
  • Assignee set to Marcus Watts
Actions #4

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.

Actions #5

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.

Actions #6

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.

Actions #7

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

Actions #8

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

Updated by Casey Bodley almost 3 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #10

Updated by Backport Bot almost 3 years ago

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

Updated by Backport Bot almost 3 years ago

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

Updated by Backport Bot over 1 year ago

  • Tags changed from tempest to tempest backport_processed
Actions #13

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
Actions

Also available in: Atom PDF