Executing the unit-tests from vyos-smoketest makes the ssh test fail on subsequent execution
vyos@vyos:/usr/libexec/vyos/tests/smoke/cli$ python3 -m unittest discover
................
----------------------------------------------------------------------
Ran 16 tests in 35.421s
OK
vyos@vyos:/usr/libexec/vyos/tests/smoke/cli$
vyos@vyos:/usr/libexec/vyos/tests/smoke/cli$
vyos@vyos:/usr/libexec/vyos/tests/smoke/cli$ python3 -m unittest discover
............F...
======================================================================
FAIL: test_ssh (test_service_ssh.TestServiceSSH)
Check if SSH service can be configured and runs
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/libexec/vyos/tests/smoke/cli/test_service_ssh.py", line 57, in tesh
self.assertTrue("2222" in port)
AssertionError: False is not true
----------------------------------------------------------------------
Ran 16 tests in 38.086s