Page MenuHomeVyOS Platform

Source NAT smoke tests fail due to an incorrect interface name
Closed, ResolvedPublicBUG

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?
Perfectly compatible
Issue type
Internal change (not visible to end users)

Event Timeline

c-po changed the task status from Open to In progress.
c-po claimed this task.
c-po triaged this task as Normal priority.
c-po moved this task from Backlog to Finished on the VyOS 1.4 Sagitta (1.4.2) board.
c-po moved this task from Open to Finished on the VyOS 1.5 Circinus board.
dmbaturin renamed this task from nat: error running smoketests on unavailable interface to Source NAT smoke tests fail due to an incorrect interface name.Mar 12 2025, 3:33 PM
dmbaturin changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.
dmbaturin changed Issue type from Bug (incorrect behavior) to Internal change (not visible to end users).