WIP: [4.20] Storage: replace artifactory with DataSource in restricted namespace cloning tests#3892#4286
Conversation
… cloning tests (RedHatQE#3892) This PR replaces the use of the artifactory Cirros image with the DataSource Fedora in tests/storage/restricted_namespace_cloning https://issues.redhat.com/browse/CNV-79291 The PR was assisted by Cursor AI <!-- full-ticket-url needs to be provided. This would add a link to the pull request to the jira and close it when the pull request is merged If the task is not tracked by a Jira ticket, just write "NONE". --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> * **Tests** * Updated test infrastructure for improved namespace cloning and multi-storage scenarios. * Standardized VM and data volume defaults to Fedora images/sizes for consistent VM testing. * Added permission-driven test setup to validate restricted VM access and get-only permissions. * Cleaned up test parameters and wiring for clearer, more maintainable storage and cloning tests. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
|
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 ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Report bugs in Issues Welcome! 🎉This pull request will be automatically processed with the following features: 🔄 Automatic Actions
📋 Available CommandsPR Status Management
Review & Approval
Testing & Validation
Container Operations
Cherry-pick Operations
Label Management
✅ Merge RequirementsThis PR will be automatically approved when the following conditions are met:
📊 Review ProcessApprovers and ReviewersApprovers:
Reviewers:
Available Labels
AI Features
💡 Tips
For more information, please refer to the project documentation or contact the maintainers. |
| dv_size = source_spec_dict.get("resources", {}).get("requests", {}).get("storage") or source_dict.get( | ||
| "status", {} | ||
| ).get("restoreSize") | ||
| # dv_size = get_dv_size_from_datasource(data_source=fedora_data_source_scope_module) |
|
/build-and-push-container |
|
New container for quay.io/openshift-cnv/openshift-virtualization-tests:pr-4286 published |
|
/wip |
##### Short description:
Manual cherry-pick: #3892
More details:
What this PR does / why we need it:
Which issue(s) this PR fixes:
Special notes for reviewer:
jira-ticket: