Page MenuHomeVyOS Platform

Smoketests: setUp() and tearDown() base class functions are not always called
Closed, ResolvedPublicBUG

Description

While working on task T7664 (FRR 10.4 upgrade), I identified the need for additional validation and safeguards around the FRR management daemon. The most appropriate place for this logic is in the setUp() and tearDown() methods of the smoketest base class, VyOSUnitTestSHIM.

However, during implementation, it became apparent that test cases do not consistently invoke the base class's setup and teardown methods. This inconsistency complicates the process of capturing the FRR mgmtd PID at the start of a test and verifying that it remains unchanged by the end - a key step in detecting crashes or unexpected terminations (e.g., SIGSEGV) of the FRR management daemon during tests.

Details

Version
2025.10.17-0019-rolling
Is it a breaking change?
Perfectly compatible
Issue type
Internal change (not visible to end users)