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

Bug 2176420

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 WONTFIX QA Contact: Martin Kopec <mkopec>
Severity: low Docs Contact:
Priority: low    
Version: 17.0 (Wallaby)CC: afazekas, apevec, lhh, mkopec, slinaber, udesale
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2125602
: 2176916 (view as bug list) Environment:
Last Closed: 2023-03-09 16:19:24 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-08 11:01:47 UTC
+++ 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.

Comment 1 Lukas Piwowarski 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.