Skip to content

Commit 0538799

Browse files
lizhijianrdmssonicbld
authored andcommitted
[Nokia-7215] Improve test_reboot stability at teardown stage (sonic-net#14654)
Nokia-7215 has low performance. After device reboot, it's critical processes may not be fully up at the time SSH is reachable. For this platform, I add wait_critical_processes at teardown stage to improve the test stability. What is the motivation for this PR? Improve the test_reboot stability on Nokia-7215 platform. How did you do it? Add wait_critical_processes at teardown stage. How did you verify/test it? Verified on Nokia-7215 M0 testbed.
1 parent 3192b88 commit 0538799

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/platform_tests/test_reboot.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ def teardown_module(duthosts, enum_rand_one_per_hwsku_hostname,
5454
"Tearing down: to make sure all the critical services, interfaces and transceivers are good")
5555
interfaces = conn_graph_facts["device_conn"][duthost.hostname]
5656
wait_for_startup(duthost, localhost, delay=10, timeout=300)
57+
if duthost.facts['hwsku'] in {"Nokia-M0-7215", "Nokia-7215"}:
58+
wait_critical_processes(duthost)
5759
check_critical_processes(duthost, watch_secs=10)
5860
check_interfaces_and_services(duthost, interfaces, xcvr_skip_list)
5961
if duthost.is_supervisor_node():

0 commit comments

Comments
 (0)