Bug 1859701 - Tempest object storage test failed
Summary: Tempest object storage test failed
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tempest
Version: 16.1 (Train)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 16.2 (Train on RHEL 8.4)
Assignee: Chandan Kumar
QA Contact: Martin Kopec
URL:
Whiteboard:
Depends On: 1852271
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-22 17:47 UTC by Martin Kopec
Modified: 2021-01-18 14:19 UTC (History)
8 users (show)

Fixed In Version: openstack-tempest-25.0.0-2.20201221100752.c8d7a01.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1852271
Environment:
Last Closed: 2021-01-18 14:19:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1885723 0 None None None 2020-07-22 17:49:52 UTC
OpenStack gerrit 738629 0 None MERGED Remove checking of Accept-Range header 2021-01-18 13:28:37 UTC

Description Martin Kopec 2020-07-22 17:47:22 UTC
+++ This bug was initially created as a clone of Bug #1852271 +++

Description of problem:

Tempest object storage test failed [1]  with error " testtools.matchers._impl.MismatchError: accept-ranges header does not exist" [2]

[1]
[root@cd56067f656f tempest]# grep -i failed /out/tempest.log
{0} tempest.api.object_storage.test_account_services.AccountTest.test_list_containers [0.774807s] ... FAILED


Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "/usr/lib/python2.7/site-packages/tempest/api/object_storage/test_account_services.py", line 59, in test_list_containers
        self.assertHeaders(resp, 'Account', 'GET')
      File "/usr/lib/python2.7/site-packages/tempest/api/object_storage/base.py", line 145, in assertHeaders
        target, method, self.policies))
      File "/usr/lib/python2.7/site-packages/testtools/testcase.py", line 435, in assertThat
        raise mismatch_error
    testtools.matchers._impl.MismatchError: accept-ranges header does not exist


Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
Please check the trailing comments.

Actual results:

Tempest test is getting failed for "tempest.api.object_storage.test_account_services.AccountTest.test_list_containers"

Expected results:

Tempest test should get cleared.


Additional info:

~~~
[object-storage]
 operator_role = admin 
# operator_role = Member
reseller_admin_role = ResellerAdmin
~~~


Is this related to https://bugzilla.redhat.com/show_bug.cgi?id=1252600  ?

Comment 1 Martin Kopec 2020-11-11 11:10:58 UTC
It is fixed in tempest 25

Comment 2 Martin Kopec 2021-01-18 14:19:51 UTC
The fix (tempest version 25) got included in RHOS-16.2-RHEL-8-20201014.n.3 puddle and is present since.


Note You need to log in before you can comment on or make changes to this bug.