From b1d8f616ffd6a3eb27e28b2a1d2be30496604af6 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Mon, 20 Oct 2025 18:56:28 +0200 Subject: smoketest: T7948: always verify FRRs mgmtd PID is unchanged Upgrades to FRR 10.4 have shown that there are cases where FRRs mgmtd will SIGSEGV - to cover for this case and fail the smoketests we will monitor the PID of the mgmtd process. --- smoketest/scripts/cli/test_interfaces_loopback.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'smoketest/scripts/cli/test_interfaces_loopback.py') diff --git a/smoketest/scripts/cli/test_interfaces_loopback.py b/smoketest/scripts/cli/test_interfaces_loopback.py index 6cc0d4dbe..f3a3602d1 100755 --- a/smoketest/scripts/cli/test_interfaces_loopback.py +++ b/smoketest/scripts/cli/test_interfaces_loopback.py @@ -21,7 +21,9 @@ from base_interfaces_test import BasicInterfaceTest from base_interfaces_test import MSG_TESTCASE_UNSUPPORTED from base_vyostest_shim import VyOSUnitTestSHIM +from vyos.frrender import mgmt_daemon from vyos.utils.network import is_intf_addr_assigned +from vyos.utils.process import process_named_running loopbacks = ['127.0.0.1', '::1'] @@ -44,6 +46,9 @@ class LoopbackInterfaceTest(BasicInterfaceTest.TestCase): for intf in self._interfaces: self.assertIn(intf, interfaces()) + # check process health and continuity + self.assertEqual(self.mgmt_daemon_pid, process_named_running(mgmt_daemon)) + def test_add_single_ip_address(self): super().test_add_single_ip_address() for addr in loopbacks: -- cgit v1.2.3