Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Linux] Add support for RHEL 10 and CentOS 10 #597

Merged
merged 4 commits into from
Jun 26, 2024

Conversation

keirazhang
Copy link
Contributor

CentOS Stream 10 ISO has been published, there is RHEL 10 nightly ISO for testing.
Automation testing needs to be well prepared for incoming RHEL 10.0 releases.

Changes in this fix are tested on CentOS Stream 10. Testing on RHEL 10 nightly are on-going. Unattended config file will keep using kickstart files under autoinstall/RHEL/8 with some compatible changes. pwpolicy was deprecated in RHEL 9.0, and removing it won't affect our automation testing, so this fix directly removed them.

In CentOS Stream 10, network connections are completely managed by NetworkManager, there is no /etc/sysconfig/network-scripts/ directory any more. So GOSC test cases also updated to collect network config files.

check_inbox_driver failed due to missing vmw_vmci, vmw_vsock_vmci_transport and vmw_balloon. Those need to be confirmed with OS vendor by OS lead.

+------------------------------------------------------------------------------------------------+
| GuestInfo Guest Family    | linuxGuest                                                         |
+------------------------------------------------------------------------------------------------+
| GuestInfo Detailed Data   | architecture='X86'                                                 |
|                           | bitness='64'                                                       |
|                           | cpeString='cpe:/o:centos:centos:10'                                |
|                           | distroAddlVersion='10'                                             |
|                           | distroName='CentOS Stream'                                         |
|                           | distroVersion='10'                                                 |
|                           | familyName='Linux'                                                 |
|                           | kernelVersion='6.8.0-0.rc3.20240209git1f719a2f3fa6.31.el10.x86_64' |
|                           | prettyName='CentOS Stream 10'                                      |
+------------------------------------------------------------------------------------------------+


Test Results (Total: 31, Passed: 27, Failed: 1, Skipped: 3, Elapsed Time: 02:01:24)
+-------------------------------------------------------------------------+
| ID | Name                                 |   Status        | Exec Time |
+-------------------------------------------------------------------------+
| 01 | deploy_vm_efi_paravirtual_vmxnet3    |   Passed        | 00:20:36  |
| 02 | check_inbox_driver                   | * Failed        | 00:01:04  |
| 03 | ovt_verify_pkg_install               |   Passed        | 00:06:17  |
| 04 | ovt_verify_status                    |   Passed        | 00:00:50  |
| 05 | vgauth_check_service                 |   Passed        | 00:00:50  |
| 06 | host_verify_saml_token               |   Passed        | 00:01:38  |
| 07 | check_ip_address                     |   Passed        | 00:00:31  |
| 08 | check_os_fullname                    |   Passed        | 00:01:03  |
| 09 | stat_balloon                         |   Passed        | 00:00:35  |
| 10 | stat_hosttime                        |   Passed        | 00:00:43  |
| 11 | device_list                          |   Passed        | 00:02:22  |
| 12 | check_quiesce_snapshot_custom_script |   Passed        | 00:00:55  |
| 13 | memory_hot_add_basic                 |   Passed        | 00:05:02  |
| 14 | cpu_hot_add_basic                    |   Passed        | 00:04:30  |
| 15 | cpu_multicores_per_socket            |   Passed        | 00:07:13  |
| 16 | check_efi_firmware                   |   Passed        | 00:00:36  |
| 17 | secureboot_enable_disable            | * Not Supported | 00:00:34  |
| 18 | e1000e_network_device_ops            |   Passed        | 00:03:34  |
| 19 | vmxnet3_network_device_ops           |   Passed        | 00:02:51  |
| 20 | pvrdma_network_device_ops            |   Passed        | 00:07:35  |
| 21 | gosc_perl_dhcp                       |   Passed        | 00:05:19  |
| 22 | gosc_perl_staticip                   |   Passed        | 00:04:58  |
| 23 | gosc_cloudinit_dhcp                  |   Passed        | 00:05:48  |
| 24 | gosc_cloudinit_staticip              |   Passed        | 00:05:32  |
| 25 | paravirtual_vhba_device_ops          |   Passed        | 00:05:49  |
| 26 | lsilogic_vhba_device_ops             | * Not Supported | 00:00:28  |
| 27 | lsilogicsas_vhba_device_ops          | * Not Supported | 00:00:31  |
| 28 | sata_vhba_device_ops                 |   Passed        | 00:06:13  |
| 29 | nvme_vhba_device_ops                 |   Passed        | 00:06:07  |
| 30 | nvdimm_cold_add_remove               |   Passed        | 00:06:53  |
| 31 | ovt_verify_pkg_uninstall             |   Passed        | 00:02:37  |
+-------------------------------------------------------------------------+

Signed-off-by: Qi (Keira) Zhang <qi-keira.zhang@broadcom.com>
@keirazhang keirazhang added this to the 3.2 milestone Jun 25, 2024
@keirazhang keirazhang requested review from ZouYuhua and Tomorrow9 June 25, 2024 06:54
Signed-off-by: Qi (Keira) Zhang <qi-keira.zhang@broadcom.com>
Signed-off-by: Qi (Keira) Zhang <qi-keira.zhang@broadcom.com>
123lzxm
123lzxm previously approved these changes Jun 25, 2024
Copy link
Collaborator

@123lzxm 123lzxm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks

@keirazhang keirazhang changed the title Add support for RHEL 10 and CentOS 10 [Linux] Add support for RHEL 10 and CentOS 10 Jun 25, 2024
Signed-off-by: Qi (Keira) Zhang <qi-keira.zhang@broadcom.com>
Copy link
Member

@Tomorrow9 Tomorrow9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@keirazhang keirazhang merged commit 8dd1aea into vmware:main Jun 26, 2024
@keirazhang keirazhang deleted the fix_rhel10 branch August 12, 2024 03:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants