action #80780
closedcoordination #42854: [functional][y][epic] Introduce relevant installation validation test modules
Add validation to ssh-X scenario
0%
Description
As of now we only check that system boots, but do not even verify that ssh connection is available after the initial reboot.
We already have modules to validate ssh service is running and port is open.
Check tests/console/sshd.pm and tests/console/sshd_running.pm
Acceptable criteria¶
- ssh connection is validated in the installed system
Updated by riafarov almost 4 years ago
- Description updated (diff)
- Status changed from New to Workable
Updated by JRivrain almost 4 years ago
- Status changed from Workable to In Progress
Updated by JRivrain almost 4 years ago
Adding sshd module works but does not make sense if we want to check ssh connection is available after install: it verifies that ssh is working from localhost, and after disabling the firewall. The other module only verifies that the service is active, but if the firewall port is closed, it does not help either. So I think we should just do a very simple smoke test, just ssh to the machine, but from outside.
Updated by JRivrain almost 4 years ago
Did not look that easy to ssh from outside, so I made a module that checks if sshd is active and port opened: https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/11635
Updated by JRivrain almost 4 years ago
- Status changed from In Progress to Feedback