[Storage] replace artifactory with DataSource in test_golden_image#4095
Conversation
|
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
💡 Tips
For more information, please refer to the project documentation or contact the maintainers. |
|
/build-and-push-container |
|
New container for quay.io/openshift-cnv/openshift-virtualization-tests:pr-4095 published |
|
/verified |
Test execution plan request detailsCRITICAL: You MUST post an inline review comment on the first changed line of the first file. As an expert software testing engineer, analyze all modified files in this PR and create a targeted test execution plan. Analysis Requirements:
Your deliverable: Test Execution Plan
Guidelines:
Hardware-Related Checks (SR-IOV, GPU, DPDK): When PR modifies fixtures for hardware-specific resources:
CRITICAL WORKFLOW COMPLETION RULES: When responding to this test execution plan request, you MUST follow these rules EXACTLY:
ABSOLUTE PROHIBITIONS (violating these creates empty/meaningless reviews):
Remember: The pull request review is visible to users. Additional comments are redundant noise. CRITICAL: Before setting "Run smoke tests: True", you MUST use shell scripts to: |
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chain🏁 Script executed: Length of output: 3815 🏁 Script executed: Length of output: 3629 🏁 Script executed: Length of output: 1394 🏁 Script executed: Length of output: 532 🧠 Learnings used |
|
Manual cherry-pick is needed |
|
Manual cherry-pick is needed |
|
Manual cherry-pick is needed |
|
Manual cherry-pick is needed |
…edHatQE#4095) This PR replaces the use of the artifactory with the DataSource Fedora in tests/storage/golden_image/test_golden_image.py https://issues.redhat.com/browse/CNV-79290 There is another PR RedHatQE#3892 that contains changes used by this PR: - moving fedora_data_source_scope_module fixture from tests/storage/cdi_clone/conftest.py to tests/storage/conftest.py - adding a separate function get_dv_size_from_datasource to get the size from a DataSource (the function is placed in tests/storage/utils.py since it will be used both in tests/storage/golden_image/test_golden_image.py and tests/storage/restricted_namespace_cloning (RedHatQE#3892)) <!-- 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 storage tests to use dynamic data sources instead of hardcoded image URLs and sizes. * Added support for Fedora OS flavor in test fixtures alongside existing RHEL configurations. * Refactored golden image tests to use data source references for DataVolume creation, providing more flexible and maintainable test scenarios. * Improved test utility functions to support dynamic size extraction from data sources. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
…edHatQE#4095) This PR replaces the use of the artifactory with the DataSource Fedora in tests/storage/golden_image/test_golden_image.py https://issues.redhat.com/browse/CNV-79290 There is another PR RedHatQE#3892 that contains changes used by this PR: - moving fedora_data_source_scope_module fixture from tests/storage/cdi_clone/conftest.py to tests/storage/conftest.py - adding a separate function get_dv_size_from_datasource to get the size from a DataSource (the function is placed in tests/storage/utils.py since it will be used both in tests/storage/golden_image/test_golden_image.py and tests/storage/restricted_namespace_cloning (RedHatQE#3892)) <!-- 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 storage tests to use dynamic data sources instead of hardcoded image URLs and sizes. * Added support for Fedora OS flavor in test fixtures alongside existing RHEL configurations. * Refactored golden image tests to use data source references for DataVolume creation, providing more flexible and maintainable test scenarios. * Improved test utility functions to support dynamic size extraction from data sources. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
…age (#4145) ##### Short description: Manual cherry-pick: #4095 ##### More details: ##### What this PR does / why we need it: ##### Which issue(s) this PR fixes: ##### Special notes for reviewer: ##### jira-ticket: <!-- 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". -->
…ction (#4153) ##### Short description: ##### More details: DV size extraction has been moved to a function in scope of PR #4095 This PR replaces inline code with the dedicated function `get_dv_size_from_datasource`. https://github.com/RedHatQE/openshift-virtualization-tests/pull/4095/changes#r2891412338 ##### What this PR does / why we need it: ##### Which issue(s) this PR fixes: ##### Special notes for reviewer: ##### jira-ticket: <!-- 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 --> ## Summary by CodeRabbit * **Tests** * Updated tests to use a single shared helper for deriving data volume size, centralizing behavior across test suites. * **Refactor** * Storage utilities simplified to use the shared size helper and streamlined how storage class and size are determined. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
…ction (RedHatQE#4153) DV size extraction has been moved to a function in scope of PR RedHatQE#4095 This PR replaces inline code with the dedicated function `get_dv_size_from_datasource`. https://github.com/RedHatQE/openshift-virtualization-tests/pull/4095/changes#r2891412338 <!-- 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 tests to use a single shared helper for deriving data volume size, centralizing behavior across test suites. * **Refactor** * Storage utilities simplified to use the shared size helper and streamlined how storage class and size are determined. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
…ction (RedHatQE#4153) DV size extraction has been moved to a function in scope of PR RedHatQE#4095 This PR replaces inline code with the dedicated function `get_dv_size_from_datasource`. https://github.com/RedHatQE/openshift-virtualization-tests/pull/4095/changes#r2891412338 <!-- 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 tests to use a single shared helper for deriving data volume size, centralizing behavior across test suites. * **Refactor** * Storage utilities simplified to use the shared size helper and streamlined how storage class and size are determined. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
…ction (RedHatQE#4153) DV size extraction has been moved to a function in scope of PR RedHatQE#4095 This PR replaces inline code with the dedicated function `get_dv_size_from_datasource`. https://github.com/RedHatQE/openshift-virtualization-tests/pull/4095/changes#r2891412338 <!-- 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 tests to use a single shared helper for deriving data volume size, centralizing behavior across test suites. * **Refactor** * Storage utilities simplified to use the shared size helper and streamlined how storage class and size are determined. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
…ction (RedHatQE#4153) DV size extraction has been moved to a function in scope of PR RedHatQE#4095 This PR replaces inline code with the dedicated function `get_dv_size_from_datasource`. https://github.com/RedHatQE/openshift-virtualization-tests/pull/4095/changes#r2891412338 <!-- 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 tests to use a single shared helper for deriving data volume size, centralizing behavior across test suites. * **Refactor** * Storage utilities simplified to use the shared size helper and streamlined how storage class and size are determined. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
…ction (RedHatQE#4153) DV size extraction has been moved to a function in scope of PR RedHatQE#4095 This PR replaces inline code with the dedicated function `get_dv_size_from_datasource`. https://github.com/RedHatQE/openshift-virtualization-tests/pull/4095/changes#r2891412338 <!-- 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 tests to use a single shared helper for deriving data volume size, centralizing behavior across test suites. * **Refactor** * Storage utilities simplified to use the shared size helper and streamlined how storage class and size are determined. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
…ction (RedHatQE#4153) DV size extraction has been moved to a function in scope of PR RedHatQE#4095 This PR replaces inline code with the dedicated function `get_dv_size_from_datasource`. https://github.com/RedHatQE/openshift-virtualization-tests/pull/4095/changes#r2891412338 <!-- 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 tests to use a single shared helper for deriving data volume size, centralizing behavior across test suites. * **Refactor** * Storage utilities simplified to use the shared size helper and streamlined how storage class and size are determined. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
…ction (RedHatQE#4153) DV size extraction has been moved to a function in scope of PR RedHatQE#4095 This PR replaces inline code with the dedicated function `get_dv_size_from_datasource`. https://github.com/RedHatQE/openshift-virtualization-tests/pull/4095/changes#r2891412338 <!-- 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 tests to use a single shared helper for deriving data volume size, centralizing behavior across test suites. * **Refactor** * Storage utilities simplified to use the shared size helper and streamlined how storage class and size are determined. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
…edHatQE#4095) This PR replaces the use of the artifactory with the DataSource Fedora in tests/storage/golden_image/test_golden_image.py https://issues.redhat.com/browse/CNV-79290 There is another PR RedHatQE#3892 that contains changes used by this PR: - moving fedora_data_source_scope_module fixture from tests/storage/cdi_clone/conftest.py to tests/storage/conftest.py - adding a separate function get_dv_size_from_datasource to get the size from a DataSource (the function is placed in tests/storage/utils.py since it will be used both in tests/storage/golden_image/test_golden_image.py and tests/storage/restricted_namespace_cloning (RedHatQE#3892)) <!-- 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 storage tests to use dynamic data sources instead of hardcoded image URLs and sizes. * Added support for Fedora OS flavor in test fixtures alongside existing RHEL configurations. * Refactored golden image tests to use data source references for DataVolume creation, providing more flexible and maintainable test scenarios. * Improved test utility functions to support dynamic size extraction from data sources. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
…edHatQE#4095) This PR replaces the use of the artifactory with the DataSource Fedora in tests/storage/golden_image/test_golden_image.py https://issues.redhat.com/browse/CNV-79290 There is another PR RedHatQE#3892 that contains changes used by this PR: - moving fedora_data_source_scope_module fixture from tests/storage/cdi_clone/conftest.py to tests/storage/conftest.py - adding a separate function get_dv_size_from_datasource to get the size from a DataSource (the function is placed in tests/storage/utils.py since it will be used both in tests/storage/golden_image/test_golden_image.py and tests/storage/restricted_namespace_cloning (RedHatQE#3892)) <!-- 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 storage tests to use dynamic data sources instead of hardcoded image URLs and sizes. * Added support for Fedora OS flavor in test fixtures alongside existing RHEL configurations. * Refactored golden image tests to use data source references for DataVolume creation, providing more flexible and maintainable test scenarios. * Improved test utility functions to support dynamic size extraction from data sources. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
…edHatQE#4095) This PR replaces the use of the artifactory with the DataSource Fedora in tests/storage/golden_image/test_golden_image.py https://issues.redhat.com/browse/CNV-79290 There is another PR RedHatQE#3892 that contains changes used by this PR: - moving fedora_data_source_scope_module fixture from tests/storage/cdi_clone/conftest.py to tests/storage/conftest.py - adding a separate function get_dv_size_from_datasource to get the size from a DataSource (the function is placed in tests/storage/utils.py since it will be used both in tests/storage/golden_image/test_golden_image.py and tests/storage/restricted_namespace_cloning (RedHatQE#3892)) <!-- 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 storage tests to use dynamic data sources instead of hardcoded image URLs and sizes. * Added support for Fedora OS flavor in test fixtures alongside existing RHEL configurations. * Refactored golden image tests to use data source references for DataVolume creation, providing more flexible and maintainable test scenarios. * Improved test utility functions to support dynamic size extraction from data sources. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: Kate Shvaika <kshvaika@redhat.com>
…age (#4284) ##### Short description: Manual cherry-pick: #4095 ##### More details: ##### What this PR does / why we need it: ##### Which issue(s) this PR fixes: ##### Special notes for reviewer: ##### jira-ticket: <!-- 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". --> --------- Signed-off-by: Kate Shvaika <kshvaika@redhat.com>
…edHatQE#4095) This PR replaces the use of the artifactory with the DataSource Fedora in tests/storage/golden_image/test_golden_image.py https://issues.redhat.com/browse/CNV-79290 There is another PR RedHatQE#3892 that contains changes used by this PR: - moving fedora_data_source_scope_module fixture from tests/storage/cdi_clone/conftest.py to tests/storage/conftest.py - adding a separate function get_dv_size_from_datasource to get the size from a DataSource (the function is placed in tests/storage/utils.py since it will be used both in tests/storage/golden_image/test_golden_image.py and tests/storage/restricted_namespace_cloning (RedHatQE#3892)) <!-- 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 storage tests to use dynamic data sources instead of hardcoded image URLs and sizes. * Added support for Fedora OS flavor in test fixtures alongside existing RHEL configurations. * Refactored golden image tests to use data source references for DataVolume creation, providing more flexible and maintainable test scenarios. * Improved test utility functions to support dynamic size extraction from data sources. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
…edHatQE#4095) This PR replaces the use of the artifactory with the DataSource Fedora in tests/storage/golden_image/test_golden_image.py https://issues.redhat.com/browse/CNV-79290 There is another PR RedHatQE#3892 that contains changes used by this PR: - moving fedora_data_source_scope_module fixture from tests/storage/cdi_clone/conftest.py to tests/storage/conftest.py - adding a separate function get_dv_size_from_datasource to get the size from a DataSource (the function is placed in tests/storage/utils.py since it will be used both in tests/storage/golden_image/test_golden_image.py and tests/storage/restricted_namespace_cloning (RedHatQE#3892)) <!-- 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 storage tests to use dynamic data sources instead of hardcoded image URLs and sizes. * Added support for Fedora OS flavor in test fixtures alongside existing RHEL configurations. * Refactored golden image tests to use data source references for DataVolume creation, providing more flexible and maintainable test scenarios. * Improved test utility functions to support dynamic size extraction from data sources. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: Kate Shvaika <kshvaika@redhat.com>
…age (RedHatQE#4145) ##### Short description: Manual cherry-pick: RedHatQE#4095 ##### More details: ##### What this PR does / why we need it: ##### Which issue(s) this PR fixes: ##### Special notes for reviewer: ##### jira-ticket: <!-- 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". --> Signed-off-by: Adam Cinko <acinko@redhat.com>
Short description:
This PR replaces the use of the artifactory with the DataSource Fedora in tests/storage/golden_image/test_golden_image.py
https://issues.redhat.com/browse/CNV-79290
More details:
What this PR does / why we need it:
Which issue(s) this PR fixes:
Special notes for reviewer:
There is another PR #3892 that contains changes used by this PR:
jira-ticket:
Summary by CodeRabbit