Page MenuHomeVyOS Platform

Build cannot pass the smoketest dialup-router-medium-vpn
Closed, ResolvedPublicBUG

Description

The build cannot pass the test and load the config https://github.com/vyos/vyos-1x/blob/equuleus/smoketest/configs/dialup-router-medium-vpn

06:59:50  DEBUG - ======================================================================
06:59:50  DEBUG - ERROR: test_dialup_router_medium_vpn (__main__.TestConfigDialupRouterMediumVpn)
06:59:50  DEBUG - ----------------------------------------------------------------------
06:59:50  DEBUG - Traceback (most recent call last):
06:59:50  DEBUG -   File "/usr/bin/vyos-configtest", line 48, in test_config_load
06:59:50  DEBUG -     self.session.migrate_and_load_config(config_path)
06:59:50  DEBUG -   File "/usr/lib/python3/dist-packages/vyos/configsession.py", line 182, in migrate_and_load_config
06:59:50  DEBUG -     out = self.__run_command(MIGRATE_LOAD_CONFIG + [file_path])
06:59:50  DEBUG -   File "/usr/lib/python3/dist-packages/vyos/configsession.py", line 137, in __run_command
06:59:50  DEBUG -     raise ConfigSessionError(output)
06:59:50  DEBUG - vyos.configsession.ConfigSessionError: Traceback (most recent call last):
06:59:50  DEBUG -   File "/opt/vyatta/etc/config-migrate/migrate/interfaces/22-to-23", line 38, in <module>
06:59:50  DEBUG -     base + [interface, 'private-key'])
06:59:50  DEBUG -   File "/usr/lib/python3/dist-packages/vyos/configtree.py", line 262, in return_value
06:59:50  DEBUG -     raise ConfigTreeError("Path [{}] doesn't exist".format(path_str))
06:59:50  DEBUG - vyos.configtree.ConfigTreeError: Path [b'interfaces wireguard wg0 private-key'] doesn't exist
06:59:50  DEBUG - Loading configuration from '/usr/libexec/vyos/tests/config/dialup-router-medium-vpn'
06:59:50  DEBUG - 
06:59:50  DEBUG - Migration script error: /opt/vyatta/etc/config-migrate/migrate/interfaces/22-to-23: Command '['/opt/vyatta/etc/config-migrate/migrate/interfaces/22-to-23', '/tmp/tmpuwdf3cq7']' returned non-zero exit status 1..
06:59:50  DEBUG -

Details

Difficulty level
Normal (likely a few hours)
Version
vyos-1.3-stable-202401120442
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Related Objects

Mentioned In
1.3.6

Event Timeline

Viacheslav created this task.

The commit in question was added after the VyOS 1.3.5 release

(21:51) cpo lnx01:~/vyos-1x [equuleus] # git tag --contains 2c1c36135
(21:52) cpo lnx01:~/vyos-1x [equuleus] #