Page MenuHomeVyOS Platform

smoketest: TypeError: VyOSUnitTestSHIM.TestCase.getFRRconfig() got an unexpected keyword argument 'substring'
Closed, ResolvedPublicBUG

Description

DEBUG - Running Testcase: /usr/libexec/vyos/tests/smoke/cli/test_protocols_mpls.py
DEBUG - test_02_mpls_disable_establish_hello (__main__.TestProtocolsMPLS.test_02_mpls_disable_establish_hello) ... ERROR
DEBUG - test_mpls_basic (__main__.TestProtocolsMPLS.test_mpls_basic) ... ok
DEBUG - 
DEBUG - ======================================================================
DEBUG - ERROR: test_02_mpls_disable_establish_hello (__main__.TestProtocolsMPLS.test_02_mpls_disable_establish_hello)
DEBUG - ----------------------------------------------------------------------
DEBUG - Traceback (most recent call last):
DEBUG -   File "/usr/libexec/vyos/tests/smoke/cli/test_protocols_mpls.py", line 148, in test_02_mpls_disable_establish_hello
DEBUG -     afiv4_config = self.getFRRconfig('mpls ldp', endsection='^exit',
DEBUG -                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
DEBUG - TypeError: VyOSUnitTestSHIM.TestCase.getFRRconfig() got an unexpected keyword argument 'substring'

Issue is a backported smoketest from current using a new signature for VyOSUnitTestSHIM.TestCase.getFRRconfig()

Details

Version
vyos-1.4-stable-202504240621
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

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 changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.
c-po added a project: VyOS 1.5 Circinus.
c-po moved this task from Backlog to Finished on the VyOS 1.4 Sagitta (1.4.3) board.
c-po moved this task from Open to Finished on the VyOS 1.5 Circinus board.