Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2176916

Summary: test_container_sync.ContainerSyncTest.test_container_synchronization takes too long time
Product: Red Hat OpenStack Reporter: Lukas Piwowarski <lpiwowar>
Component: openstack-tempestAssignee: Lukas Piwowarski <lpiwowar>
Status: CLOSED ERRATA QA Contact: Martin Kopec <mkopec>
Severity: low Docs Contact:
Priority: low    
Version: 16.2 (Train)CC: afazekas, apevec, lhh, mkopec, slinaber, udesale
Target Milestone: z2Keywords: Triaged
Target Release: 16.2 (Train on RHEL 8.4)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tempest-26.1.0-2.20230310124952.271f820.el8ost Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: 2176420 Environment:
Last Closed: 2023-04-26 12:17:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2125602    
Bug Blocks:    

Description Lukas Piwowarski 2023-03-09 16:20:48 UTC
+++ This bug was initially created as a clone of Bug #2176420 +++

+++ This bug was initially created as a clone of Bug #2125602 +++

time stestr run  test_container_sync.ContainerSyncTest.test_container_synchronization
{0} tempest.api.object_storage.test_container_sync.ContainerSyncTest.test_container_synchronization ... SKIPPED: Marked as unstable and skipped because of bug: https://launchpad.net/bugs/1317133, failure was: !=:
reference = {'tempest-TestSyncObject-2051085311': {'bytes': 33,
                                       'content_type': 'application/json',
                                       'hash': '3f22a0f66f8aa0886871f5b872d7a366',
                                       'last_modified': '2022-09-09T12:11:30.043Z',
                                       'name': 'tempest-TestSyncObject-2051085311'}}
actual    = {'tempest-TestSyncObject-517842154': {'bytes': 32,
                                      'content_type': 'application/json',
                                      'hash': 'cdc7c879ad53c5bdb2edaa348d69fdd8',
                                      'last_modified': '2022-09-09T12:11:30.078Z',
                                      'name': 'tempest-TestSyncObject-517842154'}}
: Different object lists in containers.

======
Totals
======
Ran: 1 tests in 604.1696 sec.
 - Passed: 0
 - Skipped: 1
 - Expected Fail: 0
 - Unexpected Success: 0
 - Failed: 0
Sum of execute time for each test: 604.1696 sec.

==============
Worker Balance
==============
 - Worker 0 (1 tests) => 0:10:04.169599

real	10m14.738s
user	0m1.863s
sys	0m0.180s
 

End result is speeding 10 minutes, for a skipped test.

--- Additional comment from Lukas Piwowarski on 2023-03-08 10:59:39 UTC ---

The fix does exist in upstream (see link with ID 849801) and it is included in tags/33.0.0 meaning the bug is resolved for 17.1. Therefore I'm moving this bug to CLOSED. But we probably need to backport the fix also to 17.0 (and potentially to older releases) because of that I'm creating a clone of this bug for 17.0.

--- Additional comment from Lukas Piwowarski on 2023-03-09 16:19:24 UTC ---

I'm moving this to closed as there is no planned z-stream release for 17.0 and this is not a critical bug. The change will be backported to 16.2.

Comment 4 Martin Kopec 2023-03-28 12:58:03 UTC
The needed patch is part of the Fixed in version package. Marking as VERIFIED.

Comment 9 errata-xmlrpc 2023-04-26 12:17:48 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat OpenStack Platform 16.2.5 (Train) bug fix and enhancement advisory), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:1763