Skip test on alma and rocky until we investigate (#3047)

This commit is contained in:
maddieford 2024-02-09 15:54:54 -08:00 коммит произвёл GitHub
Родитель 4f6d98422b
Коммит b498fd54c2
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
1 изменённых файлов: 5 добавлений и 3 удалений

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

@ -121,9 +121,11 @@ class PublishHostname(AgentVmTest):
sleep(30)
def run(self):
# TODO: Investigate why hostname is not being published on Ubuntu as expected
if "ubuntu" in self._ssh_client.run_command("get_distro.py").lower():
raise TestSkipped("Known issue with hostname publishing on ubuntu. Will skip test until we continue "
# TODO: Investigate why hostname is not being published on Ubuntu, alma, and rocky as expected
distros_with_known_publishing_issues = ["ubuntu", "alma", "rocky"]
distro = self._ssh_client.run_command("get_distro.py").lower()
if any(d in distro for d in distros_with_known_publishing_issues):
raise TestSkipped("Known issue with hostname publishing on this distro. Will skip test until we continue "
"investigation.")
# Add password to VM and log. This allows us to debug with serial console if necessary