I think you’re looking at the wrong file. Might not have been my best idea to link to that ticket, as it contains the logs multiple test runs 
Anyway, here is the output I meant:
DEBUG - Running Testcase: /usr/libexec/vyos/tests/smoke/cli/test_system_login.py
DEBUG - test_add_linux_system_user (__main__.TestSystemLogin.test_add_linux_system_user) ... ok
DEBUG - test_delete_current_user (__main__.TestSystemLogin.test_delete_current_user) ... ok
DEBUG - test_pam_nologin (__main__.TestSystemLogin.test_pam_nologin) ... ERROR
DEBUG - test_radius_kernel_features (__main__.TestSystemLogin.test_radius_kernel_features) ... ok
DEBUG - test_system_login_max_login_session (__main__.TestSystemLogin.test_system_login_max_login_session) ... ok
DEBUG - test_system_login_otp (__main__.TestSystemLogin.test_system_login_otp) ... ok
DEBUG - test_system_login_radius_ipv4 (__main__.TestSystemLogin.test_system_login_radius_ipv4) ... ERROR
DEBUG - test_system_login_radius_ipv6 (__main__.TestSystemLogin.test_system_login_radius_ipv6) ... ERROR
DEBUG - test_system_login_tacacs (__main__.TestSystemLogin.test_system_login_tacacs) ... ERROR
DEBUG - test_system_login_user (__main__.TestSystemLogin.test_system_login_user) ... ok
DEBUG - test_system_login_weak_password_warning (__main__.TestSystemLogin.test_system_login_weak_password_warning) ... ok
DEBUG - test_system_user_ssh_key (__main__.TestSystemLogin.test_system_user_ssh_key) ... ok
DEBUG -
DEBUG - ======================================================================
DEBUG - ERROR: test_pam_nologin (__main__.TestSystemLogin.test_pam_nologin)
DEBUG - ----------------------------------------------------------------------
DEBUG - Traceback (most recent call last):
DEBUG - File "/usr/libexec/vyos/tests/smoke/cli/test_system_login.py", line 561, in test_pam_nologin
DEBUG - out, err = self.ssh_send_cmd(ssh_test_command, username, password)
DEBUG - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
DEBUG - File "/usr/libexec/vyos/tests/smoke/cli/base_vyostest_shim.py", line 161, in ssh_send_cmd
DEBUG - ssh_client.connect(hostname=hostname, username=username,
DEBUG - File "/usr/lib/python3/dist-packages/paramiko/client.py", line 450, in connect
DEBUG - self._auth(
DEBUG - File "/usr/lib/python3/dist-packages/paramiko/client.py", line 781, in _auth
DEBUG - raise saved_exception
DEBUG - File "/usr/lib/python3/dist-packages/paramiko/client.py", line 768, in _auth
DEBUG - self._transport.auth_password(username, password)
DEBUG - File "/usr/lib/python3/dist-packages/paramiko/transport.py", line 1564, in auth_password
DEBUG - return self.auth_handler.wait_for_response(my_event)
DEBUG - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
DEBUG - File "/usr/lib/python3/dist-packages/paramiko/auth_handler.py", line 259, in wait_for_response
DEBUG - raise e
DEBUG - paramiko.ssh_exception.BadAuthenticationType: Bad authentication type; allowed types: ['publickey']
DEBUG -
DEBUG - ======================================================================
DEBUG - ERROR: test_system_login_radius_ipv4 (__main__.TestSystemLogin.test_system_login_radius_ipv4)
DEBUG - ----------------------------------------------------------------------
DEBUG - Traceback (most recent call last):
DEBUG - File "/usr/libexec/vyos/tests/smoke/cli/test_system_login.py", line 296, in test_system_login_radius_ipv4
DEBUG - self._system_login_radius_test_helper(radius_servers, radius_source)
DEBUG - File "/usr/libexec/vyos/tests/smoke/cli/test_system_login.py", line 405, in _system_login_radius_test_helper
DEBUG - out, err = self.ssh_send_cmd(ssh_test_command, username, password)
DEBUG - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
DEBUG - File "/usr/libexec/vyos/tests/smoke/cli/base_vyostest_shim.py", line 161, in ssh_send_cmd
DEBUG - ssh_client.connect(hostname=hostname, username=username,
DEBUG - File "/usr/lib/python3/dist-packages/paramiko/client.py", line 450, in connect
DEBUG - self._auth(
DEBUG - File "/usr/lib/python3/dist-packages/paramiko/client.py", line 781, in _auth
DEBUG - raise saved_exception
DEBUG - File "/usr/lib/python3/dist-packages/paramiko/client.py", line 768, in _auth
DEBUG - self._transport.auth_password(username, password)
DEBUG - File "/usr/lib/python3/dist-packages/paramiko/transport.py", line 1564, in auth_password
DEBUG - return self.auth_handler.wait_for_response(my_event)
DEBUG - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
DEBUG - File "/usr/lib/python3/dist-packages/paramiko/auth_handler.py", line 259, in wait_for_response
DEBUG - raise e
DEBUG - paramiko.ssh_exception.BadAuthenticationType: Bad authentication type; allowed types: ['publickey']
DEBUG -
DEBUG - ======================================================================
DEBUG - ERROR: test_system_login_radius_ipv6 (__main__.TestSystemLogin.test_system_login_radius_ipv6)
DEBUG - ----------------------------------------------------------------------
DEBUG - Traceback (most recent call last):
DEBUG - File "/usr/libexec/vyos/tests/smoke/cli/test_system_login.py", line 301, in test_system_login_radius_ipv6
DEBUG - self._system_login_radius_test_helper(radius_servers, radius_source)
DEBUG - File "/usr/libexec/vyos/tests/smoke/cli/test_system_login.py", line 405, in _system_login_radius_test_helper
DEBUG - out, err = self.ssh_send_cmd(ssh_test_command, username, password)
DEBUG - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
DEBUG - File "/usr/libexec/vyos/tests/smoke/cli/base_vyostest_shim.py", line 161, in ssh_send_cmd
DEBUG - ssh_client.connect(hostname=hostname, username=username,
DEBUG - File "/usr/lib/python3/dist-packages/paramiko/client.py", line 450, in connect
DEBUG - self._auth(
DEBUG - File "/usr/lib/python3/dist-packages/paramiko/client.py", line 781, in _auth
DEBUG - raise saved_exception
DEBUG - File "/usr/lib/python3/dist-packages/paramiko/client.py", line 768, in _auth
DEBUG - self._transport.auth_password(username, password)
DEBUG - File "/usr/lib/python3/dist-packages/paramiko/transport.py", line 1564, in auth_password
DEBUG - return self.auth_handler.wait_for_response(my_event)
DEBUG - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
DEBUG - File "/usr/lib/python3/dist-packages/paramiko/auth_handler.py", line 259, in wait_for_response
DEBUG - raise e
DEBUG - paramiko.ssh_exception.BadAuthenticationType: Bad authentication type; allowed types: ['publickey']
DEBUG -
DEBUG - ======================================================================
DEBUG - ERROR: test_system_login_tacacs (__main__.TestSystemLogin.test_system_login_tacacs)
DEBUG - ----------------------------------------------------------------------
DEBUG - Traceback (most recent call last):
DEBUG - File "/usr/libexec/vyos/tests/smoke/cli/test_system_login.py", line 522, in test_system_login_tacacs
DEBUG - out, err = self.ssh_send_cmd(ssh_test_command, username, password)
DEBUG - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
DEBUG - File "/usr/libexec/vyos/tests/smoke/cli/base_vyostest_shim.py", line 161, in ssh_send_cmd
DEBUG - ssh_client.connect(hostname=hostname, username=username,
DEBUG - File "/usr/lib/python3/dist-packages/paramiko/client.py", line 450, in connect
DEBUG - self._auth(
DEBUG - File "/usr/lib/python3/dist-packages/paramiko/client.py", line 781, in _auth
DEBUG - raise saved_exception
DEBUG - File "/usr/lib/python3/dist-packages/paramiko/client.py", line 768, in _auth
DEBUG - self._transport.auth_password(username, password)
DEBUG - File "/usr/lib/python3/dist-packages/paramiko/transport.py", line 1564, in auth_password
DEBUG - return self.auth_handler.wait_for_response(my_event)
DEBUG - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
DEBUG - File "/usr/lib/python3/dist-packages/paramiko/auth_handler.py", line 259, in wait_for_response
DEBUG - raise e
DEBUG - paramiko.ssh_exception.BadAuthenticationType: Bad authentication type; allowed types: ['publickey']
DEBUG -
DEBUG - ----------------------------------------------------------------------
DEBUG - Ran 12 tests in 69.508s
I just gave it another shot, still fails on these three with freshly pulled repos.
Build system at least does these steps
…
Thank you a lot! So I after all wasn’t that far off with what I’m doing, though test-no-interfaces
is actually not in use. How is that? What is the advantage of calling each test separately? Especially as AFAIR test-no-interfaces-no-vpp
should cover e.g. test-c
(not sure right now, always aborted after I encountered the first failure), so those tests run twice?
I’m thinking of extending it with the container lab
or robot framework
for the topology tests in the containers/VMs; these are only thoughts.
Sounds like an interesting approach! Though I’m not that familiar with these solutions. The closest I came was some barely automated gns3 setup, that got thrown away after not being that useful.