Skip to content

Commit

Permalink
Skip test on alma and rocky until we investigate (#3047)
Browse files Browse the repository at this point in the history
  • Loading branch information
maddieford authored Feb 9, 2024
1 parent 4f6d984 commit b498fd5
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests_e2e/tests/publish_hostname/publish_hostname.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,11 @@ def retry_ssh_if_connection_reset(self, command: str, use_sudo=False):
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
Expand Down

0 comments on commit b498fd5

Please sign in to comment.