Files
frame/poc/evidence/m1-20260831/raw-history/t9-http-cycle.log
T
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

153 lines
14 KiB
Plaintext

"schema_version":1,"sequence":2,"uptime_us":12199314,"utc_valid":true,"utc":"2026-01-06T20:43:21Z","source":"m1","event":"statusESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x4037dece
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce2820,len:0x16bc
load:0x403c8700,len:0xf00
load:0x403cb700,len:0x3238
entry 0x403c892c
I (24) boot: ESP-IDF v6.0.2 2nd stage bootloader
I (24) boot: compile time Aug 31 2026 06:30:58
I (25) boot: Multicore bootloader
I (25) boot: chip revision: v0.2
I (25) boot: efuse block revision: v1.4
I (25) qio_mode: Enabling default flash chip QIO
I (25) boot.esp32s3: Boot SPI Speed : 80MHz
I (26) boot.esp32s3: SPI Mode : QIO
I (26) boot.esp32s3: SPI Flash Size : 16MB
I (26) boot: Enabling RNG early entropy source...
I (26) boot: Partition Table:
I (26) boot: ## Label Usage Type ST Offset Length
I (27) boot: 0 nvs WiFi data 01 02 00009000 00014000
I (27) boot: 1 nvs_keys NVS keys 01 04 0001d000 00001000
I (27) boot: 2 otadata OTA data 01 00 0001e000 00002000
I (28) boot: 3 coredump Unknown data 01 03 00020000 00020000
I (28) boot: 4 ota_0 OTA app 00 10 00040000 00500000
I (29) boot: 5 ota_1 OTA app 00 11 00540000 00500000
I (29) boot: 6 plugin_fs Unknown data 01 83 00a40000 004c0000
I (29) boot: 7 system_fs Unknown data 01 83 00f00000 00100000
I (30) boot: End of partition table
I (30) esp_image: segment 0: paddr=00040020 vaddr=3c100020 size=3aef4h (241396) map
I (68) esp_image: segment 1: paddr=0007af1c vaddr=3fc9cc00 size=050fch ( 20732) load
I (72) esp_image: segment 2: paddr=00080020 vaddr=42000020 size=f5c68h (1006696) map
I (228) esp_image: segment 3: paddr=00175c90 vaddr=3fca1cfc size=00ae4h ( 2788) load
I (229) esp_image: segment 4: paddr=0017677c vaddr=40374000 size=18b60h (101216) load
I (250) esp_image: segment 5: paddr=0018f2e4 vaddr=50000000 size=00024h ( 36) load
I (261) boot: Loaded app from partition at offset 0x40000
I (261) boot: Disabling RNG early entropy source...
I (262) octal_psram: vendor id : 0x0d (AP)
I (262) octal_psram: dev id : 0x02 (generation 3)
I (262) octal_psram: density : 0x03 (64 Mbit)
I (263) octal_psram: good-die : 0x01 (Pass)
I (263) octal_psram: Latency : 0x01 (Fixed)
I (263) octal_psram: VCC : 0x01 (3V)
I (263) octal_psram: SRF : 0x01 (Fast Refresh)
I (264) octal_psram: BurstType : 0x01 (Hybrid Wrap)
I (264) octal_psram: BurstLen : 0x01 (32 Byte)
I (264) octal_psram: Readlatency : 0x02 (10 cycles@Fixed)
I (264) octal_psram: DriveStrength: 0x00 (1/1)
I (264) MSPI Timing: Enter psram timing tuning
I (265) esp_psram: Found 8MB PSRAM device
I (265) esp_psram: Speed: 80MHz
I (266) cpu_start: Multicore app
I (692) esp_psram: SPI SRAM memory test OK
I (701) cpu_start: Pro cpu start user code
I (701) cpu_start: cpu freq: 240000000 Hz
I (701) app_init: Application information:
I (701) app_init: Project name: frame_m1_hardware
I (701) app_init: App version: 7bae861-dirty
I (701) app_init: Compile time: Aug 31 2026 06:36:52
I (701) app_init: ELF file SHA256: e7433442e...
I (701) app_init: ESP-IDF: v6.0.2
I (702) efuse_init: Min chip rev: v0.0
I (702) efuse_init: Max chip rev: v0.99
I (702) efuse_init: Chip rev: v0.2
I (702) heap_init: Initializing. RAM available for dynamic allocation:
I (702) heap_init: At 3FCB8370 len 000313A0 (196 KiB): RAM
I (702) heap_init: At 3FCE9710 len 00005724 (21 KiB): RAM
I (703) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM
I (703) heap_init: At 600FE000 len 00001FE8 (7 KiB): RTCRAM
I (703) esp_psram: Adding pool of 8192K of PSRAM memory to heap allocator
I (704) spi_flash: detected chip: generic
I (704) spi_flash: flash io: qio
I (704) sleep_gpio: Configure to isolate all GPIO pins in sleep state
I (705) sleep_gpio: Enable automatic switching of GPIO sleep configuration
I (705) esp_core_dump_flash: Init core dump to flash
I (705) esp_core_dump_flash: Found partition 'coredump' @ 20000 131072 bytes
I (723) esp_core_dump_flash: Core dump data checksum is correct
I (723) esp_core_dump_flash: Found core dump 19328 bytes in flash @ 0x20000
I (724) main_task: Started on CPU0
I (724) esp_psram: Reserving pool of 32K of internal memory for DMA/internal allocations
I (725) main_task: Calling app_main()
I (785) frame-m1: Frame M1 0.1.0-dev.1; IDF v6.0.2; toolchain gcc-15.2.0
I (785) frame-m1: board=Waveshare ESP32-S3-RLCD-4.2 module=ESP32-S3-WROOM-1-N16R8 device=c1810c76790e
I (786) frame-m1: cores=2 flash=16777216 psram=8388608 part=OK reset=11 image_sha256=52f1c06bf46f68ac
I (805) frame-prov: system_fs mounted
I (807) pp: pp rom version: e7ae62f
I (807) net80211: net80211 rom version: e7ae62f
I (809) wifi:wifi driver task: 3fcc7f54, prio:23, stack:6656, core=0
I (816) wifi:wifi firmware version: 00ad238
I (816) wifi:wifi certification version: v7.0
I (816) wifi:config NVS flash: enabled
I (816) wifi:config nano formatting: disabled
I (816) wifi:Init data frame dynamic rx buffer num: 32
I (816) wifi:Init static rx mgmt buffer num: 5
I (817) wifi:Init management short buffer num: 32
I (817) wifi:Init dynamic tx buffer num: 32
I (817) wifi:Init static tx FG buffer num: 2
I (817) wifi:Init static rx buffer size: 1600
I (817) wifi:Init static rx buffer num: 10
I (817) wifi:Init dynamic rx buffer num: 32
I (818) wifi_init: rx ba win: 6
I (818) wifi_init: accept mbox: 6
I (818) wifi_init: tcpip mbox: 32
I (819) wifi_init: udp mbox: 6
I (819) wifi_init: tcp mbox: 6
I (819) wifi_init: tcp tx win: 5760
I (819) wifi_init: tcp rx win: 5760
I (819) wifi_init: tcp mss: 1440
I (819) wifi_init: WiFi IRAM OP enabled
I (819) wifi_init: WiFi RX IRAM OP enabled
I (819) phy_init: phy_version 712,87e8c20e,Apr 13 2026,18:51:10
W (846) SD_HOST: input line delay not supported, fallback to 0 delay
I (853) wifi:mode : sta (a4:cb:8f:cf:cd:5c)
I (854) wifi:enable tsf
{"schema_version":1,"sequence":1,"uptime_us":2169354,"utc_valid":true,"utc":"2026-01-06T20:43:52Z","source":"m1","event":"status","mode":"normal","status":"FAILED","device_id":"c1810c76790e","app":"7bae861-dirty","idf":"v6.0.2","toolchain":"gcc-15.2.0","image_sha256":"52f1c06bf46f68acb8e72f19ba12cf13f7d6106a050eaecd12be28df9fc955d4","partitions":true,"reset_reason":11,"tf":"READY","wifi":"UNCONFIG","rtc":true,"shtc3":true,"sensor_valid":true,"temperature_tenths_c":285,"humidity_tenths_percent":389,"key_short":0,"key_long":0,"crc32c":"48d4807f"}

Type 'help' to get the list of commands.
Use UP/DOWN arrows to navigate through command history.
Press TAB when typing command name to auto-complete.
Your terminal application does not support escape sequences.
Line editing and history features are disabled.
On Windows, try using Windows Terminal or Putty instead.
I (3651) frame-prov: wifi provision pending
frame> I (3655) wifi:flush txq
I (3656) wifi:stop sw txq
I (3656) wifi:lmac stop hw txq
I (3659) wifi:mode : sta (a4:cb:8f:cf:cd:5c) + softAP (a4:cb:8f:cf:cd:5d)
I (3660) wifi:enable tsf
I (3661) wifi:Total power save buffer number: 16
I (3662) wifi:Init max length of beacon: 752/752
I (3663) wifi:Init max length of beacon: 752/752
I (3665) esp_netif_lwip: DHCP server started on interface WIFI_AP_DEF with IP: 192.168.4.1
I (3667) frame-prov: provision AP up Frame-Setup-790e at 192.168.4.1
I (3668) frame-m1: services board=ESP_OK storage=ESP_OK wifi=ESP_OK display=ESP_OK console=ESP_OK
I (3670) frame-m1: provision mount=ESP_OK saved=ESP_OK
I (3670) main_task: Returned from app_main()
{"schema_version":1,"sequence":2,"uptime_us":12181359,"utc_valid":true,"utc":"2026-01-06T20:44:02Z","source":"m1","event":"status","mode":"normal","status":"OK","device_id":"c1810c76790e","app":"7bae861-dirty","idf":"v6.0.2","toolchain":"gcc-15.2.0","image_sha256":"52f1c06bf46f68acb8e72f19ba12cf13f7d6106a050eaecd12be28df9fc955d4","partitions":true,"reset_reason":11,"tf":"READY","wifi":"UNCONFIG","rtc":true,"shtc3":true,"sensor_valid":true,"temperature_tenths_c":285,"humidity_tenths_percent":391,"key_short":0,"key_long":0,"crc32c":"5a6f4676"}
{"schema_version":1,"sequence":3,"uptime_us":22197346,"utc_valid":true,"utc":"2026-01-06T20:44:12Z","source":"m1","event":"status","mode":"normal","status":"OK","device_id":"c1810c76790e","app":"7bae861-dirty","idf":"v6.0.2","toolchain":"gcc-15.2.0","image_sha256":"52f1c06bf46f68acb8e72f19ba12cf13f7d6106a050eaecd12be28df9fc955d4","partitions":true,"reset_reason":11,"tf":"READY","wifi":"UNCONFIG","rtc":true,"shtc3":true,"sensor_valid":true,"temperature_tenths_c":285,"humidity_tenths_percent":389,"key_short":0,"key_long":0,"crc32c":"6caaaf3a"}
{"schema_version":1,"sequence":4,"uptime_us":32213344,"utc_valid":true,"utc":"2026-01-06T20:44:22Z","source":"m1","event":"status","mode":"normal","status":"OK","device_id":"c1810c76790e","app":"7bae861-dirty","idf":"v6.0.2","toolchain":"gcc-15.2.0","image_sha256":"52f1c06bf46f68acb8e72f19ba12cf13f7d6106a050eaecd12be28df9fc955d4","partitions":true,"reset_reason":11,"tf":"READY","wifi":"UNCONFIG","rtc":true,"shtc3":true,"sensor_valid":true,"temperature_tenths_c":285,"humidity_tenths_percent":390,"key_short":0,"key_long":0,"crc32c":"068e7ebe"}
{"schema_version":1,"sequence":5,"uptime_us":42229367,"utc_valid":true,"utc":"2026-01-06T20:44:32Z","source":"m1","event":"status","mode":"normal","status":"OK","device_id":"c1810c76790e","app":"7bae861-dirty","idf":"v6.0.2","toolchain":"gcc-15.2.0","image_sha256":"52f1c06bf46f68acb8e72f19ba12cf13f7d6106a050eaecd12be28df9fc955d4","partitions":true,"reset_reason":11,"tf":"READY","wifi":"UNCONFIG","rtc":true,"shtc3":true,"sensor_valid":true,"temperature_tenths_c":285,"humidity_tenths_percent":388,"key_short":0,"key_long":0,"crc32c":"1f7ed539"}
{"schema_version":1,"sequence":6,"uptime_us":52245321,"utc_valid":true,"utc":"2026-01-06T20:44:42Z","source":"m1","event":"status","mode":"normal","status":"OK","device_id":"c1810c76790e","app":"7bae861-dirty","idf":"v6.0.2","toolchain":"gcc-15.2.0","image_sha256":"52f1c06bf46f68acb8e72f19ba12cf13f7d6106a050eaecd12be28df9fc955d4","partitions":true,"reset_reason":11,"tf":"READY","wifi":"UNCONFIG","rtc":true,"shtc3":true,"sensor_valid":true,"temperature_tenths_c":284,"humidity_tenths_percent":388,"key_short":0,"key_long":0,"crc32c":"6f8488a5"}
{"schema_version":1,"sequence":7,"uptime_us":62264320,"utc_valid":true,"utc":"2026-01-06T20:44:52Z","source":"m1","event":"status","mode":"normal","status":"OK","device_id":"c1810c76790e","app":"7bae861-dirty","idf":"v6.0.2","toolchain":"gcc-15.2.0","image_sha256":"52f1c06bf46f68acb8e72f19ba12cf13f7d6106a050eaecd12be28df9fc955d4","partitions":true,"reset_reason":11,"tf":"READY","wifi":"UNCONFIG","rtc":true,"shtc3":true,"sensor_valid":true,"temperature_tenths_c":285,"humidity_tenths_percent":388,"key_short":0,"key_long":0,"crc32c":"968c0799"}
{"schema_version":1,"sequence":8,"uptime_us":72279343,"utc_valid":true,"utc":"2026-01-06T20:45:02Z","source":"m1","event":"status","mode":"normal","status":"OK","device_id":"c1810c76790e","app":"7bae861-dirty","idf":"v6.0.2","toolchain":"gcc-15.2.0","image_sha256":"52f1c06bf46f68acb8e72f19ba12cf13f7d6106a050eaecd12be28df9fc955d4","partitions":true,"reset_reason":11,"tf":"READY","wifi":"UNCONFIG","rtc":true,"shtc3":true,"sensor_valid":true,"temperature_tenths_c":284,"humidity_tenths_percent":388,"key_short":0,"key_long":0,"crc32c":"1890d5cc"}
{"schema_version":1,"sequence":9,"uptime_us":82295341,"utc_valid":true,"utc":"2026-01-06T20:45:12Z","source":"m1","event":"status","mode":"normal","status":"OK","device_id":"c1810c76790e","app":"7bae861-dirty","idf":"v6.0.2","toolchain":"gcc-15.2.0","image_sha256":"52f1c06bf46f68acb8e72f19ba12cf13f7d6106a050eaecd12be28df9fc955d4","partitions":true,"reset_reason":11,"tf":"READY","wifi":"UNCONFIG","rtc":true,"shtc3":true,"sensor_valid":true,"temperature_tenths_c":284,"humidity_tenths_percent":389,"key_short":0,"key_long":0,"crc32c":"606945e0"}
{"schema_version":1,"sequence":10,"uptime_us":92311356,"utc_valid":true,"utc":"2026-01-06T20:45:22Z","source":"m1","event":"status","mode":"normal","status":"OK","device_id":"c1810c76790e","app":"7bae861-dirty","idf":"v6.0.2","toolchain":"gcc-15.2.0","image_sha256":"52f1c06bf46f68acb8e72f19ba12cf13f7d6106a050eaecd12be28df9fc955d4","partitions":true,"reset_reason":11,"tf":"READY","wifi":"UNCONFIG","rtc":true,"shtc3":true,"sensor_valid":true,"temperature_tenths_c":284,"humidity_tenths_percent":388,"key_short":0,"key_long":0,"crc32c":"c7f58743"}
{"schema_version":1,"sequence":11,"uptime_us":102331342,"utc_valid":true,"utc":"2026-01-06T20:45:32Z","source":"m1","event":"status","mode":"normal","status":"OK","device_id":"c1810c76790e","app":"7bae861-dirty","idf":"v6.0.2","toolchain":"gcc-15.2.0","image_sha256":"52f1c06bf46f68acb8e72f19ba12cf13f7d6106a050eaecd12be28df9fc955d4","partitions":true,"reset_reason":11,"tf":"READY","wifi":"UNCONFIG","rtc":true,"shtc3":true,"sensor_valid":true,"temperature_tenths_c":284,"humidity_tenths_percent":388,"key_short":0,"key_long":0,"crc32c":"e00e5a28"}
{"schema_version":1,"sequence":12,"uptime_us":112347360,"utc_valid":true,"utc":"2026-01-06T20:45:42Z","source":"m1","event":"status","mode":"normal","status":"OK","device_id":"c1810c76790e","app":"7bae861-dirty","idf":"v6.0.2","toolchain":"gcc-15.2.0","image_sha256":"52f1c06bf46f68acb8e72f19ba12cf13f7d6106a050eaecd12be28df9fc955d4","partitions":true,"reset_reason":11,"tf":"READY","wifi":"UNCONFIG","rtc":true,"shtc3":true,"sensor_valid":true,"temperature_tenths_c":285,"humidity_tenths_percent":388,"key_short":0,"key_long":0,"crc32c":"7b3b77ea"}