From 18ce7a1a73ac962eaa3475164bbbffa836036416 Mon Sep 17 00:00:00 2001 From: ETWen Date: Thu, 20 Aug 2026 11:14:34 +0800 Subject: [PATCH] fix(ttl): Dump BMC logs with cat instead of the blocking tail `bmc_monitor.sh tail` runs `tail -n 50 -f`, which never returns, so Script C stopped at the first call and never reached CHECK Stress results, the traffic counters, or the closing messagebox. Stopping the monitors first made it worse: with the file no longer growing, tail -f just waits forever. Read the two logs directly instead, so the whole BMC capture lands in the master log and the macro carries on. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_014RetWKFZFG1ZHcitQAyhwM --- src/Script_ABC_Blanton/3_Blanton_Script_C.ttl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Script_ABC_Blanton/3_Blanton_Script_C.ttl b/src/Script_ABC_Blanton/3_Blanton_Script_C.ttl index b6b4450..9a3ba41 100644 --- a/src/Script_ABC_Blanton/3_Blanton_Script_C.ttl +++ b/src/Script_ABC_Blanton/3_Blanton_Script_C.ttl @@ -31,9 +31,9 @@ sendln "./Blanton_Script/bmc_monitor_ddr.sh stop" wait prompt_sonic_root sendln "./Blanton_Script/bmc_monitor.sh stop" wait prompt_sonic_root -sendln "./Blanton_Script/bmc_monitor.sh tail" +sendln "cat ./Blanton_Script/log/bmc_poll.log" wait prompt_sonic_root -sendln "./Blanton_Script/bmc_monitor_ddr.sh tail" +sendln "cat ./Blanton_Script/log/bmc_ddr.log" ; ========== CHECK Stress results ==========