[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 12/22] Acceptance tests: clarify ssh connection failure reason
From: |
Cleber Rosa |
Subject: |
[PATCH 12/22] Acceptance tests: clarify ssh connection failure reason |
Date: |
Wed, 3 Feb 2021 12:23:47 -0500 |
If the connection to the ssh server fails, it may indeed be a "sshd"
issue, but it may also not be that. Let's state what we know: the
establishment of the connection from the client side was not possible.
Signed-off-by: Cleber Rosa <crosa@redhat.com>
---
tests/acceptance/linux_ssh_mips_malta.py | 2 +-
tests/acceptance/virtiofs_submounts.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/acceptance/linux_ssh_mips_malta.py
b/tests/acceptance/linux_ssh_mips_malta.py
index ab6cb94aef..1742235758 100644
--- a/tests/acceptance/linux_ssh_mips_malta.py
+++ b/tests/acceptance/linux_ssh_mips_malta.py
@@ -89,7 +89,7 @@ class LinuxSSH(Test):
except:
time.sleep(4)
pass
- self.fail("sshd timeout")
+ self.fail("ssh connection timeout")
def ssh_disconnect_vm(self):
self.ssh_session.quit()
diff --git a/tests/acceptance/virtiofs_submounts.py
b/tests/acceptance/virtiofs_submounts.py
index bf99164fcb..c998b297ee 100644
--- a/tests/acceptance/virtiofs_submounts.py
+++ b/tests/acceptance/virtiofs_submounts.py
@@ -94,7 +94,7 @@ class VirtiofsSubmountsTest(BootLinux):
except:
time.sleep(4)
pass
- self.fail('sshd timeout')
+ self.fail('ssh connection timeout')
def ssh_command(self, command):
self.ssh_logger.info(command)
--
2.25.4
- Re: [PATCH 22/22] [NOTFORMERGE] Bump Avocado version to latest master, (continued)
- [PATCH 01/22] tests/acceptance/boot_linux.py: fix typo on cloudinit error message, Cleber Rosa, 2021/02/03
- [PATCH 08/22] tests/acceptance/virtiofs_submounts.py: standardize port as integer, Cleber Rosa, 2021/02/03
- [PATCH 11/22] tests/acceptance/linux_ssh_mips_malta.py: standardize port as integer, Cleber Rosa, 2021/02/03
- [PATCH 12/22] Acceptance tests: clarify ssh connection failure reason,
Cleber Rosa <=
- [PATCH 13/22] tests/acceptance/virtiofs_submounts.py: add missing accel tag, Cleber Rosa, 2021/02/03
- [PATCH 06/22] tests/acceptance/virtiofs_submounts.py: use a virtio-net device instead, Cleber Rosa, 2021/02/03
- [PATCH 14/22] Acceptance Tests: introduce LinuxTest base class, Cleber Rosa, 2021/02/03