[Virt] Add suffix for s390x template names for Common templates tests#921
[Virt] Add suffix for s390x template names for Common templates tests#921jdao-rh wants to merge 9 commits intoRedHatQE:s390xfrom
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ## Walkthrough
Architecture-awareness is added to template list generation functions by introducing a required `cluster_arch` parameter. Template lists and names are adapted based on architecture, particularly for "s390x". The pytest fixture dynamically determines the node CPU architecture for accurate template expectations. A new constant `S390X` is added to CPU architecture constants.
## Changes
| File(s) | Change Summary |
|----------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| tests/virt/cluster/common_templates/general/test_base_template.py | Updated template list functions to accept `cluster_arch`, adapted template naming and filtering for "s390x" architecture, and modified pytest fixture to detect node CPU architecture dynamically and pass it to these functions. |
| utilities/constants.py | Added new CPU architecture constant `S390X = "s390x"` and `S390X_TEMPLATE_SUFFIX = "-s390x"` alongside existing constants. |
## Suggested labels
`verified`, `size/XS`, `can-be-merged`, `tox:verify-bugs-are-open:passed`, `lgtm-rnetser`, `approved-rnetser`
## Suggested reviewers
- vsibirsk
- dshchedr
- kbidarkar
- akri3iThanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
Report bugs in Issues The following are automatically added:
Available user actions:
PR will be approved when the following conditions are met:
Approvers and Reviewers
Supported /retest check runs
Supported labels
|
|
/build-and-push-container --build-arg OPENSHIFT_PYTHON_WRAPPER_COMMIT=06faf24b83a33dec0cd228b9b690a1d440f240f2 |
|
New container for quay.io/openshift-cnv/openshift-virtualization-tests:pr-921 published |
openshift-virtualization-qe-bot
left a comment
There was a problem hiding this comment.
D/S test tox -e verify-bugs-are-open failed: cnv-tests-tox-executor/14223
for more information, see https://pre-commit.ci
openshift-virtualization-qe-bot
left a comment
There was a problem hiding this comment.
D/S test tox -e verify-bugs-are-open failed: cnv-tests-tox-executor/14226
openshift-virtualization-qe-bot
left a comment
There was a problem hiding this comment.
D/S test tox -e verify-bugs-are-open failed: cnv-tests-tox-executor/14227
|
This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
|
This PR was closed because it has not been updated in past 30 days. |
Short description:
Adds support of test on s390x by adding correct template names for
virt/cluster/commontemplate/generaltestsMore details:
What this PR does / why we need it:
Allows virt/cluster/commontemplate/general to be run against s390x arch
Which issue(s) this PR fixes:
Special notes for reviewer:
jira-ticket:
Summary by CodeRabbit