probe: tt-metal#59622 single-card repro + tt-smi reset (do not merge, #218) #231

Closed
tenstorrent wants to merge 5 commits from probe-59622-onecard into master
Member

Do not merge. This is a one-shot single-card repro of tenstorrent/tt-metal#59622 for #218.

What the card job does (a PR-local hook in ci.yml, run under the mesh slot through the normal cards job, never by hand):

  1. bench/probes/metal59622/run.sh runs the upstream #59622 test and kernel (drive.py) on card 0 only.
  2. It always resets afterwards with tt-smi -r 0 1, using the existing ttxlib mesh heal.
  3. health.py checks dev:0, dev:1 and the 2-card mesh. If the cards are still unhealthy after 2 resets, it exits 2 and the slot stays marked dirty.
  4. The result is posted as a PR comment. $WORK/measured is touched so the record step doesn't fail.

There's no A/B and no CONTROL change. The live tenstorrent-serving.service is untouched.

**Do not merge.** This is a one-shot single-card repro of tenstorrent/tt-metal#59622 for #218. **What the card job does** (a PR-local hook in `ci.yml`, run under the mesh slot through the normal cards job, never by hand): 1. `bench/probes/metal59622/run.sh` runs the upstream #59622 test and kernel (`drive.py`) on **card 0 only**. 2. It always resets afterwards with `tt-smi -r 0 1`, using the existing ttxlib mesh heal. 3. `health.py` checks dev:0, dev:1 and the 2-card mesh. If the cards are still unhealthy after 2 resets, it exits 2 and the slot stays marked dirty. 4. The result is posted as a PR comment. `$WORK/measured` is touched so the record step doesn't fail. There's no A/B and no CONTROL change. The live `tenstorrent-serving.service` is untouched.
Owner 10-09 09:23 (item 4, run LAST). PR-local ci.yml hook: after the cards job holds the MESH slot, run
bench/probes/metal59622/run.sh instead of ttx ab:
- upstream reproducer copied verbatim from tenstorrent/tt-metal#59622 head 70a67244bb (test + kernel only;
  NOT the split workaround), CONTROL's image vllm-tt:k2, /dev/tenstorrent/0 only;
- cases: 2 KiB reads 20 s (their non-hanging control), then 16 KiB reads 60 s x3 fresh processes, stop at a stall;
  each under docker exec timeout -s KILL;
- ALWAYS: graceful container stop, then sudo tt-smi -r 0 1 through ttxlib's mesh heal (refuses unless both cards
  are ours and container-free), 120 s settle; also on a killed run;
- health in fresh processes: dev:0 and dev:1 ones+ones==2, 1x2 mesh open; one more reset if unhealthy, else leave
  mesh-dirty and exit 2. Record bench/runs/metal59622-onecard-<utc>.jsonl, comment on the PR.
Merge origin/master (#226 cards-plan CI) into probe-59622-onecard; hook re-applied, marks measured for the Record step
Some checks failed
tt-stack-ci / Report upstream drift (pull_request) Successful in 42s
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 2m13s
cards-fresh cards: queued (fingerprint has no successful verdict on this PR) fp=39bff5b0ee0db98e
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 44s
tt-stack-ci / Serialized card gate (pull_request) Has been cancelled
9ef13937a8
Owner

verdict: request_changes (do-not-merge — probe)
tier: T1 (probe: PR-local ci.yml hook + bench/probes/metal59622/**; tenstorrent-serving.service untouched)

rationale: One-shot single-card repro of tt-metal#59622 for #218. Additive only (+550/−0), no A/B, no CONTROL change. Safe to run in CI: it holds the MESH slot, always resets via sudo tt-smi -r 0 1 through ttxlib's mark_mesh_dirty/heal_mesh_if_dirty (guards: both cards ours + container-free), runs dev:0/dev:1/mesh health in fresh processes, leaves a mesh-dirty marker + exit 2 if still unhealthy after 2 resets, and the trap resets before releasing the slot on a killed run. No secret-leak / vuln catalogue match (no tokens, no firewall/rollback/sops change). Per the PR title this must NOT merge — so no human-approved label and no un-draft; leave for #218 data collection.

concerns:

  • [block] probe-59622-onecard → master — PR is an explicit probe ("do not merge, #218"); keep unmerged, no label. Do not apply human-approved.
  • [warn] .forgejo/workflows/ci.yml:335-358 — the probe hook is PR-scoped and re-applied per merge of master (run 7603 is the re-apply). It runs only while this branch is merged into master; confirm it is stripped / not promoted when #218 closes so it doesn't persist on master CI.
  • [warn] run.sh — docker stop -t 300 / 150 m outer timeout mean the probe can hold the MESH slot up to ~25 min; acceptable for a one-shot but note the slot-contention cost.
**verdict:** request_changes (do-not-merge — probe) **tier:** T1 (probe: PR-local `ci.yml` hook + `bench/probes/metal59622/**`; `tenstorrent-serving.service` untouched) **rationale:** One-shot single-card repro of tt-metal#59622 for #218. Additive only (+550/−0), no A/B, no CONTROL change. Safe to run in CI: it holds the MESH slot, always resets via `sudo tt-smi -r 0 1` through ttxlib's `mark_mesh_dirty`/`heal_mesh_if_dirty` (guards: both cards ours + container-free), runs dev:0/dev:1/mesh health in fresh processes, leaves a `mesh-dirty` marker + exit 2 if still unhealthy after 2 resets, and the trap resets before releasing the slot on a killed run. No secret-leak / vuln catalogue match (no tokens, no firewall/rollback/sops change). Per the PR title this must NOT merge — so no `human-approved` label and no un-draft; leave for #218 data collection. **concerns:** - [block] `probe-59622-onecard` → `master` — PR is an explicit probe ("do not merge, #218"); keep unmerged, no label. Do not apply `human-approved`. - [warn] `.forgejo/workflows/ci.yml:335-358` — the probe hook is PR-scoped and re-applied per merge of master (run 7603 is the re-apply). It runs only while this branch is merged into master; confirm it is stripped / not promoted when #218 closes so it doesn't persist on `master` CI. - [warn] `run.sh` — `docker stop -t 300` / 150 m outer timeout mean the probe can hold the MESH slot up to ~25 min; acceptable for a one-shot but note the slot-contention cost.
probe-59622: hard deadline + retry on pre-device ssh steps, stream probe output, keep PROBE_RC under bash -e (run 538 hung 10 min before touching a card)
Some checks failed
tt-stack-ci / Report upstream drift (pull_request) Successful in 1m39s
cards-fresh cards: queued (fingerprint has no successful verdict on this PR) fp=8f6da0d50e6834fd
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 1m22s
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 3m30s
tt-stack-ci / Serialized card gate (pull_request) Has been cancelled
72eb7221b5
Author
Member

Run 538 (API 7603, job 43321) cancelled under the 10-min-no-load rule. No card was touched.

  • 15:10:29: the mesh slot was taken. run.sh then made its first ssh call (MemAvailable). Its second call (docker image inspect) opened an ssh session on cfx-llm2 that never ran its command: no sudo, no child process, idle for 10+ min. Load was 0.02, and no container or /var/lib/models/ttm-src/m59622 dir was ever created.

  • A NixOS activation by deployer ran on cfx-llm2 at 15:10:39, 10 s later. That is the likely trigger, but I haven't proven it.

  • Cancelled at 15:21. Nothing was opened on the device, so no reset was needed. The hung session is gone. The stale ci-pr-231:ab claim will be reclaimed by the next acquire (slot.sh dead-driver check).

  • Fix in 72eb722:

    • the pre-device ssh/rsync steps now have a 300 s KILL deadline and one retry, plus ssh ConnectTimeout=20;
    • the probe output is streamed to the Actions log, which was silent before;
    • set +e, so PROBE_RC survives the step's bash -e.

    This push re-queues the probe.

**Run 538 (API 7603, job 43321) cancelled under the 10-min-no-load rule. No card was touched.** - 15:10:29: the mesh slot was taken. run.sh then made its first ssh call (MemAvailable). Its second call (`docker image inspect`) opened an ssh session on cfx-llm2 that never ran its command: no `sudo`, no child process, idle for 10+ min. Load was 0.02, and no container or `/var/lib/models/ttm-src/m59622` dir was ever created. - A NixOS activation by `deployer` ran on cfx-llm2 at 15:10:39, 10 s later. That is the likely trigger, but I haven't proven it. - Cancelled at 15:21. Nothing was opened on the device, so no reset was needed. The hung session is gone. The stale `ci-pr-231:ab` claim will be reclaimed by the next acquire (slot.sh dead-driver check). - Fix in 72eb722: - the pre-device ssh/rsync steps now have a 300 s KILL deadline and one retry, plus ssh `ConnectTimeout=20`; - the probe output is streamed to the Actions log, which was silent before; - `set +e`, so PROBE_RC survives the step's `bash -e`. This push re-queues the probe.
probe-59622: ssh -n and run.sh stdin </dev/null (run 539 hung on an ssh whose remote command had returned)
Some checks failed
tt-stack-ci / Report upstream drift (pull_request) Successful in 2m43s
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 46s
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 4m11s
cards-fresh cards: run 540 failed fp=2cf56670f31c69b8
tt-stack-ci / Serialized card gate (pull_request) Failing after 7m14s
44435d156e
Author
Member

Run 539 (API 7604, job 43325) cancelled at 15:31, before any card was touched. It hung at the same step as run 538, so this is deterministic and not caused by the deploy.

  • On cfx-llm2, sudo docker image inspect vllm-tt:k2 ran at 15:26:55 and returned at once: the sudo session closed in the same second, and the command takes 0.3 s by hand. But the ssh session stayed open with no child process, so run.sh never got past that line. No container started, no copy happened, nothing was opened on the device.
  • Likely cause: run.sh's ssh calls inherited the step's stdin, which never closes. Fixed in 44435d1: ssh -n on every call and run.sh < /dev/null in the hook. The 300 s deadline and retry from 72eb722 stay as the backstop, so the same hang now ends in a clean FATAL with no card touched, instead of holding the mesh.
  • Re-queued by this push.
**Run 539 (API 7604, job 43325) cancelled at 15:31, before any card was touched.** It hung at the same step as run 538, so this is deterministic and not caused by the deploy. - On cfx-llm2, `sudo docker image inspect vllm-tt:k2` ran at 15:26:55 and returned at once: the sudo session closed in the same second, and the command takes 0.3 s by hand. But the ssh session stayed open with no child process, so run.sh never got past that line. No container started, no copy happened, nothing was opened on the device. - Likely cause: run.sh's ssh calls inherited the step's stdin, which never closes. Fixed in 44435d1: `ssh -n` on every call and `run.sh < /dev/null` in the hook. The 300 s deadline and retry from 72eb722 stay as the backstop, so the same hang now ends in a clean `FATAL` with no card touched, instead of holding the mesh. - Re-queued by this push.
Author
Member

#218 probe: tt-metal #59622 reproducer on one p150a (PR-local)

  • PR #231 head 44435d156e269d260d52c1e8749ae9d008c2f9b1, host cfx-llm2, mesh slot held, card0 used; run.sh exit 2 (0 = cards healthy after reset; 2 = unhealthy after 2 resets)
  • record: metal59622-onecard-20261009T133548Z.jsonl (artifact bench-runs, https://git.bitp.cz/bitpartner/tt-stack/actions/runs/7605)
{"label": "INCONCLUSIVE", "stalled": 0, "resets": 2, "health": "dev:0=FAIL dev:1=FAIL mesh=FAIL "}
{"case": "ctl2k", "exit": "1", "outcome": null, "grid": null, "wall_s": null, "error": null}
[m59622 15:35:49] start: image vllm-tt:k2, card0 only, cases: 2048 B x20 s, 16384 B x60 s x3
[m59622 15:35:49] case ctl2k: read_bytes=2048 seconds=20 deadline=900s
[m59622 15:35:57] case ctl2k rc=1 
[m59622 15:35:58] reset #1: sudo tt-smi -r 0 1 under ci-pr-231:ab (ttxlib mesh heal), settle 120 s
[m59622 15:38:51] health dev:0: 2026-10-09 13:38:51.095 | info     |             UMD | Cluster destructor completed. (cluster.cpp:936)
[m59622 15:38:54] health dev:1: 2026-10-09 13:38:54.778 | info     |             UMD | Cluster destructor completed. (cluster.cpp:936)
[m59622 15:38:58] health mesh: 2026-10-09 13:38:58.478 | info     |             UMD | Cluster destructor completed. (cluster.cpp:936)
[m59622 15:38:58] unhealthy after reset #1: one more reset
[m59622 15:38:58] reset #2: sudo tt-smi -r 0 1 under ci-pr-231:ab (ttxlib mesh heal), settle 120 s
[m59622 15:41:51] health dev:0: 2026-10-09 13:41:51.577 | info     |             UMD | Cluster destructor completed. (cluster.cpp:936)
[m59622 15:41:55] health dev:1: 2026-10-09 13:41:55.278 | info     |             UMD | Cluster destructor completed. (cluster.cpp:936)
[m59622 15:41:58] health mesh: 2026-10-09 13:41:58.879 | info     |             UMD | Cluster destructor completed. (cluster.cpp:936)
[m59622 15:41:59] STILL UNHEALTHY after 2 resets: mesh-dirty marker left; owner attention needed
[m59622 15:41:59] record: /var/lib/gitea-runner/nixos_llm/.cache/act/98ca3243b69fc335/tmp/ci-card/new-runs/metal59622-onecard-20261009T133548Z.jsonl
## #218 probe: tt-metal #59622 reproducer on one p150a (PR-local) - PR `#231` head `44435d156e269d260d52c1e8749ae9d008c2f9b1`, host `cfx-llm2`, mesh slot held, card0 used; run.sh exit `2` (0 = cards healthy after reset; 2 = unhealthy after 2 resets) - record: `metal59622-onecard-20261009T133548Z.jsonl` (artifact `bench-runs`, https://git.bitp.cz/bitpartner/tt-stack/actions/runs/7605) ``` {"label": "INCONCLUSIVE", "stalled": 0, "resets": 2, "health": "dev:0=FAIL dev:1=FAIL mesh=FAIL "} {"case": "ctl2k", "exit": "1", "outcome": null, "grid": null, "wall_s": null, "error": null} [m59622 15:35:49] start: image vllm-tt:k2, card0 only, cases: 2048 B x20 s, 16384 B x60 s x3 [m59622 15:35:49] case ctl2k: read_bytes=2048 seconds=20 deadline=900s [m59622 15:35:57] case ctl2k rc=1 [m59622 15:35:58] reset #1: sudo tt-smi -r 0 1 under ci-pr-231:ab (ttxlib mesh heal), settle 120 s [m59622 15:38:51] health dev:0: 2026-10-09 13:38:51.095 | info | UMD | Cluster destructor completed. (cluster.cpp:936) [m59622 15:38:54] health dev:1: 2026-10-09 13:38:54.778 | info | UMD | Cluster destructor completed. (cluster.cpp:936) [m59622 15:38:58] health mesh: 2026-10-09 13:38:58.478 | info | UMD | Cluster destructor completed. (cluster.cpp:936) [m59622 15:38:58] unhealthy after reset #1: one more reset [m59622 15:38:58] reset #2: sudo tt-smi -r 0 1 under ci-pr-231:ab (ttxlib mesh heal), settle 120 s [m59622 15:41:51] health dev:0: 2026-10-09 13:41:51.577 | info | UMD | Cluster destructor completed. (cluster.cpp:936) [m59622 15:41:55] health dev:1: 2026-10-09 13:41:55.278 | info | UMD | Cluster destructor completed. (cluster.cpp:936) [m59622 15:41:58] health mesh: 2026-10-09 13:41:58.879 | info | UMD | Cluster destructor completed. (cluster.cpp:936) [m59622 15:41:59] STILL UNHEALTHY after 2 resets: mesh-dirty marker left; owner attention needed [m59622 15:41:59] record: /var/lib/gitea-runner/nixos_llm/.cache/act/98ca3243b69fc335/tmp/ci-card/new-runs/metal59622-onecard-20261009T133548Z.jsonl ```
Author
Member

Cards verdict: failure

  • fingerprint 2cf56670f31c69b8de777db5aff60a85213f74c55063719898ff5c2990d4cbd3 (CONTROL prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-b8k3-cph48, arms prod, 469 card files fdb4f85666a7a6bd)
  • measured tree: head 44435d156e269d260d52c1e8749ae9d008c2f9b1 merged onto base 357973462abf72ce6766a39c9f5c75f1b41b9856
  • run https://git.bitp.cz/bitpartner/tt-stack/actions/runs/7605

A later event with the same fingerprint reuses this verdict instead of booting the cards.

## Cards verdict: failure - fingerprint `2cf56670f31c69b8de777db5aff60a85213f74c55063719898ff5c2990d4cbd3` (CONTROL `prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-b8k3-cph48`, arms `prod`, 469 card files `fdb4f85666a7a6bd`) - measured tree: head `44435d156e269d260d52c1e8749ae9d008c2f9b1` merged onto base `357973462abf72ce6766a39c9f5c75f1b41b9856` - run https://git.bitp.cz/bitpartner/tt-stack/actions/runs/7605 A later event with the same fingerprint reuses this verdict instead of booting the cards. <!-- tt-cards-verdict {"arms": ["prod"], "base_sha": "357973462abf72ce6766a39c9f5c75f1b41b9856", "control": "prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-b8k3-cph48", "files_sha": "fdb4f85666a7a6bd61f79ec3370849c5f6c52f42610bc04f16db50ad56154106", "fp": "2cf56670f31c69b8de777db5aff60a85213f74c55063719898ff5c2990d4cbd3", "head": "44435d156e269d260d52c1e8749ae9d008c2f9b1", "run_id": "7605", "run_number": "540", "run_url": "https://git.bitp.cz/bitpartner/tt-stack/actions/runs/7605", "tree": "694b4efff16a4890f8b6e8526593a9a224739cd7", "v": 1, "verdict": "failure"} -->
probe-59622: keep out/ across rsync --delete, drive.py makes its out dir, health reads the JSON line not UMD's last log line (run 540: harness error before traffic + false FAIL)
Some checks failed
tt-stack-ci / Report upstream drift (pull_request) Successful in 1m51s
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 57s
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 3m27s
tt-stack-ci / Serialized card gate (pull_request) Successful in 7m34s
cards-fresh cards: stale, verdict run 541 fp=2cf56670f31c69b8 != merged fp=9b9e02d3566d3863; push or add cards:go
3233a03253
Author
Member

Run 540 (API 7605, job 43329, artifact 672): INCONCLUSIVE, caused by bugs in my probe. Not a #59622 result. A re-run is queued on 3233a03.

  • The ssh fix worked: the run got past setup in 1 min.
  • The ctl2k case was a harness error before any traffic ran. mkdir -p $REMOTE/out ran before rsync --delete, so the rsync removed out/. drive.py then opened card0 and died on its first record write (FileNotFoundError: /probe/out/…-ctl2k.json). No reads or writes were launched, so the 16 KiB cases never ran.
  • tt-smi -r 0 1 ran twice through the ttxlib mesh heal: 15:35:58 → healed 15:38:41, and 15:38:59 → healed 15:41:41, each settled 120 s.
  • Health showed FAIL on all three checks, but that's false. Each check (dev:0, dev:1, mesh) ran to a clean UMD close in about 3.5 s. The parser took the last stdout line, which is UMD's "Cluster destructor completed" log line printed after the JSON. Because the JSON was never logged, I can't show the actual verdict from this run. The script then left the mesh-dirty marker as designed, so the next mesh acquire will reset again.
  • Fixes in 3233a03:
    • rsync runs first with out/ protected, then mkdir out/;
    • drive.py creates its own out dir;
    • health reads the {…} JSON line and logs the full stdout to the record log.
**Run 540 (API 7605, job 43329, artifact 672): INCONCLUSIVE, caused by bugs in my probe. Not a #59622 result.** A re-run is queued on 3233a03. - The ssh fix worked: the run got past setup in 1 min. - The `ctl2k` case was a harness error before any traffic ran. `mkdir -p $REMOTE/out` ran before `rsync --delete`, so the rsync removed `out/`. drive.py then opened card0 and died on its first record write (`FileNotFoundError: /probe/out/…-ctl2k.json`). No reads or writes were launched, so the 16 KiB cases never ran. - `tt-smi -r 0 1` ran twice through the ttxlib mesh heal: 15:35:58 → healed 15:38:41, and 15:38:59 → healed 15:41:41, each settled 120 s. - Health showed `FAIL` on all three checks, but that's false. Each check (dev:0, dev:1, mesh) ran to a clean UMD close in about 3.5 s. The parser took the last stdout line, which is UMD's "Cluster destructor completed" log line printed after the JSON. Because the JSON was never logged, I can't show the actual verdict from this run. The script then left the mesh-dirty marker as designed, so the next mesh acquire will reset again. - Fixes in 3233a03: - rsync runs first with `out/` protected, then `mkdir out/`; - drive.py creates its own out dir; - health reads the `{…}` JSON line and logs the full stdout to the record log.
Author
Member

#218 probe: tt-metal #59622 reproducer on one p150a (PR-local)

  • PR #231 head 3233a03253dc32b54161b6bba60375e73b29e379, host cfx-llm2, mesh slot held, card0 used; run.sh exit 0 (0 = cards healthy after reset; 2 = unhealthy after 2 resets)
  • record: metal59622-onecard-20261009T135130Z.jsonl (artifact bench-runs, https://git.bitp.cz/bitpartner/tt-stack/actions/runs/7641)
{"label": "STALL_REPRODUCED", "stalled": 1, "resets": 1, "health": "dev:0=ok dev:1=ok mesh=ok "}
{"case": "ctl2k", "exit": "0", "outcome": "PASS", "grid": [11, 10], "wall_s": 21.4, "error": null}
{"case": "r16k-1", "exit": "1", "outcome": "RUNNING", "grid": [11, 10], "wall_s": null, "error": null}
[m59622 15:51:31] start: image vllm-tt:k2, card0 only, cases: 2048 B x20 s, 16384 B x60 s x3
[m59622 15:51:31] case ctl2k: read_bytes=2048 seconds=20 deadline=900s
[m59622 15:51:56] case ctl2k rc=0 {"read_bytes": 2048, "seconds": 20.0, "device_id": 0, "utc_start": "20261009T135132Z", "pytest": "real", "grid": [11, 10], "outcome": "PASS", "wall_s": 21.4}
[m59622 15:51:56] case r16k-1: read_bytes=16384 seconds=60 deadline=600s
[m59622 15:52:10] case r16k-1 rc=1 {"read_bytes": 16384, "seconds": 60.0, "device_id": 0, "utc_start": "20261009T135156Z", "pytest": "real", "grid": [11, 10], "outcome": "RUNNING"}
[m59622 15:52:10] STALL/hang on attempt 1
[m59622 15:52:10] reset #1: sudo tt-smi -r 0 1 under ci-pr-231:ab (ttxlib mesh heal), settle 120 s
[m59622 15:55:03] health dev:0: {"check": "dev:0", "ok": true}
[m59622 15:55:07] health dev:1: {"check": "dev:1", "ok": true}
[m59622 15:55:11] health mesh: {"check": "mesh", "devices": 2, "ok": true}
[m59622 15:55:11] cards healthy: dev:0=ok dev:1=ok mesh=ok 
[m59622 15:55:11] record: /var/lib/gitea-runner/nixos_llm/.cache/act/7475ef14f5d63962/tmp/ci-card/new-runs/metal59622-onecard-20261009T135130Z.jsonl
## #218 probe: tt-metal #59622 reproducer on one p150a (PR-local) - PR `#231` head `3233a03253dc32b54161b6bba60375e73b29e379`, host `cfx-llm2`, mesh slot held, card0 used; run.sh exit `0` (0 = cards healthy after reset; 2 = unhealthy after 2 resets) - record: `metal59622-onecard-20261009T135130Z.jsonl` (artifact `bench-runs`, https://git.bitp.cz/bitpartner/tt-stack/actions/runs/7641) ``` {"label": "STALL_REPRODUCED", "stalled": 1, "resets": 1, "health": "dev:0=ok dev:1=ok mesh=ok "} {"case": "ctl2k", "exit": "0", "outcome": "PASS", "grid": [11, 10], "wall_s": 21.4, "error": null} {"case": "r16k-1", "exit": "1", "outcome": "RUNNING", "grid": [11, 10], "wall_s": null, "error": null} [m59622 15:51:31] start: image vllm-tt:k2, card0 only, cases: 2048 B x20 s, 16384 B x60 s x3 [m59622 15:51:31] case ctl2k: read_bytes=2048 seconds=20 deadline=900s [m59622 15:51:56] case ctl2k rc=0 {"read_bytes": 2048, "seconds": 20.0, "device_id": 0, "utc_start": "20261009T135132Z", "pytest": "real", "grid": [11, 10], "outcome": "PASS", "wall_s": 21.4} [m59622 15:51:56] case r16k-1: read_bytes=16384 seconds=60 deadline=600s [m59622 15:52:10] case r16k-1 rc=1 {"read_bytes": 16384, "seconds": 60.0, "device_id": 0, "utc_start": "20261009T135156Z", "pytest": "real", "grid": [11, 10], "outcome": "RUNNING"} [m59622 15:52:10] STALL/hang on attempt 1 [m59622 15:52:10] reset #1: sudo tt-smi -r 0 1 under ci-pr-231:ab (ttxlib mesh heal), settle 120 s [m59622 15:55:03] health dev:0: {"check": "dev:0", "ok": true} [m59622 15:55:07] health dev:1: {"check": "dev:1", "ok": true} [m59622 15:55:11] health mesh: {"check": "mesh", "devices": 2, "ok": true} [m59622 15:55:11] cards healthy: dev:0=ok dev:1=ok mesh=ok [m59622 15:55:11] record: /var/lib/gitea-runner/nixos_llm/.cache/act/7475ef14f5d63962/tmp/ci-card/new-runs/metal59622-onecard-20261009T135130Z.jsonl ```
Author
Member

Cards verdict: success

  • fingerprint 2cf56670f31c69b8de777db5aff60a85213f74c55063719898ff5c2990d4cbd3 (CONTROL prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-b8k3-cph48, arms prod, 469 card files fdb4f85666a7a6bd)
  • measured tree: head 3233a03253dc32b54161b6bba60375e73b29e379 merged onto base 357973462abf72ce6766a39c9f5c75f1b41b9856
  • run https://git.bitp.cz/bitpartner/tt-stack/actions/runs/7641

A later event with the same fingerprint reuses this verdict instead of booting the cards.

## Cards verdict: success - fingerprint `2cf56670f31c69b8de777db5aff60a85213f74c55063719898ff5c2990d4cbd3` (CONTROL `prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-b8k3-cph48`, arms `prod`, 469 card files `fdb4f85666a7a6bd`) - measured tree: head `3233a03253dc32b54161b6bba60375e73b29e379` merged onto base `357973462abf72ce6766a39c9f5c75f1b41b9856` - run https://git.bitp.cz/bitpartner/tt-stack/actions/runs/7641 A later event with the same fingerprint reuses this verdict instead of booting the cards. <!-- tt-cards-verdict {"arms": ["prod"], "base_sha": "357973462abf72ce6766a39c9f5c75f1b41b9856", "control": "prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-b8k3-cph48", "files_sha": "fdb4f85666a7a6bd61f79ec3370849c5f6c52f42610bc04f16db50ad56154106", "fp": "2cf56670f31c69b8de777db5aff60a85213f74c55063719898ff5c2990d4cbd3", "head": "3233a03253dc32b54161b6bba60375e73b29e379", "run_id": "7641", "run_number": "541", "run_url": "https://git.bitp.cz/bitpartner/tt-stack/actions/runs/7641", "tree": "b2657a7d32afbbfe5371c8b3df409f3f6166193e", "v": 1, "verdict": "success"} -->
Author
Member

#59622 result (run 541, API 7641, job 43482, artifact 675): STALL_REPRODUCED on one p150a. The cards are healthy after one reset.

case traffic exit outcome
ctl2k 2 KiB reads, 20 s 0 PASS, 21.4 s wall
r16k-1 16 KiB reads, 60 s planned 1 STALL after 47 program runs, about 14 s in

Is the stall genuine? Yes.

  • The record log is new for this run (metal59622-onecard-20261009T135130Z.log, truncated on start). It contains a single STALL: line, printed inside r16k-1's own process by the upstream watchdog: STALL: no program run finished for 10 s after 47 runs. The NoC is hung; reset the chip (tt-smi -r) before using it again. The watchdog then calls os._exit(1), which is the exit 1 we saw.
  • r16k-1 started on freshly healed cards: the stale marker from run 540 was healed at 15:48:47–15:51:30, and the 2 KiB control then passed on the same card.
  • So the result does not come from run 540's state or from a grep of an older log. The probe stops at the first stall by design, so r16k-2 and r16k-3 did not run.

Reset and health: tt-smi -r 0 1 ran through the ttxlib mesh heal at 15:52:10 and settled 120 s. Then:

  • dev:0 {"ok": true}
  • dev:1 {"ok": true}
  • mesh {"devices": 2, "ok": true}

The slot was released clean.

Earlier attempts on this PR (none touched card traffic, apart from run 540 opening card0):

  • 538 and 539: hung on ssh stdin before any device access. Cancelled. Fixed in 44435d1 with ssh -n.
  • 540: harness error. rsync --delete removed out/, so drive.py died before any traffic. Health showed a false FAIL because the parser read UMD's destructor log line as the result. It reset twice and left the mesh-dirty marker. Fixed in 3233a03.

Scope: this is upstream reproducer traffic (110 cores, NoC 1, 16 KiB reads plus 1088 B writes) on a P150a, not our served kernels. It shows the #59622 hang class reproduces on our Blackhole p150a hardware and image vllm-tt:k2, which upstream had only shown on P300.

**#59622 result (run 541, API 7641, job 43482, artifact 675): STALL_REPRODUCED on one p150a. The cards are healthy after one reset.** | case | traffic | exit | outcome | |---|---|---|---| | ctl2k | 2 KiB reads, 20 s | 0 | PASS, 21.4 s wall | | r16k-1 | 16 KiB reads, 60 s planned | 1 | **STALL** after 47 program runs, about 14 s in | **Is the stall genuine? Yes.** - The record log is new for this run (`metal59622-onecard-20261009T135130Z.log`, truncated on start). It contains a single `STALL:` line, printed inside r16k-1's own process by the upstream watchdog: `STALL: no program run finished for 10 s after 47 runs. The NoC is hung; reset the chip (tt-smi -r) before using it again.` The watchdog then calls `os._exit(1)`, which is the exit 1 we saw. - r16k-1 started on freshly healed cards: the stale marker from run 540 was healed at 15:48:47–15:51:30, and the 2 KiB control then passed on the same card. - So the result does not come from run 540's state or from a grep of an older log. The probe stops at the first stall by design, so r16k-2 and r16k-3 did not run. **Reset and health:** `tt-smi -r 0 1` ran through the ttxlib mesh heal at 15:52:10 and settled 120 s. Then: - dev:0 `{"ok": true}` - dev:1 `{"ok": true}` - mesh `{"devices": 2, "ok": true}` The slot was released clean. **Earlier attempts on this PR** (none touched card traffic, apart from run 540 opening card0): - 538 and 539: hung on ssh stdin before any device access. Cancelled. Fixed in 44435d1 with `ssh -n`. - 540: harness error. `rsync --delete` removed `out/`, so drive.py died before any traffic. Health showed a false FAIL because the parser read UMD's destructor log line as the result. It reset twice and left the mesh-dirty marker. Fixed in 3233a03. **Scope:** this is upstream reproducer traffic (110 cores, NoC 1, 16 KiB reads plus 1088 B writes) on a P150a, not our served kernels. It shows the #59622 hang class reproduces on our Blackhole p150a hardware and image `vllm-tt:k2`, which upstream had only shown on P300.
Owner

Decided: single-card repro ran (run 7641 success after 7605 infra failure); upstream #59622 evidence posted. Do-not-merge probe by design. Closing as measured.

Decided: single-card repro ran (run 7641 success after 7605 infra failure); upstream #59622 evidence posted. Do-not-merge probe by design. Closing as measured.
Grok closed this pull request 2026-10-09 23:45:09 +02:00
Owner

agent-gateway closeout (closed): cleared agent:* labels.
Hermes kanban card (if any) is left for Hermes to archive/complete.

agent-gateway closeout (closed): cleared `agent:*` labels. Hermes kanban card (if any) is left for Hermes to archive/complete.
Some checks failed
tt-stack-ci / Report upstream drift (pull_request) Successful in 1m51s
tt-stack-ci / Plan card run (fingerprint, reuse, cards-fresh) (pull_request) Successful in 57s
tt-stack-ci / Build simulators and check the host module (pull_request) Successful in 3m27s
tt-stack-ci / Serialized card gate (pull_request) Successful in 7m34s
cards-fresh cards: stale, verdict run 541 fp=2cf56670f31c69b8 != merged fp=9b9e02d3566d3863; push or add cards:go

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
bitpartner/tt-stack!231
No description provided.