Files
Lainandlain b6ed3234a1 docs(evidence): add M1 soak and TF transition results (#3)
## M1 soak evidence (1h) + TF/KEY assist windows

**Manifest verdict: FAIL — one criterion.** Console `wifi reconnect`
never returns to CONNECTED (0/5 soak cycles + 0/1 controlled repro).
Root cause: `wifi_service.cc reconnect()` calls `esp_wifi_connect()`
while still associated; IDF v6 rejects it (`sta is connected, disconnect
before connecting to new ap`), no disconnect event fires, so the
event-driven auto-reconnect never engages. Boot auto-connect and the
portal path are unaffected (`connect_stored` disconnects first). Fix
tracked as a follow-up task.

### Soak metrics (3600s, run m1-20260831T021427Z)
| criterion | result |
| --- | --- |
| JSONL count 360±10 | 358 PASS |
| sequence strictly monotonic | 25..384 PASS |
| status:FAILED lines | 0 PASS |
| reset_reason constant | 11 everywhere PASS |
| tf state | READY all samples PASS |
| wifi reconnect → CONNECTED | 0/5 **FAIL** |
| internal_free decline <15% | N/A (heap not instrumented) |

### Assist windows
- W1 KEY ≥3s portal hold: PASS (AP up, auto-recovery to CONNECTED ≤120s)
- W1 short/long: +2/+2 exact, no spurious (via retry window) PASS
- W2 TF: 2 pull→insert cycles, 4/4 transitions PASS
- W3 absent-boot: classified ≤0.9s, DEGRADED never FAILED, logging
resumed PASS

### Tooling
`frame-m1-capture` gains `--command`/`--command-interval` (periodic
`wifi reconnect`) with pytest coverage. Gates:
ruff/pyright/pytest/frame-partitions/frame-evidence/frame-doc-links/frame-sbom
all green locally.

Co-authored-by: ania-lain <[email protected]>
2026-08-31 11:33:03 +08:00

28 lines
2.2 KiB
Plaintext

[1/9] Performing build step for 'bootloader'
[1/1] cd /home/lain/Projects/esp_study/esp_study/poc/apps/m1_hardware/build/default/bootloader && /home/lain/Projects/esp_study/esp_study/.venv-idf/bin/python /home/lain/.espressif/v6.0.2/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x0 /home/lain/Projects/esp_study/esp_study/poc/apps/m1_hardware/build/default/bootloader/bootloader.bin
Bootloader binary size 0x5850 bytes. 0x27b0 bytes (31%) free.
[2/9] No install step for 'bootloader'
[3/9] Completed 'bootloader'
[4/9] Building CXX object esp-idf/main/CMakeFiles/__idf_main.dir/wifi_provision.cc.obj
[5/9] Linking C static library esp-idf/main/libmain.a
[6/9] Generating esp-idf/esp_system/ld/sections.ld
NOTE:
/home/lain/.espressif/v6.0.2/esp-idf/components/bt/host/nimble/Kconfig.in:1421:
BT_NIMBLE_MESH_PROVISIONER: 'default 0' is not a valid bool value (only 'y' and
'n' are allowed). Value is treated as 'n'.
NOTE: /home/lain/.espressif/v6.0.2/esp-idf/components/fatfs/Kconfig:230:
FATFS_PRINT_LLI: 'default 0' is not a valid bool value (only 'y' and 'n' are
allowed). Value is treated as 'n'.
NOTE: /home/lain/.espressif/v6.0.2/esp-idf/components/fatfs/Kconfig:235:
FATFS_PRINT_FLOAT: 'default 0' is not a valid bool value (only 'y' and 'n' are
allowed). Value is treated as 'n'.
[7/9] Linking CXX executable frame_m1_hardware.elf
[8/9] Generating binary image from built executable
esptool v5.3.1
Creating ESP32-S3 image...
Merged 3 ELF sections.
Successfully created ESP32-S3 image.
Generated /home/lain/Projects/esp_study/esp_study/poc/apps/m1_hardware/build/default/frame_m1_hardware.bin
[9/9] cd /home/lain/Projects/esp_study/esp_study/poc/apps/m1_hardware/build/default && /home/lain/Projects/esp_study/esp_study/.venv-idf/bin/python /home/lain/.espressif/v6.0.2/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 partition --type app /home/lain/Projects/esp_study/esp_study/poc/apps/m1_hardware/build/default/partition_table/partition-table.bin /home/lain/Projects/esp_study/esp_study/poc/apps/m1_hardware/build/default/frame_m1_hardware.bin
frame_m1_hardware.bin binary size 0x140a30 bytes. Smallest app partition is 0x500000 bytes. 0x3bf5d0 bytes (75%) free.