Page MenuHomeVyOS Platform

nat: error running smoketests on unavailable interface
In progress, NormalPublicBUG

Description

DEBUG - Running Testcase: /usr/libexec/vyos/tests/smoke/cli/test_nat.py
DEBUG - test_dnat (__main__.TestNAT.test_dnat) ... ok
DEBUG - test_dnat_negated_addresses (__main__.TestNAT.test_dnat_negated_addresses) ... ok
DEBUG - test_dnat_redirect (__main__.TestNAT.test_dnat_redirect) ... ok
DEBUG - test_dnat_without_translation_address (__main__.TestNAT.test_dnat_without_translation_address) ... ok
DEBUG - test_nat_balance (__main__.TestNAT.test_nat_balance) ... ok
DEBUG - test_nat_fqdn (__main__.TestNAT.test_nat_fqdn) ... ok
DEBUG - test_nat_no_rules (__main__.TestNAT.test_nat_no_rules) ... ok
DEBUG - test_snat (__main__.TestNAT.test_snat) ... ok
DEBUG - test_snat_groups (__main__.TestNAT.test_snat_groups) ... ERROR
DEBUG - test_snat_net_port_map (__main__.TestNAT.test_snat_net_port_map) ... ok
DEBUG - test_snat_required_translation_address (__main__.TestNAT.test_snat_required_translation_address) ... ok
DEBUG - test_static_nat (__main__.TestNAT.test_static_nat) ... ok
DEBUG - 
DEBUG - ======================================================================
DEBUG - ERROR: test_snat_groups (__main__.TestNAT.test_snat_groups)
DEBUG - ----------------------------------------------------------------------
DEBUG - Traceback (most recent call last):
DEBUG -   File "/usr/libexec/vyos/tests/smoke/cli/test_nat.py", line 90, in test_snat_groups
DEBUG -     self.cli_set(['firewall', 'group', 'interface-group', interface_group, 'interface', interface_group_member])
DEBUG -   File "/usr/libexec/vyos/tests/smoke/cli/base_vyostest_shim.py", line 81, in cli_set
DEBUG -     self._session.set(config)
DEBUG -   File "/usr/lib/python3/dist-packages/vyos/configsession.py", line 212, in set
DEBUG -     self.__run_command([SET] + path + value)
DEBUG -   File "/usr/lib/python3/dist-packages/vyos/configsession.py", line 201, in __run_command
DEBUG -     raise ConfigSessionError(output)
DEBUG - vyos.configsession.ConfigSessionError: Incorrect path /sys/class/net/bond.99: no such file or directory
DEBUG - 
DEBUG - 
DEBUG - Invalid value
DEBUG - 
DEBUG - 
DEBUG - ----------------------------------------------------------------------
DEBUG - Ran 12 tests in 36.152s
DEBUG - 
DEBUG - FAILED (errors=1)

Details

Version
1.5-rolling-202501090007
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)