There instances where RHEL VMs are hanging after "yum update".

This testcase will check if the VM is accessible after "OS update"
This commit is contained in:
SrikanthMyakam 2024-09-06 11:55:05 +05:30 коммит произвёл LiliDeng
Родитель 9eb8db5dde
Коммит b80e5bcfc6
1 изменённых файлов: 18 добавлений и 0 удалений

Просмотреть файл

@ -518,6 +518,24 @@ class AzureImageStandard(TestSuite):
else:
raise SkippedException(f"Unsupported distro type : {type(node.os)}")
@TestCaseMetadata(
description="""
Verify if there is any issues in and after 'os update'
Steps:
1. Run os update command.
2. Reboot the VM and see if the VM is still in good state.
""",
priority=2,
requirement=simple_requirement(supported_platform_type=[AZURE, READY]),
)
def verify_os_update(self, node: Node) -> None:
if isinstance(node.os, Posix):
node.os.update_packages("")
else:
raise SkippedException(f"Unsupported OS or distro type : {type(node.os)}")
node.reboot()
@TestCaseMetadata(
description="""
This test will check that kvp daemon is installed. This is an optional