## 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]>
78 lines
9.9 KiB
Plaintext
78 lines
9.9 KiB
Plaintext
[0;33mCMake presets file found but no preset name given; using 'default' preset[0m
|
|
Adding "flash"'s dependency "all" to list of commands with default set of options.
|
|
Executing action: all (aliases: build)
|
|
Running ninja in directory /home/lain/Projects/esp_study/esp_study/poc/apps/m1_hardware/build/default
|
|
Executing "ninja all"...
|
|
[1/4] 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 0x14f520 bytes. Smallest app partition is 0x500000 bytes. 0x3b0ae0 bytes (74%) free.
|
|
[2/4] 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.
|
|
[3/4] No install step for 'bootloader'
|
|
[4/4] Completed 'bootloader'
|
|
Executing action: flash
|
|
Running ninja in directory /home/lain/Projects/esp_study/esp_study/poc/apps/m1_hardware/build/default
|
|
Executing "ninja flash"...
|
|
[1/5] 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 0x14f520 bytes. Smallest app partition is 0x500000 bytes. 0x3b0ae0 bytes (74%) free.
|
|
[2/5] 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.
|
|
[3/5] No install step for 'bootloader'
|
|
[4/5] Completed 'bootloader'
|
|
[4/5] Running utility command for flash
|
|
esptool --chip esp32s3 -p /dev/ttyACM0 -b 460800 --before=default-reset --after=hard-reset write-flash --flash-mode dio --flash-freq 80m --flash-size 16MB 0x0 bootloader/bootloader.bin 0x8000 partition_table/partition-table.bin 0x1e000 ota_data_initial.bin 0x40000 frame_m1_hardware.bin
|
|
esptool v5.3.1
|
|
Serial port /dev/ttyACM0:
|
|
Connecting...
|
|
[1A[2K[1A[2KConnected to ESP32-S3 on /dev/ttyACM0:
|
|
Chip type: ESP32-S3 (QFN56) (revision v0.2)
|
|
Features: Wi-Fi, BT 5 (LE), Dual Core + LP Core, 240MHz, Embedded PSRAM 8MB (AP_3v3)
|
|
Crystal frequency: 40MHz
|
|
USB mode: USB-Serial/JTAG
|
|
MAC: a4:cb:8f:cf:cd:5c
|
|
|
|
Uploading stub flasher...
|
|
Running stub flasher...
|
|
[1A[2K[1A[2KStub flasher running.
|
|
Changing baud rate to 460800...
|
|
Changed.
|
|
|
|
Configuring flash size...
|
|
|
|
Writing 'bootloader/bootloader.bin' at 0x00000000...
|
|
SHA digest in image updated.
|
|
Flash will be erased from 0x00000000 to 0x00005fff...
|
|
Compressed 22608 bytes to 14490...
|
|
|
|
[KWriting at 0x00000000 [ ] 0.0% 0/14490 bytes...
|
|
[KWriting at 0x00005850 [==============================] 100.0% 14490/14490 bytes...
|
|
[1A[2K[1A[2KWrote 22608 bytes (14490 compressed) at 0x00000000 in 0.2 seconds (821.2 kbit/s).
|
|
Verifying written data...
|
|
[1A[2KHash of data verified.
|
|
|
|
Writing 'partition_table/partition-table.bin' at 0x00008000...
|
|
Flash will be erased from 0x00008000 to 0x00008fff...
|
|
Compressed 3072 bytes to 176...
|
|
|
|
[KWriting at 0x00008000 [ ] 0.0% 0/176 bytes...
|
|
[KWriting at 0x00008c00 [==============================] 100.0% 176/176 bytes...
|
|
[1A[2K[1A[2KWrote 3072 bytes (176 compressed) at 0x00008000 in 0.0 seconds (1032.9 kbit/s).
|
|
Verifying written data...
|
|
[1A[2KHash of data verified.
|
|
|
|
Writing 'ota_data_initial.bin' at 0x0001e000...
|
|
Flash will be erased from 0x0001e000 to 0x0001ffff...
|
|
Compressed 8192 bytes to 31...
|
|
|
|
[KWriting at 0x0001e000 [ ] 0.0% 0/31 bytes...
|
|
[KWriting at 0x00020000 [==============================] 100.0% 31/31 bytes...
|
|
[1A[2K[1A[2KWrote 8192 bytes (31 compressed) at 0x0001e000 in 0.0 seconds (1685.9 kbit/s).
|
|
Verifying written data...
|
|
[1A[2KHash of data verified.
|
|
|
|
Writing 'frame_m1_hardware.bin' at 0x00040000...
|
|
Flash will be erased from 0x00040000 to 0x0018ffff...
|
|
Compressed 1373472 bytes to 859694...
|
|
|
|
[KWriting at 0x00040000 [ ] 0.0% 0/859694 bytes...
|
|
[KWriting at 0x0004ce7e [ ] 1.9% 16384/859694 bytes...
|
|
[KWriting at 0x00059ab0 [> ] 3.8% 32768/859694 bytes...
|
|
[KWriting at 0x0006233d [> ] 5.7% 49152/859694 bytes...
|
|
[KWriting at 0x0006b090 [=> ] 7.6% 65536/859694 bytes...
|
|
[KWriting at 0x00072dd4 [=> ] 9.5% 81920/859694 bytes...
|
|
[KWriting at 0x0007cdea [==> ] 11.4% 98304/859694 bytes...
|
|
[KWriting at 0x00084ddd [===> ] 13.3% 114688/859694 bytes...
|
|
[KWriting at 0x0008b2c5 [===> ] 15.2% 131072/859694 bytes...
|
|
[KWriting at 0x000913f9 [====> ] 17.2% 147456/859694 bytes...
|
|
[KWriting at 0x00096dd9 [====> ] 19.1% 163840/859694 bytes...
|
|
[KWriting at 0x0009caf9 [=====> ] 21.0% 180224/859694 bytes...
|
|
[KWriting at 0x000a2774 [=====> ] 22.9% 196608/859694 bytes...
|
|
[KWriting at 0x000a8a09 [======> ] 24.8% 212992/859694 bytes...
|
|
[KWriting at 0x000ae2fa [=======> ] 26.7% 229376/859694 bytes...
|
|
[KWriting at 0x000b4905 [=======> ] 28.6% 245760/859694 bytes...
|
|
[KWriting at 0x000ba42d [========> ] 30.5% 262144/859694 bytes...
|
|
[KWriting at 0x000c0184 [========> ] 32.4% 278528/859694 bytes...
|
|
[KWriting at 0x000c7001 [=========> ] 34.3% 294912/859694 bytes...
|
|
[KWriting at 0x000ccbcc [=========> ] 36.2% 311296/859694 bytes...
|
|
[KWriting at 0x000d2763 [==========> ] 38.1% 327680/859694 bytes...
|
|
[KWriting at 0x000d8818 [===========> ] 40.0% 344064/859694 bytes...
|
|
[KWriting at 0x000df53e [===========> ] 41.9% 360448/859694 bytes...
|
|
[KWriting at 0x000e70e7 [============> ] 43.8% 376832/859694 bytes...
|
|
[KWriting at 0x000ed9cc [============> ] 45.7% 393216/859694 bytes...
|
|
[KWriting at 0x000f368c [=============> ] 47.6% 409600/859694 bytes...
|
|
[KWriting at 0x000f8e54 [=============> ] 49.6% 425984/859694 bytes...
|
|
[KWriting at 0x000fe1f9 [==============> ] 51.5% 442368/859694 bytes...
|
|
[KWriting at 0x00103b5d [===============> ] 53.4% 458752/859694 bytes...
|
|
[KWriting at 0x00109138 [===============> ] 55.3% 475136/859694 bytes...
|
|
[KWriting at 0x0010e506 [================> ] 57.2% 491520/859694 bytes...
|
|
[KWriting at 0x00113583 [================> ] 59.1% 507904/859694 bytes...
|
|
[KWriting at 0x00118cf4 [=================> ] 61.0% 524288/859694 bytes...
|
|
[KWriting at 0x0011e3ed [=================> ] 62.9% 540672/859694 bytes...
|
|
[KWriting at 0x00123844 [==================> ] 64.8% 557056/859694 bytes...
|
|
[KWriting at 0x00128c31 [===================> ] 66.7% 573440/859694 bytes...
|
|
[KWriting at 0x0012e1ab [===================> ] 68.6% 589824/859694 bytes...
|
|
[KWriting at 0x00134135 [====================> ] 70.5% 606208/859694 bytes...
|
|
[KWriting at 0x00139a64 [====================> ] 72.4% 622592/859694 bytes...
|
|
[KWriting at 0x0013f710 [=====================> ] 74.3% 638976/859694 bytes...
|
|
[KWriting at 0x0014536b [=====================> ] 76.2% 655360/859694 bytes...
|
|
[KWriting at 0x0014ac82 [======================> ] 78.1% 671744/859694 bytes...
|
|
[KWriting at 0x001508ba [=======================> ] 80.0% 688128/859694 bytes...
|
|
[KWriting at 0x00156629 [=======================> ] 81.9% 704512/859694 bytes...
|
|
[KWriting at 0x0015c749 [========================> ] 83.9% 720896/859694 bytes...
|
|
[KWriting at 0x00161afb [========================> ] 85.8% 737280/859694 bytes...
|
|
[KWriting at 0x00168134 [=========================> ] 87.7% 753664/859694 bytes...
|
|
[KWriting at 0x0016dfbc [=========================> ] 89.6% 770048/859694 bytes...
|
|
[KWriting at 0x001745df [==========================> ] 91.5% 786432/859694 bytes...
|
|
[KWriting at 0x0017a92f [===========================> ] 93.4% 802816/859694 bytes...
|
|
[KWriting at 0x00181133 [===========================> ] 95.3% 819200/859694 bytes...
|
|
[KWriting at 0x001872cc [============================> ] 97.2% 835584/859694 bytes...
|
|
[KWriting at 0x0018c2dd [============================> ] 99.1% 851968/859694 bytes...
|
|
[KWriting at 0x0018f520 [==============================] 100.0% 859694/859694 bytes...
|
|
[1A[2K[1A[2KWrote 1373472 bytes (859694 compressed) at 0x00040000 in 7.3 seconds (1506.7 kbit/s).
|
|
Verifying written data...
|
|
[1A[2KHash of data verified.
|
|
|
|
Hard resetting via RTS pin...
|
|
Done
|