Skip to content

[test_operator] Fix test_operator_results overwrite for multi-stage runs#3976

Open
srac0 wants to merge 1 commit into
openstack-k8s-operators:mainfrom
srac0:fix-tempest-operator-results
Open

[test_operator] Fix test_operator_results overwrite for multi-stage runs#3976
srac0 wants to merge 1 commit into
openstack-k8s-operators:mainfrom
srac0:fix-tempest-operator-results

Conversation

@srac0
Copy link
Copy Markdown
Contributor

@srac0 srac0 commented Jun 3, 2026

When cifmw_test_operator_stages contains multiple stages of the same type, the results dict key was just the framework name. Each stage overwrote the previous result, so a failing middle stage was silently masked if the final stage succeeded.

Include the stage name in the dict key so each stage gets its own entry. The assert at the end of main.yml iterates dict2items, so it checks all entries without further changes.

When cifmw_test_operator_stages contains multiple stages of the same
type, the results dict key was just the framework name. Each stage
overwrote the previous result, so a failing middle stage was silently
masked if the final stage succeeded.

Include the stage name in the dict key so each stage gets its own
entry. The assert at the end of main.yml iterates dict2items, so it
checks all entries without further changes.

Signed-off-by: Samuel Rac <srac@redhat.com>
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Jun 3, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign sauragar for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant