Project

General

Profile

Actions

action #80780

closed

coordination #42854: [functional][y][epic] Introduce relevant installation validation test modules

Add validation to ssh-X scenario

Added by riafarov over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
SUSE QA - SLE 15 SP3
Start date:
2020-12-07
Due date:
% Done:

0%

Estimated time:

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

  1. ssh connection is validated in the installed system
Actions #1

Updated by riafarov over 3 years ago

  • Description updated (diff)
  • Status changed from New to Workable
Actions #2

Updated by JRivrain over 3 years ago

  • Assignee set to JRivrain
Actions #3

Updated by JRivrain over 3 years ago

  • Status changed from Workable to In Progress
Actions #4

Updated by JRivrain over 3 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.

Actions #5

Updated by JRivrain over 3 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

Actions #6

Updated by JRivrain over 3 years ago

  • Status changed from In Progress to Feedback
Actions #7

Updated by JRivrain over 3 years ago

  • Status changed from Feedback to Closed

Passed last build

Actions

Also available in: Atom PDF