Page MenuHomePhabricator

Executing vyos-smoketest multiple times makes ssh test fail on execution
Open, Requires assessmentPublicBUG

Description

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

Details

Difficulty level
Unknown (require assessment)
Version
VyOS 1.3-rolling-202002131824
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible

Event Timeline

runar created this task.Thu, Feb 13, 10:41 PM