diff options
| author | Christian Breunig <christian@breunig.cc> | 2025-10-20 18:56:28 +0200 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2025-10-21 21:03:16 +0200 |
| commit | b1d8f616ffd6a3eb27e28b2a1d2be30496604af6 (patch) | |
| tree | 0d2e3b84f380bba861f1a03244c4be52611cdc71 /smoketest/scripts/cli/test_interfaces_ethernet.py | |
| parent | 30ff9cfc3dbeb888ea6a22468a002f35ad439856 (diff) | |
| download | vyos-1x-b1d8f616ffd6a3eb27e28b2a1d2be30496604af6.tar.gz vyos-1x-b1d8f616ffd6a3eb27e28b2a1d2be30496604af6.zip | |
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.
Diffstat (limited to 'smoketest/scripts/cli/test_interfaces_ethernet.py')
| -rwxr-xr-x | smoketest/scripts/cli/test_interfaces_ethernet.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/smoketest/scripts/cli/test_interfaces_ethernet.py b/smoketest/scripts/cli/test_interfaces_ethernet.py index cdc3dad9e..6d0b7b772 100755 --- a/smoketest/scripts/cli/test_interfaces_ethernet.py +++ b/smoketest/scripts/cli/test_interfaces_ethernet.py @@ -28,11 +28,13 @@ from base_interfaces_test import BasicInterfaceTest from base_vyostest_shim import VyOSUnitTestSHIM from vyos.configsession import ConfigSessionError +from vyos.frrender import mgmt_daemon from vyos.ifconfig import Section from vyos.utils.file import read_file from vyos.utils.network import is_intf_addr_assigned from vyos.utils.network import is_ipv6_link_local from vyos.utils.process import cmd +from vyos.utils.process import process_named_running from vyos.utils.process import popen class EthernetInterfaceTest(BasicInterfaceTest.TestCase): @@ -87,6 +89,9 @@ class EthernetInterfaceTest(BasicInterfaceTest.TestCase): ] self.assertListEqual(tmp, []) + # check process health and continuity + self.assertEqual(self.mgmt_daemon_pid, process_named_running(mgmt_daemon)) + def test_offloading_rps(self): # enable RPS on all available CPUs, RPS works with a CPU bitmask, # where each bit represents a CPU (core/thread). The formula below |
