ansible vsphere gos validation
v3.2
$ pip install -r requirements.txt
$ ansible-galaxy install -r requirements.yml
vars/test.yml 。linux/gosv_testcase_list.ymlwindows/gosv_testcase_list.ymlmain.yml的同一路径启动测试。 # For Linux testing:
# you can use below command to use the default variables file "vars/test.yml",
# and default test case list file "linux/gosv_testcase_list.yml"
$ ansible-playbook main.yml
# For Linux or Windows testing:
# you can use below command to set the path of a customized variables file and
# test case list file
$ ansible-playbook main.yml -e "testing_vars_file=/path_to/test.yml testing_testcase_file=/path_to/gosv_testcase_list.yml"
logs/test-vm/2021-07-06-09-27-51/ 。您可以找到日志文件:results.log包含测试床信息,VM信息和测试案例结果full_debug.log包含测试调试日志failed_tasks.log ,其中包含失败的任务日志known_issues.log在当前的测试运行中列出已知问题该项目支持端到端的访客操作系统验证测试的方案下方
| 来宾操作系统 | 来自ISO图像的自动安装 | 从OVA模板部署 | 现有的VM安装了访客操作系统 |
|---|---|---|---|
| Red Hat Enterprise Linux 7.x,8.x,9.x | ✔️ | ✔️ | |
| Centos 7.x,8.x | ✔️ | ✔️ | |
| Centos流8、9、10 | ✔️ | ✔️ | |
| Oracle Linux 7.x,8.x,9.x | ✔️ | ✔️ | |
| 落基林克斯8.x,9.x | ✔️ | ✔️ | |
| Almalinux 8.x,9.x | ✔️ | ✔️ | |
| Suse Linux Enterprise 15 SP3及以后 | ✔️ | ✔️ | |
| VMware Photon OS 3.0、4.0、5.0 | ✔️ | ✔️ | ✔️ |
| Ubuntu 20.04及以后 | ✔️ | ✔️ | ✔️ |
| Flatcar 2592.0.0及以后 | ✔️ | ✔️ | |
| Debian 10.10及以后,11.x,12.x | ✔️ | ✔️ | |
| Windows 10,11 | ✔️ | ✔️ | |
| Windows Server 2019,2022,2025 | ✔️ | ✔️ | |
| UnionTech OS服务器20 1050a | ✔️ | ✔️ | |
| Fedora 36服务器,工作站和以后 | ✔️ | ✔️ | |
| Prolinux服务器7.9,8.5 | ✔️ | ✔️ | |
| FreeBSD 13及以后 | ✔️ | ✔️ | |
| pardus 21.2服务器,XFCE桌面和以后 | ✔️ | ✔️ | |
| pardus 23.x服务器,XFCE桌面 | ✔️ | ✔️ | |
| Opensuse Leap 15.3及以后 | ✔️ | ✔️ | |
| Bclinux 8.x | ✔️ | ✔️ | |
| bclinux-for-euler 21.10 | ✔️ | ✔️ | |
| Red Hat Enterprise Linux Coreos(RHCOS)4.13及以后 | ✔️ | ✔️ | |
| 融合22和23 | ✔️ | ✔️ | |
| 奇迹Linux 8.x,9.x | ✔️ | ✔️ | |
| Kylin Linux高级服务器V10 | ✔️ | ✔️ |
注意此兼容的访客操作系统列表仅用于此项目。有关ESXI上的来宾操作系统支持状态,请参阅VMware兼容性指南。
使用Docker Image启动测试
$ docker pull projects.packages.broadcom.com/gos_cert/ansible-vsphere-gos-validation:latest
$ docker run -it --privileged projects.packages.broadcom.com/gos_cert/ansible-vsphere-gos-validation:latest