|
3 | 3 | ---
|
4 | 4 | # Description:
|
5 | 5 | # This test case is used for check hotadd, hot remove disk
|
6 |
| -# on a new and existing NVMe controller with NVMe Spec 1.3 enabled. |
| 6 | +# on a new and existing NVMe controller with NVMe Spec 1.3 enabled |
| 7 | +# manually. |
| 8 | +# Notes: |
| 9 | +# Please refer to the release notes of ESXi 8.0.2: |
| 10 | +# https://techdocs.broadcom.com/us/en/vmware-cis/vsphere/vsphere/8-0/ |
| 11 | +# release-notes/esxi-update-and-patch-release-notes/vsphere-esxi-802-release-notes.html |
| 12 | +# Default NVMe version 1.3 for Windows virtual machines: |
| 13 | +# Starting with vSphere 8.0 Update 2, the NVMe version of Windows Server 2022 |
| 14 | +# or Windows 11 and later virtual machines with hardware version 21 and later, |
| 15 | +# and a virtual NVMe controller, is set to 1.3 by default. |
| 16 | +# Set this test case result to "Not Applicable" in above situation. |
7 | 17 | #
|
8 | 18 | - name: nvme_vhba_device_ops_spec13
|
9 | 19 | hosts: localhost
|
|
37 | 47 | - guest_os_product_type == 'server'
|
38 | 48 | - guest_os_ansible_kernel is version('10.0.20348.0', '<')
|
39 | 49 |
|
| 50 | + - name: "Skip test case" |
| 51 | + include_tasks: ../../common/skip_test_case.yml |
| 52 | + vars: |
| 53 | + skip_msg: >- |
| 54 | + Skip testing on this guest OS '{{ guest_os_ansible_distribution }}' with VM hardware version |
| 55 | + '{{ vm_hardware_version_num }}', since NVMe version is 1.3 by default for Windows Server 2022, |
| 56 | + Windows 11 and later VMs with hardware version 21 on ESXi 8.0.2 and later. |
| 57 | + So skip this test case and only run test case 'nvme_vhba_device_ops' with default NVMe v1.3. |
| 58 | + skip_reason: "Not Applicable" |
| 59 | + when: |
| 60 | + - vm_hardware_version_num | int >= 21 |
| 61 | + - (guest_os_product_type == 'server' and guest_os_build_num | int >= 20348) or |
| 62 | + (guest_os_product_type == 'client' and guest_os_build_num | int >= 22000) |
| 63 | + |
40 | 64 | - name: "Test run"
|
41 | 65 | include_tasks: vhba_test.yml
|
42 | 66 | vars:
|
|
0 commit comments