Bug 2193405 - Splitting member API tests in 2 classes
Summary: Splitting member API tests in 2 classes
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-octavia-tests-tempest
Version: 17.1 (Wallaby)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: beta
: 17.1
Assignee: Lukas Piwowarski
QA Contact: Martin Kopec
Greg Rakauskas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-05 14:44 UTC by Lukas Piwowarski
Modified: 2023-08-16 01:15 UTC (History)
3 users (show)

Fixed In Version: python-octavia-tests-tempest-1.9.0-1.20230509101016.a3a95b1.el9ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-16 01:15:20 UTC
Target Upstream Version:
Embargoed:
lpiwowar: needinfo+


Attachments (Terms of Use)
octavia_workers (82.04 KB, image/png)
2023-05-05 14:44 UTC, Lukas Piwowarski
no flags Details


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 828963 0 None MERGED Spliting member API tests in 2 classes 2023-05-05 14:44:31 UTC
Red Hat Issue Tracker OSP-24810 0 None None None 2023-05-05 14:46:56 UTC
Red Hat Product Errata RHEA-2023:4577 0 None None None 2023-08-16 01:15:38 UTC

Description Lukas Piwowarski 2023-05-05 14:44:32 UTC
Created attachment 1962580 [details]
octavia_workers

This change should be backported [1] as it can speed up the test execution. In some cases, the MemperAPITest tests occupy one worker for 1 hour while the rest of the tests were finished by other workers (see attached picture -- octavia_workers). 

Splitting member API tests in 2 classes

Split MemberAPITest class into MemberAPITest1 and MemberAPITest2
classes. MemberAPITest contained 240 test funtions and it took 1h45 in
the octavia-v2-dsvm-noop-api job to run those functions sequentially.
By spliting this class, the load now spread on 2 workers and it reduces
the duration of the noop-api jobs, avoiding frequent timeout issues.

[1] https://review.opendev.org/c/openstack/octavia-tempest-plugin/+/828963

Comment 1 Lukas Piwowarski 2023-05-05 14:52:44 UTC
I'm moving this to POST as the change in upstream is merged and the change in downstream is proposed.

Comment 7 Martin Kopec 2023-06-02 13:38:51 UTC
The 'Fixed in version' build contains the required patch -> moving to VERIFIED.

Comment 15 errata-xmlrpc 2023-08-16 01:15:20 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 (Release of components for Red Hat OpenStack Platform 17.1 (Wallaby)), 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/RHEA-2023:4577


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