[DNM] parallel_group support test#3844
[DNM] parallel_group support test#3844Valkyrie00 wants to merge 3 commits intoopenstack-k8s-operators:mainfrom
Conversation
…t stages Stages sharing the same parallel_group value are applied simultaneously as independent Tempest CRs, leveraging the test-operator's inter-CR parallelism. The first CR creates shared resources (images, flavors) with a configurable pause before remaining CRs start, preventing race conditions. New files: - load-stage-vars.yml: extracted stage var loading (shared by both paths) - dispatch-stage.yml: routes stages to sequential or parallel execution - parallel_stages.yml: orchestrates parallel group lifecycle - build-parallel-cr.yml: builds a single CR reusing tempest-tests.yml - collect-parallel-logs.yml: collects logs from parallel CR PVCs - cleanup-parallel.yml: cleans up parallel CRs and log pods New defaults: - cifmw_test_operator_parallel_resource_wait (120s) - cifmw_test_operator_parallel_timeout (14400s) - cifmw_test_operator_parallel_resources (500m/512Mi req, 2cpu/2Gi limit) Backward compatible: stages without parallel_group work exactly as before. Made-with: Cursor
|
Skipping CI for Draft Pull Request. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/840f992f4ab24aa2b52765562a25ec6a ✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 20m 57s |
The base scenario's tempest workflow (multi-thread/single-thread steps) was being inherited by each parallel CR, causing all CRs to run the full test suite instead of their intended subset. Each parallel stage defines its own tests via top-level includeList/excludeList, so the workflow must be empty. Made-with: Cursor
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/7b6c857be59343f1a69b99af5a45d657 ✔️ openstack-k8s-operators-content-provider SUCCESS in 3h 46m 43s |
Log pods (busybox with sleep infinity) were left Running after copying logs from PVCs. Now each log pod is deleted immediately after its logs are copied and HTML reports generated. Made-with: Cursor
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/eaa0748a2a1a41be90eea1c21696520c ✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 26m 22s |
WIP