Change RHEL Image name into test_import_http.py#1215
Conversation
|
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
|
|
""" WalkthroughThe test function Changes
Possibly related PRs
Suggested labels
Suggested reviewers
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
💤 Files with no reviewable changes (1)
⏰ Context from checks skipped due to timeout of 90000ms (4)
✨ Finishing Touches
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. 🪧 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 (
|
|
/verified |
|
/approve |
|
/approve |
|
New container for quay.io/openshift-cnv/openshift-virtualization-tests:latest published |
|
/cherry-pick cnv-4.18 |
|
Manual cherry-pick is needed |
* Change RHEL Image name into test_import_http.py * Fix naming into image. * Remove unused RHEL constant
* Change RHEL Image name into test_import_http.py (#1215) * Change RHEL Image name into test_import_http.py * Fix naming into image. * Remove unused RHEL constant * Cherry-pick cleanup * Cleanup cherry-pick * Remove unused rhel image into utilities/constants.py
* Change RHEL Image name into test_import_http.py * Fix naming into image. * Remove unused RHEL constant
* Refactor arch s390x branch (#1199) * feat: refactor image architectures * fix versions and refactor functio location * get os from py_config only if exists * add missing file * fix tox and use global_config_x86.py * add todo on cirros s390x class * catch AttributeError it not set * catch AttributeError it not set * catch AttributeError it not set * update get_test_images_arch_class to upper * address comments and refactor archs * Move base images to data classes * add markers to pytest.ini * address comments * address review comments * add to tox * fix tox * update markers description * address comments * fix dataclasses * add OS_VERSION_STR to all * add docstrings * fix pre-commit * fix missing matrix flows * update gcp ini file * fix windows dir * fix dir assignment * update readme * re-add removed test * Replace hardcoded image size (#1207) * feat: mark some s390x compute tests as working (#1202) Signed-off-by: Nestor Acuna Blanco <nestor.acuna@ibm.com> * Update http server (#1222) * test: enable more tests for s390x (#1221) - test_vmi_annotations - test_deprecated_apis_in_audit_logs Signed-off-by: Nestor Acuna Blanco <nestor.acuna@ibm.com> * Fix TestVmiNetworkMetricsLinux tests flakiness (#1188) Fixing the tests that failed under TestVmiNetworkMetricsLinux. * Update test_vhostmd.py to use file based on architecture (#1170) Signed-off-by: Roni Kishner<rkishner@redhat.com> * Change RHEL Image name into test_import_http.py (#1215) * Change RHEL Image name into test_import_http.py * Fix naming into image. * Remove unused RHEL constant * network tests: add hardware markers wherever there is special_infra (#1191) We strive to remove special_infra marker for all tests, this PR adds the use of available network hardware markers wherever there is a special_infra marker and guarantees an interchangeability. New markers are not needed in this case, we already have sriov and jumbo_frame. jira-ticket: https://issues.redhat.com/browse/CNV-62769 Signed-off-by: Sergei Volkov <sevolkov@redhat.com> * [Chaos] Fix test_ceph_storage_outage timeout failure (#1208) In ODF 4.18, the csi-rbdplugin-provisioner Deployment managed RBD volume provisioning. In ODF 4.19, this component was replaced by openshift-storage.rbd.csi.ceph.com-ctrlplugin, \ which follows a standardized naming convention for CSI drivers. The new controller cannot be scaled down to 0 (it is immediately recreated by the Operator). This makes the previous testing approach (disabling the provisioner to simulate outages) no longer viable. To validate storage resilience, we now target other ODF components for disruption, such as: ceph-csi-controller-manager and odf-operator-controller-manager. Components like rook-ceph-operator, ocs-operator, and rook-ceph-osd are not retested here.\ (Their failure modes are already covered in test_migration.py). Signed-off-by: Qixuan Wang <qwang@redhat.com> * Storage: tests for storage migration of VM with hotplugged volume (#1160) * Storage: tests for storage migration of VM with hotplugged volume * address comments, add client, use ssh instead of console * Split test - verify hotplugged disk data * Fix fixture calls after test split * resolve conflicts * fix tox * use cluster arch * use resouece const * remove unused file * remove architecture leftovers * add centos support * add s390x marker on more tests * rename s390x fedora image name * address review comments * ause only one global_config * use only global config * fix leftovers in global configs * add missing check in tox * update how we extract latest instance type from os * update readme * fix instance type for arm * use const for windows * remove removed rhal versions * use X86_64 * add constants --------- Signed-off-by: Nestor Acuna Blanco <nestor.acuna@ibm.com> Signed-off-by: Roni Kishner<rkishner@redhat.com> Signed-off-by: Sergei Volkov <sevolkov@redhat.com> Signed-off-by: Qixuan Wang <qwang@redhat.com> Co-authored-by: Kirk Crane <kcrane@redhat.com> Co-authored-by: Nestor Acuna Blanco <37973744+nestoracunablanco@users.noreply.github.com> Co-authored-by: Ohad Revah <orevah@redhat.com> Co-authored-by: Roni Kishner <87259550+RoniKishner@users.noreply.github.com> Co-authored-by: Jose Manuel Castano <73908807+josemacassan@users.noreply.github.com> Co-authored-by: Sergei Volkov <153028767+servolkov@users.noreply.github.com> Co-authored-by: Qixuan Wang <qwang@redhat.com> Co-authored-by: Jenia Peimer <86722603+jpeimer@users.noreply.github.com>
* Refactor arch s390x branch (RedHatQE#1199) * feat: refactor image architectures * fix versions and refactor functio location * get os from py_config only if exists * add missing file * fix tox and use global_config_x86.py * add todo on cirros s390x class * catch AttributeError it not set * catch AttributeError it not set * catch AttributeError it not set * update get_test_images_arch_class to upper * address comments and refactor archs * Move base images to data classes * add markers to pytest.ini * address comments * address review comments * add to tox * fix tox * update markers description * address comments * fix dataclasses * add OS_VERSION_STR to all * add docstrings * fix pre-commit * fix missing matrix flows * update gcp ini file * fix windows dir * fix dir assignment * update readme * re-add removed test * Replace hardcoded image size (RedHatQE#1207) * feat: mark some s390x compute tests as working (RedHatQE#1202) Signed-off-by: Nestor Acuna Blanco <nestor.acuna@ibm.com> * Update http server (RedHatQE#1222) * test: enable more tests for s390x (RedHatQE#1221) - test_vmi_annotations - test_deprecated_apis_in_audit_logs Signed-off-by: Nestor Acuna Blanco <nestor.acuna@ibm.com> * Fix TestVmiNetworkMetricsLinux tests flakiness (RedHatQE#1188) Fixing the tests that failed under TestVmiNetworkMetricsLinux. * Update test_vhostmd.py to use file based on architecture (RedHatQE#1170) Signed-off-by: Roni Kishner<rkishner@redhat.com> * Change RHEL Image name into test_import_http.py (RedHatQE#1215) * Change RHEL Image name into test_import_http.py * Fix naming into image. * Remove unused RHEL constant * network tests: add hardware markers wherever there is special_infra (RedHatQE#1191) We strive to remove special_infra marker for all tests, this PR adds the use of available network hardware markers wherever there is a special_infra marker and guarantees an interchangeability. New markers are not needed in this case, we already have sriov and jumbo_frame. jira-ticket: https://issues.redhat.com/browse/CNV-62769 Signed-off-by: Sergei Volkov <sevolkov@redhat.com> * [Chaos] Fix test_ceph_storage_outage timeout failure (RedHatQE#1208) In ODF 4.18, the csi-rbdplugin-provisioner Deployment managed RBD volume provisioning. In ODF 4.19, this component was replaced by openshift-storage.rbd.csi.ceph.com-ctrlplugin, \ which follows a standardized naming convention for CSI drivers. The new controller cannot be scaled down to 0 (it is immediately recreated by the Operator). This makes the previous testing approach (disabling the provisioner to simulate outages) no longer viable. To validate storage resilience, we now target other ODF components for disruption, such as: ceph-csi-controller-manager and odf-operator-controller-manager. Components like rook-ceph-operator, ocs-operator, and rook-ceph-osd are not retested here.\ (Their failure modes are already covered in test_migration.py). Signed-off-by: Qixuan Wang <qwang@redhat.com> * Storage: tests for storage migration of VM with hotplugged volume (RedHatQE#1160) * Storage: tests for storage migration of VM with hotplugged volume * address comments, add client, use ssh instead of console * Split test - verify hotplugged disk data * Fix fixture calls after test split * resolve conflicts * fix tox * use cluster arch * use resouece const * remove unused file * remove architecture leftovers * add centos support * add s390x marker on more tests * rename s390x fedora image name * address review comments * ause only one global_config * use only global config * fix leftovers in global configs * add missing check in tox * update how we extract latest instance type from os * update readme * fix instance type for arm * use const for windows * remove removed rhal versions * use X86_64 * add constants --------- Signed-off-by: Nestor Acuna Blanco <nestor.acuna@ibm.com> Signed-off-by: Roni Kishner<rkishner@redhat.com> Signed-off-by: Sergei Volkov <sevolkov@redhat.com> Signed-off-by: Qixuan Wang <qwang@redhat.com> Co-authored-by: Kirk Crane <kcrane@redhat.com> Co-authored-by: Nestor Acuna Blanco <37973744+nestoracunablanco@users.noreply.github.com> Co-authored-by: Ohad Revah <orevah@redhat.com> Co-authored-by: Roni Kishner <87259550+RoniKishner@users.noreply.github.com> Co-authored-by: Jose Manuel Castano <73908807+josemacassan@users.noreply.github.com> Co-authored-by: Sergei Volkov <153028767+servolkov@users.noreply.github.com> Co-authored-by: Qixuan Wang <qwang@redhat.com> Co-authored-by: Jenia Peimer <86722603+jpeimer@users.noreply.github.com>
* Change RHEL Image name into test_import_http.py * Fix naming into image. * Remove unused RHEL constant
* Refactor arch s390x branch (RedHatQE#1199) * feat: refactor image architectures * fix versions and refactor functio location * get os from py_config only if exists * add missing file * fix tox and use global_config_x86.py * add todo on cirros s390x class * catch AttributeError it not set * catch AttributeError it not set * catch AttributeError it not set * update get_test_images_arch_class to upper * address comments and refactor archs * Move base images to data classes * add markers to pytest.ini * address comments * address review comments * add to tox * fix tox * update markers description * address comments * fix dataclasses * add OS_VERSION_STR to all * add docstrings * fix pre-commit * fix missing matrix flows * update gcp ini file * fix windows dir * fix dir assignment * update readme * re-add removed test * Replace hardcoded image size (RedHatQE#1207) * feat: mark some s390x compute tests as working (RedHatQE#1202) Signed-off-by: Nestor Acuna Blanco <nestor.acuna@ibm.com> * Update http server (RedHatQE#1222) * test: enable more tests for s390x (RedHatQE#1221) - test_vmi_annotations - test_deprecated_apis_in_audit_logs Signed-off-by: Nestor Acuna Blanco <nestor.acuna@ibm.com> * Fix TestVmiNetworkMetricsLinux tests flakiness (RedHatQE#1188) Fixing the tests that failed under TestVmiNetworkMetricsLinux. * Update test_vhostmd.py to use file based on architecture (RedHatQE#1170) Signed-off-by: Roni Kishner<rkishner@redhat.com> * Change RHEL Image name into test_import_http.py (RedHatQE#1215) * Change RHEL Image name into test_import_http.py * Fix naming into image. * Remove unused RHEL constant * network tests: add hardware markers wherever there is special_infra (RedHatQE#1191) We strive to remove special_infra marker for all tests, this PR adds the use of available network hardware markers wherever there is a special_infra marker and guarantees an interchangeability. New markers are not needed in this case, we already have sriov and jumbo_frame. jira-ticket: https://issues.redhat.com/browse/CNV-62769 Signed-off-by: Sergei Volkov <sevolkov@redhat.com> * [Chaos] Fix test_ceph_storage_outage timeout failure (RedHatQE#1208) In ODF 4.18, the csi-rbdplugin-provisioner Deployment managed RBD volume provisioning. In ODF 4.19, this component was replaced by openshift-storage.rbd.csi.ceph.com-ctrlplugin, \ which follows a standardized naming convention for CSI drivers. The new controller cannot be scaled down to 0 (it is immediately recreated by the Operator). This makes the previous testing approach (disabling the provisioner to simulate outages) no longer viable. To validate storage resilience, we now target other ODF components for disruption, such as: ceph-csi-controller-manager and odf-operator-controller-manager. Components like rook-ceph-operator, ocs-operator, and rook-ceph-osd are not retested here.\ (Their failure modes are already covered in test_migration.py). Signed-off-by: Qixuan Wang <qwang@redhat.com> * Storage: tests for storage migration of VM with hotplugged volume (RedHatQE#1160) * Storage: tests for storage migration of VM with hotplugged volume * address comments, add client, use ssh instead of console * Split test - verify hotplugged disk data * Fix fixture calls after test split * resolve conflicts * fix tox * use cluster arch * use resouece const * remove unused file * remove architecture leftovers * add centos support * add s390x marker on more tests * rename s390x fedora image name * address review comments * ause only one global_config * use only global config * fix leftovers in global configs * add missing check in tox * update how we extract latest instance type from os * update readme * fix instance type for arm * use const for windows * remove removed rhal versions * use X86_64 * add constants --------- Signed-off-by: Nestor Acuna Blanco <nestor.acuna@ibm.com> Signed-off-by: Roni Kishner<rkishner@redhat.com> Signed-off-by: Sergei Volkov <sevolkov@redhat.com> Signed-off-by: Qixuan Wang <qwang@redhat.com> Co-authored-by: Kirk Crane <kcrane@redhat.com> Co-authored-by: Nestor Acuna Blanco <37973744+nestoracunablanco@users.noreply.github.com> Co-authored-by: Ohad Revah <orevah@redhat.com> Co-authored-by: Roni Kishner <87259550+RoniKishner@users.noreply.github.com> Co-authored-by: Jose Manuel Castano <73908807+josemacassan@users.noreply.github.com> Co-authored-by: Sergei Volkov <153028767+servolkov@users.noreply.github.com> Co-authored-by: Qixuan Wang <qwang@redhat.com> Co-authored-by: Jenia Peimer <86722603+jpeimer@users.noreply.github.com>
* Change RHEL Image name into test_import_http.py * Fix naming into image. * Remove unused RHEL constant
* Refactor arch s390x branch (RedHatQE#1199) * feat: refactor image architectures * fix versions and refactor functio location * get os from py_config only if exists * add missing file * fix tox and use global_config_x86.py * add todo on cirros s390x class * catch AttributeError it not set * catch AttributeError it not set * catch AttributeError it not set * update get_test_images_arch_class to upper * address comments and refactor archs * Move base images to data classes * add markers to pytest.ini * address comments * address review comments * add to tox * fix tox * update markers description * address comments * fix dataclasses * add OS_VERSION_STR to all * add docstrings * fix pre-commit * fix missing matrix flows * update gcp ini file * fix windows dir * fix dir assignment * update readme * re-add removed test * Replace hardcoded image size (RedHatQE#1207) * feat: mark some s390x compute tests as working (RedHatQE#1202) Signed-off-by: Nestor Acuna Blanco <nestor.acuna@ibm.com> * Update http server (RedHatQE#1222) * test: enable more tests for s390x (RedHatQE#1221) - test_vmi_annotations - test_deprecated_apis_in_audit_logs Signed-off-by: Nestor Acuna Blanco <nestor.acuna@ibm.com> * Fix TestVmiNetworkMetricsLinux tests flakiness (RedHatQE#1188) Fixing the tests that failed under TestVmiNetworkMetricsLinux. * Update test_vhostmd.py to use file based on architecture (RedHatQE#1170) Signed-off-by: Roni Kishner<rkishner@redhat.com> * Change RHEL Image name into test_import_http.py (RedHatQE#1215) * Change RHEL Image name into test_import_http.py * Fix naming into image. * Remove unused RHEL constant * network tests: add hardware markers wherever there is special_infra (RedHatQE#1191) We strive to remove special_infra marker for all tests, this PR adds the use of available network hardware markers wherever there is a special_infra marker and guarantees an interchangeability. New markers are not needed in this case, we already have sriov and jumbo_frame. jira-ticket: https://issues.redhat.com/browse/CNV-62769 Signed-off-by: Sergei Volkov <sevolkov@redhat.com> * [Chaos] Fix test_ceph_storage_outage timeout failure (RedHatQE#1208) In ODF 4.18, the csi-rbdplugin-provisioner Deployment managed RBD volume provisioning. In ODF 4.19, this component was replaced by openshift-storage.rbd.csi.ceph.com-ctrlplugin, \ which follows a standardized naming convention for CSI drivers. The new controller cannot be scaled down to 0 (it is immediately recreated by the Operator). This makes the previous testing approach (disabling the provisioner to simulate outages) no longer viable. To validate storage resilience, we now target other ODF components for disruption, such as: ceph-csi-controller-manager and odf-operator-controller-manager. Components like rook-ceph-operator, ocs-operator, and rook-ceph-osd are not retested here.\ (Their failure modes are already covered in test_migration.py). Signed-off-by: Qixuan Wang <qwang@redhat.com> * Storage: tests for storage migration of VM with hotplugged volume (RedHatQE#1160) * Storage: tests for storage migration of VM with hotplugged volume * address comments, add client, use ssh instead of console * Split test - verify hotplugged disk data * Fix fixture calls after test split * resolve conflicts * fix tox * use cluster arch * use resouece const * remove unused file * remove architecture leftovers * add centos support * add s390x marker on more tests * rename s390x fedora image name * address review comments * ause only one global_config * use only global config * fix leftovers in global configs * add missing check in tox * update how we extract latest instance type from os * update readme * fix instance type for arm * use const for windows * remove removed rhal versions * use X86_64 * add constants --------- Signed-off-by: Nestor Acuna Blanco <nestor.acuna@ibm.com> Signed-off-by: Roni Kishner<rkishner@redhat.com> Signed-off-by: Sergei Volkov <sevolkov@redhat.com> Signed-off-by: Qixuan Wang <qwang@redhat.com> Co-authored-by: Kirk Crane <kcrane@redhat.com> Co-authored-by: Nestor Acuna Blanco <37973744+nestoracunablanco@users.noreply.github.com> Co-authored-by: Ohad Revah <orevah@redhat.com> Co-authored-by: Roni Kishner <87259550+RoniKishner@users.noreply.github.com> Co-authored-by: Jose Manuel Castano <73908807+josemacassan@users.noreply.github.com> Co-authored-by: Sergei Volkov <153028767+servolkov@users.noreply.github.com> Co-authored-by: Qixuan Wang <qwang@redhat.com> Co-authored-by: Jenia Peimer <86722603+jpeimer@users.noreply.github.com>
* Change RHEL Image name into test_import_http.py * Fix naming into image. * Remove unused RHEL constant
* Refactor arch s390x branch (RedHatQE#1199) * feat: refactor image architectures * fix versions and refactor functio location * get os from py_config only if exists * add missing file * fix tox and use global_config_x86.py * add todo on cirros s390x class * catch AttributeError it not set * catch AttributeError it not set * catch AttributeError it not set * update get_test_images_arch_class to upper * address comments and refactor archs * Move base images to data classes * add markers to pytest.ini * address comments * address review comments * add to tox * fix tox * update markers description * address comments * fix dataclasses * add OS_VERSION_STR to all * add docstrings * fix pre-commit * fix missing matrix flows * update gcp ini file * fix windows dir * fix dir assignment * update readme * re-add removed test * Replace hardcoded image size (RedHatQE#1207) * feat: mark some s390x compute tests as working (RedHatQE#1202) Signed-off-by: Nestor Acuna Blanco <nestor.acuna@ibm.com> * Update http server (RedHatQE#1222) * test: enable more tests for s390x (RedHatQE#1221) - test_vmi_annotations - test_deprecated_apis_in_audit_logs Signed-off-by: Nestor Acuna Blanco <nestor.acuna@ibm.com> * Fix TestVmiNetworkMetricsLinux tests flakiness (RedHatQE#1188) Fixing the tests that failed under TestVmiNetworkMetricsLinux. * Update test_vhostmd.py to use file based on architecture (RedHatQE#1170) Signed-off-by: Roni Kishner<rkishner@redhat.com> * Change RHEL Image name into test_import_http.py (RedHatQE#1215) * Change RHEL Image name into test_import_http.py * Fix naming into image. * Remove unused RHEL constant * network tests: add hardware markers wherever there is special_infra (RedHatQE#1191) We strive to remove special_infra marker for all tests, this PR adds the use of available network hardware markers wherever there is a special_infra marker and guarantees an interchangeability. New markers are not needed in this case, we already have sriov and jumbo_frame. jira-ticket: https://issues.redhat.com/browse/CNV-62769 Signed-off-by: Sergei Volkov <sevolkov@redhat.com> * [Chaos] Fix test_ceph_storage_outage timeout failure (RedHatQE#1208) In ODF 4.18, the csi-rbdplugin-provisioner Deployment managed RBD volume provisioning. In ODF 4.19, this component was replaced by openshift-storage.rbd.csi.ceph.com-ctrlplugin, \ which follows a standardized naming convention for CSI drivers. The new controller cannot be scaled down to 0 (it is immediately recreated by the Operator). This makes the previous testing approach (disabling the provisioner to simulate outages) no longer viable. To validate storage resilience, we now target other ODF components for disruption, such as: ceph-csi-controller-manager and odf-operator-controller-manager. Components like rook-ceph-operator, ocs-operator, and rook-ceph-osd are not retested here.\ (Their failure modes are already covered in test_migration.py). Signed-off-by: Qixuan Wang <qwang@redhat.com> * Storage: tests for storage migration of VM with hotplugged volume (RedHatQE#1160) * Storage: tests for storage migration of VM with hotplugged volume * address comments, add client, use ssh instead of console * Split test - verify hotplugged disk data * Fix fixture calls after test split * resolve conflicts * fix tox * use cluster arch * use resouece const * remove unused file * remove architecture leftovers * add centos support * add s390x marker on more tests * rename s390x fedora image name * address review comments * ause only one global_config * use only global config * fix leftovers in global configs * add missing check in tox * update how we extract latest instance type from os * update readme * fix instance type for arm * use const for windows * remove removed rhal versions * use X86_64 * add constants --------- Signed-off-by: Nestor Acuna Blanco <nestor.acuna@ibm.com> Signed-off-by: Roni Kishner<rkishner@redhat.com> Signed-off-by: Sergei Volkov <sevolkov@redhat.com> Signed-off-by: Qixuan Wang <qwang@redhat.com> Co-authored-by: Kirk Crane <kcrane@redhat.com> Co-authored-by: Nestor Acuna Blanco <37973744+nestoracunablanco@users.noreply.github.com> Co-authored-by: Ohad Revah <orevah@redhat.com> Co-authored-by: Roni Kishner <87259550+RoniKishner@users.noreply.github.com> Co-authored-by: Jose Manuel Castano <73908807+josemacassan@users.noreply.github.com> Co-authored-by: Sergei Volkov <153028767+servolkov@users.noreply.github.com> Co-authored-by: Qixuan Wang <qwang@redhat.com> Co-authored-by: Jenia Peimer <86722603+jpeimer@users.noreply.github.com>
Short description:
Update RHEL image name into test
tests/storage/test_import_http.pyMore details:
Suggestion coming from CherryPick PR, see comment: #1201 (review)
What this PR does / why we need it:
Change image name for
RHEL8_2_IMGto other nameWhich issue(s) this PR fixes:
Special notes for reviewer:
jira-ticket:
Summary by CodeRabbit