New Blanton_Script/mgmt_ping_monitor.sh: brings both management NICs up with iproute2 (`ip link set` / `address replace` / `route replace` with per-NIC metric) and pings each one's own target -- eth0 -> .30, eth1 -> .31 -- appending to a rotating log. Same sub-commands as the bmc monitors, plus `summary` for just the per-leg RESULT lines. Both NICs stay up, which on a shared subnet lets the target's ARP be answered by either one, so a reply can land on the NIC that did not send. ARP_STRICT applies arp_ignore/arp_announce to prevent that, and each leg logs `ip -s link show` with the interface's own TX/RX packet delta across the burst as direct evidence of which NIC carried the traffic. Note `ip -s link` orders columns "bytes packets ...", so the packet count is the second field. Script A: hw-test-session start/log/status, a fuller DUT inventory (version, fwutil, syseeprom, ssdhealth, TPM, nvme smart-log, smartctl), bmc-first-enroll and bmc-manager version/status, ras-mc-ctl summary, and both 100G uplinks now brought up rather than 513 being left down. Script B: stress moves to bgctl (memtester, qfx5252-stress-ssd/-usb) and the BMC DDR load runs through bmc-manager, replacing the hammer scripts and the bmc_monitor pair. Adds a BMC USB net test that discovers the cdc_ncm interface and runs a 4-hour ping under systemd-run. Script C: stops the bgctl jobs, the BMC USB unit and the mgmt ping, then collects journalctl, per-NIC counters, ras-mc-ctl and NVMe health, and closes the session with hw-test-session finish. utils/show_dmesg.ttl: one combined error regex with `dmesg -T`, an i2c-filtered view, then `dmesg -C` so Script C's capture shows only what the soak produced. utils/setup_pmon.ttl: add the TPM FRU/read checks. Fix: Script B set `timeout = 15` for the cdc_ncm probe and never restored it, leaving the cap in force for everything after -- including the traffic init, which walks 108 VLANs per unit and takes far longer than 15 s. A timed-out wait returns without the prompt, so the macro would have run ahead of the DUT for the rest of the soak. Reset to 0 at :skip_ping, where both branches meet. Script A -> V1.0.6. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014RetWKFZFG1ZHcitQAyhwM
12 lines
312 B
Turtle
12 lines
312 B
Turtle
; All Event
|
|
wait prompt_sonic_root
|
|
sendln "dmesg -T | grep -Ei 'error|fail(ed|ure)?|fault|critical|panic|timeout'"
|
|
|
|
; i2c event
|
|
wait prompt_sonic_root
|
|
sendln "dmesg -T | grep -Ei 'error|fail(ed|ure)?|fault|critical|panic|timeout' | grep -i i2c"
|
|
|
|
; Clear Event
|
|
wait prompt_sonic_root
|
|
sendln "dmesg -C"
|