Bug 1903: Better SSH check 38/11738/2
authorbeierlm <mark.beierl@canonical.com>
Thu, 10 Mar 2022 11:14:38 +0000 (06:14 -0500)
committerbeierlm <mark.beierl@canonical.com>
Thu, 10 Mar 2022 13:26:44 +0000 (14:26 +0100)
commit49c463378083dd80e7638c26782fd6d6d7d768fd
tree3e0aa94ea932ed7d9ab1e7f9608b1c8b2cff968b
parent00d428d1e9803b74c3044c1d5c627b04dc9de358
Bug 1903: Better SSH check

Changes the ssh port ready check from a simple 'is the port open?' to
a full ssh login check to ensure that sshd is actually running on the
target server.

Adds timeout to ssh check

Fixes bug 1903

Change-Id: I8c3f0d8e1ac450726bc3336c00e7fbdf405fe067
Signed-off-by: beierlm <mark.beierl@canonical.com>
jenkins/ci-pipelines/ci_stage_3.groovy