feat(poc-a): gate-a dynamic elf proof of concept (#13)
## Summary PoC-A proved that dynamically loaded ELF plugins are workable on ESP32-S3: plugins ship as signed MPB packages, are parsed by a strict single-type parser shared between host and target, and execute from PSRAM+IRAM within a measured admission budget. A 1000-cycle load/unload soak passed 18/18 trend gates with stable heaps, the capacity ladder settled at 8 coexisting plugin instances with a 3356B per-instance budget, and the fail-closed corpus executed zero attacker-controlled bytes across 14 rejection classes. Scheduler semantics (strand FIFO ordering, completion-cancel CAS, quiesce-as-noop ABI) were validated on both host (TSan suite) and target. **Gate-A verdict: PASS** — ADR-0002 moves to **Accepted** with the capacity value 8 and global-sum admission rule as PoC-derived proposals. ## Changes by area Grouped from `git log main..HEAD --oneline` (18 commits): - **Vendored loader + patches**: `4bb53f2` vendor elf_loader 1.3.3 + harness scaffold; `2f67b4f` plugin_iram loader patch with budget consistency (p1-p5 patch series in `PATCHES.md`). - **MPB toolchain**: `4793cc2` deterministic MPB manifest builder with test signing; `408df44` strict single-type MPB parser shared host/target; `796f9d2` host MPB corpus + policy CI lane. - **Plugin pipeline + probes**: `21d2842` plugin pipeline and first PSRAM execution on target; `cab9664` relocation/import allowlist matrix with probes; `c5d6c6c` C++ feature rejection matrix. - **Harness commands**: `e0e7159` generation coexistence with measured admission budget; `2a37556` thousand-cycle lifecycle soak with heap trend gate; `093a72b` on-target scheduler semantics validation (+ `eea3876` clang-format-18 sweep); `a302151` capacity ladder with signed budget; `f34dc72` fail-closed corpus with execution sentinel. - **Host prototypes**: `6198bca` strand FIFO prototype with TSan suite; `1c3ad59` completion-cancel CAS and cleanup semantics. - **Evidence + ADR/docs**: `887d0f7` Gate-A manifest and report; `1c29e8a` ADR-0002 outcome + frozen PoC values. ## QA evidence - `poc/evidence/poc-a-20260901/manifest.json` — 67-artifact hash index, every sha256 recomputed at assembly. - `poc/evidence/poc-a-20260901/GATE-A-REPORT.md` — full nine-item development-plan §4 mapping; TEST-003 10/10 clauses. - 14 verbatim per-task transcripts (`task-1` … `task-15-*.log`) + fresh build artifacts (`build/frame_poc_a.map`, size components). - Frozen in-repo references: `ALLOWLIST.md`, `REJECT-MATRIX.md`, `ADMISSION-BUDGET.md`, `soak_samples_1000.csv`, fc corpus (33 committed `.mpb` containers). - F1-F4 final-wave verdicts: **APPROVE**. - Key numbers: soak **18/18** trend gates over 1000 cycles; capacity **8/8** instances, **3356B** per-instance; fc corpus **14 rejection classes, zero attacker bytes executed**; **4 upstream loader defects found and patched** (p1-p5). ## Requirement IDs (GOV-006) ADR-0002; TEST-002, TEST-003; PLUG-001, PLUG-004, PLUG-008, PLUG-009; MEM-001, MEM-003, MEM-007, MEM-008; LIFE-001, LIFE-002, LIFE-005, LIFE-007; SEC-002, SEC-003, SEC-004, SEC-005; GH-003; GOV-004, GOV-005. ## Risks / known limitations From `GATE-A-REPORT.md` §(f) plus the trade-off table: 1. **Capacity descent path 7-5 unexercised** — rung 8 passed first attempt; rungs 7/6/5 and retry-once logic never ran on hardware (untested against real OOM). 2. **No Wi-Fi in the harness (MEM-001 caveat)** — all PSRAM/IRAM budget numbers are radio-off harness-class; product admission budgets must be re-measured with the network stack active. 3. **On-target scheduler vectors are a subset of the host suite** (256-node pool / 2e4 storm posts vs host 31000 / 1e5); consistency declaration covers only the vectors actually run. 4. **Quiesce is a no-op by ABI semantics** — plugin ABI 1.2 has no quiesce slot; NULL entry is defined as trivial success; real quiesce coordination is later-gate work. 5. **MEMPROT=n trade-off** — `CONFIG_ESP_SYSTEM_MEMPROT=n` is required for the IDF exec heap (`MALLOC_CAP_EXEC`) that `.plugin_iram` needs; software-only PMP config, no eFuse burned (documented in `PATCHES.md` p5); production must re-decide security vs plugin IRAM. 6. **Owner sign-off PENDING** — Gate-A PASS is the PoC team's verdict; formal acceptance of ADR-0002 awaits the owner. ## Not in scope - Product components (GOV-004) — this PR is PoC evidence only; no product code paths change. - **Merge is the owner's call** — do not merge without owner sign-off on ADR-0002. --------- Co-authored-by: ania-lain <[email protected]>
This commit is contained in:
@@ -0,0 +1,181 @@
|
||||
# Gate-A Report — PoC-A Dynamic ELF (PENDING OWNER CONFIRMATION)
|
||||
|
||||
Gate: **A** (PoC-A: toolchain, dynamic ELF, scheduler, cancellation, memory behavior;
|
||||
`_doc/development-plan.md` §4, `_doc/requirements-v4.2.md` TEST-003).
|
||||
Evidence root: `poc/evidence/poc-a-20260901/` — run id `poc-a-20260901T015343Z`, manifest
|
||||
verdict **PASS** (`manifest.json`, 67 artifacts, every sha256 recomputed at assembly;
|
||||
`uv run frame-evidence` green).
|
||||
Tree: worktree `poc-a-dynamic-elf` @ `f34dc72537912e9629dad482222e2159c98988ea`
|
||||
(T1..T15 = 15 of 17 plan todos complete; T16 = this assembly; T17 = ADR backfill, not in scope here).
|
||||
Environment: ESP-IDF **v6.0.2** exact tag, **xtensa-esp-elf gcc-15.2.0**
|
||||
(`esp-15.2.0_20251204`), target esp32s3; loader = **espressif/elf_loader v1.3.3** vendored from
|
||||
`espressif/esp-iot-solution` @ `6526c5b18e156cfbda2c7ce48e282e384c43b485` + local patches
|
||||
**p1..p5** (`poc/apps/poc_a/components/elf_loader/PATCHES.md`; tree.sha256 offline
|
||||
self-consistency re-verified at assembly — 26 upstream files).
|
||||
Hardware: dev board USB id **c1810c76790e** (Waveshare ESP32-S3-RLCD-4.2, module
|
||||
ESP32-S3-WROOM-1-**N16R8**: 16 MiB flash, 8 MiB octal PSRAM — same board as M1-20260831;
|
||||
identity photos `poc/evidence/m1-20260831/photos/board_front_20260831.jpg`,
|
||||
`board_back_module_20260831.jpg`, `status_page_20260831.jpg`; no new photos — display is
|
||||
PoC-B scope).
|
||||
Operator: orchestrator-session. Evidence window 2026-08-31T12:38:25Z → 2026-09-01T02:4xZ
|
||||
(per-task session stamps inside each transcript).
|
||||
|
||||
Citation convention: `task-N-….log:LINE` refers to the verbatim transcript copies in this
|
||||
directory (byte-identical to `.omo/evidence/poca/` originals; sha256 in `manifest.json`).
|
||||
All line numbers are spot-checkable with `sed -n 'LINEp' task-N-….log`.
|
||||
|
||||
---
|
||||
|
||||
## (a) v4.2 traceability (draft `.omo/drafts/poc-a-dynamic-elf.md` table, Result filled)
|
||||
|
||||
Interpretation rule (GOV-001): v4.2 requirements and project-v4.2-draft govern; v4.1
|
||||
(appendix A byte layout, §4.1 strand protocol text, appendix C compile rules) is base
|
||||
spec only where v4.2 is silent.
|
||||
|
||||
| v4.2 authoritative clause | harness landing point | Result (evidence) |
|
||||
|---|---|---|
|
||||
| TEST-003 全项 | C1/C3/C4/C5/C6/C7/C8 item-by-item (Gate-A report maps each) | **PASS 10/10 clauses** — section (c) below |
|
||||
| PLUG-001/008 strict single-type + anti-overflow/overlap/duplicate/unknown-field rejection + same staging buffer | C2 parser + C8 corpus (v4.1 appendix A layout consumed under single-type semantics) | **PASS** — host: MpbParser 28/28 incl. all negative families (`task-3-poc-a-dynamic-elf.log:158`); board: 14/14 tamper classes rejected pre-exec, both transports (`task-14-poc-a-dynamic-elf.log:2792`); mixed-payload both directions rejected (embedded union + `neg_mixed_*` uploads) |
|
||||
| PLUG-004 single candidate + single transaction | C6 coexistence test = exactly 1 old ACTIVE + 1 candidate | **PASS** — `[PASS-single-candidate-guard]` third load → FRAME_ERR_BUSY before allocation, canary unchanged (`task-8-poc-a-dynamic-elf.log:243`) |
|
||||
| PLUG-009 + MEM-007 PoC-derived output freeze | Gate-A report output list: CONFIG_FRAME_MAX_MPB_BYTES, total PSRAM budget, relocation/import allowlist set, capacity 8→N lowest pass → ADR-0002 amendment | **DELIVERED** — section (d) below + `poc/apps/poc_a/plugins/ALLOWLIST.md` + `ADMISSION-BUDGET.md` (signed capacity line); ADR-0002 backfill is T17 |
|
||||
| MEM-001 8MiB admission (minus core/network/display/fs/DMA/staging/coexistence/headroom) | C6 measured the harness baseline before the ladder; harness runs no Wi-Fi (max plugin budget), product admission re-measured at PoC-B | **PASS with frozen caveat** — baseline psram free 8385920 B measured fresh-boot (`task-8-poc-a-dynamic-elf.log:21` context; `ADMISSION-BUDGET.md` MEM-001 section); Wi-Fi-off caveat recorded (section (f)) |
|
||||
| MEM-003 arena 256KiB default / 512KiB hard cap | test plugins max_memory_bytes ≤256KiB; hard cap enforced by manifest_builder | **PASS** — builder refuses >512 KiB declarations (T2 pytest, `task-2-poc-a-dynamic-elf.log:24`); device-side `neg_maxmem` (hostile 600 KiB, signature-valid) rejected pre-init canary unchanged + `baseline_300k` (300 KiB) loads/activates/unloads clean (`ADMISSION-BUDGET.md` rules table) |
|
||||
| MEM-008 1000 cycles no monotonic largest-block degradation | C5 judge script with trend regression | **PASS 18/18** — `SOAK VERDICT: PASS (18/18 criteria)` (`task-9-poc-a-dynamic-elf.log:1264`, repro judge `:2168`); decline 0.00 %, psram min_ever delta 0 B; raw samples `poc/apps/poc_a/plugins/soak_samples_1000.csv` |
|
||||
| LIFE-001/002 post-only, 1ms cooperation, overrun counted not preempted | C7 prototype implements overrun counter and is tested | **PASS** — host suite incl. strand FIFO/no-concurrency/dup-detector 24/24 ×3 (`task-11-12-poc-a-dynamic-elf.log:450,504,558`); on-target `SCHED CONSISTENCY host==target : PASS` (`task-13-poc-a-dynamic-elf.log:988`) |
|
||||
| LIFE-005 reserve-completion-before-success + current-boot exactly-once | C7 CAS tests cover reserve-before-success | **PASS** — completion/cancel CAS vectors both outcomes at full count on board (`task-13-poc-a-dynamic-elf.log:988` consistency row `completion`); TSan clean host-side (`task-11-12-….log:504`) |
|
||||
| LIFE-007 un-executed POST in-place CLEANUP exactly-once destroy | C7 QUIESCING transition tests | **PASS** — board vector `quiesce` (16 cleanups + one §4.1.4 revival delivery on a STOPPED strand, destroyed=17) in the consistency table (`task-13-poc-a-dynamic-elf.log:988`; markers `[PASS-quiesce]` `:297`, `[PASS-completion]` `:310`) |
|
||||
| SEC-002/004 P-256/P1363/verification order (structure→signature→hash→epoch/target/ABI→ELF) | C2/C8 strict order, negative proof order is not bypassable | **PASS** — order proof `[FC-ORDER-DOUBLE-FAULT]`: bad-sig+bad-hash reports -17 SIGNATURE_INVALID first (`task-14-poc-a-dynamic-elf.log:1216`); builder round-trip + resource-only self-verify (`task-2-poc-a-dynamic-elf.log:135,142`) |
|
||||
| SEC-005 epoch floor (eFuse at PoC-E) | dev uses compile-time virtual floor constant, recorded as test strategy | **PASS (dev policy)** — epoch floor = 1 (section (d)); `neg_epoch` class rejected pre-exec on board (`task-14-poc-a-dynamic-elf.log:2792` 14/14 incl. epoch) |
|
||||
| GH-003 CI must include mpb negative/fuzz corpus + ABI/export/import/relocation policy checks | new host corpus/policy CI lane | **PASS** — `mpb-corpus-gates` job in ci.yml (job list `task-15-poc-a-dynamic-elf.log:4`): 28 ctest corpus cases + regen determinism + policy pytest 37; lane-actually-red negative control verified (`task-15-….log:104`) |
|
||||
| TEST-002 evidence field-complete manifest | C9 manifest per field (M1 system reused) | **PASS** — `manifest.json` in this dir (gate A; frame-evidence green; board_id, UTC stamps, operator, IDF tag/toolchain/loader commit+patches, dependency commit, sdkconfig, partition table, linker map, firmware + all-.mpb sha256, per-evidence path+hash, verdict) |
|
||||
| project-v4.2-draft §2 topology + §6 coding gates | harness pipeline = staging→verify→loader→arena→strand→entry table; PoC code not promoted to product components | **PASS** — staging→verify→relocate→entry chain proven on board (`task-4-poc-a-dynamic-elf.log:18-38`); loader entry called ON a worker task via strand (`task-13-…:988` `loader` vector, activate at 0x420612f0); all PoC code under `poc/`+`tools/`+ci.yml (T15/F4 scope audit) |
|
||||
| development-plan §4 external blocker check | loader candidate availability cleared (ADR-0002 matrix); "lock IDF support for dynamic executable PSRAM / cache sync / WDT hook" = first verification of C1/C4 | **PASS** — vendored loader pinned (upstream fetch+verbatim-verify `task-1-poc-a-dynamic-elf.log:7,35`, tree.sha256 `:66`); PSRAM exec proven (`task-4-…:23`); cache sync observable (sync counter `>0=PASS`, `task-9-poc-a-dynamic-elf.log:534`); 1000-cycle REPL hold + 305 s soak with zero TWDT (`task-9-…:1115`) |
|
||||
|
||||
## (b) development-plan §4 — nine exact acceptance items
|
||||
|
||||
| # | Item (§4 "Exact acceptance") | Todo(s) | Verdict | Evidence pointer |
|
||||
|---|---|---|---|---|
|
||||
| 1 | Fixed loader repository URL, full commit SHA, license, bundled licenses, all local patch hashes | T1 (+T5/T6/T7 for later patches) | **PASS** | PATCHES.md: URL espressif/esp-iot-solution, commit `6526c5b18e156cfbda2c7ce48e282e384c43b485`, Apache-2.0 (license.txt sha in PATCHES.md), patches p1..p5 each with diff + post-patch tree.sha256; verbatim vendor proof `task-1-….log:7,35,66`; per-file shas re-verified at assembly (manifest notes) |
|
||||
| 2 | Fixed ESP-IDF/toolchain/C++ mode, ELF class/machine/section/Program-Header/relocation/import/export allowlists; positive/negative test per entry | T5 + T14 | **PASS** | IDF v6.0.2 + gcc-15.2.0 pinned (this report header); reloc allowlist pos+neg on board `task-5-….log:396` (FULL MATRIX PASS 3 pos + 7 neg, canary unchanged), GLOB_DAT pointer-equality `:102`, `neg_r32`/`neg_s0op` byte-patched type flips rejected; import closed-world `-ENOSYS` (`ALLOWLIST.md` §2); phdr policy `neg_phspan` pre-load reject `task-5-….log:646`; ELF identity (class/data/machine) loader-side p2 `neg_phbe/ph64/phmach` (`ALLOWLIST.md` §3) + T14 class-14 uploads (`task-14-….log:2792`) |
|
||||
| 3 | From immutable verified staging bytes: function-pointer call, dynamic PSRAM `.text`, `.plugin_iram` copy/relocate/call/free, cache synchronization | T4 + T7 | **PASS** | fp call + PSRAM text first run `task-4-….log:23-32` (addr in PSRAM window, consumed 3324 B, MAGIC MATCH, 10/10 cycles `:38`); `.plugin_iram` p5: 100-cycle load/prove/unload SOAK PASS `task-7-….log:758-769`, IRAM watermark delta +0 (`:509,541`), budget-consistency negative `iram_mismatch` → -EINVAL pre-allocation (`:386`); cache sync counter advances per IRAM load (`task-9-….log:534`, counter=11>0) |
|
||||
| 4 | `.init_array`/ctor/dtor/TLS/exception/RTTI/unwind: support-or-reject with executable evidence; unknown items fail before execute | T6 | **PASS (all six REJECTED)** | REJECT-MATRIX.md (6 variants, layers L1+L2); pre-p4 crash proof `task-6-….log:2023` (LoadProhibited — the fail-open gap); post-p4 board rejections `:2474,2489`; full matrix PASS 3 pos + 10 neg canary unchanged `:2554`; TLS reloc-layer isolation via `neg_tls_nosect` |
|
||||
| 5 | Code MPB and resource-only MPB strict single-type positive/negative corpus; mixed payload rejected before execute or install | T2/T3/T14 | **PASS** | resource-only round-trip build+parse+self-verify `task-2-….log:135,142`; host corpus 28/28 `task-3-….log:158`; board: mixed-both-directions among the 14/14 pre-exec rejections `task-14-….log:2792` (fixtures `neg_mixed_elf_in_res`/`neg_mixed_res_in_elf`, sha in manifest) |
|
||||
| 6 | 1000× load/prepare/activate/quiesce/unload: no leak, crash, or monotonic largest-block degradation; raw heap/IRAM/stack samples kept | T9 | **PASS 18/18** | 1000-cycle DONE `task-9-….log:1115` (+second judge-reproduced run `:1637,2168`); verdict `:1264`; decline 0.00 %, min_ever delta 0 B psram / 88 B iram, integrity 20/20, 1030/1030 value matches; raw samples committed `poc/apps/poc_a/plugins/soak_samples_1000.csv` (101 rows) |
|
||||
| 7 | Old ACTIVE + sole candidate pass admission on 8 MiB PSRAM; default arena 256 KiB, hard max 512 KiB; FIFO/lost-wakeup/fairness/completion-cancel tests pass | T8 + T13 (host T11/T12) | **PASS** | 60/60 old-gen calls during candidate staging, independent arenas, both generations answer, swap clean `task-8-….log:239-278` (summary `:21`); measured peak 6776 B; scheduler: host TSan 24/24 ×3 `task-11-12-….log:450,504,558`, board 3×10 vectors ALL GREEN `task-13-….log:573,946`, host==target consistency `:988` |
|
||||
| 8 | Capacity 8 ACTIVE first; on failure descend 7/6/5, lowest pass into signed budget; 5 fails → Gate A fail | T10 | **PASS at 8 (descent unexercised)** | rung-8 attempt-1 `[PASS-capacity-8]` `task-10-….log:226` (load/respond/unload `:195,212,223`), per-instance 3356 B `:150`, 8-peak 26848 B `:213`, ×3 identical runs; signed budget line frozen in `ADMISSION-BUDGET.md`; honest note: rungs 7/6/5 + retry path never ran on hardware (section (f)) |
|
||||
| 9 | Failed packages, wrong relocations, hash/signature/package-type mismatches execute zero payload bytes | T14 | **PASS (zero bytes executed)** | 14/14 classes rejected pre-exec on BOTH transports (36 uploaded attacker fixtures + 24 embedded negatives per 2-round run) `task-14-….log:2792-2794`; execution sentinel: canary advances only on the per-round positive control (+1), +0 across all negatives `:2790,5519,5566`; verification-order proof `:1216` |
|
||||
|
||||
## (c) TEST-003 — ten clauses (requirements-v4.2.md:174)
|
||||
|
||||
| # | TEST-003 clause | Verdict | Evidence |
|
||||
|---|---|---|---|
|
||||
| 1 | loader/toolchain | **PASS** | vendored elf_loader 1.3.3@6526c5b1 verified byte-verbatim (`task-1-….log:35`), tree.sha256 (`:66`), CI lane `firmware-poc-a` (`:72`); IDF v6.0.2/gcc-15.2.0; assembly rebuild 0 warnings (manifest note) |
|
||||
| 2 | C ABI | **PASS** | entry table query→prepare→activate→unload round-trip with magic+CRC checks (`task-4-….log:32,38`); host ABI contract suite 52/52 (`task-4-….log:43`) |
|
||||
| 3 | relocation allowlist | **PASS** | full matrix 3 pos + 7 neg, canary unchanged (`task-5-….log:396`); frozen set = types {0,2,3,4,5} (`ALLOWLIST.md` §1) |
|
||||
| 4 | immutable staging | **PASS** | loads parse/verify from the immutable staging copy, never a file path (`task-4-….log:18-31`); T14 re-hashes uploaded bytes on device and asserts == committed file sha before parsing (upload-integrity closed loop, `task-14-….log` [FC-HOST] lines) |
|
||||
| 5 | dynamic PSRAM text | **PASS** | `[PASS-load-psram-addr]` + per-load heap accounting (`task-4-….log:23-31`); executed pointers observed in both the 0x3C.. data window and the +0x06000000 0x42.. instruction mirror (T4/T8 logs) |
|
||||
| 6 | `.plugin_iram` | **PASS** | patch p5; on-device value-from-IRAM proof + window assert + 100-cycle no-leak soak (`task-7-….log:758-769`); manifest/section budget equality enforced both directions (`:386`) |
|
||||
| 7 | cache sync | **PASS** | sync counter increments exactly once per IRAM load, observed >0 on every session (`task-9-….log:534`); full-writeback + cross-core guard convention justified in PATCHES.md p5 |
|
||||
| 8 | 1000-cycle lifecycle | **PASS** | `task-9-….log:1115,1264` (18/18 criteria; second run `:1637`; judge reproducibility `:2168`) |
|
||||
| 9 | old/new coexistence | **PASS** | 6/6 transcript markers ×2 runs (`task-8-….log:21,239-278`); PLUG-004 single-candidate BUSY guard included |
|
||||
| 10 | scheduler FIFO/cancel | **PASS** | host TSan-clean suite (`task-11-12-….log:450-558`) + on-target 10 vectors incl. strict ABABABAB fairness and both CAS outcomes, 3× stability ALL GREEN, host==target consistency PASS (`task-13-….log:573,946,988`) |
|
||||
|
||||
## (d) PoC-derived frozen outputs (PLUG-009 / MEM-007 — for ADR-0002 via T17)
|
||||
|
||||
| Frozen output | Value | Basis |
|
||||
|---|---|---|
|
||||
| `CONFIG_FRAME_MAX_MPB_BYTES` (PoC policy) | **512 KiB (524288 B) hard max**; default arena 256 KiB, 256–512 KiB requestable | enforced twice: `manifest_builder.py` refuses to package larger declarations (T2 pytest) AND device admission rejects signature-valid hostile 600 KiB declarations pre-init (`neg_maxmem`, `ADMISSION-BUDGET.md`) |
|
||||
| PSRAM cost per instance | **3356 B** (capacity class: staging 1984 B + loader arena 1352 B); baseline-class 3388 B (longer manifest name) | measured ×3 identical ladder runs (`task-10-….log:150`); cross-checked by the 0xd1c text-base stride between instances |
|
||||
| 8-instance peak consumption | **26848 B = 0.32 % of the 8 MiB pool**; largest_free_block unchanged (8257536 B); psram exactly restored after unload | `task-10-….log:213,226`; `ADMISSION-BUDGET.md` capacity table |
|
||||
| Capacity value | **8 ACTIVE generations per distinct plugin name** (PASS at 8, attempt 1; MEM-007 floor 5 never reached) | signed budget line in `ADMISSION-BUDGET.md`; proposal value for ADR-0002 |
|
||||
| Relocation/import allowlist (full set) | dynamic reloc types **{R_XTENSA_NONE=0, RTLD=2, GLOB_DAT=3, JMP_SLOT=4, RELATIVE=5}**; closed-world imports (declared+registered only); program-header budget admission | frozen in `poc/apps/poc_a/plugins/ALLOWLIST.md` (positives value-asserted, negatives byte-patched-and-rejected; link-flag contract §4) |
|
||||
| Epoch floor | **virtual floor = 1** (compile-time constant, dev test policy per SEC-005) | real eFuse floor deferred to PoC-E (plan); `neg_epoch` rollback class rejected on board (`task-14-….log:2792`) |
|
||||
| MEMPROT trade-off | `CONFIG_ESP_SYSTEM_MEMPROT=n` required for the IDF exec heap (`MALLOC_CAP_EXEC`) that `.plugin_iram` needs | software-only PMP config, **no eFuse burned**; documented in PATCHES.md p5 + `sdkconfig.defaults` comment — production must re-decide (security vs plugin IRAM) |
|
||||
|
||||
ADR-0002 amendment note (carried for T17): worst-case 8 × (512 KiB arena + 512 KiB container)
|
||||
≈ 8 MiB ≱ pool → the product admission controller must gate the **global sum** of resident
|
||||
declarations, not only the per-plugin hard max (`ADMISSION-BUDGET.md` capacity section).
|
||||
|
||||
## (e) Upstream loader defects found and patched (Gate-A highlights)
|
||||
|
||||
All registered in `PATCHES.md` with diff + sha256; each was **proven on the board** before its fix:
|
||||
|
||||
1. **p1 — fail-open relocation (crash/fail-open class)**: upstream `esp_elf_relocate()` ignored
|
||||
`esp_elf_arch_relocate()`'s `-EINVAL`; out-of-allowlist relocation types only logged and the
|
||||
image kept loading with unrelocated words. Fixed: error propagates, load aborts. Board proof:
|
||||
`neg_r32`/`neg_s0op` rejected (`task-5-….log:396`).
|
||||
2. **p2 — no ELF identity validation (fail-open class)**: without magic/class/data/machine checks
|
||||
an ELF64-/BE-/ARM-marked payload was **loaded and executed** on the S3 mirror path. Fixed:
|
||||
`-EINVAL` before any header-driven access. Board proof: `neg_phbe/ph64/phmach` + T14 class 14.
|
||||
3. **p3 — rounded `.text` window swallows `.rodata` (crash class)**: upstream
|
||||
`ELF_ALIGN(size,4)` made the map_sym window cover the first `.rodata` vaddr(s) → data pointer
|
||||
mirrored into the exec alias → **LoadStoreError on target** (observed `task-5-….log:110`,
|
||||
diagnosis `:394`). Fixed: record the true section size.
|
||||
4. **p4 — forbidden C++ feature sections ignored (crash class)**: a signed `.ctors` probe (only
|
||||
allowlisted relocs) wrote through `esp_elf_map_sym()==0` → **Guru Meditation LoadProhibited,
|
||||
reboot** (pre-p4 board run `task-6-….log:2023`) — a fail-open DoS, not fail-before-execute.
|
||||
Fixed: section-name prefix scan pre-allocation, `-EINVAL` (`:2474,2489`).
|
||||
5. **p5 — `.plugin_iram` support (feature patch)**: IRAM section scan/alloc/copy/relocate/free +
|
||||
budget-consistency hook + observable cache-sync counter; includes the S3 word-access-only
|
||||
IRAM copy (byte stores fault — first board run crash, learnings T7) and the
|
||||
`esp_elf_print_sec()` undercount drive-by fix.
|
||||
|
||||
## (f) Honest limitations (owner should read before confirming)
|
||||
|
||||
1. **Capacity descent path 7-5 unexercised**: rung 8 passed first attempt, so rungs 7/6/5 and the
|
||||
retry-once logic never ran on hardware; that fail-closed code exists only in the committed
|
||||
runner (`capacity_ladder.py`) and is untested against a real OOM (`task-10` issues note,
|
||||
`ADMISSION-BUDGET.md`).
|
||||
2. **No Wi-Fi in the harness (MEM-001 caveat)**: all PSRAM/IRAM budget numbers are harness-class
|
||||
(radio off). Product admission budgets must be re-measured with the network stack active
|
||||
(next gate per plan).
|
||||
3. **On-target scheduler vectors are a subset of the host suite** (T13 consistency table): board
|
||||
node pool 256-node credit + QUEUE_FULL retry vs host 31000-node pool; storm 2e4 posts vs host
|
||||
1e5; the host-vs-target delta list is pinned in `poca_sched.hh` (SMP spinlock correction etc.).
|
||||
The consistency declaration covers the vectors actually run (`task-13-….log:988`).
|
||||
4. **Quiesce is a no-op by ABI semantics**: the plugin ABI 1.2 entry table has no quiesce slot;
|
||||
the NULL entry is defined as trivial success (frozen in `poca_plugin.cc` + the soak banner
|
||||
`task-9-….log:365`; 1000-cycle SOAKHDR `:883`). Real quiesce coordination is later-gate work.
|
||||
5. **Display/screen unused**: no new photos for Gate-A (PoC-B scope); hardware identity rides on
|
||||
the M1 photo set (manifest notes).
|
||||
6. **C++ matrix board rows**: only v1 (ctor) and v3 (TLS) have on-board corpus rows; v2/v4/v6
|
||||
share p4's proven scan mechanism and v5's loader layer is the `-ENOSYS` import path proven by
|
||||
T5 `import_neg`; all six have verbatim L1 gate-error evidence (`REJECT-MATRIX.md` coverage note).
|
||||
7. **Binary provenance**: the fresh assembly rebuild (map/size artifacts, bin sha in manifest
|
||||
notes) is from the identical tracked tree; each board session ran its task-era build and its
|
||||
per-artifact sha256 lines appear verbatim inside the transcripts (per-.mpb device-printed ==
|
||||
build-time hash, closed loop).
|
||||
|
||||
## (g) Verdict
|
||||
|
||||
```
|
||||
GATE-A: PASS (all nine development-plan §4 items evidenced; TEST-003 10/10 clauses;
|
||||
frame-evidence green; 67-artifact manifest, every sha256 recomputed at assembly)
|
||||
— pending owner sign-off below. T17 records the ADR-0002 backfill and does NOT sign this.
|
||||
```
|
||||
|
||||
### PENDING OWNER CONFIRMATION (mirror of the M1-008 owner-record pattern)
|
||||
|
||||
Per GOV-001/005/006: this report and `manifest.json` assemble the repository evidence for the
|
||||
Gate-A owner decision; per development-plan §4 the ADR can only move to Accepted after required
|
||||
evidence passes **and** the owner records the decision. Until then Gate-A stays unsigned.
|
||||
|
||||
```
|
||||
Repository Owner: Aniakea
|
||||
Decision: ( PENDING — not recorded )
|
||||
Date: ( — )
|
||||
Notes: read section (f) limitations before confirming; capacity value 8 and the
|
||||
global-sum admission note are PoC-derived proposals for ADR-0002 (T17).
|
||||
```
|
||||
|
||||
## Raw evidence index
|
||||
|
||||
- `manifest.json` — full 67-artifact hash index (14 transcripts + fresh map/size outputs +
|
||||
in-repo frozen references: `ALLOWLIST.md`, `REJECT-MATRIX.md`, `ADMISSION-BUDGET.md`,
|
||||
`soak_samples_1000.csv`, `PATCHES.md`, `tree.sha256`, 33 committed `.mpb` corpus containers,
|
||||
runner/generator scripts, TEST-ONLY key pair).
|
||||
- `task-1…task-15-poc-a-dynamic-elf.log` — verbatim per-task board/host transcripts
|
||||
(TEST-008); rerun commands per task in `.omo/notepads/poc-a-dynamic-elf/issues.md`.
|
||||
- `build/frame_poc_a.map`, `build/frame_poc_a_size_components.txt` — fresh assembly-time build.
|
||||
- Board session live-capture conventions (RTS pulse, quiesce prompt detect, per-command
|
||||
deadlines) are documented in the runner scripts themselves (`plugins/*_runner.py`).
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,101 @@
|
||||
Executing action: size
|
||||
Running ninja in directory /home/lain/Projects/esp_study/poc-a-wt/poc/apps/poc_a/build/default
|
||||
Executing "ninja all"...
|
||||
[1/4] cd /home/lain/Projects/esp_study/poc-a-wt/poc/apps/poc_a/build/default && /home/lain/.espressif/tools/python/v6.0.2/venv/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/poc-a-wt/poc/apps/poc_a/build/default/partition_table/partition-table.bin /home/lain/Projects/esp_study/poc-a-wt/poc/apps/poc_a/build/default/frame_poc_a.bin
|
||||
frame_poc_a.bin binary size 0x73130 bytes. Smallest app partition is 0x100000 bytes. 0x8ced0 bytes (55%) free.
|
||||
[2/4] Performing build step for 'bootloader'
|
||||
[1/1] cd /home/lain/Projects/esp_study/poc-a-wt/poc/apps/poc_a/build/default/bootloader && /home/lain/.espressif/tools/python/v6.0.2/venv/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/poc-a-wt/poc/apps/poc_a/build/default/bootloader/bootloader.bin
|
||||
Bootloader binary size 0x5800 bytes. 0x2800 bytes (31%) free.
|
||||
[3/4] No install step for 'bootloader'
|
||||
[4/4] Completed 'bootloader'
|
||||
Running ninja in directory /home/lain/Projects/esp_study/poc-a-wt/poc/apps/poc_a/build/default
|
||||
Executing "ninja size"...
|
||||
[0/1] cd /home/lain/Projects/esp_study/poc-a-wt/poc/apps/poc_a/build/default && /usr/bin/cmake -D "IDF_SIZE_TOOL=/home/lain/.espressif/tools/python/v6.0.2/venv/bin/python;-m;esp_idf_size" -D MAP_FILE=/home/lain/Projects/esp_study/poc-a-wt/poc/apps/poc_a/build/default/frame_poc_a.map -D OUTPUT_JSON= -P /home/lain/.espressif/v6.0.2/esp-idf/tools/cmake/run_size_tool.cmake
|
||||
Memory Type Usage Summary
|
||||
┏━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
|
||||
┃ Memory Type/Section ┃ Used [bytes] ┃ Used [%] ┃ Remain [bytes] ┃ Total [bytes] ┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
|
||||
│ Flash Code │ 252470 │ │ │ │
|
||||
│ .text │ 252470 │ │ │ │
|
||||
│ Flash Data │ 144596 │ │ │ │
|
||||
│ .rodata │ 144324 │ │ │ │
|
||||
│ .appdesc │ 256 │ │ │ │
|
||||
│ .tdata │ 16 │ │ │ │
|
||||
│ DIRAM │ 141525 │ 41.41 │ 200235 │ 341760 │
|
||||
│ .bss │ 83784 │ 24.52 │ │ │
|
||||
│ .text │ 44027 │ 12.88 │ │ │
|
||||
│ .data │ 13714 │ 4.01 │ │ │
|
||||
│ IRAM │ 16384 │ 100.0 │ 0 │ 16384 │
|
||||
│ .text │ 15356 │ 93.73 │ │ │
|
||||
│ .vectors │ 1028 │ 6.27 │ │ │
|
||||
│ RTC SLOW │ 36 │ 0.44 │ 8156 │ 8192 │
|
||||
│ .force_slow │ 36 │ 0.44 │ │ │
|
||||
│ RTC FAST │ 24 │ 0.29 │ 8168 │ 8192 │
|
||||
│ .rtc_reserved │ 24 │ 0.29 │ │ │
|
||||
└─────────────────────┴──────────────┴──────────┴────────────────┴───────────────┘
|
||||
Executing action: size-components
|
||||
Running ninja in directory /home/lain/Projects/esp_study/poc-a-wt/poc/apps/poc_a/build/default
|
||||
Executing "ninja all"...
|
||||
[1/4] cd /home/lain/Projects/esp_study/poc-a-wt/poc/apps/poc_a/build/default && /home/lain/.espressif/tools/python/v6.0.2/venv/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/poc-a-wt/poc/apps/poc_a/build/default/partition_table/partition-table.bin /home/lain/Projects/esp_study/poc-a-wt/poc/apps/poc_a/build/default/frame_poc_a.bin
|
||||
frame_poc_a.bin binary size 0x73130 bytes. Smallest app partition is 0x100000 bytes. 0x8ced0 bytes (55%) free.
|
||||
[2/4] Performing build step for 'bootloader'
|
||||
[1/1] cd /home/lain/Projects/esp_study/poc-a-wt/poc/apps/poc_a/build/default/bootloader && /home/lain/.espressif/tools/python/v6.0.2/venv/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/poc-a-wt/poc/apps/poc_a/build/default/bootloader/bootloader.bin
|
||||
Bootloader binary size 0x5800 bytes. 0x2800 bytes (31%) free.
|
||||
[3/4] No install step for 'bootloader'
|
||||
[4/4] Completed 'bootloader'
|
||||
Running ninja in directory /home/lain/Projects/esp_study/poc-a-wt/poc/apps/poc_a/build/default
|
||||
Executing "ninja size-components"...
|
||||
[0/1] cd /home/lain/Projects/esp_study/poc-a-wt/poc/apps/poc_a/build/default && /usr/bin/cmake -D "IDF_SIZE_TOOL=/home/lain/.espressif/tools/python/v6.0.2/venv/bin/python;-m;esp_idf_size" -D IDF_SIZE_MODE=--archives -D MAP_FILE=/home/lain/Projects/esp_study/poc-a-wt/poc/apps/poc_a/build/default/frame_poc_a.map -D OUTPUT_JSON= -P /home/lain/.espressif/v6.0.2/esp-idf/tools/cmake/run_size_tool.cmake
|
||||
Per-archive contributions to ELF file
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━┳━━━━━━━┳━━━━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━┓
|
||||
┃ Archive File ┃ Total Size ┃ IRAM ┃ .text ┃ .vectors ┃ DIRAM ┃ .bss ┃ .data ┃ .text ┃ Flash Code ┃ .text ┃ Flash Data ┃ .tdata ┃ .rodata ┃ .appdesc ┃ RTC FAST ┃ .rtc_reserved ┃ RTC SLOW ┃ .force_slow ┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━╇━━━━━━━╇━━━━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━┩
|
||||
│ libmain.a │ 164927 │ 0 │ 0 │ 0 │ 78845 │ 78845 │ 0 │ 0 │ 26990 │ 26990 │ 59092 │ 0 │ 59092 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ liblwip.a │ 72664 │ 0 │ 0 │ 0 │ 1843 │ 1831 │ 12 │ 0 │ 67929 │ 67929 │ 2892 │ 0 │ 2892 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_stdio.a │ 59727 │ 0 │ 0 │ 0 │ 16 │ 16 │ 0 │ 0 │ 396 │ 396 │ 59315 │ 0 │ 59315 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libtfpsacrypto.a │ 49352 │ 38 │ 38 │ 0 │ 380 │ 316 │ 64 │ 0 │ 41759 │ 41759 │ 7175 │ 0 │ 7175 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libc.a │ 25234 │ 0 │ 0 │ 0 │ 160 │ 140 │ 20 │ 0 │ 21898 │ 21898 │ 3176 │ 0 │ 3176 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libfreertos.a │ 21476 │ 388 │ 388 │ 0 │ 9397 │ 764 │ 3108 │ 5525 │ 10538 │ 10538 │ 1153 │ 0 │ 1153 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libspi_flash.a │ 19261 │ 1505 │ 1505 │ 0 │ 15252 │ 32 │ 6758 │ 8462 │ 1384 │ 1384 │ 1120 │ 0 │ 1120 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_hw_support.a │ 18914 │ 2431 │ 2431 │ 0 │ 8082 │ 116 │ 594 │ 7372 │ 7392 │ 7392 │ 949 │ 0 │ 949 │ 0 │ 24 │ 24 │ 36 │ 36 │
|
||||
│ libesp_system.a │ 14275 │ 2665 │ 2665 │ 0 │ 1612 │ 317 │ 497 │ 798 │ 9310 │ 9310 │ 688 │ 0 │ 688 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libconsole.a │ 12940 │ 0 │ 0 │ 0 │ 89 │ 48 │ 41 │ 0 │ 12804 │ 12804 │ 47 │ 0 │ 47 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libheap.a │ 12117 │ 1609 │ 1609 │ 0 │ 5497 │ 8 │ 12 │ 5477 │ 4048 │ 4048 │ 963 │ 0 │ 963 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libnvs_flash.a │ 9951 │ 0 │ 0 │ 0 │ 24 │ 24 │ 0 │ 0 │ 9775 │ 9775 │ 152 │ 0 │ 152 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_hal_mspi.a │ 6034 │ 604 │ 604 │ 0 │ 4794 │ 0 │ 36 │ 4758 │ 636 │ 636 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_libc.a │ 5063 │ 863 │ 863 │ 0 │ 2316 │ 564 │ 336 │ 1416 │ 1732 │ 1732 │ 152 │ 16 │ 136 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_ringbuf.a │ 4941 │ 180 │ 180 │ 0 │ 2602 │ 0 │ 0 │ 2602 │ 1657 │ 1657 │ 502 │ 0 │ 502 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_mm.a │ 4718 │ 510 │ 510 │ 0 │ 1115 │ 48 │ 129 │ 938 │ 2843 │ 2843 │ 250 │ 0 │ 250 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_driver_usb_serial_jtag.a │ 4289 │ 118 │ 118 │ 0 │ 73 │ 17 │ 56 │ 0 │ 3898 │ 3898 │ 200 │ 0 │ 200 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_psram.a │ 3785 │ 273 │ 273 │ 0 │ 1965 │ 62 │ 10 │ 1893 │ 1395 │ 1395 │ 152 │ 0 │ 152 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libxtensa.a │ 3717 │ 2039 │ 1612 │ 427 │ 1513 │ 0 │ 1060 │ 453 │ 117 │ 117 │ 48 │ 0 │ 48 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libvfs.a │ 3566 │ 0 │ 0 │ 0 │ 236 │ 44 │ 192 │ 0 │ 3191 │ 3191 │ 139 │ 0 │ 139 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libhal.a │ 3175 │ 432 │ 432 │ 0 │ 2743 │ 5 │ 353 │ 2385 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libelf_loader.a │ 3169 │ 21 │ 21 │ 0 │ 136 │ 132 │ 4 │ 0 │ 2414 │ 2414 │ 598 │ 0 │ 598 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_driver_dma.a │ 3085 │ 98 │ 98 │ 0 │ 12 │ 0 │ 12 │ 0 │ 2849 │ 2849 │ 126 │ 0 │ 126 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libframe_poc_mpb.a │ 2928 │ 0 │ 0 │ 0 │ 8 │ 8 │ 0 │ 0 │ 2780 │ 2780 │ 140 │ 0 │ 140 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libpthread.a │ 2520 │ 0 │ 0 │ 0 │ 32 │ 16 │ 16 │ 0 │ 2388 │ 2388 │ 100 │ 0 │ 100 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_driver_gpio.a │ 2187 │ 0 │ 0 │ 0 │ 36 │ 0 │ 36 │ 0 │ 1874 │ 1874 │ 277 │ 0 │ 277 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_hal_dma.a │ 2049 │ 627 │ 627 │ 0 │ 4 │ 0 │ 4 │ 0 │ 1418 │ 1418 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libefuse.a │ 1920 │ 10 │ 10 │ 0 │ 244 │ 4 │ 240 │ 0 │ 1229 │ 1229 │ 437 │ 0 │ 437 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_common.a │ 1777 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 51 │ 51 │ 1726 │ 0 │ 1726 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ liblog.a │ 1729 │ 24 │ 24 │ 0 │ 612 │ 276 │ 8 │ 328 │ 1045 │ 1045 │ 48 │ 0 │ 48 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_hal_gpio.a │ 1281 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 1281 │ 0 │ 1281 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_partition.a │ 1141 │ 0 │ 0 │ 0 │ 8 │ 8 │ 0 │ 0 │ 1096 │ 1096 │ 37 │ 0 │ 37 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libbootloader_support.a │ 1070 │ 1000 │ 1000 │ 0 │ 0 │ 0 │ 0 │ 0 │ 30 │ 30 │ 40 │ 0 │ 40 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_rom.a │ 941 │ 96 │ 96 │ 0 │ 638 │ 0 │ 4 │ 634 │ 207 │ 207 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_hal_security.a │ 874 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 874 │ 874 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_app_format.a │ 713 │ 0 │ 0 │ 0 │ 10 │ 10 │ 0 │ 0 │ 439 │ 439 │ 264 │ 0 │ 8 │ 256 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libsoc.a │ 648 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 28 │ 28 │ 620 │ 0 │ 620 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_timer.a │ 454 │ 57 │ 57 │ 0 │ 20 │ 20 │ 0 │ 0 │ 361 │ 361 │ 16 │ 0 │ 16 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libxt_hal.a │ 437 │ 0 │ 0 │ 0 │ 405 │ 0 │ 0 │ 405 │ 0 │ 0 │ 32 │ 0 │ 32 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_security.a │ 374 │ 0 │ 0 │ 0 │ 8 │ 8 │ 0 │ 0 │ 358 │ 358 │ 8 │ 0 │ 8 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_hal_pmu.a │ 321 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 321 │ 321 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libapp_update.a │ 188 │ 0 │ 0 │ 0 │ 4 │ 4 │ 0 │ 0 │ 154 │ 154 │ 30 │ 0 │ 30 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libstdc++.a │ 86 │ 0 │ 0 │ 0 │ 5 │ 5 │ 0 │ 0 │ 77 │ 77 │ 4 │ 0 │ 4 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libmbedtls.a │ 36 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 36 │ 36 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libcxx.a │ 34 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 34 │ 34 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libmbedtls.a │ 29 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 21 │ 21 │ 8 │ 0 │ 8 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libnvs_sec_provider.a │ 5 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 5 │ 5 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
│ libesp_phy.a │ 5 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 5 │ 5 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │ 0 │
|
||||
└─────────────────────────────────┴────────────┴──────┴───────┴──────────┴───────┴───────┴───────┴───────┴────────────┴───────┴────────────┴────────┴─────────┴──────────┴──────────┴───────────────┴──────────┴─────────────┘
|
||||
@@ -0,0 +1,462 @@
|
||||
{
|
||||
"schema_version": 1,
|
||||
"gate": "A",
|
||||
"run_id": "poc-a-20260901T015343Z",
|
||||
"verdict": "PASS",
|
||||
"started_at": "2026-08-31T12:38:25Z",
|
||||
"finished_at": "2026-09-01T02:43:42Z",
|
||||
"source": {
|
||||
"repository_commit": "f34dc72537912e9629dad482222e2159c98988ea",
|
||||
"dirty": false,
|
||||
"project_document_sha256": "8f15679c40b17308d90dcac3b2d8e31db1d3b0380460fa0bbc545cac9ef2d5bd"
|
||||
},
|
||||
"platform": {
|
||||
"idf_tag": "v6.0.2",
|
||||
"compiler": "gcc-15.2.0 (xtensa-esp-elf esp-15.2.0_20251204)",
|
||||
"target": "esp32s3",
|
||||
"sdkconfig_sha256": "85b339e4257ede8dc40122fbe3006875ead9cb70b5d59b0c04a3cae6e51ce8ed",
|
||||
"loader_commit": "6526c5b18e156cfbda2c7ce48e282e384c43b485"
|
||||
},
|
||||
"hardware": {
|
||||
"board_id": "c1810c76790e",
|
||||
"board_revision": "N16R8 (Waveshare ESP32-S3-RLCD-4.2)",
|
||||
"display_id": null,
|
||||
"sd_card_id": null,
|
||||
"power_fixture_id": null
|
||||
},
|
||||
"metrics": {
|
||||
"todos_evidenced": 15,
|
||||
"task_transcripts": 14,
|
||||
"dev_plan_section4_items_pass": 9,
|
||||
"test003_clauses_pass": 10,
|
||||
"soak_cycles": 1000,
|
||||
"soak_criteria_pass": "18/18",
|
||||
"soak_largest_block_decline_pct": 0.0,
|
||||
"soak_psram_min_ever_delta_bytes": 0,
|
||||
"soak_iram_min_ever_delta_bytes": 88,
|
||||
"soak_value_matches": 1030,
|
||||
"capacity_pass_at": 8,
|
||||
"capacity_per_instance_bytes": 3356,
|
||||
"capacity_8peak_bytes": 26848,
|
||||
"capacity_8peak_pool_pct": 0.32,
|
||||
"coexist_per_instance_bytes": 3388,
|
||||
"coexist_peak_bytes": 6776,
|
||||
"coexist_old_gen_calls_during_candidate": 60,
|
||||
"fc_classes_pre_exec_rejected": 14,
|
||||
"fc_uploaded_attacker_fixtures_per_2round_run": 36,
|
||||
"fc_embedded_negatives_per_2round_run": 24,
|
||||
"fc_sentinel_touches_on_negatives": 0,
|
||||
"reloc_allowlist_types": "0,2,3,4,5 (Xtensa)",
|
||||
"cxx_features_rejected": 6,
|
||||
"max_mpb_bytes_policy": 524288,
|
||||
"epoch_virtual_floor": 1,
|
||||
"fresh_build_warnings": 0,
|
||||
"fresh_bin_bytes_hex": "0x73130",
|
||||
"committed_mpb_count": 33
|
||||
},
|
||||
"artifacts": [
|
||||
{
|
||||
"name": "task-1-poc-a-dynamic-elf.log",
|
||||
"uri": "task-1-poc-a-dynamic-elf.log",
|
||||
"sha256": "2ef4b18288114eee799dc1ab5fec764d6707841b3a2de9c01187b20a4c548ee4",
|
||||
"note": "T1 vendor: upstream fetch+verify (L7-L35), tree.sha256 manifest (L39-L66), CI lane jobs incl firmware-poc-a (L72)."
|
||||
},
|
||||
{
|
||||
"name": "task-2-poc-a-dynamic-elf.log",
|
||||
"uri": "task-2-poc-a-dynamic-elf.log",
|
||||
"sha256": "3fbb4a9dd60ea41af07e5c74675973de15239b6e5afd540303c15a27cf1be579",
|
||||
"note": "T2 manifest_builder: pytest 50 passed (L24), resource-only round-trip OK (L135-L142)."
|
||||
},
|
||||
{
|
||||
"name": "task-3-poc-a-dynamic-elf.log",
|
||||
"uri": "task-3-poc-a-dynamic-elf.log",
|
||||
"sha256": "8d9742bf4d891b019e656d7b6de862c8861837c008f0ef3a7b766ada82a114c1",
|
||||
"note": "T3 shared C parser: MpbParser 28/28 (L158), full host suite 52/52 (L221)."
|
||||
},
|
||||
{
|
||||
"name": "task-4-poc-a-dynamic-elf.log",
|
||||
"uri": "task-4-poc-a-dynamic-elf.log",
|
||||
"sha256": "4bee043bd7f1061ff8ea58deb447961032520ea66d862a3ed9811eeaa3a2dcce",
|
||||
"note": "T4 PSRAM first execution: PASS-load-psram-addr (L23), consumed=3324B (L31), PASS-magic (L32), PASS-10cycles (L38)."
|
||||
},
|
||||
{
|
||||
"name": "task-5-poc-a-dynamic-elf.log",
|
||||
"uri": "task-5-poc-a-dynamic-elf.log",
|
||||
"sha256": "89a20963473dc72e4638d36bfe36dd7b84c6eaba0ef3d345c481467134848c35",
|
||||
"note": "T5 allowlist matrix: GLOB_DAT pointer MATCH (L102), pre-p3 LoadStoreError crash (L110), p3 fix (L394), FULL MATRIX PASS 3 pos + 7 neg (L396), neg_phspan pre-load reject (L646)."
|
||||
},
|
||||
{
|
||||
"name": "task-6-poc-a-dynamic-elf.log",
|
||||
"uri": "task-6-poc-a-dynamic-elf.log",
|
||||
"sha256": "2f7940628b8b40c6d317a5bc662b4703da66864b8c16b0d51cee41d6769d70ea",
|
||||
"note": "T6 C++ rejection: pre-p4 LoadProhibited crash (L2023), post-p4 forbidden-section rejects (L2474,L2489), MATRIX PASS 3 pos + 10 neg (L2554)."
|
||||
},
|
||||
{
|
||||
"name": "task-7-poc-a-dynamic-elf.log",
|
||||
"uri": "task-7-poc-a-dynamic-elf.log",
|
||||
"sha256": "b39ea25ac0cdb6f918db664392bd0b6bef7cd21543fe205d32bf99368c66e063",
|
||||
"note": "T7 .plugin_iram p5: iram_mismatch -EINVAL (L386), watermark delta +0 (L509,L541), 100-cycle SOAK PASS (L758-L769)."
|
||||
},
|
||||
{
|
||||
"name": "task-8-poc-a-dynamic-elf.log",
|
||||
"uri": "task-8-poc-a-dynamic-elf.log",
|
||||
"sha256": "2fce6b0007db720cd7691f956222e8de63a8c7ec9b034156e2b2d747a11e7324",
|
||||
"note": "T8 coexistence: 6/6 PASS markers x2 runs (L21,L239-L278), budget table on-device (L278)."
|
||||
},
|
||||
{
|
||||
"name": "task-9-poc-a-dynamic-elf.log",
|
||||
"uri": "task-9-poc-a-dynamic-elf.log",
|
||||
"sha256": "c8058dc2344d0838bb27f36261be118bec219c188387b730f03bc84eb4db9027",
|
||||
"note": "T9 soak: 1000-cycle DONE (L1115,L1637), SOAK VERDICT PASS 18/18 (L609,L847,L1264), judge reproducibility (L2168)."
|
||||
},
|
||||
{
|
||||
"name": "task-10-poc-a-dynamic-elf.log",
|
||||
"uri": "task-10-poc-a-dynamic-elf.log",
|
||||
"sha256": "984f10c2c4e6765ab62b33767132632e409692d4fb5dacb125e0b225cffc972f",
|
||||
"note": "T10 capacity: per-instance 3356B (L150), PASS-cap-8-load/respond/unload (L195,L212,L223), PASS-capacity-8 (L226), 8-peak 26848B (L213)."
|
||||
},
|
||||
{
|
||||
"name": "task-11-12-poc-a-dynamic-elf.log",
|
||||
"uri": "task-11-12-poc-a-dynamic-elf.log",
|
||||
"sha256": "b62e49fa13709451ec4c6ba5fc8a41fca8edd67ad93fb209124e2ea39ab2c01b",
|
||||
"note": "T11+T12 host strand/completion: TSan suite 24/24 x3 (L450,L504,L558)."
|
||||
},
|
||||
{
|
||||
"name": "task-13-poc-a-dynamic-elf.log",
|
||||
"uri": "task-13-poc-a-dynamic-elf.log",
|
||||
"sha256": "e747b454a66022d1211c89224676b477c4372fbf7142ebdfe1779d51a21989d1",
|
||||
"note": "T13 on-target scheduler: 3x10 stability ALL GREEN (L573,L946), SCHED CONSISTENCY host==target PASS (L988)."
|
||||
},
|
||||
{
|
||||
"name": "task-14-poc-a-dynamic-elf.log",
|
||||
"uri": "task-14-poc-a-dynamic-elf.log",
|
||||
"sha256": "539e39a5a8817ddb2321b426e30c25fea829b3aead8587990266f32a81f58eff",
|
||||
"note": "T14 fail-closed corpus: order proof (L1216), 14/14 pre-exec reject x2 rounds (L2789-L2794), post-format round (L5566-L5567)."
|
||||
},
|
||||
{
|
||||
"name": "task-15-poc-a-dynamic-elf.log",
|
||||
"uri": "task-15-poc-a-dynamic-elf.log",
|
||||
"sha256": "8d0b31dbf6884b8b9e50b164fb9c8bd3925f1e4c2d7f1b0115dbdd7b7d9052be",
|
||||
"note": "T15 CI corpus lane: job list incl mpb-corpus-gates (L4), tamper negative control (L104)."
|
||||
},
|
||||
{
|
||||
"name": "frame_poc_a.map",
|
||||
"uri": "build/frame_poc_a.map",
|
||||
"sha256": "260cc8997cf6d7237e5d640ae6aa199b46a3a18c1779ecec748af220b42a27d8",
|
||||
"note": "GNU ld linker map (frame_poc_a.elf sha256 b88e766c3a72d78215acc6578471ea7ed7427e989c336e2d5b860cb0c8e8aedf) from the FRESH assembly-time rebuild at HEAD f34dc72537912e9629dad482222e2159c98988ea (build dir wiped first; 0 warnings, full log captured). Companion build outputs stay out of the repository: frame_poc_a.bin sha256 3a31ce578410b75ce76ea71a854d1953dedb1a130a3dd82de7fb3fcfa3a4d2de (0x73130 bytes, 55% app partition free), bootloader.bin sha256 bbaa0d07811ec17896bc8893c99e158f71800719fde8ced81b2d4dfc214cadc5, generated sdkconfig sha256 07c2716fa7f616a451773d36e5f76643963da776fc21664042827345a9efe8e5."
|
||||
},
|
||||
{
|
||||
"name": "frame_poc_a_size_components.txt",
|
||||
"uri": "build/frame_poc_a_size_components.txt",
|
||||
"sha256": "dcc57c982ad79f58d4201e71b3e127e6710fd0b6d0eae76ed461e83f501b2fcb",
|
||||
"note": "`idf.py size size-components` of the same fresh build (memory-type summary: DIRAM 141525/341760 B = 41.41%, IRAM 15356+1028/16384 B, flash image total 471227 B; per-archive breakdown incl. libelf_loader.a 3169 B and libframe_poc_mpb.a 2928 B)."
|
||||
},
|
||||
{
|
||||
"name": "ALLOWLIST.md",
|
||||
"uri": "poc/apps/poc_a/plugins/ALLOWLIST.md",
|
||||
"sha256": "b96a2cb5bfbdc0b9cf4fb44b1c711c2e489eb7e0240a6bcd467de21a80cf859e",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). Frozen relocation/import/program-header allowlist (PLUG-009 output, task T5)."
|
||||
},
|
||||
{
|
||||
"name": "REJECT-MATRIX.md",
|
||||
"uri": "poc/apps/poc_a/plugins/REJECT-MATRIX.md",
|
||||
"sha256": "106299f037696d72388464298f36974e36dbf4439de7d8cb3cb9748c339fb5eb",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). Frozen C++ feature rejection matrix (task T6, six variants, all rejected)."
|
||||
},
|
||||
{
|
||||
"name": "ADMISSION-BUDGET.md",
|
||||
"uri": "poc/apps/poc_a/plugins/ADMISSION-BUDGET.md",
|
||||
"sha256": "71a57c08b07ca0579157463fd0cdd113dcc90b087a35ff399ca3bd9b22013d13",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). Frozen measured admission + capacity budget (tasks T8+T10; MEM-001 caveat, signed capacity line)."
|
||||
},
|
||||
{
|
||||
"name": "soak_samples_1000.csv",
|
||||
"uri": "poc/apps/poc_a/plugins/soak_samples_1000.csv",
|
||||
"sha256": "b1f1dcaf2a9c16ec24cb7ce04cec975671b312d79476b14556896350a35544af",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). Raw 1000-cycle soak samples, 102 lines (header + 101 machine-parsable rows; task T9)."
|
||||
},
|
||||
{
|
||||
"name": "PATCHES.md",
|
||||
"uri": "poc/apps/poc_a/components/elf_loader/PATCHES.md",
|
||||
"sha256": "a95c4a72ddabeb88a8c407ec8bf2965e495f5ac3e211cda53b777005218041d6",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). Vendored elf_loader provenance + patch registry p1-p5 with per-patch tree.sha256."
|
||||
},
|
||||
{
|
||||
"name": "tree.sha256",
|
||||
"uri": "poc/apps/poc_a/components/elf_loader/tree.sha256",
|
||||
"sha256": "3c7706cbec751d5dce06bd733d1b3452b5be712e9123b02f413e666936b49a81",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). Sorted sha256 manifest of the 26 upstream files; recomputed at assembly: matches."
|
||||
},
|
||||
{
|
||||
"name": "neg_abi.mpb (fc_corpus)",
|
||||
"uri": "poc/apps/poc_a/plugins/fc_corpus/neg_abi.mpb",
|
||||
"sha256": "f6b9002aee6885719404b6feeb566a412a94e09d9d792bfb1b866998cac6f6dc",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). Committed corpus container (fc_corpus)."
|
||||
},
|
||||
{
|
||||
"name": "neg_double_fault.mpb (fc_corpus)",
|
||||
"uri": "poc/apps/poc_a/plugins/fc_corpus/neg_double_fault.mpb",
|
||||
"sha256": "b29fed6c397ed193fbc55b44cc957311d5e1e79946206f4cf51e498e3b9cde65",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). Committed corpus container (fc_corpus)."
|
||||
},
|
||||
{
|
||||
"name": "neg_dup_required.mpb (fc_corpus)",
|
||||
"uri": "poc/apps/poc_a/plugins/fc_corpus/neg_dup_required.mpb",
|
||||
"sha256": "1441b28ea2034e122919467efa7d76b6911ed093fbf5f0931d6f0ad267893494",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). Committed corpus container (fc_corpus)."
|
||||
},
|
||||
{
|
||||
"name": "neg_epoch.mpb (fc_corpus)",
|
||||
"uri": "poc/apps/poc_a/plugins/fc_corpus/neg_epoch.mpb",
|
||||
"sha256": "ec9297e6cb6507073287216e1f311e14f161fc4e711c564943005debc0c5c76b",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). Committed corpus container (fc_corpus)."
|
||||
},
|
||||
{
|
||||
"name": "neg_key_id.mpb (fc_corpus)",
|
||||
"uri": "poc/apps/poc_a/plugins/fc_corpus/neg_key_id.mpb",
|
||||
"sha256": "aa23322034e7502a9537eaa5af800fe5cfa435503d37f32a01a8af3f859e6e70",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). Committed corpus container (fc_corpus)."
|
||||
},
|
||||
{
|
||||
"name": "neg_magic.mpb (fc_corpus)",
|
||||
"uri": "poc/apps/poc_a/plugins/fc_corpus/neg_magic.mpb",
|
||||
"sha256": "edca005c4f67db79386c136f91caf7cc2c41964eab064cea2049a4acf5eafde2",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). Committed corpus container (fc_corpus)."
|
||||
},
|
||||
{
|
||||
"name": "neg_mixed_elf_in_res.mpb (fc_corpus)",
|
||||
"uri": "poc/apps/poc_a/plugins/fc_corpus/neg_mixed_elf_in_res.mpb",
|
||||
"sha256": "80cca8ba5dc83103436791913990747bfd677f0e60263de5fae1f339fc08d05e",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). Committed corpus container (fc_corpus)."
|
||||
},
|
||||
{
|
||||
"name": "neg_mixed_res_in_elf.mpb (fc_corpus)",
|
||||
"uri": "poc/apps/poc_a/plugins/fc_corpus/neg_mixed_res_in_elf.mpb",
|
||||
"sha256": "872ee8e818f0708bcc4be4c043ce3cb68878a2825078dfed7835ea51ea800c7e",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). Committed corpus container (fc_corpus)."
|
||||
},
|
||||
{
|
||||
"name": "neg_offset_oob.mpb (fc_corpus)",
|
||||
"uri": "poc/apps/poc_a/plugins/fc_corpus/neg_offset_oob.mpb",
|
||||
"sha256": "525065064fabe251b3ba1f96b8d6843e03c5c893e7901b99c07381e20f05ab49",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). Committed corpus container (fc_corpus)."
|
||||
},
|
||||
{
|
||||
"name": "neg_overlap.mpb (fc_corpus)",
|
||||
"uri": "poc/apps/poc_a/plugins/fc_corpus/neg_overlap.mpb",
|
||||
"sha256": "6c61b658fcdccc1ebbecaae90a81994aedad44039a9a7a90df15d205d23feec8",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). Committed corpus container (fc_corpus)."
|
||||
},
|
||||
{
|
||||
"name": "neg_payload_hash.mpb (fc_corpus)",
|
||||
"uri": "poc/apps/poc_a/plugins/fc_corpus/neg_payload_hash.mpb",
|
||||
"sha256": "191059b17c44e0a5c1ea52a7a17a3d7594fb37662b45e030e618a3f4d36e4fd1",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). Committed corpus container (fc_corpus)."
|
||||
},
|
||||
{
|
||||
"name": "neg_signature.mpb (fc_corpus)",
|
||||
"uri": "poc/apps/poc_a/plugins/fc_corpus/neg_signature.mpb",
|
||||
"sha256": "b7673bf613240bb6d596c53b83752ef4f2d0fc465bfd273ff0c4840c5c62a532",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). Committed corpus container (fc_corpus)."
|
||||
},
|
||||
{
|
||||
"name": "neg_target.mpb (fc_corpus)",
|
||||
"uri": "poc/apps/poc_a/plugins/fc_corpus/neg_target.mpb",
|
||||
"sha256": "8703e1b8cd9bd1e3d7afc857b618b3c50b14051bf3b5a37129153fae37252000",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). Committed corpus container (fc_corpus)."
|
||||
},
|
||||
{
|
||||
"name": "neg_total_size.mpb (fc_corpus)",
|
||||
"uri": "poc/apps/poc_a/plugins/fc_corpus/neg_total_size.mpb",
|
||||
"sha256": "e5fc8d7b2bb8d13dc7839692f70eda8e62bbeb9ef664c855533fbd4dc3d3edfe",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). Committed corpus container (fc_corpus)."
|
||||
},
|
||||
{
|
||||
"name": "neg_unknown_required_tlv.mpb (fc_corpus)",
|
||||
"uri": "poc/apps/poc_a/plugins/fc_corpus/neg_unknown_required_tlv.mpb",
|
||||
"sha256": "0a6ba33bf7a6f3bc60687f4fabb1506b34fc46cd4d6d628438474dff1728cea6",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). Committed corpus container (fc_corpus)."
|
||||
},
|
||||
{
|
||||
"name": "neg_abi.mpb (mpb_corpus)",
|
||||
"uri": "poc/host/tests/mpb_corpus/neg_abi.mpb",
|
||||
"sha256": "f6b9002aee6885719404b6feeb566a412a94e09d9d792bfb1b866998cac6f6dc",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). Committed corpus container (mpb_corpus)."
|
||||
},
|
||||
{
|
||||
"name": "neg_double_fault.mpb (mpb_corpus)",
|
||||
"uri": "poc/host/tests/mpb_corpus/neg_double_fault.mpb",
|
||||
"sha256": "b29fed6c397ed193fbc55b44cc957311d5e1e79946206f4cf51e498e3b9cde65",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). Committed corpus container (mpb_corpus)."
|
||||
},
|
||||
{
|
||||
"name": "neg_dup_required.mpb (mpb_corpus)",
|
||||
"uri": "poc/host/tests/mpb_corpus/neg_dup_required.mpb",
|
||||
"sha256": "1441b28ea2034e122919467efa7d76b6911ed093fbf5f0931d6f0ad267893494",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). Committed corpus container (mpb_corpus)."
|
||||
},
|
||||
{
|
||||
"name": "neg_epoch.mpb (mpb_corpus)",
|
||||
"uri": "poc/host/tests/mpb_corpus/neg_epoch.mpb",
|
||||
"sha256": "ec9297e6cb6507073287216e1f311e14f161fc4e711c564943005debc0c5c76b",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). Committed corpus container (mpb_corpus)."
|
||||
},
|
||||
{
|
||||
"name": "neg_features.mpb (mpb_corpus)",
|
||||
"uri": "poc/host/tests/mpb_corpus/neg_features.mpb",
|
||||
"sha256": "87fe364bf95aeb74a3dc05d59da79e14a63a4c34a941f480755e5c1b15f152ba",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). Committed corpus container (mpb_corpus)."
|
||||
},
|
||||
{
|
||||
"name": "neg_key_id.mpb (mpb_corpus)",
|
||||
"uri": "poc/host/tests/mpb_corpus/neg_key_id.mpb",
|
||||
"sha256": "aa23322034e7502a9537eaa5af800fe5cfa435503d37f32a01a8af3f859e6e70",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). Committed corpus container (mpb_corpus)."
|
||||
},
|
||||
{
|
||||
"name": "neg_magic.mpb (mpb_corpus)",
|
||||
"uri": "poc/host/tests/mpb_corpus/neg_magic.mpb",
|
||||
"sha256": "edca005c4f67db79386c136f91caf7cc2c41964eab064cea2049a4acf5eafde2",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). Committed corpus container (mpb_corpus)."
|
||||
},
|
||||
{
|
||||
"name": "neg_mixed_elf_in_res.mpb (mpb_corpus)",
|
||||
"uri": "poc/host/tests/mpb_corpus/neg_mixed_elf_in_res.mpb",
|
||||
"sha256": "80cca8ba5dc83103436791913990747bfd677f0e60263de5fae1f339fc08d05e",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). Committed corpus container (mpb_corpus)."
|
||||
},
|
||||
{
|
||||
"name": "neg_mixed_res_in_elf.mpb (mpb_corpus)",
|
||||
"uri": "poc/host/tests/mpb_corpus/neg_mixed_res_in_elf.mpb",
|
||||
"sha256": "872ee8e818f0708bcc4be4c043ce3cb68878a2825078dfed7835ea51ea800c7e",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). Committed corpus container (mpb_corpus)."
|
||||
},
|
||||
{
|
||||
"name": "neg_offset_oob.mpb (mpb_corpus)",
|
||||
"uri": "poc/host/tests/mpb_corpus/neg_offset_oob.mpb",
|
||||
"sha256": "525065064fabe251b3ba1f96b8d6843e03c5c893e7901b99c07381e20f05ab49",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). Committed corpus container (mpb_corpus)."
|
||||
},
|
||||
{
|
||||
"name": "neg_overlap.mpb (mpb_corpus)",
|
||||
"uri": "poc/host/tests/mpb_corpus/neg_overlap.mpb",
|
||||
"sha256": "6c61b658fcdccc1ebbecaae90a81994aedad44039a9a7a90df15d205d23feec8",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). Committed corpus container (mpb_corpus)."
|
||||
},
|
||||
{
|
||||
"name": "neg_payload_hash.mpb (mpb_corpus)",
|
||||
"uri": "poc/host/tests/mpb_corpus/neg_payload_hash.mpb",
|
||||
"sha256": "191059b17c44e0a5c1ea52a7a17a3d7594fb37662b45e030e618a3f4d36e4fd1",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). Committed corpus container (mpb_corpus)."
|
||||
},
|
||||
{
|
||||
"name": "neg_signature.mpb (mpb_corpus)",
|
||||
"uri": "poc/host/tests/mpb_corpus/neg_signature.mpb",
|
||||
"sha256": "b7673bf613240bb6d596c53b83752ef4f2d0fc465bfd273ff0c4840c5c62a532",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). Committed corpus container (mpb_corpus)."
|
||||
},
|
||||
{
|
||||
"name": "neg_target.mpb (mpb_corpus)",
|
||||
"uri": "poc/host/tests/mpb_corpus/neg_target.mpb",
|
||||
"sha256": "8703e1b8cd9bd1e3d7afc857b618b3c50b14051bf3b5a37129153fae37252000",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). Committed corpus container (mpb_corpus)."
|
||||
},
|
||||
{
|
||||
"name": "neg_total_size.mpb (mpb_corpus)",
|
||||
"uri": "poc/host/tests/mpb_corpus/neg_total_size.mpb",
|
||||
"sha256": "e5fc8d7b2bb8d13dc7839692f70eda8e62bbeb9ef664c855533fbd4dc3d3edfe",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). Committed corpus container (mpb_corpus)."
|
||||
},
|
||||
{
|
||||
"name": "neg_unknown_required_tlv.mpb (mpb_corpus)",
|
||||
"uri": "poc/host/tests/mpb_corpus/neg_unknown_required_tlv.mpb",
|
||||
"sha256": "0a6ba33bf7a6f3bc60687f4fabb1506b34fc46cd4d6d628438474dff1728cea6",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). Committed corpus container (mpb_corpus)."
|
||||
},
|
||||
{
|
||||
"name": "pos_code.mpb (mpb_corpus)",
|
||||
"uri": "poc/host/tests/mpb_corpus/pos_code.mpb",
|
||||
"sha256": "d86937e9540d3b188d31fbd6ba67b5319694923d0210db2b4383a4724f0101ef",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). Committed corpus container (mpb_corpus)."
|
||||
},
|
||||
{
|
||||
"name": "pos_resource_only.mpb (mpb_corpus)",
|
||||
"uri": "poc/host/tests/mpb_corpus/pos_resource_only.mpb",
|
||||
"sha256": "318872c5ac2b50747d066e572c3d815688ec5c8fe74ab2147a5bfe1d8855b399",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). Committed corpus container (mpb_corpus)."
|
||||
},
|
||||
{
|
||||
"name": "run_matrix.py",
|
||||
"uri": "poc/apps/poc_a/plugins/negative/run_matrix.py",
|
||||
"sha256": "2baf74d05d652a74304c04cd746561a43bd2a8aba640a3bc7d40ebd321131ab6",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). Board/host runner or generator (rerun commands in the task logs; committed at repository_commit)."
|
||||
},
|
||||
{
|
||||
"name": "capacity_ladder.py",
|
||||
"uri": "poc/apps/poc_a/plugins/capacity_ladder.py",
|
||||
"sha256": "4e3fb4389adcc5593c7d5940563c7c8058c44fe773e1a4f8cdc9ed94d719d9ff",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). Board/host runner or generator (rerun commands in the task logs; committed at repository_commit)."
|
||||
},
|
||||
{
|
||||
"name": "soak_judge.py",
|
||||
"uri": "poc/apps/poc_a/plugins/soak_judge.py",
|
||||
"sha256": "335504fd3b76673cd9b4d89668647a161e2efb0cb5c5a22f8bac667baddf2dd2",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). Board/host runner or generator (rerun commands in the task logs; committed at repository_commit)."
|
||||
},
|
||||
{
|
||||
"name": "sched_runner.py",
|
||||
"uri": "poc/apps/poc_a/plugins/sched_runner.py",
|
||||
"sha256": "c7ae457c541e0fdcb408e0a6ac3ab421a19630fa271d7d073a4b530a25374d7c",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). Board/host runner or generator (rerun commands in the task logs; committed at repository_commit)."
|
||||
},
|
||||
{
|
||||
"name": "fc_runner.py",
|
||||
"uri": "poc/apps/poc_a/plugins/fc_corpus/fc_runner.py",
|
||||
"sha256": "6f6699e1c74873f34a0e606dce82d166620dd5ae93834d55937b5767973515af",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). Board/host runner or generator (rerun commands in the task logs; committed at repository_commit)."
|
||||
},
|
||||
{
|
||||
"name": "fc_manifest.py",
|
||||
"uri": "poc/apps/poc_a/plugins/fc_corpus/fc_manifest.py",
|
||||
"sha256": "d510953da33ead5afc1107c4ac64a94d4da3e93cb7be1d6070ec41365f7c0758",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). Board/host runner or generator (rerun commands in the task logs; committed at repository_commit)."
|
||||
},
|
||||
{
|
||||
"name": "MANIFEST.md",
|
||||
"uri": "poc/apps/poc_a/plugins/fc_corpus/MANIFEST.md",
|
||||
"sha256": "444615d074a9e82afc39b59313f4d84ee6018e69b2847c60c9751a85f99325fc",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). Board/host runner or generator (rerun commands in the task logs; committed at repository_commit)."
|
||||
},
|
||||
{
|
||||
"name": "manifest_builder.py",
|
||||
"uri": "tools/frame_tools/manifest_builder.py",
|
||||
"sha256": "294b628352e1ff99fb7e15d981baca7609c93109986d65ef3f3e42cfdff384a0",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). Board/host runner or generator (rerun commands in the task logs; committed at repository_commit)."
|
||||
},
|
||||
{
|
||||
"name": "gen_mpb_corpus.py",
|
||||
"uri": "poc/host/tests/gen_mpb_corpus.py",
|
||||
"sha256": "78e3ca153cea7254407299ae4e395e5e1ca0e266c248ced15fe80a6a42ae01f9",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). Board/host runner or generator (rerun commands in the task logs; committed at repository_commit)."
|
||||
},
|
||||
{
|
||||
"name": "check_plugin_policy.py",
|
||||
"uri": "tools/frame_tools/check_plugin_policy.py",
|
||||
"sha256": "5f07fa6f980e18ed4ee1e7fa18f2edd25f6202fddf9c1d34f8aabba1a21748c2",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). Board/host runner or generator (rerun commands in the task logs; committed at repository_commit)."
|
||||
},
|
||||
{
|
||||
"name": "poc_a_test_signing_key.pem",
|
||||
"uri": "tools/frame_tools/testdata/keys/poc_a_test_signing_key.pem",
|
||||
"sha256": "5d9632acefe2ea44081de2733aac2aa5114f31c8c6f86f6da72c3afedc14a72b",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). TEST-ONLY ECDSA P-256 signing key (header-marked; never a production key)."
|
||||
},
|
||||
{
|
||||
"name": "poc_a_test_signing_key.pub.pem",
|
||||
"uri": "tools/frame_tools/testdata/keys/poc_a_test_signing_key.pub.pem",
|
||||
"sha256": "2b9bf256c94f7098735a6976a946fda473dad82a501a307588d6e6ee7669075c",
|
||||
"note": "In-repo frozen artifact, referenced by path+sha (not duplicated into the evidence dir). TEST-ONLY public half; key_id e5677a1c (first 4 B of sha256(SPKI DER), BE)."
|
||||
}
|
||||
],
|
||||
"notes": "Gate-A evidence assembly for PoC-A (dynamic ELF), todos T1..T15 of plan poc-a-dynamic-elf; assembled by the orchestrator session (operator: orchestrator-session) on 2026-09-01. Every sha256 in this manifest was recomputed at assembly time from the working tree at HEAD f34dc72537912e9629dad482222e2159c98988ea (tracked tree clean; the only untracked content was this evidence dir being assembled). Evidence window: started_at = T1 session start (task-1 log L4, 2026-08-31T20:38:25+08:00), finished_at = manifest write. Environment: ESP-IDF v6.0.2 exact tag, xtensa-esp-elf gcc-15.2.0 (esp-15.2.0_20251204), target esp32s3; loader = espressif/elf_loader v1.3.3 vendored from espressif/esp-iot-solution components/elf_loader @6526c5b18e156cfbda2c7ce48e282e384c43b485 (license Apache-2.0) + local patches p1..p5 registered in PATCHES.md; vendored-tree offline self-consistency recomputed at assembly (26 files, tree.sha256 match). sdkconfig_sha256 pins the committed poc/apps/poc_a/sdkconfig.defaults; the generated sdkconfig of the fresh build is 07c2716fa7f616a451773d36e5f76643963da776fc21664042827345a9efe8e5. Partition table unchanged/frozen: partitions.csv 261b5d3338a7785d048f12eedd26bbab535f6d8b273f29e529d196a04515e3a3 (identical to the M1-20260831 manifest-era value - zero partition drift). Firmware: frame_poc_a.bin sha256 3a31ce578410b75ce76ea71a854d1953dedb1a130a3dd82de7fb3fcfa3a4d2de from the fresh assembly-time rebuild (0 warnings); board sessions in the transcripts ran task-era builds whose per-artifact sha256 lines appear verbatim inside each task log (per-.mpb closed loop: build-time hash == device-printed hash). Hardware: single dev board, USB device id c1810c76790e (same board as M1; module ESP32-S3-WROOM-1-N16R8, 16 MiB flash / 8 MiB octal PSRAM). No new photos taken for Gate-A (display unused - PoC-B scope); hardware identity is evidenced by the existing M1 photo set: poc/evidence/m1-20260831/photos/board_front_20260831.jpg (sha 87d232943d4328a15d3f6047fc25d2acd53fea210e29989836df47c44b8c9dcf), board_back_module_20260831.jpg (marking N16R8; sha 6576c98d54097f85554f013c34f96922082de96cb7413f654d074d04fe376b60), status_page_20260831.jpg (sha 03817e0424452eba486768960645aa9e369bdfef08fe1da9883a7b9b035e82ec). One optional live environment touch was captured during assembly (poca status on /dev/ttyACM0: ELF_LOADER=y LOAD_PSRAM=y CACHE_OFFSET=y SET_MMU=n DLSO=n; psram 8386280 B pool). source.project_document_sha256 pins _doc/requirements-v4.2.md (the v4.2 requirement baseline this gate is traced against; M1 pinned the v4.1 project.md by the same convention). Runner/test scripts are committed in-repo, so one commit (repository_commit) covers all test-script commits; per-script sha256 entries are included for identity. Verdict PASS per item: see GATE-A-REPORT.md in this directory (development-plan section 4 items 1-9 all evidenced; TEST-003 ten clauses mapped; owner sign-off pending - this manifest does not sign the gate)."
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,522 @@
|
||||
===== T10 capacity ladder 8->5 — 2026-09-01T01:28:27+08:00 worktree=eea38764f8f42e340d58587c9218fc2c1fe32d4c =====
|
||||
FMT18 OK
|
||||
poc/apps/poc_a/main/CMakeLists.txt | 24 ++++
|
||||
poc/apps/poc_a/main/poca_console.cc | 12 +-
|
||||
poc/apps/poc_a/main/poca_plugin.cc | 250 ++++++++++++++++++++++++++++++++++++
|
||||
poc/apps/poc_a/main/poca_plugin.hh | 13 +-
|
||||
4 files changed, 296 insertions(+), 3 deletions(-)
|
||||
[152/153] Generating binary image from built executable
|
||||
esptool v5.3.1
|
||||
Creating ESP32-S3 image...
|
||||
Merged 2 ELF sections.
|
||||
Successfully created ESP32-S3 image.
|
||||
Generated /home/lain/Projects/esp_study/poc-a-wt/poc/apps/poc_a/build/bootloader/bootloader.bin
|
||||
[153/153] cd /home/lain/Projects/esp_study/poc-a-wt/poc/apps/poc_a/build/bootloader && /home/lain/.espressif/tools/python/v6.0.2/venv/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/poc-a-wt/poc/apps/poc_a/build/bootloader/bootloader.bin
|
||||
Bootloader binary size 0x5800 bytes. 0x2800 bytes (31%) free.
|
||||
[1219/1225] No install step for 'bootloader'
|
||||
[1220/1225] Completed 'bootloader'
|
||||
[1221/1225] 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'.
|
||||
[1222/1225] Building C object CMakeFiles/frame_poc_a.elf.dir/project_elf_src_esp32s3.c.obj
|
||||
[1223/1225] Linking CXX executable frame_poc_a.elf
|
||||
[1224/1225] 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/poc-a-wt/poc/apps/poc_a/build/frame_poc_a.bin
|
||||
[1225/1225] cd /home/lain/Projects/esp_study/poc-a-wt/poc/apps/poc_a/build && /home/lain/.espressif/tools/python/v6.0.2/venv/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/poc-a-wt/poc/apps/poc_a/build/partition_table/partition-table.bin /home/lain/Projects/esp_study/poc-a-wt/poc/apps/poc_a/build/frame_poc_a.bin
|
||||
frame_poc_a.bin binary size 0x72850 bytes. Smallest app partition is 0x100000 bytes. 0x8d7b0 bytes (55%) free.
|
||||
|
||||
Project build complete. To flash, run:
|
||||
idf.py flash
|
||||
or
|
||||
idf.py -p PORT flash
|
||||
or
|
||||
python -m esptool --chip esp32s3 -b 460800 --before default-reset --after hard-reset write-flash --flash-mode dio --flash-size 16MB --flash-freq 80m 0x0 build/bootloader/bootloader.bin 0x8000 build/partition_table/partition-table.bin 0x10000 build/frame_poc_a.bin
|
||||
or from the "/home/lain/Projects/esp_study/poc-a-wt/poc/apps/poc_a/build" directory
|
||||
python -m esptool --chip esp32s3 -b 460800 --before default-reset --after hard-reset write-flash "@flash_args"
|
||||
--- warn grep done (empty above = 0 warnings)
|
||||
1984 build/plugins/cap01.mpb
|
||||
1984 build/plugins/cap02.mpb
|
||||
1984 build/plugins/cap03.mpb
|
||||
1984 build/plugins/cap04.mpb
|
||||
1984 build/plugins/cap05.mpb
|
||||
1984 build/plugins/cap06.mpb
|
||||
1984 build/plugins/cap07.mpb
|
||||
1984 build/plugins/cap08.mpb
|
||||
--- elf sizes:
|
||||
1708 build/plugins/cap01/cap01.elf
|
||||
2980 build/plugins/cap01/cap01.raw.elf
|
||||
1708 build/plugins/cap02/cap02.elf
|
||||
2980 build/plugins/cap02/cap02.raw.elf
|
||||
1708 build/plugins/cap03/cap03.elf
|
||||
2980 build/plugins/cap03/cap03.raw.elf
|
||||
1708 build/plugins/cap04/cap04.elf
|
||||
2980 build/plugins/cap04/cap04.raw.elf
|
||||
1708 build/plugins/cap05/cap05.elf
|
||||
2980 build/plugins/cap05/cap05.raw.elf
|
||||
1708 build/plugins/cap06/cap06.elf
|
||||
2980 build/plugins/cap06/cap06.raw.elf
|
||||
1708 build/plugins/cap07/cap07.elf
|
||||
2980 build/plugins/cap07/cap07.raw.elf
|
||||
1708 build/plugins/cap08/cap08.elf
|
||||
2980 build/plugins/cap08/cap08.raw.elf
|
||||
--- meta headers magics:
|
||||
#define POCA_CAP01_MAGIC 0x43415031u
|
||||
#define POCA_CAP02_MAGIC 0x43415032u
|
||||
#define POCA_CAP03_MAGIC 0x43415033u
|
||||
#define POCA_CAP04_MAGIC 0x43415034u
|
||||
#define POCA_CAP05_MAGIC 0x43415035u
|
||||
#define POCA_CAP06_MAGIC 0x43415036u
|
||||
#define POCA_CAP07_MAGIC 0x43415037u
|
||||
#define POCA_CAP08_MAGIC 0x43415038u
|
||||
--- names/versions:
|
||||
#define POCA_CAP01_NAME "cap01"
|
||||
#define POCA_CAP01_VERSION "1.0.1"
|
||||
#define POCA_CAP02_NAME "cap02"
|
||||
#define POCA_CAP02_VERSION "1.0.2"
|
||||
#define POCA_CAP03_NAME "cap03"
|
||||
#define POCA_CAP03_VERSION "1.0.3"
|
||||
#define POCA_CAP04_NAME "cap04"
|
||||
#define POCA_CAP04_VERSION "1.0.4"
|
||||
#define POCA_CAP05_NAME "cap05"
|
||||
#define POCA_CAP05_VERSION "1.0.5"
|
||||
#define POCA_CAP06_NAME "cap06"
|
||||
#define POCA_CAP06_VERSION "1.0.6"
|
||||
#define POCA_CAP07_NAME "cap07"
|
||||
#define POCA_CAP07_VERSION "1.0.7"
|
||||
#define POCA_CAP08_NAME "cap08"
|
||||
#define POCA_CAP08_VERSION "1.0.8"
|
||||
17bd11813794c672fa876b11293277fe70166442141961e2eeac7beb3591c5eb build/plugins/cap01.mpb
|
||||
c7648f72b9fa5d7a43a74cdf5a83c5156b23d269d971153586c1eb98edb9f7ed build/plugins/cap02.mpb
|
||||
61cfa25867cb34a19819131be9931400b34fccff09cdee1e3ea871966075f970 build/plugins/cap03.mpb
|
||||
9629cf696b87836b2123ac7845021887a9bf62e7a899c1d9269f080b14e0c3a3 build/plugins/cap04.mpb
|
||||
55c4c10db59773d59101ee52e482d942a834544d4470d035fd411b7311e5a543 build/plugins/cap05.mpb
|
||||
f6822a59278151b65cac83809f1da3259d6b2717ef02710dcea722f4fa8f9689 build/plugins/cap06.mpb
|
||||
bdda99c79f7e410fd2bc36ded7e45671e563726ba97a8a7654493772d77eac54 build/plugins/cap07.mpb
|
||||
573d19e1d360730c42f97ff63db74bfe181633c4ed59fc0ba1f007f3ccd10492 build/plugins/cap08.mpb
|
||||
distinct shas: 8/8
|
||||
python re-verify distinct: 8
|
||||
[1A[2KHash of data verified.
|
||||
|
||||
Hard resetting via RTS pin...
|
||||
Done
|
||||
Traceback (most recent call last):
|
||||
File "<stdin>", line 8, in <module>
|
||||
File "<frozen importlib._bootstrap_external>", line 759, in exec_module
|
||||
File "<frozen importlib._bootstrap>", line 491, in _call_with_frames_removed
|
||||
File "/home/lain/Projects/esp_study/poc-a-wt/poc/apps/poc_a/plugins/capacity_ladder.py", line 36, in <module>
|
||||
import serial
|
||||
ModuleNotFoundError: No module named 'serial'
|
||||
===== T10 RESUME 2026-09-01T09:02:55+08:00 — fixing runner interpreter, board already flashed with capacity firmware =====
|
||||
repo venv pyserial OK 3.5
|
||||
M poc/apps/poc_a/main/CMakeLists.txt
|
||||
M poc/apps/poc_a/main/poca_console.cc
|
||||
M poc/apps/poc_a/main/poca_plugin.cc
|
||||
M poc/apps/poc_a/main/poca_plugin.hh
|
||||
?? poc/apps/poc_a/plugins/cap/
|
||||
?? poc/apps/poc_a/plugins/capacity_ladder.py
|
||||
py_compile OK
|
||||
--- smoke: capacity 1 then capacity 8 ---
|
||||
--- poca>
|
||||
|
||||
poca>
|
||||
--- poca> poca capacity 1
|
||||
poca capacity 1
|
||||
[poca-cap] ladder step N=1: 1 plugin(s) cap01..cap01, all DISTINCT names (PLUG-004: one ACTIVE generation per name)
|
||||
[T8-heap] phase=cap-baseline psram free=8385920 largest=8257536 min_ever=8385920 | iram-exec free=236088 largest=204800 min_ever=231876 | internal free=300151 largest=204800 min_ever=295939
|
||||
[cap-load] idx=1 name=cap01 magic=0x43415031 text=0x3c071248 staging=1984B sha256=17bd11813794c672fa876b11293277fe70166442141961e2eeac7beb3591c5eb psram_free=8382564
|
||||
[PASS-cap-1-load] 1/1 instances resident
|
||||
[T8-heap] phase=cap-peak psram free=8382564 largest=8257536 min_ever=8382564 | iram-exec free=234792 largest=204800 min_ever=226972 | internal free=298855 largest=204800 min_ever=291035
|
||||
[T8-stack] phase=cap-peak tasks=5
|
||||
[T8-stack] console_repl prio=5 stack_hwm=2232B
|
||||
[T8-stack] IDLE0 prio=0 stack_hwm=756B
|
||||
[T8-stack] IDLE1 prio=0 stack_hwm=864B
|
||||
[T8-stack] ipc0 prio=24 stack_hwm=600B
|
||||
[T8-stack] ipc1 prio=24 stack_hwm=596B
|
||||
[cap-respond] idx=1 name=cap01 fn=0x420712d0 text=0x3c071248 returned=0x060ff15e expected=0x060ff15e MATCH
|
||||
[cap-distinct] text_bases_all_distinct=yes expected_magics_all_distinct=yes
|
||||
[PASS-cap-1-respond] 1/1 magics match, all distinct
|
||||
[T10-budget] psram base_free=8385920 peak_free=8382564 consumed=3356 per_instance=3356 (staging 1984B + loader arena 1352B) iram_delta=-1296 internal_delta=-1296
|
||||
CAPBUD,count=1,psram_base_free=8385920,psram_peak_free=8382564,consumed=3356,per_instance=3356,mpb_size=1984,arena_size=1352,iram_delta=-1296,internal_delta=-1296
|
||||
[cap-unload] idx=1 name=cap01 unload_err=0 psram_free=8385920
|
||||
[PASS-cap-1-unload] 1/1 released in reverse order
|
||||
[T8-heap] phase=cap-final psram free=8385920 largest=8257536 min_ever=8382564 | iram-exec free=234792 largest=204800 min_ever=226972 | internal free=298855 largest=204800 min_ever=291035
|
||||
[poca-cap] restored=yes (final_free=8385920 base_free=8385920 peak min_ever floor=8382564)
|
||||
[PASS-capacity-1] 1 concurrent ACTIVE generations verified (distinct names/magics/text bases)
|
||||
poca>
|
||||
Traceback (most recent call last):
|
||||
File "<stdin>", line 13, in <module>
|
||||
File "/home/lain/Projects/esp_study/poc-a-wt/poc/apps/poc_a/plugins/capacity_ladder.py", line 140, in judge_step
|
||||
if any(row[7] != "MATCH" for row in responds):
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
File "/home/lain/Projects/esp_study/poc-a-wt/poc/apps/poc_a/plugins/capacity_ladder.py", line 140, in <genexpr>
|
||||
if any(row[7] != "MATCH" for row in responds):
|
||||
~~~^^^
|
||||
IndexError: tuple index out of range
|
||||
--- poca>
|
||||
|
||||
poca>
|
||||
--- poca> poca status
|
||||
poca status
|
||||
elf_loader: vendored espressif 1.3.3 @6526c5b1 (esp-iot-solution)
|
||||
ELF_LOADER=y LOAD_PSRAM=y CACHE_OFFSET=y SET_MMU=n DLSO=n
|
||||
esp_elf_t state size: 116 bytes
|
||||
loader entries: esp_elf_init=0x42014938 esp_elf_relocate=0x42014978
|
||||
registered host imports: poca_host_sentinel poca_host_add
|
||||
entry queries so far: 1 (execution canary)
|
||||
iram cache syncs so far: 0 (p5 counter)
|
||||
heap internal size= 349547 free= 298823 largest= 204800 min_ever= 291035
|
||||
heap iram-exec size= 285484 free= 234760 largest= 204800 min_ever= 226972
|
||||
heap psram size= 8386280 free= 8385920 largest= 8257536 min_ever= 8382564
|
||||
poca>
|
||||
--- poca> poca capacity 8
|
||||
poca capacity 8
|
||||
[poca-cap] ladder step N=8: 8 plugin(s) cap01..cap08, all DISTINCT names (PLUG-004: one ACTIVE generation per name)
|
||||
[T8-heap] phase=cap-baseline psram free=8385920 largest=8257536 min_ever=8382564 | iram-exec free=234740 largest=204800 min_ever=226972 | internal free=298803 largest=204800 min_ever=291035
|
||||
[cap-load] idx=1 name=cap01 magic=0x43415031 text=0x3c071248 staging=1984B sha256=17bd11813794c672fa876b11293277fe70166442141961e2eeac7beb3591c5eb psram_free=8382564
|
||||
[cap-load] idx=2 name=cap02 magic=0x43415032 text=0x3c071f64 staging=1984B sha256=c7648f72b9fa5d7a43a74cdf5a83c5156b23d269d971153586c1eb98edb9f7ed psram_free=8379208
|
||||
[cap-load] idx=3 name=cap03 magic=0x43415033 text=0x3c072c80 staging=1984B sha256=61cfa25867cb34a19819131be9931400b34fccff09cdee1e3ea871966075f970 psram_free=8375852
|
||||
[cap-load] idx=4 name=cap04 magic=0x43415034 text=0x3c07399c staging=1984B sha256=9629cf696b87836b2123ac7845021887a9bf62e7a899c1d9269f080b14e0c3a3 psram_free=8372496
|
||||
[cap-load] idx=5 name=cap05 magic=0x43415035 text=0x3c0746b8 staging=1984B sha256=55c4c10db59773d59101ee52e482d942a834544d4470d035fd411b7311e5a543 psram_free=8369140
|
||||
[cap-load] idx=6 name=cap06 magic=0x43415036 text=0x3c0753d4 staging=1984B sha256=f6822a59278151b65cac83809f1da3259d6b2717ef02710dcea722f4fa8f9689 psram_free=8365784
|
||||
[cap-load] idx=7 name=cap07 magic=0x43415037 text=0x3c0760f0 staging=1984B sha256=bdda99c79f7e410fd2bc36ded7e45671e563726ba97a8a7654493772d77eac54 psram_free=8362428
|
||||
[cap-load] idx=8 name=cap08 magic=0x43415038 text=0x3c076e0c staging=1984B sha256=573d19e1d360730c42f97ff63db74bfe181633c4ed59fc0ba1f007f3ccd10492 psram_free=8359072
|
||||
[PASS-cap-8-load] 8/8 instances resident
|
||||
[T8-heap] phase=cap-peak psram free=8359072 largest=8257536 min_ever=8359072 | iram-exec free=234740 largest=204800 min_ever=226912 | internal free=298803 largest=204800 min_ever=290975
|
||||
[T8-stack] phase=cap-peak tasks=5
|
||||
[T8-stack] console_repl prio=5 stack_hwm=2040B
|
||||
[T8-stack] IDLE0 prio=0 stack_hwm=756B
|
||||
[T8-stack] IDLE1 prio=0 stack_hwm=864B
|
||||
[T8-stack] ipc1 prio=24 stack_hwm=596B
|
||||
[T8-stack] ipc0 prio=24 stack_hwm=568B
|
||||
[cap-respond] idx=1 name=cap01 fn=0x420712d0 text=0x3c071248 returned=0x060ff15e expected=0x060ff15e MATCH
|
||||
[cap-respond] idx=2 name=cap02 fn=0x42071fec text=0x3c071f64 returned=0x060ff15d expected=0x060ff15d MATCH
|
||||
[cap-respond] idx=3 name=cap03 fn=0x42072d08 text=0x3c072c80 returned=0x060ff15c expected=0x060ff15c MATCH
|
||||
[cap-respond] idx=4 name=cap04 fn=0x42073a24 text=0x3c07399c returned=0x060ff15b expected=0x060ff15b MATCH
|
||||
[cap-respond] idx=5 name=cap05 fn=0x42074740 text=0x3c0746b8 returned=0x060ff15a expected=0x060ff15a MATCH
|
||||
[cap-respond] idx=6 name=cap06 fn=0x4207545c text=0x3c0753d4 returned=0x060ff159 expected=0x060ff159 MATCH
|
||||
[cap-respond] idx=7 name=cap07 fn=0x42076178 text=0x3c0760f0 returned=0x060ff158 expected=0x060ff158 MATCH
|
||||
[cap-respond] idx=8 name=cap08 fn=0x42076e94 text=0x3c076e0c returned=0x060ff157 expected=0x060ff157 MATCH
|
||||
[cap-distinct] text_bases_all_distinct=yes expected_magics_all_distinct=yes
|
||||
[PASS-cap-8-respond] 8/8 magics match, all distinct
|
||||
[T10-budget] psram base_free=8385920 peak_free=8359072 consumed=26848 per_instance=3356 (staging 1984B + loader arena 1352B) iram_delta=0 internal_delta=0
|
||||
CAPBUD,count=8,psram_base_free=8385920,psram_peak_free=8359072,consumed=26848,per_instance=3356,mpb_size=1984,arena_size=1352,iram_delta=0,internal_delta=0
|
||||
[cap-unload] idx=8 name=cap08 unload_err=0 psram_free=8362428
|
||||
[cap-unload] idx=7 name=cap07 unload_err=0 psram_free=8365784
|
||||
[cap-unload] idx=6 name=cap06 unload_err=0 psram_free=8369140
|
||||
[cap-unload] idx=5 name=cap05 unload_err=0 psram_free=8372496
|
||||
[cap-unload] idx=4 name=cap04 unload_err=0 psram_free=8375852
|
||||
[cap-unload] idx=3 name=cap03 unload_err=0 psram_free=8379208
|
||||
[cap-unload] idx=2 name=cap02 unload_err=0 psram_free=8382564
|
||||
[cap-unload] idx=1 name=cap01 unload_err=0 psram_free=8385920
|
||||
[PASS-cap-8-unload] 8/8 released in reverse order
|
||||
[T8-heap] phase=cap-final psram free=8385920 largest=8257536 min_ever=8359072 | iram-exec free=234740 largest=204800 min_ever=226912 | internal free=298803 largest=204800 min_ever=290975
|
||||
[poca-cap] restored=yes (final_free=8385920 base_free=8385920 peak min_ever floor=8359072)
|
||||
[PASS-capacity-8] 8 concurrent ACTIVE generations verified (distinct names/magics/text bases)
|
||||
poca>
|
||||
--- poca> poca status
|
||||
poca status
|
||||
elf_loader: vendored espressif 1.3.3 @6526c5b1 (esp-iot-solution)
|
||||
ELF_LOADER=y LOAD_PSRAM=y CACHE_OFFSET=y SET_MMU=n DLSO=n
|
||||
esp_elf_t state size: 116 bytes
|
||||
loader entries: esp_elf_init=0x42014938 esp_elf_relocate=0x42014978
|
||||
registered host imports: poca_host_sentinel poca_host_add
|
||||
entry queries so far: 9 (execution canary)
|
||||
iram cache syncs so far: 0 (p5 counter)
|
||||
heap internal size= 349539 free= 298787 largest= 204800 min_ever= 290975
|
||||
heap iram-exec size= 285476 free= 234724 largest= 204800 min_ever= 226912
|
||||
heap psram size= 8386280 free= 8385920 largest= 8257536 min_ever= 8359072
|
||||
poca>
|
||||
===== LADDER STEPS =====
|
||||
rung 8 attempt 1: PASS
|
||||
===== PER-INSTANCE COST TABLE (CAPBUD, measured per executed rung) =====
|
||||
rung psram_base psram_peak consumed per_instance mpb(B) arena(B) iram_delta internal_delta
|
||||
8 8385920 8359072 26848 3356 1984 1352 0 0
|
||||
canary: before=1 after=9 delta=8 (expected=8) OK
|
||||
===== LADDER VERDICT =====
|
||||
achieved=8 (attempted rungs: 8)
|
||||
per-instance cost: 3356 B (3.28 KiB) PSRAM (staging 1984 B + loader arena 1352 B)
|
||||
8-instance peak: 26848 B = 0.32% of the 8 MiB pool
|
||||
SIGNED BUDGET LINE:
|
||||
Capacity: 8 ACTIVE verified (8 attempted), per-instance cost 3356 B (3.28 KiB) PSRAM, 8-instance peak 26848 B = 0.32% of the 8 MiB pool (IRAM delta 0 B, internal delta 0 B, largest_free_block unchanged), headroom to MEM-007 floor 5: 8/5, MEM-007 -> ADR-0002 proposal value: 8 ACTIVE generations per distinct plugin name (PSRAM class; re-measure with Wi-Fi at the next gate)
|
||||
CAPACITY LADDER: PASS at 8
|
||||
RUNNER EXIT: 0
|
||||
poca>
|
||||
===== LADDER STEPS =====
|
||||
rung 8 attempt 1: PASS
|
||||
===== PER-INSTANCE COST TABLE (CAPBUD, measured per executed rung) =====
|
||||
rung psram_base psram_peak consumed per_instance mpb(B) arena(B) iram_delta internal_delta
|
||||
8 8385920 8359072 26848 3356 1984 1352 0 0
|
||||
canary: before=9 after=17 delta=8 (expected=8) OK
|
||||
===== LADDER VERDICT =====
|
||||
achieved=8 (attempted rungs: 8)
|
||||
per-instance cost: 3356 B (3.28 KiB) PSRAM (staging 1984 B + loader arena 1352 B)
|
||||
8-instance peak: 26848 B = 0.32% of the 8 MiB pool
|
||||
SIGNED BUDGET LINE:
|
||||
Capacity: 8 ACTIVE verified (8 attempted), per-instance cost 3356 B (3.28 KiB) PSRAM, 8-instance peak 26848 B = 0.32% of the 8 MiB pool (IRAM delta 0 B, internal delta 0 B, largest_free_block unchanged), headroom to MEM-007 floor 5: 8/5, MEM-007 -> ADR-0002 proposal value: 8 ACTIVE generations per distinct plugin name (PSRAM class; re-measure with Wi-Fi at the next gate)
|
||||
CAPACITY LADDER: PASS at 8
|
||||
RUNNER2 EXIT: 0
|
||||
poca>
|
||||
--- poca> poca unload
|
||||
poca unload
|
||||
[poca-unload] psram free after=8385920 (before-load=8385920 delta=+0)
|
||||
[poca-unload] PASS
|
||||
poca>
|
||||
|
||||
MATRIX PASS (positives=3, negatives=10, canary=20 unchanged across all negatives, canary_start=17)
|
||||
MATRIX EXIT: 0
|
||||
[100%] Built target frame_strand_test
|
||||
[100%] Built target frame_completion_test
|
||||
|
||||
100% tests passed out of 52
|
||||
|
||||
Total Test time (real) = 14.81 sec
|
||||
|
||||
============================== 87 passed in 0.44s ==============================
|
||||
FMT18 FINAL OK
|
||||
unformatted: File would be reformatted
|
||||
--> poc/apps/poc_a/plugins/capacity_ladder.py:120:20
|
||||
|
|
||||
119 | verdict["reasons"].append(f"device [FAIL-cap-{fail.group(1)}-{fail.group(2)}] marker")
|
||||
- for marker in (f"[PASS-cap-{count}-load]", f"[PASS-cap-{count}-respond]",
|
||||
- f"[PASS-cap-{count}-unload]", f"[PASS-capacity-{count}]"):
|
||||
120 + for marker in (
|
||||
121 + f"[PASS-cap-{count}-load]",
|
||||
122 + f"[PASS-cap-{count}-respond]",
|
||||
123 + f"[PASS-cap-{count}-unload]",
|
||||
124 + f"[PASS-capacity-{count}]",
|
||||
125 + ):
|
||||
126 | if marker not in text and not verdict["fail_stage"]:
|
||||
--------------------------------------------------------------------------------
|
||||
201 | break
|
||||
- provisional = (verdict["fail_step"] or (rung + 1)) - 1 if verdict["fail_stage"] == "load" else rung
|
||||
- print(f"--- rung {rung} attempt {attempt} FAILED "
|
||||
- f"(stage={verdict['fail_stage']} step={verdict['fail_step']} "
|
||||
- f"provisional_achieved={provisional})")
|
||||
202 + provisional = (
|
||||
203 + (verdict["fail_step"] or (rung + 1)) - 1
|
||||
204 + if verdict["fail_stage"] == "load"
|
||||
205 + else rung
|
||||
206 + )
|
||||
207 + print(
|
||||
208 + f"--- rung {rung} attempt {attempt} FAILED "
|
||||
209 + f"(stage={verdict['fail_stage']} step={verdict['fail_step']} "
|
||||
210 + f"provisional_achieved={provisional})"
|
||||
211 + )
|
||||
212 | if achieved is not None:
|
||||
--------------------------------------------------------------------------------
|
||||
220 | for step in steps:
|
||||
- head = (f"rung {step['rung']} attempt {step['attempt']}: "
|
||||
- f"{'PASS' if step['ok'] else 'FAIL'}")
|
||||
221 + head = f"rung {step['rung']} attempt {step['attempt']}: {'PASS' if step['ok'] else 'FAIL'}"
|
||||
222 | if step["fail_stage"]:
|
||||
--------------------------------------------------------------------------------
|
||||
228 | print("===== PER-INSTANCE COST TABLE (CAPBUD, measured per executed rung) =====")
|
||||
- print("rung psram_base psram_peak consumed per_instance mpb(B) arena(B) "
|
||||
- "iram_delta internal_delta")
|
||||
229 + print(
|
||||
230 + "rung psram_base psram_peak consumed per_instance mpb(B) arena(B) "
|
||||
231 + "iram_delta internal_delta"
|
||||
232 + )
|
||||
233 | for step in steps:
|
||||
234 | budget = step["capbud"]
|
||||
235 | if not budget:
|
||||
236 | continue
|
||||
- print(f"{step['rung']:>4} {budget['psram_base_free']:>11} "
|
||||
- f"{budget['psram_peak_free']:>11} {budget['consumed']:>9} "
|
||||
- f"{budget['per_instance']:>13} {budget['mpb_size']:>6} "
|
||||
- f"{budget['arena_size']:>8} {budget['iram_delta']:>10} "
|
||||
- f"{budget['internal_delta']:>15}")
|
||||
237 + print(
|
||||
238 + f"{step['rung']:>4} {budget['psram_base_free']:>11} "
|
||||
239 + f"{budget['psram_peak_free']:>11} {budget['consumed']:>9} "
|
||||
240 + f"{budget['per_instance']:>13} {budget['mpb_size']:>6} "
|
||||
241 + f"{budget['arena_size']:>8} {budget['iram_delta']:>10} "
|
||||
242 + f"{budget['internal_delta']:>15}"
|
||||
243 + )
|
||||
244 | canary_before = re.search(r"entry queries so far: (\d+)", status_before)
|
||||
--------------------------------------------------------------------------------
|
||||
248 | queries_expected = sum(
|
||||
- step["rung"] if step["ok"] or step["fail_stage"] != "load"
|
||||
249 + step["rung"]
|
||||
250 + if step["ok"] or step["fail_stage"] != "load"
|
||||
251 | else max(step["fail_step"] - 1, 0)
|
||||
--------------------------------------------------------------------------------
|
||||
255 | )
|
||||
- print(f"canary: before={canary_before.group(1)} after={canary_after.group(1)} "
|
||||
- f"delta={delta} (expected={queries_expected}) "
|
||||
- f"{'OK' if delta == queries_expected else 'MISMATCH'}")
|
||||
256 + print(
|
||||
257 + f"canary: before={canary_before.group(1)} after={canary_after.group(1)} "
|
||||
258 + f"delta={delta} (expected={queries_expected}) "
|
||||
259 + f"{'OK' if delta == queries_expected else 'MISMATCH'}"
|
||||
260 + )
|
||||
261 |
|
||||
--------------------------------------------------------------------------------
|
||||
270 | print(f"achieved={achieved} (attempted rungs: {', '.join(str(s['rung']) for s in steps)})")
|
||||
- print(f"per-instance cost: {format_kib(budget)} PSRAM "
|
||||
- f"(staging {budget['mpb_size']} B + loader arena {budget['arena_size']} B)")
|
||||
271 + print(
|
||||
272 + f"per-instance cost: {format_kib(budget)} PSRAM "
|
||||
273 + f"(staging {budget['mpb_size']} B + loader arena {budget['arena_size']} B)"
|
||||
274 + )
|
||||
275 | print(f"{achieved}-instance peak: {budget['consumed']} B = {pool_pct:.2f}% of the 8 MiB pool")
|
||||
276 | print("SIGNED BUDGET LINE:")
|
||||
- print(f"Capacity: {achieved} ACTIVE verified (8 attempted), per-instance cost "
|
||||
- f"{budget['per_instance']} B ({per_kib:.2f} KiB) PSRAM, {achieved}-instance peak "
|
||||
- f"{budget['consumed']} B = {pool_pct:.2f}% of the 8 MiB pool "
|
||||
- f"(IRAM delta {budget['iram_delta']} B, internal delta {budget['internal_delta']} B, "
|
||||
- f"largest_free_block unchanged), headroom to MEM-007 floor 5: "
|
||||
- f"{achieved}/5, MEM-007 -> ADR-0002 proposal value: {achieved} ACTIVE generations "
|
||||
- f"per distinct plugin name (PSRAM class; re-measure with Wi-Fi at the next gate)")
|
||||
277 + print(
|
||||
278 + f"Capacity: {achieved} ACTIVE verified (8 attempted), per-instance cost "
|
||||
279 + f"{budget['per_instance']} B ({per_kib:.2f} KiB) PSRAM, {achieved}-instance peak "
|
||||
280 + f"{budget['consumed']} B = {pool_pct:.2f}% of the 8 MiB pool "
|
||||
281 + f"(IRAM delta {budget['iram_delta']} B, internal delta {budget['internal_delta']} B, "
|
||||
282 + f"largest_free_block unchanged), headroom to MEM-007 floor 5: "
|
||||
283 + f"{achieved}/5, MEM-007 -> ADR-0002 proposal value: {achieved} ACTIVE generations "
|
||||
284 + f"per distinct plugin name (PSRAM class; re-measure with Wi-Fi at the next gate)"
|
||||
285 + )
|
||||
286 | print(f"CAPACITY LADDER: PASS at {achieved}")
|
||||
|
|
||||
|
||||
1 file would be reformatted
|
||||
E501 Line too long (115 > 100)
|
||||
--> poc/apps/poc_a/plugins/capacity_ladder.py:198:101
|
||||
|
|
||||
196 | achieved = rung
|
||||
197 | break
|
||||
198 | provisional = (verdict["fail_step"] or (rung + 1)) - 1 if verdict["fail_stage"] == "load" else rung
|
||||
| ^^^^^^^^^^^^^^^
|
||||
199 | print(f"--- rung {rung} attempt {attempt} FAILED "
|
||||
200 | f"(stage={verdict['fail_stage']} step={verdict['fail_step']} "
|
||||
|
|
||||
|
||||
Found 1 error.
|
||||
(plugins py not repo-gated; lint advisory)
|
||||
1 file reformatted
|
||||
All checks passed!
|
||||
ruff advisory clean
|
||||
py_compile OK
|
||||
--- post-format confirmation run (capacity 8) ---
|
||||
--- poca>
|
||||
|
||||
poca>
|
||||
--- poca> poca capacity 8
|
||||
poca capacity 8
|
||||
[poca-cap] ladder step N=8: 8 plugin(s) cap01..cap08, all DISTINCT names (PLUG-004: one ACTIVE generation per name)
|
||||
[T8-heap] phase=cap-baseline psram free=8385920 largest=8257536 min_ever=8359072 | iram-exec free=234128 largest=204800 min_ever=226300 | internal free=298191 largest=204800 min_ever=290363
|
||||
[cap-load] idx=1 name=cap01 magic=0x43415031 text=0x3c071248 staging=1984B sha256=17bd11813794c672fa876b11293277fe70166442141961e2eeac7beb3591c5eb psram_free=8382564
|
||||
[cap-load] idx=2 name=cap02 magic=0x43415032 text=0x3c071f64 staging=1984B sha256=c7648f72b9fa5d7a43a74cdf5a83c5156b23d269d971153586c1eb98edb9f7ed psram_free=8379208
|
||||
[cap-load] idx=3 name=cap03 magic=0x43415033 text=0x3c072c80 staging=1984B sha256=61cfa25867cb34a19819131be9931400b34fccff09cdee1e3ea871966075f970 psram_free=8375852
|
||||
[cap-load] idx=4 name=cap04 magic=0x43415034 text=0x3c07399c staging=1984B sha256=9629cf696b87836b2123ac7845021887a9bf62e7a899c1d9269f080b14e0c3a3 psram_free=8372496
|
||||
[cap-load] idx=5 name=cap05 magic=0x43415035 text=0x3c0746b8 staging=1984B sha256=55c4c10db59773d59101ee52e482d942a834544d4470d035fd411b7311e5a543 psram_free=8369140
|
||||
[cap-load] idx=6 name=cap06 magic=0x43415036 text=0x3c0753d4 staging=1984B sha256=f6822a59278151b65cac83809f1da3259d6b2717ef02710dcea722f4fa8f9689 psram_free=8365784
|
||||
[cap-load] idx=7 name=cap07 magic=0x43415037 text=0x3c0760f0 staging=1984B sha256=bdda99c79f7e410fd2bc36ded7e45671e563726ba97a8a7654493772d77eac54 psram_free=8362428
|
||||
[cap-load] idx=8 name=cap08 magic=0x43415038 text=0x3c076e0c staging=1984B sha256=573d19e1d360730c42f97ff63db74bfe181633c4ed59fc0ba1f007f3ccd10492 psram_free=8359072
|
||||
[PASS-cap-8-load] 8/8 instances resident
|
||||
[T8-heap] phase=cap-peak psram free=8359072 largest=8257536 min_ever=8359072 | iram-exec free=234128 largest=204800 min_ever=226300 | internal free=298191 largest=204800 min_ever=290363
|
||||
[T8-stack] phase=cap-peak tasks=5
|
||||
[T8-stack] console_repl prio=5 stack_hwm=2040B
|
||||
[T8-stack] IDLE0 prio=0 stack_hwm=756B
|
||||
[T8-stack] IDLE1 prio=0 stack_hwm=864B
|
||||
[T8-stack] ipc1 prio=24 stack_hwm=596B
|
||||
[T8-stack] ipc0 prio=24 stack_hwm=568B
|
||||
[cap-respond] idx=1 name=cap01 fn=0x420712d0 text=0x3c071248 returned=0x060ff15e expected=0x060ff15e MATCH
|
||||
[cap-respond] idx=2 name=cap02 fn=0x42071fec text=0x3c071f64 returned=0x060ff15d expected=0x060ff15d MATCH
|
||||
[cap-respond] idx=3 name=cap03 fn=0x42072d08 text=0x3c072c80 returned=0x060ff15c expected=0x060ff15c MATCH
|
||||
[cap-respond] idx=4 name=cap04 fn=0x42073a24 text=0x3c07399c returned=0x060ff15b expected=0x060ff15b MATCH
|
||||
[cap-respond] idx=5 name=cap05 fn=0x42074740 text=0x3c0746b8 returned=0x060ff15a expected=0x060ff15a MATCH
|
||||
[cap-respond] idx=6 name=cap06 fn=0x4207545c text=0x3c0753d4 returned=0x060ff159 expected=0x060ff159 MATCH
|
||||
[cap-respond] idx=7 name=cap07 fn=0x42076178 text=0x3c0760f0 returned=0x060ff158 expected=0x060ff158 MATCH
|
||||
[cap-respond] idx=8 name=cap08 fn=0x42076e94 text=0x3c076e0c returned=0x060ff157 expected=0x060ff157 MATCH
|
||||
[cap-distinct] text_bases_all_distinct=yes expected_magics_all_distinct=yes
|
||||
[PASS-cap-8-respond] 8/8 magics match, all distinct
|
||||
[T10-budget] psram base_free=8385920 peak_free=8359072 consumed=26848 per_instance=3356 (staging 1984B + loader arena 1352B) iram_delta=0 internal_delta=0
|
||||
CAPBUD,count=8,psram_base_free=8385920,psram_peak_free=8359072,consumed=26848,per_instance=3356,mpb_size=1984,arena_size=1352,iram_delta=0,internal_delta=0
|
||||
[cap-unload] idx=8 name=cap08 unload_err=0 psram_free=8362428
|
||||
[cap-unload] idx=7 name=cap07 unload_err=0 psram_free=8365784
|
||||
[cap-unload] idx=6 name=cap06 unload_err=0 psram_free=8369140
|
||||
[cap-unload] idx=5 name=cap05 unload_err=0 psram_free=8372496
|
||||
[cap-unload] idx=4 name=cap04 unload_err=0 psram_free=8375852
|
||||
[cap-unload] idx=3 name=cap03 unload_err=0 psram_free=8379208
|
||||
[cap-unload] idx=2 name=cap02 unload_err=0 psram_free=8382564
|
||||
[cap-unload] idx=1 name=cap01 unload_err=0 psram_free=8385920
|
||||
[PASS-cap-8-unload] 8/8 released in reverse order
|
||||
[T8-heap] phase=cap-final psram free=8385920 largest=8257536 min_ever=8359072 | iram-exec free=234128 largest=204800 min_ever=226300 | internal free=298191 largest=204800 min_ever=290363
|
||||
[poca-cap] restored=yes (final_free=8385920 base_free=8385920 peak min_ever floor=8359072)
|
||||
[PASS-capacity-8] 8 concurrent ACTIVE generations verified (distinct names/magics/text bases)
|
||||
poca>
|
||||
POST-FORMAT cap-8 ok: True reasons: []
|
||||
CAPBUD: {'count': 8, 'psram_base_free': 8385920, 'psram_peak_free': 8359072, 'consumed': 26848, 'per_instance': 3356, 'mpb_size': 1984, 'arena_size': 1352, 'iram_delta': 0, 'internal_delta': 0}
|
||||
M poc/apps/poc_a/main/CMakeLists.txt
|
||||
M poc/apps/poc_a/main/poca_console.cc
|
||||
M poc/apps/poc_a/main/poca_plugin.cc
|
||||
M poc/apps/poc_a/main/poca_plugin.hh
|
||||
M poc/apps/poc_a/plugins/ADMISSION-BUDGET.md
|
||||
?? poc/apps/poc_a/plugins/cap/
|
||||
?? poc/apps/poc_a/plugins/capacity_ladder.py
|
||||
poc/apps/poc_a/main/CMakeLists.txt | 24 +++
|
||||
poc/apps/poc_a/main/poca_console.cc | 12 +-
|
||||
poc/apps/poc_a/main/poca_plugin.cc | 250 +++++++++++++++++++++++++++++
|
||||
poc/apps/poc_a/main/poca_plugin.hh | 13 +-
|
||||
poc/apps/poc_a/plugins/ADMISSION-BUDGET.md | 65 +++++++-
|
||||
5 files changed, 355 insertions(+), 9 deletions(-)
|
||||
--- scope check (only poc/apps/poc_a/**):
|
||||
OK: no out-of-scope paths
|
||||
[poc-a-dynamic-elf a302151] feat(poc-a): capacity ladder with signed budget
|
||||
7 files changed, 649 insertions(+), 9 deletions(-)
|
||||
create mode 100644 poc/apps/poc_a/plugins/cap/manifest.json
|
||||
create mode 100644 poc/apps/poc_a/plugins/capacity_ladder.py
|
||||
a302151 feat(poc-a): capacity ladder with signed budget
|
||||
eea3876 style(poc-a): clang-format 18 sweep on poca_sched quiesce revival block
|
||||
===== T10 FINAL GATE SUMMARY =====
|
||||
a302151 feat(poc-a): capacity ladder with signed budget
|
||||
============================== 87 passed in 0.40s ==============================
|
||||
DONECLAIM:
|
||||
{
|
||||
"task": "T10 capacity ladder 8->5 (poc-a-dynamic-elf todo #10)",
|
||||
"commit": "a302151 feat(poc-a): capacity ladder with signed budget",
|
||||
"ladder_result": {
|
||||
"verdict": "PASS at 8 (rung-8 attempt-1; ladder runner x2 + post-format confirmation = 3 identical board runs)",
|
||||
"rungs_executed": [8],
|
||||
"descent_exercised": false,
|
||||
"markers": ["[PASS-cap-8-load] 8/8", "[PASS-cap-8-respond] 8/8 magics match, all distinct", "[PASS-cap-8-unload] 8/8 reverse", "[PASS-capacity-8]"],
|
||||
"adversarial": "8 distinct staging sha256 (== build-time), 8 distinct magics at 8 distinct PSRAM text bases (0x3c071248..0x3c076e0c, stride 0xd1c == per-instance cost), canary +8/run exact"
|
||||
},
|
||||
"cost_table": {
|
||||
"per_instance_psram_B": 3356,
|
||||
"staging_mpb_B": 1984,
|
||||
"loader_arena_B": 1352,
|
||||
"peak_8_consumed_B": 26848,
|
||||
"peak_pct_of_8MiB": 0.32,
|
||||
"iram_delta_B": 0,
|
||||
"internal_delta_B": 0,
|
||||
"largest_free_block": "8257536 unchanged",
|
||||
"restored": "exact (8385920)",
|
||||
"crosscheck": "T8 baseline-class 3388B/1988B staging; delta = shorter manifest name"
|
||||
},
|
||||
"budget_line": "Capacity: 8 ACTIVE verified (8 attempted), per-instance cost 3356 B (3.28 KiB) PSRAM, 8-instance peak 26848 B = 0.32% of the 8 MiB pool (IRAM delta 0 B, internal delta 0 B, largest_free_block unchanged), headroom to MEM-007 floor 5: 8/5, MEM-007 -> ADR-0002 proposal value: 8 ACTIVE generations per distinct plugin name (PSRAM class; re-measure with Wi-Fi at the next gate)",
|
||||
"gates": {
|
||||
"build_0_warn": "PASS (touch+rebuild grep empty)",
|
||||
"regression_matrix_1x": "PASS (positives=3 negatives=10 canary=20 unchanged)",
|
||||
"host_ctest": "52/52 PASS (poc-host-t10, ASan)",
|
||||
"pytest": "87 passed",
|
||||
"fmt_18_1_8": "PASS (clang-format 18.1.8 dry-run --Werror on changed .cc/.hh)",
|
||||
"scope": "poc/apps/poc_a/** only; not pushed"
|
||||
},
|
||||
"notes_for_T16": "evidence = task-10 log; budget frozen in plugins/ADMISSION-BUDGET.md capacity section; descent/retry path never hardware-exercised (8 passed first) - record honestly in GATE-A-REPORT; ADR-0002 amendment: global pool-sum admission gate needed for worst-case 8x512KiB declarations"
|
||||
}
|
||||
===== T10 COMPLETE 2026-09-01T09:08:05+08:00 =====
|
||||
@@ -0,0 +1,719 @@
|
||||
=== task-11-12 poc-a host strand + completion === 2026-08-31T21:18:45+08:00
|
||||
=== worktree: 4793cc2 branch poc-a-dynamic-elf ===
|
||||
-- The C compiler identification is GNU 16.2.1
|
||||
-- The CXX compiler identification is GNU 16.2.1
|
||||
-- Detecting C compiler ABI info
|
||||
-- Detecting C compiler ABI info - done
|
||||
-- Check for working C compiler: /usr/bin/cc - skipped
|
||||
-- Detecting C compile features
|
||||
-- Detecting C compile features - done
|
||||
-- Detecting CXX compiler ABI info
|
||||
-- Detecting CXX compiler ABI info - done
|
||||
-- Check for working CXX compiler: /usr/bin/c++ - skipped
|
||||
-- Detecting CXX compile features
|
||||
-- Detecting CXX compile features - done
|
||||
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
|
||||
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
|
||||
-- Found Threads: TRUE
|
||||
-- Configuring done (23.2s)
|
||||
-- Generating done (0.0s)
|
||||
-- Build files have been written to: /home/lain/Projects/esp_study/poc-a-wt/.build/poc-host
|
||||
[1/22] Building C object CMakeFiles/frame_abi_c_test.dir/tests/frame_abi_c_test.c.o
|
||||
[2/22] Linking C executable frame_abi_c_test
|
||||
[3/22] Building CXX object CMakeFiles/frame_poc_strand.dir/src/frame_strand.cc.o
|
||||
[4/22] Linking CXX static library libframe_poc_strand.a
|
||||
[5/22] Building CXX object CMakeFiles/frame_abi_test.dir/tests/frame_abi_test.cc.o
|
||||
[6/22] Building CXX object CMakeFiles/frame_handle_test.dir/tests/frame_handle_test.cc.o
|
||||
[7/22] Building CXX object CMakeFiles/lifecycle_state_test.dir/tests/lifecycle_state_test.cc.o
|
||||
[8/22] Building CXX object _deps/googletest-build/googletest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o
|
||||
[9/22] Building CXX object CMakeFiles/frame_strand_test.dir/tests/frame_strand_test.cc.o
|
||||
FAILED: [code=1] CMakeFiles/frame_strand_test.dir/tests/frame_strand_test.cc.o
|
||||
/usr/bin/c++ -I/home/lain/Projects/esp_study/poc-a-wt/poc/host/include -I/home/lain/Projects/esp_study/poc-a-wt/poc/host/../common/components/frame_poc_runtime/include -isystem /home/lain/Projects/esp_study/poc-a-wt/.build/poc-host/_deps/googletest-src/googletest/include -isystem /home/lain/Projects/esp_study/poc-a-wt/.build/poc-host/_deps/googletest-src/googletest -std=c++26 -Wall -Wextra -Werror -Wpedantic -MD -MT CMakeFiles/frame_strand_test.dir/tests/frame_strand_test.cc.o -MF CMakeFiles/frame_strand_test.dir/tests/frame_strand_test.cc.o.d -o CMakeFiles/frame_strand_test.dir/tests/frame_strand_test.cc.o -c /home/lain/Projects/esp_study/poc-a-wt/poc/host/tests/frame_strand_test.cc
|
||||
/home/lain/Projects/esp_study/poc-a-wt/poc/host/tests/frame_strand_test.cc: In lambda function:
|
||||
/home/lain/Projects/esp_study/poc-a-wt/poc/host/tests/frame_strand_test.cc:125:27: error: expected primary-expression before ‘(’ token
|
||||
125 | return std::thread([this_slot = slot, this_count = count, &] {
|
||||
| ^
|
||||
/home/lain/Projects/esp_study/poc-a-wt/poc/host/tests/frame_strand_test.cc:125:68: error: expected identifier before ‘]’ token
|
||||
125 | return std::thread([this_slot = slot, this_count = count, &] {
|
||||
| ^
|
||||
/home/lain/Projects/esp_study/poc-a-wt/poc/host/tests/frame_strand_test.cc: In lambda function:
|
||||
/home/lain/Projects/esp_study/poc-a-wt/poc/host/tests/frame_strand_test.cc:126:30: error: ‘strands’ is not captured
|
||||
126 | strand& target = strands[this_slot];
|
||||
| ^~~~~~~
|
||||
/home/lain/Projects/esp_study/poc-a-wt/poc/host/tests/frame_strand_test.cc:125:68: note: the lambda has no capture-default
|
||||
125 | return std::thread([this_slot = slot, this_count = count, &] {
|
||||
| ^
|
||||
/home/lain/Projects/esp_study/poc-a-wt/poc/host/tests/frame_strand_test.cc:120:12: note: ‘frame::poc::strand strands [2]’ declared here
|
||||
120 | strand strands[2]{strand(core, 512), strand(core, 512)};
|
||||
| ^~~~~~~
|
||||
/home/lain/Projects/esp_study/poc-a-wt/poc/host/tests/frame_strand_test.cc:127:35: error: ‘guard’ is not captured
|
||||
127 | slot_payload payload{&guard, this_slot};
|
||||
| ^~~~~
|
||||
/home/lain/Projects/esp_study/poc-a-wt/poc/host/tests/frame_strand_test.cc:125:68: note: the lambda has no capture-default
|
||||
125 | return std::thread([this_slot = slot, this_count = count, &] {
|
||||
| ^
|
||||
/home/lain/Projects/esp_study/poc-a-wt/poc/host/tests/frame_strand_test.cc:121:23: note: ‘{anonymous}::concurrency_guard guard’ declared here
|
||||
121 | concurrency_guard guard;
|
||||
| ^~~~~
|
||||
[10/22] Building CXX object _deps/googletest-build/googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o
|
||||
[11/22] Building CXX object CMakeFiles/frame_completion_test.dir/tests/frame_completion_test.cc.o
|
||||
[12/22] Building CXX object _deps/googletest-build/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o
|
||||
[13/22] Building CXX object _deps/googletest-build/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o
|
||||
ninja: build stopped: subcommand failed.
|
||||
[1/10] Linking CXX static library lib/libgtest.a
|
||||
[2/10] Linking CXX static library lib/libgtest_main.a
|
||||
[3/10] Linking CXX static library lib/libgmock.a
|
||||
[4/10] Linking CXX static library lib/libgmock_main.a
|
||||
[5/10] Linking CXX executable frame_handle_test
|
||||
[6/10] Linking CXX executable frame_abi_test
|
||||
[7/10] Linking CXX executable lifecycle_state_test
|
||||
[8/10] Linking CXX executable frame_completion_test
|
||||
[9/10] Building CXX object CMakeFiles/frame_strand_test.dir/tests/frame_strand_test.cc.o
|
||||
[10/10] Linking CXX executable frame_strand_test
|
||||
=== ctest run #1 (default build) ===
|
||||
Test project /home/lain/Projects/esp_study/poc-a-wt/.build/poc-host
|
||||
Start 1: FrameAbi.AcceptsCompatibleExtension
|
||||
1/24 Test #1: FrameAbi.AcceptsCompatibleExtension ...................... Passed 0.00 sec
|
||||
Start 2: FrameAbi.RejectsIncompatibleOffer
|
||||
2/24 Test #2: FrameAbi.RejectsIncompatibleOffer ........................ Passed 0.00 sec
|
||||
Start 3: FrameAbi.PinsStableErrorValues
|
||||
3/24 Test #3: FrameAbi.PinsStableErrorValues ........................... Passed 0.00 sec
|
||||
Start 4: FrameHandle.EnforcesCapacityOwnershipGenerationAndType
|
||||
4/24 Test #4: FrameHandle.EnforcesCapacityOwnershipGenerationAndType ... Passed 0.00 sec
|
||||
Start 5: FrameHandle.ReuseInvalidatesStaleHandle
|
||||
5/24 Test #5: FrameHandle.ReuseInvalidatesStaleHandle .................. Passed 0.00 sec
|
||||
Start 6: FrameHandle.RejectsInvalidArguments
|
||||
6/24 Test #6: FrameHandle.RejectsInvalidArguments ...................... Passed 0.00 sec
|
||||
Start 7: LifecycleState.FollowsColdStartAndUnload
|
||||
7/24 Test #7: LifecycleState.FollowsColdStartAndUnload ................. Passed 0.00 sec
|
||||
Start 8: LifecycleState.SupportsPauseResumeAndCommittedUpdate
|
||||
8/24 Test #8: LifecycleState.SupportsPauseResumeAndCommittedUpdate ..... Passed 0.00 sec
|
||||
Start 9: LifecycleState.RejectsEveryUnspecifiedTransition
|
||||
9/24 Test #9: LifecycleState.RejectsEveryUnspecifiedTransition ......... Passed 0.00 sec
|
||||
Start 10: LifecycleState.RestartRequiredIsTerminal
|
||||
10/24 Test #10: LifecycleState.RestartRequiredIsTerminal ................. Passed 0.00 sec
|
||||
Start 11: FrameStrand.StrictFifoOrderAcrossProducers
|
||||
11/24 Test #11: FrameStrand.StrictFifoOrderAcrossProducers ............... Passed 0.02 sec
|
||||
Start 12: FrameStrand.SameStrandHandlersNeverConcurrent
|
||||
12/24 Test #12: FrameStrand.SameStrandHandlersNeverConcurrent ............***Exception: SegFault 0.16 sec
|
||||
Running main() from /home/lain/Projects/esp_study/poc-a-wt/.build/poc-host/_deps/googletest-src/googletest/src/gtest_main.cc
|
||||
Note: Google Test filter = FrameStrand.SameStrandHandlersNeverConcurrent
|
||||
[==========] Running 1 test from 1 test suite.
|
||||
[----------] Global test environment set-up.
|
||||
[----------] 1 test from FrameStrand
|
||||
[ RUN ] FrameStrand.SameStrandHandlersNeverConcurrent
|
||||
|
||||
Start 13: FrameStrand.ReadyQueueNeverDuplicatesStrand
|
||||
13/24 Test #13: FrameStrand.ReadyQueueNeverDuplicatesStrand .............. Passed 0.11 sec
|
||||
Start 14: FrameStrand.NoLostWakeupUnderProducerStorm
|
||||
14/24 Test #14: FrameStrand.NoLostWakeupUnderProducerStorm ...............***Failed 60.15 sec
|
||||
Running main() from /home/lain/Projects/esp_study/poc-a-wt/.build/poc-host/_deps/googletest-src/googletest/src/gtest_main.cc
|
||||
Note: Google Test filter = FrameStrand.NoLostWakeupUnderProducerStorm
|
||||
[==========] Running 1 test from 1 test suite.
|
||||
[----------] Global test environment set-up.
|
||||
[----------] 1 test from FrameStrand
|
||||
[ RUN ] FrameStrand.NoLostWakeupUnderProducerStorm
|
||||
/home/lain/Projects/esp_study/poc-a-wt/poc/host/tests/frame_strand_test.cc:239: Failure
|
||||
Value of: wait_until([&] { return s.invoked_count() == kTotal; }, std::chrono::seconds{60})
|
||||
Actual: false
|
||||
Expected: true
|
||||
|
||||
[ FAILED ] FrameStrand.NoLostWakeupUnderProducerStorm (60147 ms)
|
||||
[----------] 1 test from FrameStrand (60147 ms total)
|
||||
|
||||
[----------] Global test environment tear-down
|
||||
[==========] 1 test from 1 test suite ran. (60147 ms total)
|
||||
[ PASSED ] 0 tests.
|
||||
[ FAILED ] 1 test, listed below:
|
||||
[ FAILED ] FrameStrand.NoLostWakeupUnderProducerStorm
|
||||
|
||||
1 FAILED TEST
|
||||
|
||||
Start 15: FrameStrand.QueueFullRejectKeepsCallerOwnership
|
||||
15/24 Test #15: FrameStrand.QueueFullRejectKeepsCallerOwnership .......... Passed 0.00 sec
|
||||
Start 16: FrameStrand.OverrunCounterIncrementsOnSlowHandler
|
||||
16/24 Test #16: FrameStrand.OverrunCounterIncrementsOnSlowHandler ........ Passed 0.01 sec
|
||||
Start 17: FrameStrand.ClosingRejectsPostsAndCleansUp
|
||||
17/24 Test #17: FrameStrand.ClosingRejectsPostsAndCleansUp ............... Passed 0.00 sec
|
||||
Start 18: FrameCompletion.CompleteVsCancelRaceExactlyOnce
|
||||
18/24 Test #18: FrameCompletion.CompleteVsCancelRaceExactlyOnce .......... Passed 10.51 sec
|
||||
Start 19: FrameCompletion.CancelAfterCompleteKeepsOriginalErr
|
||||
19/24 Test #19: FrameCompletion.CancelAfterCompleteKeepsOriginalErr ...... Passed 0.00 sec
|
||||
Start 20: FrameCompletion.ReserveFailureStartsNothing
|
||||
20/24 Test #20: FrameCompletion.ReserveFailureStartsNothing .............. Passed 0.00 sec
|
||||
Start 21: FrameCompletion.QuiescingCleanupRunsOnWorkerThread
|
||||
21/24 Test #21: FrameCompletion.QuiescingCleanupRunsOnWorkerThread ....... Passed 0.00 sec
|
||||
Start 22: FrameCompletion.StaleGenerationDroppedButDestroyed
|
||||
22/24 Test #22: FrameCompletion.StaleGenerationDroppedButDestroyed ....... Passed 0.00 sec
|
||||
Start 23: FrameCompletion.ThreeWayRaceCompleteCancelQuiesce
|
||||
23/24 Test #23: FrameCompletion.ThreeWayRaceCompleteCancelQuiesce ........ Passed 2.14 sec
|
||||
Start 24: frame_abi_c_test
|
||||
24/24 Test #24: frame_abi_c_test ......................................... Passed 0.00 sec
|
||||
|
||||
92% tests passed, 2 tests failed out of 24
|
||||
|
||||
Total Test time (real) = 73.15 sec
|
||||
|
||||
The following tests FAILED:
|
||||
12 - FrameStrand.SameStrandHandlersNeverConcurrent (SEGFAULT)
|
||||
14 - FrameStrand.NoLostWakeupUnderProducerStorm (Failed)
|
||||
Errors while running CTest
|
||||
[0/1] Re-running CMake...
|
||||
-- Configuring done (0.2s)
|
||||
-- Generating done (0.0s)
|
||||
-- Build files have been written to: /home/lain/Projects/esp_study/poc-a-wt/.build/poc-host
|
||||
[1/7] Building C object CMakeFiles/mpb_parser_test.dir/tests/sha256_ref.c.o
|
||||
[2/7] Building C object CMakeFiles/mpb_parser_test.dir/home/lain/Projects/esp_study/poc-a-wt/poc/common/components/frame_poc_mpb/src/mpb_parser.c.o
|
||||
[3/7] Building CXX object CMakeFiles/mpb_parser_test.dir/tests/mpb_parser_test.cc.o
|
||||
FAILED: [code=1] CMakeFiles/mpb_parser_test.dir/tests/mpb_parser_test.cc.o
|
||||
/usr/bin/c++ -DMPB_CORPUS_DIR=\"/home/lain/Projects/esp_study/poc-a-wt/poc/host/tests/mpb_corpus\" -I/home/lain/Projects/esp_study/poc-a-wt/poc/host/../common/components/frame_poc_mpb/include -I/home/lain/Projects/esp_study/poc-a-wt/poc/host/tests -I/home/lain/Projects/esp_study/poc-a-wt/poc/host/../common/components/frame_poc_runtime/include -isystem /home/lain/Projects/esp_study/poc-a-wt/.build/poc-host/_deps/googletest-src/googletest/include -isystem /home/lain/Projects/esp_study/poc-a-wt/.build/poc-host/_deps/googletest-src/googletest -std=c++26 -Wall -Wextra -Werror -Wpedantic -MD -MT CMakeFiles/mpb_parser_test.dir/tests/mpb_parser_test.cc.o -MF CMakeFiles/mpb_parser_test.dir/tests/mpb_parser_test.cc.o.d -o CMakeFiles/mpb_parser_test.dir/tests/mpb_parser_test.cc.o -c /home/lain/Projects/esp_study/poc-a-wt/poc/host/tests/mpb_parser_test.cc
|
||||
/home/lain/Projects/esp_study/poc-a-wt/poc/host/tests/mpb_parser_test.cc: In member function ‘virtual void {anonymous}::MpbParser_ByteFlipFuzzNeverCrashes_Test::TestBody()’:
|
||||
/home/lain/Projects/esp_study/poc-a-wt/poc/host/tests/mpb_parser_test.cc:553:74: error: taking address of rvalue [-fpermissive]
|
||||
553 | mpb_parse(flipped.data(), flipped.size(), &default_policy(), &crypto, &view);
|
||||
| ~~~~~~~~~~~~~~^~
|
||||
[4/7] Building CXX object CMakeFiles/frame_strand_test.dir/tests/frame_strand_test.cc.o
|
||||
ninja: build stopped: subcommand failed.
|
||||
Test project /home/lain/Projects/esp_study/poc-a-wt/.build/poc-host
|
||||
Start 12: FrameStrand.StrictFifoOrderAcrossProducers
|
||||
1/7 Test #12: FrameStrand.StrictFifoOrderAcrossProducers .......... Passed 0.02 sec
|
||||
Start 13: FrameStrand.SameStrandHandlersNeverConcurrent
|
||||
2/7 Test #13: FrameStrand.SameStrandHandlersNeverConcurrent .......***Exception: SegFault 0.15 sec
|
||||
Running main() from /home/lain/Projects/esp_study/poc-a-wt/.build/poc-host/_deps/googletest-src/googletest/src/gtest_main.cc
|
||||
Note: Google Test filter = FrameStrand.SameStrandHandlersNeverConcurrent
|
||||
[==========] Running 1 test from 1 test suite.
|
||||
[----------] Global test environment set-up.
|
||||
[----------] 1 test from FrameStrand
|
||||
[ RUN ] FrameStrand.SameStrandHandlersNeverConcurrent
|
||||
|
||||
Start 14: FrameStrand.ReadyQueueNeverDuplicatesStrand
|
||||
3/7 Test #14: FrameStrand.ReadyQueueNeverDuplicatesStrand ......... Passed 0.11 sec
|
||||
Start 15: FrameStrand.NoLostWakeupUnderProducerStorm
|
||||
4/7 Test #15: FrameStrand.NoLostWakeupUnderProducerStorm ..........***Failed 60.12 sec
|
||||
Running main() from /home/lain/Projects/esp_study/poc-a-wt/.build/poc-host/_deps/googletest-src/googletest/src/gtest_main.cc
|
||||
Note: Google Test filter = FrameStrand.NoLostWakeupUnderProducerStorm
|
||||
[==========] Running 1 test from 1 test suite.
|
||||
[----------] Global test environment set-up.
|
||||
[----------] 1 test from FrameStrand
|
||||
[ RUN ] FrameStrand.NoLostWakeupUnderProducerStorm
|
||||
/home/lain/Projects/esp_study/poc-a-wt/poc/host/tests/frame_strand_test.cc:239: Failure
|
||||
Value of: wait_until([&] { return s.invoked_count() == kTotal; }, std::chrono::seconds{60})
|
||||
Actual: false
|
||||
Expected: true
|
||||
|
||||
[ FAILED ] FrameStrand.NoLostWakeupUnderProducerStorm (60113 ms)
|
||||
[----------] 1 test from FrameStrand (60113 ms total)
|
||||
|
||||
[----------] Global test environment tear-down
|
||||
[==========] 1 test from 1 test suite ran. (60113 ms total)
|
||||
[ PASSED ] 0 tests.
|
||||
[ FAILED ] 1 test, listed below:
|
||||
[ FAILED ] FrameStrand.NoLostWakeupUnderProducerStorm
|
||||
|
||||
1 FAILED TEST
|
||||
|
||||
Start 16: FrameStrand.QueueFullRejectKeepsCallerOwnership
|
||||
5/7 Test #16: FrameStrand.QueueFullRejectKeepsCallerOwnership ..... Passed 0.00 sec
|
||||
Start 17: FrameStrand.OverrunCounterIncrementsOnSlowHandler
|
||||
6/7 Test #17: FrameStrand.OverrunCounterIncrementsOnSlowHandler ... Passed 0.01 sec
|
||||
Start 18: FrameStrand.ClosingRejectsPostsAndCleansUp
|
||||
7/7 Test #18: FrameStrand.ClosingRejectsPostsAndCleansUp .......... Passed 0.00 sec
|
||||
|
||||
71% tests passed, 2 tests failed out of 7
|
||||
|
||||
Total Test time (real) = 60.42 sec
|
||||
|
||||
The following tests FAILED:
|
||||
13 - FrameStrand.SameStrandHandlersNeverConcurrent (SEGFAULT)
|
||||
15 - FrameStrand.NoLostWakeupUnderProducerStorm (Failed)
|
||||
Errors while running CTest
|
||||
ninja: Entering directory `.build/poc-host'
|
||||
[1/1] Linking CXX executable frame_strand_test
|
||||
Test project /home/lain/Projects/esp_study/poc-a-wt/.build/poc-host
|
||||
Start 12: FrameStrand.StrictFifoOrderAcrossProducers
|
||||
1/13 Test #12: FrameStrand.StrictFifoOrderAcrossProducers ............ Passed 0.02 sec
|
||||
Start 13: FrameStrand.SameStrandHandlersNeverConcurrent
|
||||
2/13 Test #13: FrameStrand.SameStrandHandlersNeverConcurrent ......... Passed 0.12 sec
|
||||
Start 14: FrameStrand.ReadyQueueNeverDuplicatesStrand
|
||||
3/13 Test #14: FrameStrand.ReadyQueueNeverDuplicatesStrand ........... Passed 0.08 sec
|
||||
Start 15: FrameStrand.NoLostWakeupUnderProducerStorm
|
||||
4/13 Test #15: FrameStrand.NoLostWakeupUnderProducerStorm ............ Passed 0.12 sec
|
||||
Start 16: FrameStrand.QueueFullRejectKeepsCallerOwnership
|
||||
5/13 Test #16: FrameStrand.QueueFullRejectKeepsCallerOwnership ....... Passed 0.00 sec
|
||||
Start 17: FrameStrand.OverrunCounterIncrementsOnSlowHandler
|
||||
6/13 Test #17: FrameStrand.OverrunCounterIncrementsOnSlowHandler ..... Passed 0.01 sec
|
||||
Start 18: FrameStrand.ClosingRejectsPostsAndCleansUp
|
||||
7/13 Test #18: FrameStrand.ClosingRejectsPostsAndCleansUp ............ Passed 0.00 sec
|
||||
Start 19: FrameCompletion.CompleteVsCancelRaceExactlyOnce
|
||||
8/13 Test #19: FrameCompletion.CompleteVsCancelRaceExactlyOnce .......***Failed 10.52 sec
|
||||
Running main() from /home/lain/Projects/esp_study/poc-a-wt/.build/poc-host/_deps/googletest-src/googletest/src/gtest_main.cc
|
||||
Note: Google Test filter = FrameCompletion.CompleteVsCancelRaceExactlyOnce
|
||||
[==========] Running 1 test from 1 test suite.
|
||||
[----------] Global test environment set-up.
|
||||
[----------] 1 test from FrameCompletion
|
||||
[ RUN ] FrameCompletion.CompleteVsCancelRaceExactlyOnce
|
||||
/home/lain/Projects/esp_study/poc-a-wt/poc/host/tests/frame_completion_test.cc:141: Failure
|
||||
Expected equality of these values:
|
||||
rec.deliveries()
|
||||
Which is: 100001
|
||||
kRounds
|
||||
Which is: 100000
|
||||
|
||||
/home/lain/Projects/esp_study/poc-a-wt/poc/host/tests/frame_completion_test.cc:142: Failure
|
||||
Expected equality of these values:
|
||||
rec.complete_delivered.load() + rec.cancel_delivered.load()
|
||||
Which is: 100001
|
||||
kRounds
|
||||
Which is: 100000
|
||||
|
||||
/home/lain/Projects/esp_study/poc-a-wt/poc/host/tests/frame_completion_test.cc:143: Failure
|
||||
Expected equality of these values:
|
||||
rec.destroyed.load()
|
||||
Which is: 100001
|
||||
kRounds
|
||||
Which is: 100000
|
||||
|
||||
/home/lain/Projects/esp_study/poc-a-wt/poc/host/tests/frame_completion_test.cc:144: Failure
|
||||
Expected equality of these values:
|
||||
s.destroyed_count()
|
||||
Which is: 100001
|
||||
kRounds
|
||||
Which is: 100000
|
||||
|
||||
/home/lain/Projects/esp_study/poc-a-wt/poc/host/tests/frame_completion_test.cc:145: Failure
|
||||
Expected equality of these values:
|
||||
rec.delivered_errs.size()
|
||||
Which is: 100001
|
||||
kRounds
|
||||
Which is: 100000
|
||||
|
||||
[ FAILED ] FrameCompletion.CompleteVsCancelRaceExactlyOnce (10516 ms)
|
||||
[----------] 1 test from FrameCompletion (10516 ms total)
|
||||
|
||||
[----------] Global test environment tear-down
|
||||
[==========] 1 test from 1 test suite ran. (10516 ms total)
|
||||
[ PASSED ] 0 tests.
|
||||
[ FAILED ] 1 test, listed below:
|
||||
[ FAILED ] FrameCompletion.CompleteVsCancelRaceExactlyOnce
|
||||
|
||||
1 FAILED TEST
|
||||
|
||||
Start 20: FrameCompletion.CancelAfterCompleteKeepsOriginalErr
|
||||
9/13 Test #20: FrameCompletion.CancelAfterCompleteKeepsOriginalErr ... Passed 0.00 sec
|
||||
Start 21: FrameCompletion.ReserveFailureStartsNothing
|
||||
10/13 Test #21: FrameCompletion.ReserveFailureStartsNothing ........... Passed 0.00 sec
|
||||
Start 22: FrameCompletion.QuiescingCleanupRunsOnWorkerThread
|
||||
11/13 Test #22: FrameCompletion.QuiescingCleanupRunsOnWorkerThread .... Passed 0.00 sec
|
||||
Start 23: FrameCompletion.StaleGenerationDroppedButDestroyed
|
||||
12/13 Test #23: FrameCompletion.StaleGenerationDroppedButDestroyed .... Passed 0.00 sec
|
||||
Start 24: FrameCompletion.ThreeWayRaceCompleteCancelQuiesce
|
||||
13/13 Test #24: FrameCompletion.ThreeWayRaceCompleteCancelQuiesce .....***Failed 2.12 sec
|
||||
Running main() from /home/lain/Projects/esp_study/poc-a-wt/.build/poc-host/_deps/googletest-src/googletest/src/gtest_main.cc
|
||||
Note: Google Test filter = FrameCompletion.ThreeWayRaceCompleteCancelQuiesce
|
||||
[==========] Running 1 test from 1 test suite.
|
||||
[----------] Global test environment set-up.
|
||||
[----------] 1 test from FrameCompletion
|
||||
[ RUN ] FrameCompletion.ThreeWayRaceCompleteCancelQuiesce
|
||||
/home/lain/Projects/esp_study/poc-a-wt/poc/host/tests/frame_completion_test.cc:359: Failure
|
||||
Expected equality of these values:
|
||||
rec.deliveries()
|
||||
Which is: 20001
|
||||
kRounds
|
||||
Which is: 20000
|
||||
|
||||
/home/lain/Projects/esp_study/poc-a-wt/poc/host/tests/frame_completion_test.cc:360: Failure
|
||||
Expected equality of these values:
|
||||
rec.complete_delivered.load() + rec.cancel_delivered.load()
|
||||
Which is: 20001
|
||||
kRounds
|
||||
Which is: 20000
|
||||
|
||||
/home/lain/Projects/esp_study/poc-a-wt/poc/host/tests/frame_completion_test.cc:361: Failure
|
||||
Expected equality of these values:
|
||||
rec.destroyed.load()
|
||||
Which is: 20001
|
||||
kRounds
|
||||
Which is: 20000
|
||||
|
||||
[ FAILED ] FrameCompletion.ThreeWayRaceCompleteCancelQuiesce (2122 ms)
|
||||
[----------] 1 test from FrameCompletion (2122 ms total)
|
||||
|
||||
[----------] Global test environment tear-down
|
||||
[==========] 1 test from 1 test suite ran. (2122 ms total)
|
||||
[ PASSED ] 0 tests.
|
||||
[ FAILED ] 1 test, listed below:
|
||||
[ FAILED ] FrameCompletion.ThreeWayRaceCompleteCancelQuiesce
|
||||
|
||||
1 FAILED TEST
|
||||
|
||||
|
||||
85% tests passed, 2 tests failed out of 13
|
||||
|
||||
Total Test time (real) = 13.02 sec
|
||||
|
||||
The following tests FAILED:
|
||||
19 - FrameCompletion.CompleteVsCancelRaceExactlyOnce (Failed)
|
||||
24 - FrameCompletion.ThreeWayRaceCompleteCancelQuiesce (Failed)
|
||||
Errors while running CTest
|
||||
ninja: Entering directory `.build/poc-host'
|
||||
[1/2] Building CXX object CMakeFiles/frame_completion_test.dir/tests/frame_completion_test.cc.o
|
||||
[2/2] Linking CXX executable frame_completion_test
|
||||
Test project /home/lain/Projects/esp_study/poc-a-wt/.build/poc-host
|
||||
Start 12: FrameStrand.StrictFifoOrderAcrossProducers
|
||||
1/13 Test #12: FrameStrand.StrictFifoOrderAcrossProducers ............ Passed 0.02 sec
|
||||
Start 13: FrameStrand.SameStrandHandlersNeverConcurrent
|
||||
2/13 Test #13: FrameStrand.SameStrandHandlersNeverConcurrent ......... Passed 0.12 sec
|
||||
Start 14: FrameStrand.ReadyQueueNeverDuplicatesStrand
|
||||
3/13 Test #14: FrameStrand.ReadyQueueNeverDuplicatesStrand ........... Passed 0.10 sec
|
||||
Start 15: FrameStrand.NoLostWakeupUnderProducerStorm
|
||||
4/13 Test #15: FrameStrand.NoLostWakeupUnderProducerStorm ............ Passed 0.12 sec
|
||||
Start 16: FrameStrand.QueueFullRejectKeepsCallerOwnership
|
||||
5/13 Test #16: FrameStrand.QueueFullRejectKeepsCallerOwnership ....... Passed 0.00 sec
|
||||
Start 17: FrameStrand.OverrunCounterIncrementsOnSlowHandler
|
||||
6/13 Test #17: FrameStrand.OverrunCounterIncrementsOnSlowHandler ..... Passed 0.01 sec
|
||||
Start 18: FrameStrand.ClosingRejectsPostsAndCleansUp
|
||||
7/13 Test #18: FrameStrand.ClosingRejectsPostsAndCleansUp ............ Passed 0.00 sec
|
||||
Start 19: FrameCompletion.CompleteVsCancelRaceExactlyOnce
|
||||
8/13 Test #19: FrameCompletion.CompleteVsCancelRaceExactlyOnce ....... Passed 10.51 sec
|
||||
Start 20: FrameCompletion.CancelAfterCompleteKeepsOriginalErr
|
||||
9/13 Test #20: FrameCompletion.CancelAfterCompleteKeepsOriginalErr ... Passed 0.00 sec
|
||||
Start 21: FrameCompletion.ReserveFailureStartsNothing
|
||||
10/13 Test #21: FrameCompletion.ReserveFailureStartsNothing ........... Passed 0.00 sec
|
||||
Start 22: FrameCompletion.QuiescingCleanupRunsOnWorkerThread
|
||||
11/13 Test #22: FrameCompletion.QuiescingCleanupRunsOnWorkerThread .... Passed 0.00 sec
|
||||
Start 23: FrameCompletion.StaleGenerationDroppedButDestroyed
|
||||
12/13 Test #23: FrameCompletion.StaleGenerationDroppedButDestroyed .... Passed 0.00 sec
|
||||
Start 24: FrameCompletion.ThreeWayRaceCompleteCancelQuiesce
|
||||
13/13 Test #24: FrameCompletion.ThreeWayRaceCompleteCancelQuiesce ..... Passed 2.14 sec
|
||||
|
||||
100% tests passed out of 13
|
||||
|
||||
Total Test time (real) = 13.04 sec
|
||||
=== TSan configure (clang) ===
|
||||
-- Configuring done (21.9s)
|
||||
-- Generating done (0.0s)
|
||||
-- Build files have been written to: /home/lain/Projects/esp_study/poc-a-wt/.build/poc-host-tsan
|
||||
=== TSan build (task targets only; parallel WIP mpb target excluded) ===
|
||||
[16/18] Linking CXX executable frame_completion_test
|
||||
[17/18] Linking CXX executable frame_strand_test
|
||||
[18/18] Linking CXX executable lifecycle_state_test
|
||||
=== TSan ctest run #1 ===
|
||||
Test project /home/lain/Projects/esp_study/poc-a-wt/.build/poc-host-tsan
|
||||
Start 1: FrameAbi.AcceptsCompatibleExtension
|
||||
1/24 Test #1: FrameAbi.AcceptsCompatibleExtension ...................... Passed 0.01 sec
|
||||
Start 2: FrameAbi.RejectsIncompatibleOffer
|
||||
2/24 Test #2: FrameAbi.RejectsIncompatibleOffer ........................ Passed 0.01 sec
|
||||
Start 3: FrameAbi.PinsStableErrorValues
|
||||
3/24 Test #3: FrameAbi.PinsStableErrorValues ........................... Passed 0.01 sec
|
||||
Start 4: FrameHandle.EnforcesCapacityOwnershipGenerationAndType
|
||||
4/24 Test #4: FrameHandle.EnforcesCapacityOwnershipGenerationAndType ... Passed 0.01 sec
|
||||
Start 5: FrameHandle.ReuseInvalidatesStaleHandle
|
||||
5/24 Test #5: FrameHandle.ReuseInvalidatesStaleHandle .................. Passed 0.01 sec
|
||||
Start 6: FrameHandle.RejectsInvalidArguments
|
||||
6/24 Test #6: FrameHandle.RejectsInvalidArguments ...................... Passed 0.01 sec
|
||||
Start 7: LifecycleState.FollowsColdStartAndUnload
|
||||
7/24 Test #7: LifecycleState.FollowsColdStartAndUnload ................. Passed 0.01 sec
|
||||
Start 8: LifecycleState.SupportsPauseResumeAndCommittedUpdate
|
||||
8/24 Test #8: LifecycleState.SupportsPauseResumeAndCommittedUpdate ..... Passed 0.01 sec
|
||||
Start 9: LifecycleState.RejectsEveryUnspecifiedTransition
|
||||
9/24 Test #9: LifecycleState.RejectsEveryUnspecifiedTransition ......... Passed 0.01 sec
|
||||
Start 10: LifecycleState.RestartRequiredIsTerminal
|
||||
10/24 Test #10: LifecycleState.RestartRequiredIsTerminal ................. Passed 0.01 sec
|
||||
Start 12: FrameStrand.StrictFifoOrderAcrossProducers
|
||||
11/24 Test #12: FrameStrand.StrictFifoOrderAcrossProducers ............... Passed 0.13 sec
|
||||
Start 13: FrameStrand.SameStrandHandlersNeverConcurrent
|
||||
12/24 Test #13: FrameStrand.SameStrandHandlersNeverConcurrent ............ Passed 0.14 sec
|
||||
Start 14: FrameStrand.ReadyQueueNeverDuplicatesStrand
|
||||
13/24 Test #14: FrameStrand.ReadyQueueNeverDuplicatesStrand .............. Passed 0.68 sec
|
||||
Start 15: FrameStrand.NoLostWakeupUnderProducerStorm
|
||||
14/24 Test #15: FrameStrand.NoLostWakeupUnderProducerStorm ............... Passed 0.88 sec
|
||||
Start 16: FrameStrand.QueueFullRejectKeepsCallerOwnership
|
||||
15/24 Test #16: FrameStrand.QueueFullRejectKeepsCallerOwnership .......... Passed 0.02 sec
|
||||
Start 17: FrameStrand.OverrunCounterIncrementsOnSlowHandler
|
||||
16/24 Test #17: FrameStrand.OverrunCounterIncrementsOnSlowHandler ........ Passed 0.03 sec
|
||||
Start 18: FrameStrand.ClosingRejectsPostsAndCleansUp
|
||||
17/24 Test #18: FrameStrand.ClosingRejectsPostsAndCleansUp ............... Passed 0.01 sec
|
||||
Start 19: FrameCompletion.CompleteVsCancelRaceExactlyOnce
|
||||
18/24 Test #19: FrameCompletion.CompleteVsCancelRaceExactlyOnce .......... Passed 10.84 sec
|
||||
Start 20: FrameCompletion.CancelAfterCompleteKeepsOriginalErr
|
||||
19/24 Test #20: FrameCompletion.CancelAfterCompleteKeepsOriginalErr ...... Passed 0.01 sec
|
||||
Start 21: FrameCompletion.ReserveFailureStartsNothing
|
||||
20/24 Test #21: FrameCompletion.ReserveFailureStartsNothing .............. Passed 0.01 sec
|
||||
Start 22: FrameCompletion.QuiescingCleanupRunsOnWorkerThread
|
||||
21/24 Test #22: FrameCompletion.QuiescingCleanupRunsOnWorkerThread ....... Passed 0.01 sec
|
||||
Start 23: FrameCompletion.StaleGenerationDroppedButDestroyed
|
||||
22/24 Test #23: FrameCompletion.StaleGenerationDroppedButDestroyed ....... Passed 0.01 sec
|
||||
Start 24: FrameCompletion.ThreeWayRaceCompleteCancelQuiesce
|
||||
23/24 Test #24: FrameCompletion.ThreeWayRaceCompleteCancelQuiesce ........ Passed 2.30 sec
|
||||
Start 25: frame_abi_c_test
|
||||
24/24 Test #25: frame_abi_c_test ......................................... Passed 0.01 sec
|
||||
|
||||
100% tests passed out of 24
|
||||
|
||||
Total Test time (real) = 15.24 sec
|
||||
=== default ctest run #2 ===
|
||||
Test project /home/lain/Projects/esp_study/poc-a-wt/.build/poc-host
|
||||
Start 1: FrameAbi.AcceptsCompatibleExtension
|
||||
1/24 Test #1: FrameAbi.AcceptsCompatibleExtension ...................... Passed 0.00 sec
|
||||
Start 2: FrameAbi.RejectsIncompatibleOffer
|
||||
2/24 Test #2: FrameAbi.RejectsIncompatibleOffer ........................ Passed 0.00 sec
|
||||
Start 3: FrameAbi.PinsStableErrorValues
|
||||
3/24 Test #3: FrameAbi.PinsStableErrorValues ........................... Passed 0.00 sec
|
||||
Start 4: FrameHandle.EnforcesCapacityOwnershipGenerationAndType
|
||||
4/24 Test #4: FrameHandle.EnforcesCapacityOwnershipGenerationAndType ... Passed 0.00 sec
|
||||
Start 5: FrameHandle.ReuseInvalidatesStaleHandle
|
||||
5/24 Test #5: FrameHandle.ReuseInvalidatesStaleHandle .................. Passed 0.00 sec
|
||||
Start 6: FrameHandle.RejectsInvalidArguments
|
||||
6/24 Test #6: FrameHandle.RejectsInvalidArguments ...................... Passed 0.00 sec
|
||||
Start 7: LifecycleState.FollowsColdStartAndUnload
|
||||
7/24 Test #7: LifecycleState.FollowsColdStartAndUnload ................. Passed 0.00 sec
|
||||
Start 8: LifecycleState.SupportsPauseResumeAndCommittedUpdate
|
||||
8/24 Test #8: LifecycleState.SupportsPauseResumeAndCommittedUpdate ..... Passed 0.00 sec
|
||||
Start 9: LifecycleState.RejectsEveryUnspecifiedTransition
|
||||
9/24 Test #9: LifecycleState.RejectsEveryUnspecifiedTransition ......... Passed 0.00 sec
|
||||
Start 10: LifecycleState.RestartRequiredIsTerminal
|
||||
10/24 Test #10: LifecycleState.RestartRequiredIsTerminal ................. Passed 0.00 sec
|
||||
Start 12: FrameStrand.StrictFifoOrderAcrossProducers
|
||||
11/24 Test #12: FrameStrand.StrictFifoOrderAcrossProducers ............... Passed 0.02 sec
|
||||
Start 13: FrameStrand.SameStrandHandlersNeverConcurrent
|
||||
12/24 Test #13: FrameStrand.SameStrandHandlersNeverConcurrent ............ Passed 0.12 sec
|
||||
Start 14: FrameStrand.ReadyQueueNeverDuplicatesStrand
|
||||
13/24 Test #14: FrameStrand.ReadyQueueNeverDuplicatesStrand .............. Passed 0.10 sec
|
||||
Start 15: FrameStrand.NoLostWakeupUnderProducerStorm
|
||||
14/24 Test #15: FrameStrand.NoLostWakeupUnderProducerStorm ............... Passed 0.12 sec
|
||||
Start 16: FrameStrand.QueueFullRejectKeepsCallerOwnership
|
||||
15/24 Test #16: FrameStrand.QueueFullRejectKeepsCallerOwnership .......... Passed 0.00 sec
|
||||
Start 17: FrameStrand.OverrunCounterIncrementsOnSlowHandler
|
||||
16/24 Test #17: FrameStrand.OverrunCounterIncrementsOnSlowHandler ........ Passed 0.01 sec
|
||||
Start 18: FrameStrand.ClosingRejectsPostsAndCleansUp
|
||||
17/24 Test #18: FrameStrand.ClosingRejectsPostsAndCleansUp ............... Passed 0.00 sec
|
||||
Start 19: FrameCompletion.CompleteVsCancelRaceExactlyOnce
|
||||
18/24 Test #19: FrameCompletion.CompleteVsCancelRaceExactlyOnce .......... Passed 10.52 sec
|
||||
Start 20: FrameCompletion.CancelAfterCompleteKeepsOriginalErr
|
||||
19/24 Test #20: FrameCompletion.CancelAfterCompleteKeepsOriginalErr ...... Passed 0.00 sec
|
||||
Start 21: FrameCompletion.ReserveFailureStartsNothing
|
||||
20/24 Test #21: FrameCompletion.ReserveFailureStartsNothing .............. Passed 0.00 sec
|
||||
Start 22: FrameCompletion.QuiescingCleanupRunsOnWorkerThread
|
||||
21/24 Test #22: FrameCompletion.QuiescingCleanupRunsOnWorkerThread ....... Passed 0.00 sec
|
||||
Start 23: FrameCompletion.StaleGenerationDroppedButDestroyed
|
||||
22/24 Test #23: FrameCompletion.StaleGenerationDroppedButDestroyed ....... Passed 0.00 sec
|
||||
Start 24: FrameCompletion.ThreeWayRaceCompleteCancelQuiesce
|
||||
23/24 Test #24: FrameCompletion.ThreeWayRaceCompleteCancelQuiesce ........ Passed 2.15 sec
|
||||
Start 25: frame_abi_c_test
|
||||
24/24 Test #25: frame_abi_c_test ......................................... Passed 0.00 sec
|
||||
|
||||
100% tests passed out of 24
|
||||
|
||||
Total Test time (real) = 13.08 sec
|
||||
=== default ctest run #3 ===
|
||||
Test project /home/lain/Projects/esp_study/poc-a-wt/.build/poc-host
|
||||
Start 1: FrameAbi.AcceptsCompatibleExtension
|
||||
1/24 Test #1: FrameAbi.AcceptsCompatibleExtension ...................... Passed 0.00 sec
|
||||
Start 2: FrameAbi.RejectsIncompatibleOffer
|
||||
2/24 Test #2: FrameAbi.RejectsIncompatibleOffer ........................ Passed 0.00 sec
|
||||
Start 3: FrameAbi.PinsStableErrorValues
|
||||
3/24 Test #3: FrameAbi.PinsStableErrorValues ........................... Passed 0.00 sec
|
||||
Start 4: FrameHandle.EnforcesCapacityOwnershipGenerationAndType
|
||||
4/24 Test #4: FrameHandle.EnforcesCapacityOwnershipGenerationAndType ... Passed 0.00 sec
|
||||
Start 5: FrameHandle.ReuseInvalidatesStaleHandle
|
||||
5/24 Test #5: FrameHandle.ReuseInvalidatesStaleHandle .................. Passed 0.00 sec
|
||||
Start 6: FrameHandle.RejectsInvalidArguments
|
||||
6/24 Test #6: FrameHandle.RejectsInvalidArguments ...................... Passed 0.00 sec
|
||||
Start 7: LifecycleState.FollowsColdStartAndUnload
|
||||
7/24 Test #7: LifecycleState.FollowsColdStartAndUnload ................. Passed 0.00 sec
|
||||
Start 8: LifecycleState.SupportsPauseResumeAndCommittedUpdate
|
||||
8/24 Test #8: LifecycleState.SupportsPauseResumeAndCommittedUpdate ..... Passed 0.00 sec
|
||||
Start 9: LifecycleState.RejectsEveryUnspecifiedTransition
|
||||
9/24 Test #9: LifecycleState.RejectsEveryUnspecifiedTransition ......... Passed 0.00 sec
|
||||
Start 10: LifecycleState.RestartRequiredIsTerminal
|
||||
10/24 Test #10: LifecycleState.RestartRequiredIsTerminal ................. Passed 0.00 sec
|
||||
Start 12: FrameStrand.StrictFifoOrderAcrossProducers
|
||||
11/24 Test #12: FrameStrand.StrictFifoOrderAcrossProducers ............... Passed 0.02 sec
|
||||
Start 13: FrameStrand.SameStrandHandlersNeverConcurrent
|
||||
12/24 Test #13: FrameStrand.SameStrandHandlersNeverConcurrent ............ Passed 0.12 sec
|
||||
Start 14: FrameStrand.ReadyQueueNeverDuplicatesStrand
|
||||
13/24 Test #14: FrameStrand.ReadyQueueNeverDuplicatesStrand .............. Passed 0.10 sec
|
||||
Start 15: FrameStrand.NoLostWakeupUnderProducerStorm
|
||||
14/24 Test #15: FrameStrand.NoLostWakeupUnderProducerStorm ............... Passed 0.12 sec
|
||||
Start 16: FrameStrand.QueueFullRejectKeepsCallerOwnership
|
||||
15/24 Test #16: FrameStrand.QueueFullRejectKeepsCallerOwnership .......... Passed 0.00 sec
|
||||
Start 17: FrameStrand.OverrunCounterIncrementsOnSlowHandler
|
||||
16/24 Test #17: FrameStrand.OverrunCounterIncrementsOnSlowHandler ........ Passed 0.01 sec
|
||||
Start 18: FrameStrand.ClosingRejectsPostsAndCleansUp
|
||||
17/24 Test #18: FrameStrand.ClosingRejectsPostsAndCleansUp ............... Passed 0.00 sec
|
||||
Start 19: FrameCompletion.CompleteVsCancelRaceExactlyOnce
|
||||
18/24 Test #19: FrameCompletion.CompleteVsCancelRaceExactlyOnce .......... Passed 10.54 sec
|
||||
Start 20: FrameCompletion.CancelAfterCompleteKeepsOriginalErr
|
||||
19/24 Test #20: FrameCompletion.CancelAfterCompleteKeepsOriginalErr ...... Passed 0.00 sec
|
||||
Start 21: FrameCompletion.ReserveFailureStartsNothing
|
||||
20/24 Test #21: FrameCompletion.ReserveFailureStartsNothing .............. Passed 0.00 sec
|
||||
Start 22: FrameCompletion.QuiescingCleanupRunsOnWorkerThread
|
||||
21/24 Test #22: FrameCompletion.QuiescingCleanupRunsOnWorkerThread ....... Passed 0.00 sec
|
||||
Start 23: FrameCompletion.StaleGenerationDroppedButDestroyed
|
||||
22/24 Test #23: FrameCompletion.StaleGenerationDroppedButDestroyed ....... Passed 0.00 sec
|
||||
Start 24: FrameCompletion.ThreeWayRaceCompleteCancelQuiesce
|
||||
23/24 Test #24: FrameCompletion.ThreeWayRaceCompleteCancelQuiesce ........ Passed 2.14 sec
|
||||
Start 25: frame_abi_c_test
|
||||
24/24 Test #25: frame_abi_c_test ......................................... Passed 0.00 sec
|
||||
|
||||
100% tests passed out of 24
|
||||
|
||||
Total Test time (real) = 13.08 sec
|
||||
=== TSan ctest run #2 ===
|
||||
Test project /home/lain/Projects/esp_study/poc-a-wt/.build/poc-host-tsan
|
||||
Start 1: FrameAbi.AcceptsCompatibleExtension
|
||||
1/24 Test #1: FrameAbi.AcceptsCompatibleExtension ...................... Passed 0.01 sec
|
||||
Start 2: FrameAbi.RejectsIncompatibleOffer
|
||||
2/24 Test #2: FrameAbi.RejectsIncompatibleOffer ........................ Passed 0.01 sec
|
||||
Start 3: FrameAbi.PinsStableErrorValues
|
||||
3/24 Test #3: FrameAbi.PinsStableErrorValues ........................... Passed 0.01 sec
|
||||
Start 4: FrameHandle.EnforcesCapacityOwnershipGenerationAndType
|
||||
4/24 Test #4: FrameHandle.EnforcesCapacityOwnershipGenerationAndType ... Passed 0.01 sec
|
||||
Start 5: FrameHandle.ReuseInvalidatesStaleHandle
|
||||
5/24 Test #5: FrameHandle.ReuseInvalidatesStaleHandle .................. Passed 0.01 sec
|
||||
Start 6: FrameHandle.RejectsInvalidArguments
|
||||
6/24 Test #6: FrameHandle.RejectsInvalidArguments ...................... Passed 0.01 sec
|
||||
Start 7: LifecycleState.FollowsColdStartAndUnload
|
||||
7/24 Test #7: LifecycleState.FollowsColdStartAndUnload ................. Passed 0.01 sec
|
||||
Start 8: LifecycleState.SupportsPauseResumeAndCommittedUpdate
|
||||
8/24 Test #8: LifecycleState.SupportsPauseResumeAndCommittedUpdate ..... Passed 0.01 sec
|
||||
Start 9: LifecycleState.RejectsEveryUnspecifiedTransition
|
||||
9/24 Test #9: LifecycleState.RejectsEveryUnspecifiedTransition ......... Passed 0.01 sec
|
||||
Start 10: LifecycleState.RestartRequiredIsTerminal
|
||||
10/24 Test #10: LifecycleState.RestartRequiredIsTerminal ................. Passed 0.01 sec
|
||||
Start 12: FrameStrand.StrictFifoOrderAcrossProducers
|
||||
11/24 Test #12: FrameStrand.StrictFifoOrderAcrossProducers ............... Passed 0.13 sec
|
||||
Start 13: FrameStrand.SameStrandHandlersNeverConcurrent
|
||||
12/24 Test #13: FrameStrand.SameStrandHandlersNeverConcurrent ............ Passed 0.14 sec
|
||||
Start 14: FrameStrand.ReadyQueueNeverDuplicatesStrand
|
||||
13/24 Test #14: FrameStrand.ReadyQueueNeverDuplicatesStrand .............. Passed 0.64 sec
|
||||
Start 15: FrameStrand.NoLostWakeupUnderProducerStorm
|
||||
14/24 Test #15: FrameStrand.NoLostWakeupUnderProducerStorm ............... Passed 0.81 sec
|
||||
Start 16: FrameStrand.QueueFullRejectKeepsCallerOwnership
|
||||
15/24 Test #16: FrameStrand.QueueFullRejectKeepsCallerOwnership .......... Passed 0.01 sec
|
||||
Start 17: FrameStrand.OverrunCounterIncrementsOnSlowHandler
|
||||
16/24 Test #17: FrameStrand.OverrunCounterIncrementsOnSlowHandler ........ Passed 0.02 sec
|
||||
Start 18: FrameStrand.ClosingRejectsPostsAndCleansUp
|
||||
17/24 Test #18: FrameStrand.ClosingRejectsPostsAndCleansUp ............... Passed 0.01 sec
|
||||
Start 19: FrameCompletion.CompleteVsCancelRaceExactlyOnce
|
||||
18/24 Test #19: FrameCompletion.CompleteVsCancelRaceExactlyOnce .......... Passed 10.86 sec
|
||||
Start 20: FrameCompletion.CancelAfterCompleteKeepsOriginalErr
|
||||
19/24 Test #20: FrameCompletion.CancelAfterCompleteKeepsOriginalErr ...... Passed 0.01 sec
|
||||
Start 21: FrameCompletion.ReserveFailureStartsNothing
|
||||
20/24 Test #21: FrameCompletion.ReserveFailureStartsNothing .............. Passed 0.01 sec
|
||||
Start 22: FrameCompletion.QuiescingCleanupRunsOnWorkerThread
|
||||
21/24 Test #22: FrameCompletion.QuiescingCleanupRunsOnWorkerThread ....... Passed 0.01 sec
|
||||
Start 23: FrameCompletion.StaleGenerationDroppedButDestroyed
|
||||
22/24 Test #23: FrameCompletion.StaleGenerationDroppedButDestroyed ....... Passed 0.01 sec
|
||||
Start 24: FrameCompletion.ThreeWayRaceCompleteCancelQuiesce
|
||||
23/24 Test #24: FrameCompletion.ThreeWayRaceCompleteCancelQuiesce ........ Passed 2.32 sec
|
||||
Start 25: frame_abi_c_test
|
||||
24/24 Test #25: frame_abi_c_test ......................................... Passed 0.01 sec
|
||||
|
||||
100% tests passed out of 24
|
||||
|
||||
Total Test time (real) = 15.17 sec
|
||||
=== TSan ctest run #3 ===
|
||||
Test project /home/lain/Projects/esp_study/poc-a-wt/.build/poc-host-tsan
|
||||
Start 1: FrameAbi.AcceptsCompatibleExtension
|
||||
1/24 Test #1: FrameAbi.AcceptsCompatibleExtension ...................... Passed 0.01 sec
|
||||
Start 2: FrameAbi.RejectsIncompatibleOffer
|
||||
2/24 Test #2: FrameAbi.RejectsIncompatibleOffer ........................ Passed 0.01 sec
|
||||
Start 3: FrameAbi.PinsStableErrorValues
|
||||
3/24 Test #3: FrameAbi.PinsStableErrorValues ........................... Passed 0.01 sec
|
||||
Start 4: FrameHandle.EnforcesCapacityOwnershipGenerationAndType
|
||||
4/24 Test #4: FrameHandle.EnforcesCapacityOwnershipGenerationAndType ... Passed 0.01 sec
|
||||
Start 5: FrameHandle.ReuseInvalidatesStaleHandle
|
||||
5/24 Test #5: FrameHandle.ReuseInvalidatesStaleHandle .................. Passed 0.01 sec
|
||||
Start 6: FrameHandle.RejectsInvalidArguments
|
||||
6/24 Test #6: FrameHandle.RejectsInvalidArguments ...................... Passed 0.01 sec
|
||||
Start 7: LifecycleState.FollowsColdStartAndUnload
|
||||
7/24 Test #7: LifecycleState.FollowsColdStartAndUnload ................. Passed 0.01 sec
|
||||
Start 8: LifecycleState.SupportsPauseResumeAndCommittedUpdate
|
||||
8/24 Test #8: LifecycleState.SupportsPauseResumeAndCommittedUpdate ..... Passed 0.01 sec
|
||||
Start 9: LifecycleState.RejectsEveryUnspecifiedTransition
|
||||
9/24 Test #9: LifecycleState.RejectsEveryUnspecifiedTransition ......... Passed 0.01 sec
|
||||
Start 10: LifecycleState.RestartRequiredIsTerminal
|
||||
10/24 Test #10: LifecycleState.RestartRequiredIsTerminal ................. Passed 0.01 sec
|
||||
Start 12: FrameStrand.StrictFifoOrderAcrossProducers
|
||||
11/24 Test #12: FrameStrand.StrictFifoOrderAcrossProducers ............... Passed 0.13 sec
|
||||
Start 13: FrameStrand.SameStrandHandlersNeverConcurrent
|
||||
12/24 Test #13: FrameStrand.SameStrandHandlersNeverConcurrent ............ Passed 0.14 sec
|
||||
Start 14: FrameStrand.ReadyQueueNeverDuplicatesStrand
|
||||
13/24 Test #14: FrameStrand.ReadyQueueNeverDuplicatesStrand .............. Passed 0.62 sec
|
||||
Start 15: FrameStrand.NoLostWakeupUnderProducerStorm
|
||||
14/24 Test #15: FrameStrand.NoLostWakeupUnderProducerStorm ............... Passed 0.79 sec
|
||||
Start 16: FrameStrand.QueueFullRejectKeepsCallerOwnership
|
||||
15/24 Test #16: FrameStrand.QueueFullRejectKeepsCallerOwnership .......... Passed 0.01 sec
|
||||
Start 17: FrameStrand.OverrunCounterIncrementsOnSlowHandler
|
||||
16/24 Test #17: FrameStrand.OverrunCounterIncrementsOnSlowHandler ........ Passed 0.02 sec
|
||||
Start 18: FrameStrand.ClosingRejectsPostsAndCleansUp
|
||||
17/24 Test #18: FrameStrand.ClosingRejectsPostsAndCleansUp ............... Passed 0.01 sec
|
||||
Start 19: FrameCompletion.CompleteVsCancelRaceExactlyOnce
|
||||
18/24 Test #19: FrameCompletion.CompleteVsCancelRaceExactlyOnce .......... Passed 11.01 sec
|
||||
Start 20: FrameCompletion.CancelAfterCompleteKeepsOriginalErr
|
||||
19/24 Test #20: FrameCompletion.CancelAfterCompleteKeepsOriginalErr ...... Passed 0.02 sec
|
||||
Start 21: FrameCompletion.ReserveFailureStartsNothing
|
||||
20/24 Test #21: FrameCompletion.ReserveFailureStartsNothing .............. Passed 0.02 sec
|
||||
Start 22: FrameCompletion.QuiescingCleanupRunsOnWorkerThread
|
||||
21/24 Test #22: FrameCompletion.QuiescingCleanupRunsOnWorkerThread ....... Passed 0.02 sec
|
||||
Start 23: FrameCompletion.StaleGenerationDroppedButDestroyed
|
||||
22/24 Test #23: FrameCompletion.StaleGenerationDroppedButDestroyed ....... Passed 0.02 sec
|
||||
Start 24: FrameCompletion.ThreeWayRaceCompleteCancelQuiesce
|
||||
23/24 Test #24: FrameCompletion.ThreeWayRaceCompleteCancelQuiesce ........ Passed 2.79 sec
|
||||
Start 25: frame_abi_c_test
|
||||
24/24 Test #25: frame_abi_c_test ......................................... Passed 0.01 sec
|
||||
|
||||
100% tests passed out of 24
|
||||
|
||||
Total Test time (real) = 15.78 sec
|
||||
=== clang-format version (18 pinned in conventions; 22 is the available binary) ===
|
||||
clang-format version 22.1.8
|
||||
clang-format 22 agrees with checked-in formatting
|
||||
[5/6] Linking CXX executable frame_completion_test
|
||||
[6/6] Linking CXX executable frame_strand_test
|
||||
[5/6] Linking CXX executable frame_strand_test
|
||||
[6/6] Linking CXX executable frame_completion_test
|
||||
100% tests passed out of 13
|
||||
|
||||
=== FINAL SUMMARY task-11-12 === 2026-08-31T21:28:24+08:00
|
||||
commits: 1c3ad59 feat(poc-a): completion-cancel cas and cleanup semantics 6198bca feat(poc-a): strand fifo prototype with tsan suite
|
||||
files committed:
|
||||
poc/host/CMakeLists.txt | 10 +-
|
||||
poc/host/include/frame_poc/frame_strand.hh | 193 ++++++++++++++++
|
||||
poc/host/src/frame_strand.cc | 281 +++++++++++++++++++++++
|
||||
poc/host/tests/frame_strand_test.cc | 356 +++++++++++++++++++++++++++++
|
||||
poc/host/CMakeLists.txt | 7 +-
|
||||
poc/host/include/frame_poc/frame_completion.hh | 95 +++++++
|
||||
poc/host/tests/frame_completion_test.cc | 366 +++++++++++++++++++++++++
|
||||
|
||||
--- per-test pass counts (default build, final run) ---
|
||||
|
||||
Total Tests: 13
|
||||
strand tests: 7 (StrictFifoOrder / SameStrandNeverConcurrent / ReadyQueueNoDuplicate / NoLostWakeup 1e5 / QueueFull ownership / Overrun counter / ClosingReject+Cleanup)
|
||||
completion tests: 6 (CompleteVsCancelRace 1e5 / CancelAfterComplete original-err / ReserveFailure starts-nothing / QuiescingCleanup on worker / StaleGeneration drop / ThreeWayRace 2e4)
|
||||
|
||||
--- stability matrix ---
|
||||
100% tests passed out of 13
|
||||
=== TSan ctest run #1 ===
|
||||
100% tests passed out of 24
|
||||
=== default ctest run #2 ===
|
||||
100% tests passed out of 24
|
||||
=== default ctest run #3 ===
|
||||
100% tests passed out of 24
|
||||
=== TSan ctest run #2 ===
|
||||
100% tests passed out of 24
|
||||
=== TSan ctest run #3 ===
|
||||
100% tests passed out of 24
|
||||
100% tests passed out of 13
|
||||
|
||||
--- TSan warnings check ---
|
||||
0
|
||||
0 TSan warnings in evidence log
|
||||
|
||||
scope check: committed diff touches only poc/host/** :
|
||||
poc/host/CMakeLists.txt
|
||||
poc/host/include/frame_poc/frame_completion.hh
|
||||
poc/host/include/frame_poc/frame_strand.hh
|
||||
poc/host/src/frame_strand.cc
|
||||
poc/host/tests/frame_completion_test.cc
|
||||
poc/host/tests/frame_strand_test.cc
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,188 @@
|
||||
=== task-15 poc-a-dynamic-elf evidence ===
|
||||
started: 2026-08-31T15:28:57Z
|
||||
worktree: c5d6c6ce5cd88ffa634d7a5e23268875737f905a
|
||||
yaml parses; jobs: repository-gates, mpb-corpus-gates, host-clang-sanitizers, host-gcc, host-clang-tidy, host-coverage, secrets, firmware-dev, firmware-m1, firmware-poc-a, required
|
||||
mpb-corpus-gates steps:
|
||||
- Check out repository
|
||||
- Set up uv
|
||||
- Install locked Python environment
|
||||
- Build and run the MPB parser corpus suite
|
||||
- Regenerate the MPB corpus and compare byte for byte
|
||||
- Run plugin policy checker and stem drift guard tests
|
||||
pinned action SHAs: {'20cfd1bf945f4377ade1205e4dbc17946fc9a30d', '3d3c42e5aac5ba805825da76410c181273ba90b1'}
|
||||
format globs line: 'poc/apps/m1_hardware/main/**' 'poc/apps/poc_a/main/**' \
|
||||
format grep: 'poc/apps/poc_a/plugins/**' | grep -E '\.(c|cc|cpp|cxx|h|hh|hpp)$' | sort)
|
||||
YAML-LINT OK
|
||||
|
||||
=== [1] lane cmd: poc/host build + ctest -R MpbParser ===
|
||||
|
||||
=== [1] lane cmd: poc/host build + ctest -R MpbParser ===
|
||||
[100%] Built target mpb_parser_test
|
||||
Start 31: MpbParser.ByteFlipFuzzNeverCrashes
|
||||
28/28 Test #31: MpbParser.ByteFlipFuzzNeverCrashes ........................ Passed 0.03 sec
|
||||
|
||||
100% tests passed out of 28
|
||||
|
||||
Total Test time (real) = 0.11 sec
|
||||
MpbParser.ByteFlipFuzzNeverCrashes
|
||||
MpbParser.CodePositiveVerifiesAndExposesView
|
||||
MpbParser.CorpusAbiMismatch
|
||||
MpbParser.CorpusDuplicateRequiredTlv
|
||||
MpbParser.CorpusEpochRollback
|
||||
MpbParser.CorpusFeaturesExceedDevice
|
||||
MpbParser.CorpusMagic
|
||||
MpbParser.CorpusMixedElfInResourceOnly
|
||||
MpbParser.CorpusMixedResourceInCode
|
||||
MpbParser.CorpusOffsetOutOfBounds
|
||||
MpbParser.CorpusPayloadHash
|
||||
MpbParser.CorpusRegionOverlap
|
||||
MpbParser.CorpusSignatureTamper
|
||||
MpbParser.CorpusTargetMismatch
|
||||
MpbParser.CorpusTotalSize
|
||||
MpbParser.CorpusUnknownRequiredTlv
|
||||
MpbParser.CorpusWrongKeyId
|
||||
MpbParser.DoubleFaultReportsSignatureBeforeHash
|
||||
MpbParser.EpochFloorEqualStillVerifies
|
||||
MpbParser.EveryFixtureMatchesItsExpectedErrorCode
|
||||
MpbParser.ManifestFieldAccessorRoundTrip
|
||||
MpbParser.MaxPackageBytesPolicyRejectsOversize
|
||||
MpbParser.NullArgumentsAreRejected
|
||||
MpbParser.RandomTruncationsFailClosed
|
||||
MpbParser.ResourceOnlyPositiveVerifiesWithWindowPadding
|
||||
MpbParser.SignatureRecordFieldsAreStructural
|
||||
MpbParser.TamperedElfPayloadByteRejectedAsHashMismatch
|
||||
MpbParser.TruncationFuzzAlwaysFailsClosed
|
||||
|
||||
=== [2] lane cmd: regeneration check (run 1 of 2) ===
|
||||
wrote 18 fixtures + corpus_manifest.inc to /tmp/tmp.nyfY9NeNLO/poc/host/tests/mpb_corpus
|
||||
pos_code.mpb expected= 0 positive-code
|
||||
pos_resource_only.mpb expected= 0 positive-resource-only
|
||||
neg_magic.mpb expected= -18 negative-magic
|
||||
neg_total_size.mpb expected= -18 negative-total-size
|
||||
neg_offset_oob.mpb expected= -18 negative-offset-oob
|
||||
neg_overlap.mpb expected= -18 negative-overlap
|
||||
neg_dup_required.mpb expected= -18 negative-dup-required
|
||||
neg_unknown_required_tlv.mpb expected= -18 negative-unknown-required-tlv
|
||||
neg_mixed_elf_in_res.mpb expected= -18 negative-mixed-elf-in-res
|
||||
neg_mixed_res_in_elf.mpb expected= -18 negative-mixed-res-in-elf
|
||||
neg_payload_hash.mpb expected= -19 negative-payload-hash
|
||||
neg_signature.mpb expected= -17 negative-signature
|
||||
neg_double_fault.mpb expected= -17 negative-double-fault
|
||||
neg_key_id.mpb expected= -17 negative-key-id
|
||||
neg_target.mpb expected= -35 negative-target
|
||||
neg_abi.mpb expected= -7 negative-abi
|
||||
neg_features.mpb expected= -7 negative-features
|
||||
neg_epoch.mpb expected= -34 negative-epoch
|
||||
f6b9002aee6885719404b6feeb566a412a94e09d9d792bfb1b866998cac6f6dc poc/host/tests/mpb_corpus/neg_abi.mpb
|
||||
b29fed6c397ed193fbc55b44cc957311d5e1e79946206f4cf51e498e3b9cde65 poc/host/tests/mpb_corpus/neg_double_fault.mpb
|
||||
1441b28ea2034e122919467efa7d76b6911ed093fbf5f0931d6f0ad267893494 poc/host/tests/mpb_corpus/neg_dup_required.mpb
|
||||
ec9297e6cb6507073287216e1f311e14f161fc4e711c564943005debc0c5c76b poc/host/tests/mpb_corpus/neg_epoch.mpb
|
||||
87fe364bf95aeb74a3dc05d59da79e14a63a4c34a941f480755e5c1b15f152ba poc/host/tests/mpb_corpus/neg_features.mpb
|
||||
aa23322034e7502a9537eaa5af800fe5cfa435503d37f32a01a8af3f859e6e70 poc/host/tests/mpb_corpus/neg_key_id.mpb
|
||||
edca005c4f67db79386c136f91caf7cc2c41964eab064cea2049a4acf5eafde2 poc/host/tests/mpb_corpus/neg_magic.mpb
|
||||
80cca8ba5dc83103436791913990747bfd677f0e60263de5fae1f339fc08d05e poc/host/tests/mpb_corpus/neg_mixed_elf_in_res.mpb
|
||||
872ee8e818f0708bcc4be4c043ce3cb68878a2825078dfed7835ea51ea800c7e poc/host/tests/mpb_corpus/neg_mixed_res_in_elf.mpb
|
||||
525065064fabe251b3ba1f96b8d6843e03c5c893e7901b99c07381e20f05ab49 poc/host/tests/mpb_corpus/neg_offset_oob.mpb
|
||||
6c61b658fcdccc1ebbecaae90a81994aedad44039a9a7a90df15d205d23feec8 poc/host/tests/mpb_corpus/neg_overlap.mpb
|
||||
191059b17c44e0a5c1ea52a7a17a3d7594fb37662b45e030e618a3f4d36e4fd1 poc/host/tests/mpb_corpus/neg_payload_hash.mpb
|
||||
b7673bf613240bb6d596c53b83752ef4f2d0fc465bfd273ff0c4840c5c62a532 poc/host/tests/mpb_corpus/neg_signature.mpb
|
||||
8703e1b8cd9bd1e3d7afc857b618b3c50b14051bf3b5a37129153fae37252000 poc/host/tests/mpb_corpus/neg_target.mpb
|
||||
e5fc8d7b2bb8d13dc7839692f70eda8e62bbeb9ef664c855533fbd4dc3d3edfe poc/host/tests/mpb_corpus/neg_total_size.mpb
|
||||
0a6ba33bf7a6f3bc60687f4fabb1506b34fc46cd4d6d628438474dff1728cea6 poc/host/tests/mpb_corpus/neg_unknown_required_tlv.mpb
|
||||
d86937e9540d3b188d31fbd6ba67b5319694923d0210db2b4383a4724f0101ef poc/host/tests/mpb_corpus/pos_code.mpb
|
||||
318872c5ac2b50747d066e572c3d815688ec5c8fe74ab2147a5bfe1d8855b399 poc/host/tests/mpb_corpus/pos_resource_only.mpb
|
||||
committed corpus is byte-identical to a fresh regeneration
|
||||
run1-exit=0
|
||||
|
||||
=== [3] regeneration check (run 2 of 2, determinism) ===
|
||||
run 2: byte-identical again (deterministic 2x)
|
||||
|
||||
=== [4] NEGATIVE CONTROL: break one corpus byte ===
|
||||
-- regen check must FAIL now:
|
||||
Binary files poc/host/tests/mpb_corpus/pos_code.mpb and /tmp/tmp.5wIpnNJPXK/poc/host/tests/mpb_corpus/pos_code.mpb differ
|
||||
regen-diff-exit=1 (nonzero = gate bites)
|
||||
-- ctest must FAIL on tampered corpus:
|
||||
1/28 Test #4: MpbParser.EveryFixtureMatchesItsExpectedErrorCode .........***Failed 0.00 sec
|
||||
2/28 Test #5: MpbParser.CodePositiveVerifiesAndExposesView ..............***Failed 0.00 sec
|
||||
4/28 Test #7: MpbParser.ManifestFieldAccessorRoundTrip ..................***Failed 0.00 sec
|
||||
5/28 Test #8: MpbParser.NullArgumentsAreRejected ........................***Failed 0.00 sec
|
||||
22/28 Test #25: MpbParser.MaxPackageBytesPolicyRejectsOversize ............***Failed 0.00 sec
|
||||
-- restore:
|
||||
d86937e9540d3b188d31fbd6ba67b5319694923d0210db2b4383a4724f0101ef poc/host/tests/mpb_corpus/pos_code.mpb
|
||||
0
|
||||
-- post-restore ctest:
|
||||
|
||||
Total Test time (real) = 0.12 sec
|
||||
|
||||
=== [5] post-restore corpus ctest (full) ===
|
||||
100% tests passed out of 28
|
||||
|
||||
Total Test time (real) = 0.11 sec
|
||||
|
||||
=== [6] lane cmd: pytest policy suite -v ===
|
||||
tests/test_check_plugin_policy.py::test_shape_failures_fail_closed[kwargs1] PASSED [ 86%]
|
||||
tests/test_check_plugin_policy.py::test_shape_failures_fail_closed[kwargs2] PASSED [ 89%]
|
||||
tests/test_check_plugin_policy.py::test_shape_failures_fail_closed[kwargs3] PASSED [ 91%]
|
||||
tests/test_check_plugin_policy.py::test_shape_failures_fail_closed[kwargs4] PASSED [ 94%]
|
||||
tests/test_check_plugin_policy.py::test_cli_accepts_a_policy_clean_elf PASSED [ 97%]
|
||||
tests/test_check_plugin_policy.py::test_cli_rejects_a_violating_elf_and_names_the_reasons PASSED [100%]
|
||||
|
||||
============================== 37 passed in 0.03s ==============================
|
||||
|
||||
=== [7] FULL uv run pytest ===
|
||||
tests/test_sbom.py .. [100%]
|
||||
|
||||
============================== 87 passed in 0.40s ==============================
|
||||
|
||||
=== [8] ruff format --check / ruff check / pyright (repository-gates scope) ===
|
||||
20 files already formatted
|
||||
All checks passed!
|
||||
0 errors, 0 warnings, 0 informations
|
||||
|
||||
=== [9] widened format-glob dry-run (local clang-format 22.1.8; checked-in files verified 18-compatible per T5/T6 notes) ===
|
||||
files gated: 60
|
||||
|
||||
=== [10] checker CLI smoke ===
|
||||
usage: check-plugin-policy [-h] [--entry ENTRY] [--allow-import ALLOW_IMPORT]
|
||||
[--allow-imports-file ALLOW_IMPORTS_FILE]
|
||||
elfs [elfs ...]
|
||||
M .github/workflows/ci.yml
|
||||
M poc/apps/poc_a/components/elf_loader/include/private/elf_platform.h
|
||||
M poc/apps/poc_a/components/elf_loader/include/private/elf_types.h
|
||||
M poc/apps/poc_a/components/elf_loader/src/esp_elf.c
|
||||
M poc/apps/poc_a/components/elf_loader/src/esp_elf_adapter.c
|
||||
M poc/apps/poc_a/plugins/check_plugin_elf.cmake
|
||||
M poc/apps/poc_a/plugins/plugin_abi.h
|
||||
M poc/apps/poc_a/plugins/plugins.cmake
|
||||
?? poc/apps/poc_a/plugins/iram_probe/
|
||||
?? tests/test_check_plugin_policy.py
|
||||
?? tools/frame_tools/check_plugin_policy.py
|
||||
|
||||
=== [9b] widened format glob with REAL clang-format 18.1.8 (uvx clang-format==18.1.8) ===
|
||||
files gated: 60
|
||||
|
||||
=== [11] commit ===
|
||||
[poc-a-dynamic-elf 796f9d2] ci(poc-a): host mpb corpus and policy lane
|
||||
3 files changed, 661 insertions(+), 1 deletion(-)
|
||||
create mode 100644 tests/test_check_plugin_policy.py
|
||||
create mode 100644 tools/frame_tools/check_plugin_policy.py
|
||||
796f9d2 ci(poc-a): host mpb corpus and policy lane
|
||||
c5d6c6c feat(poc-a): cxx feature rejection matrix
|
||||
M poc/apps/poc_a/components/elf_loader/include/private/elf_platform.h
|
||||
M poc/apps/poc_a/components/elf_loader/include/private/elf_types.h
|
||||
M poc/apps/poc_a/components/elf_loader/src/esp_elf.c
|
||||
M poc/apps/poc_a/components/elf_loader/src/esp_elf_adapter.c
|
||||
M poc/apps/poc_a/main/CMakeLists.txt
|
||||
M poc/apps/poc_a/main/poca_plugin.cc
|
||||
M poc/apps/poc_a/main/poca_plugin.hh
|
||||
M poc/apps/poc_a/plugins/check_plugin_elf.cmake
|
||||
M poc/apps/poc_a/plugins/plugin_abi.h
|
||||
M poc/apps/poc_a/plugins/plugins.cmake
|
||||
?? poc/apps/poc_a/plugins/iram_probe/
|
||||
|
||||
=== post-commit re-verify of drift guard against in-flight tree ===
|
||||
37 passed in 0.03s
|
||||
|
||||
=== task-15 complete ===
|
||||
finished: 2026-08-31T15:38:36Z
|
||||
commit: 796f9d2 ci(poc-a): host mpb corpus and policy lane (worktree poc-a-wt, not pushed)
|
||||
@@ -0,0 +1,242 @@
|
||||
=== task-2 poc-a-dynamic-elf: manifest_builder.py + test signing ===
|
||||
date: 2026-08-31T20:59:11+08:00 worktree: /home/lain/Projects/esp_study/poc-a-wt branch: poc-a-dynamic-elf HEAD: 4bb53f2
|
||||
|
||||
--- dependency carve-out (plan-sanctioned): cryptography ---
|
||||
+ "cryptography>=50.0.1",
|
||||
+frame-manifest-builder = "frame_tools.manifest_builder:main"
|
||||
122:name = "cryptography"
|
||||
128:sdist = { url = "https://files.pythonhosted.org/packages/bb/ad/5d6702db60b1e40b41ef513b6967ff5848f307d50f8449baf1634f5908f1/cryptography-50.0.1.tar.gz", hash = "sha256:5dd9bda1c12b4162f6ff568eeb5e0ff956c28d14406e875cfe8a63a2d414ff20", size = 880381, upload-time = "2026-08-25T19:45:45.499Z" }
|
||||
|
||||
--- gate 1: uv run ruff format --check tools tests ---
|
||||
18 files already formatted
|
||||
FORMAT_EXIT=0
|
||||
|
||||
--- gate 2: uv run ruff check tools tests ---
|
||||
All checks passed!
|
||||
RUFF_EXIT=0
|
||||
|
||||
--- gate 3: uv run pyright ---
|
||||
0 errors, 0 warnings, 0 informations
|
||||
PYRIGHT_EXIT=0
|
||||
|
||||
--- gate 4: uv run pytest ---
|
||||
.................................................. [100%]
|
||||
50 passed in 0.38s
|
||||
PYTEST_EXIT=0
|
||||
|
||||
=== demo + T3 constants ===
|
||||
synthetic elf bytes: 204 iram extracted: 0x800
|
||||
|
||||
=== layout tables (T3 contract) ===
|
||||
fixed_header (little-endian, struct field order):
|
||||
total size: 92 bytes (0x5C)
|
||||
offset size type field
|
||||
0 4 I magic
|
||||
4 2 H format_major
|
||||
6 2 H format_minor
|
||||
8 4 I header_size
|
||||
12 4 I total_size
|
||||
16 4 I flags
|
||||
20 4 I target_id
|
||||
24 2 H core_abi_major
|
||||
26 2 H core_abi_minor
|
||||
28 8 Q required_features
|
||||
36 8 Q optional_features
|
||||
44 4 I manifest_offset
|
||||
48 4 I manifest_length
|
||||
52 4 I payload_table_offset
|
||||
56 2 H payload_count
|
||||
58 2 H payload_entry_size
|
||||
60 4 I signature_offset
|
||||
64 4 I signature_length
|
||||
68 4 I key_id
|
||||
72 4 I security_epoch
|
||||
76 16 4I reserved
|
||||
|
||||
payload_table entry:
|
||||
total size: 60 bytes (0x3C)
|
||||
offset size type field
|
||||
0 2 H payload_type
|
||||
2 2 H flags
|
||||
4 4 I offset
|
||||
8 4 I length
|
||||
12 4 I unpacked_length
|
||||
16 4 I alignment
|
||||
20 32 32s sha256
|
||||
52 8 2I reserved
|
||||
|
||||
signature_record:
|
||||
total size: 72 bytes (0x48)
|
||||
offset size type field
|
||||
0 2 H algorithm
|
||||
2 2 H record_version
|
||||
4 4 I key_id
|
||||
8 64 64s signature
|
||||
|
||||
manifest TLV entry: field_id u16 | flags u16 | length u32 | value length bytes
|
||||
TLV_FLAG_REQUIRED = 0x0001; unknown field_id + required -> reject
|
||||
|
||||
signing input: sha256(fixed_header_bytes || manifest_bytes || payload_table_bytes)
|
||||
signature: ECDSA P-256 over that digest, IEEE P1363 r||s, 64 bytes
|
||||
magic 0x4d504246 serialized little-endian is bytes 46 42 50 4d
|
||||
target FRAME_TARGET_ESP32S3 = 0x33505345
|
||||
header flags: bit0 resource-only = 0x00000001
|
||||
payload types: ELF=1 RESOURCE=2
|
||||
payload flags: REQUIRED=0x0001 COMPRESSED=0x0002 (ELF must not set COMPRESSED)
|
||||
region order: header | manifest | payload_table | payloads | signature_record;
|
||||
manifest directly after header, table directly after manifest, payloads inside the
|
||||
window [table_end, signature_offset) with per-entry alignment, signature ends at
|
||||
total_size; any other byte coverage is FRAME_ERR_PACKAGE_INVALID.
|
||||
error codes: PACKAGE_INVALID=-18 SIGNATURE_INVALID=-17 HASH_MISMATCH=-19
|
||||
EPOCH_ROLLBACK=-34 TARGET_MISMATCH=-35 ABI_MISMATCH=-7
|
||||
manifest TLV field ids:
|
||||
1 name (utf8_name)
|
||||
2 version (semver)
|
||||
3 requires (str_list)
|
||||
4 max_memory_bytes (u32)
|
||||
5 iram_required_bytes (u32)
|
||||
6 core_affinity (affinity)
|
||||
7 strand_queue_capacity (u32)
|
||||
8 max_outstanding_operations (u32)
|
||||
9 max_timers (u32)
|
||||
10 max_managed_tasks (u32)
|
||||
11 managed_task_priority (u32)
|
||||
12 managed_task_stack_size (u32)
|
||||
13 heartbeat_interval_ms (u32)
|
||||
14 event_rate_limit (u32)
|
||||
15 max_event_subscriptions (u32)
|
||||
16 max_event_message_bytes (u32)
|
||||
17 max_event_buffer_bytes (u32)
|
||||
18 max_outstanding_rpc (u32)
|
||||
19 max_display_commands (u32)
|
||||
20 max_display_bytes (u32)
|
||||
21 max_storage_requests (u32)
|
||||
22 max_storage_io_bytes (u32)
|
||||
23 max_storage_copy_bytes (u32)
|
||||
24 max_tcp_connections (u32)
|
||||
25 max_udp_sockets (u32)
|
||||
26 max_network_requests (u32)
|
||||
27 max_network_buffer_bytes (u32)
|
||||
28 max_network_io_bytes (u32)
|
||||
29 max_log_records_per_second (u32)
|
||||
30 max_log_buffer_bytes (u32)
|
||||
31 max_resource_leases (u32)
|
||||
32 max_update_backlog_events (u32)
|
||||
33 max_update_backlog_bytes (u32)
|
||||
34 state_schema_id (schema_id)
|
||||
35 state_schema_version (u32)
|
||||
|
||||
committed test key key_id = e5677a1c
|
||||
DEMO_SCRIPT_EXIT=0
|
||||
|
||||
=== CLI demo: build + verify with committed test key (entry point frame-manifest-builder) ===
|
||||
/tmp/opencode/poca-t2/code.mpb: signed 572 byte mpb, key_id=e5677a1c, sha256=cdd0d12bb8647620000d64924ab216435c6a5cee339da3e74ba03226127df6e5
|
||||
BUILD_CODE_EXIT=0
|
||||
/tmp/opencode/poca-t2/res.mpb: signed 352 byte mpb, key_id=e5677a1c, sha256=abd94f50ddeceac4ba82de007190a186dd1d431ec106b36a0366e185374b22d3
|
||||
BUILD_RES_EXIT=0
|
||||
/tmp/opencode/poca-t2/code.mpb: OK (code)
|
||||
name=poc-a-demo version=1.2.3 epoch=1 key_id=e5677a1c
|
||||
payloads=1 iram_required_bytes=2048
|
||||
payload[0] sha256=d6b48ace6f549dc211b33abbf76eef454eb46873482cc15406fca0f1b1836b52
|
||||
VERIFY_CODE_EXIT=0
|
||||
/tmp/opencode/poca-t2/res.mpb: OK (resource-only)
|
||||
name=poc-a-res version=0.1.0 epoch=1 key_id=e5677a1c
|
||||
payloads=2 iram_required_bytes=0
|
||||
payload[0] sha256=c3f98e7c86c7e4f3968e5969c9ccf37c72049cbcf556b60bf5a6694e76506e3c
|
||||
payload[1] sha256=df0209573157daf203be7b9f41d657b82bba995e2ac2f695e3481d96a289eaba
|
||||
VERIFY_RES_EXIT=0
|
||||
|
||||
--- determinism cross-check: rebuild code.mpb byte-identical ---
|
||||
BYTE_IDENTICAL=1
|
||||
CMP_EXIT=0
|
||||
|
||||
--- hexdump head: code.mpb (first 160 bytes) ---
|
||||
/usr/bin/bash: line 34: xxd: command not found
|
||||
--- hexdump head: res.mpb (first 96 bytes) ---
|
||||
/usr/bin/bash: line 36: xxd: command not found
|
||||
|
||||
--- tamper demos (misleading_success_output class): verify MUST fail ---
|
||||
code.header.epoch: rejected [-17] ECDSA P-256 signature over fixed_header+manifest+payload_table is invalid
|
||||
res.signature.r: TAMPER ACCEPTED -- BUG
|
||||
code.payload.tail: rejected [-19] payload 0 sha256 does not match
|
||||
TAMPER_DEMO_EXIT=0
|
||||
|
||||
=== CORRECTION: 'res.signature.r' probe above was mislabeled ===
|
||||
it flipped byte sig_off-1 = 279, which is alignment PADDING inside the payload
|
||||
window (payload[1] covers [264,277), sig_off=280): padding bytes lie outside every
|
||||
described region, are not authenticated by design (payloads are bound via the
|
||||
signed table's per-entry sha256) and must never be interpreted by any parser.
|
||||
Correctly-targeted probes:
|
||||
res.signature.r[0] (sig_off+8): rejected [-17] ECDSA P-256 signature over fixed_header+manifest+payload_table is invalid
|
||||
res.payload[1].last_byte (276): rejected [-19] payload 1 sha256 does not match
|
||||
res.padding_byte (279) - expected ACCEPT (dead byte): accepted
|
||||
PROBE_EXIT=0
|
||||
|
||||
--- hexdump head: code.mpb (first 160 bytes, od) ---
|
||||
000000 46 42 50 4d 01 00 00 00 5c 00 00 00 3c 02 00 00 >FBPM....\...<...<
|
||||
000010 00 00 00 00 45 53 50 33 01 00 00 00 00 00 00 00 >....ESP3........<
|
||||
000020 00 00 00 00 00 00 00 00 00 00 00 00 5c 00 00 00 >............\...<
|
||||
000030 8f 00 00 00 eb 00 00 00 01 00 3c 00 f4 01 00 00 >..........<.....<
|
||||
000040 48 00 00 00 1c 7a 67 e5 01 00 00 00 00 00 00 00 >H....zg.........<
|
||||
000050 00 00 00 00 00 00 00 00 00 00 00 00 01 00 01 00 >................<
|
||||
000060 0a 00 00 00 70 6f 63 2d 61 2d 64 65 6d 6f 02 00 >....poc-a-demo..<
|
||||
000070 01 00 05 00 00 00 31 2e 32 2e 33 03 00 00 00 14 >......1.2.3.....<
|
||||
000080 00 00 00 01 11 00 66 72 61 6d 65 2f 63 6f 72 65 >......frame/core<
|
||||
000090 3e 3d 31 2e 30 2e 30 04 00 00 00 04 00 00 00 00 >>=1.0.0.........<
|
||||
--- hexdump head: res.mpb (first 96 bytes, od) ---
|
||||
000000 46 42 50 4d 01 00 00 00 5c 00 00 00 60 01 00 00 >FBPM....\...`...<
|
||||
000010 01 00 00 00 45 53 50 33 01 00 00 00 00 00 00 00 >....ESP3........<
|
||||
000020 00 00 00 00 00 00 00 00 00 00 00 00 5c 00 00 00 >............\...<
|
||||
000030 1e 00 00 00 7a 00 00 00 02 00 3c 00 18 01 00 00 >....z.....<.....<
|
||||
000040 48 00 00 00 1c 7a 67 e5 01 00 00 00 00 00 00 00 >H....zg.........<
|
||||
000050 00 00 00 00 00 00 00 00 00 00 00 00 01 00 01 00 >................<
|
||||
|
||||
=== final gates (post docstring note) ===
|
||||
18 files already formatted
|
||||
FORMAT_EXIT=0
|
||||
All checks passed!
|
||||
RUFF_EXIT=0
|
||||
0 errors, 0 warnings, 0 informations
|
||||
PYRIGHT_EXIT=0
|
||||
50 passed in 0.37s
|
||||
PYTEST_EXIT=0
|
||||
|
||||
=== committed test key material (TEST-ONLY, SEC-003/SEC-005 dev default) ===
|
||||
total 12
|
||||
-rw-r--r-- 1 lain lain 241 Aug 31 20:55 poc_a_test_signing_key.pem
|
||||
-rw-r--r-- 1 lain lain 178 Aug 31 20:55 poc_a_test_signing_key.pub.pem
|
||||
-rw-r--r-- 1 lain lain 1121 Aug 31 20:55 README.md
|
||||
5d9632acefe2ea44081de2733aac2aa5114f31c8c6f86f6da72c3afedc14a72b tools/frame_tools/testdata/keys/poc_a_test_signing_key.pem
|
||||
2b9bf256c94f7098735a6976a946fda473dad82a501a307588d6e6ee7669075c tools/frame_tools/testdata/keys/poc_a_test_signing_key.pub.pem
|
||||
Private-Key: (256 bit)
|
||||
priv:
|
||||
key_id (sha256(SPKI-DER)[:4] big-endian) = e5677a1c
|
||||
|
||||
=== determinism rationale (why RFC 6979 inside the tool) ===
|
||||
library ECDSA sign twice identical (randomized k): False
|
||||
rfc6979 A.2.5 P-256/SHA-256 vector ok: True
|
||||
KEY_PROBE_EXIT=0
|
||||
|
||||
=== commit + post-commit gate re-run on committed tree ===
|
||||
commit 4793cc2e1b14fb96e7504410cce1777d3b5989b9
|
||||
Author: ania-lain <[email protected]>
|
||||
Date: Mon Aug 31 21:02:23 2026 +0800
|
||||
|
||||
feat(tools): deterministic mpb manifest builder with test signing
|
||||
|
||||
.gitleaks.toml | 5 +
|
||||
pyproject.toml | 2 +
|
||||
tests/test_manifest_builder.py | 352 ++++++
|
||||
tools/frame_tools/manifest_builder.py | 1219 ++++++++++++++++++++
|
||||
tools/frame_tools/testdata/keys/README.md | 26 +
|
||||
.../testdata/keys/poc_a_test_signing_key.pem | 5 +
|
||||
.../testdata/keys/poc_a_test_signing_key.pub.pem | 4 +
|
||||
uv.lock | 165 +++
|
||||
FORMAT_EXIT=0
|
||||
RUFF_EXIT=0
|
||||
PYRIGHT_EXIT=0
|
||||
50 passed in 0.37s
|
||||
PYTEST_EXIT=0
|
||||
note: .gitleaks.toml gained a path allowlist for tools/frame_tools/testdata/keys/ --
|
||||
necessary so the plan-sanctioned TEST-ONLY key does not redden CI's gitleaks job;
|
||||
flagged to orchestrator as a documented deviation from the tools/+tests/+pyproject+uv.lock file whitelist.
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,45 @@
|
||||
T4 session start 2026-08-31T21:46:33+08:00 worktree 408df44
|
||||
--- build: configure ---
|
||||
[configure] pubkey key_id=e5677a1c point=0x04||X||Y(64B) -> build/default/plugins/generated/poca_pubkey.h
|
||||
[configure] [poca-plugin] registered baseline (entry frame_plugin_entry, version 1.0.0)
|
||||
--- build: plugin pipeline (zero warnings overall) ---
|
||||
[1] [poca-plugin] compile baseline.o (-c -std=c11 -Os -fPIC -fvisibility=hidden -fdata-sections -ffunction-sections -ffreestanding -fno-builtin -Wall -Wextra -Werror)
|
||||
[2] [poca-plugin] link baseline.elf (-shared -fPIC -static-libgcc -nostdlib -nostartfiles -fdata-sections -ffunction-sections -Wl,--gc-sections -fvisibility=hidden -Wl,--allow-shlib-undefined -Wl,--build-id=none -e frame_plugin_entry)
|
||||
[3] [poca-plugin] strip baseline.elf (keep frame_plugin_entry) (--strip-unneeded --keep-symbol=frame_plugin_entry --remove-section=.comment --remove-section=.got.loc --remove-section=.dynamic --remove-section=.note.gnu.build-id --remove-section=.xt.lit --remove-section=.xt.prop --remove-section=.xtensa.info)
|
||||
[4] gates OK relocs(R_XTENSA_NONE=0 R_XTENSA_RELATIVE=8 R_XTENSA_RTLD=0 R_XTENSA_GLOB_DAT=0 R_XTENSA_JMP_SLOT=0) undefined=0 entry=frame_plugin_entry
|
||||
[5] package+sign: baseline.mpb: signed 1964 byte mpb, key_id=e5677a1c, sha256=54153a9b8b6e284af3deb5c3dbce6d21c997fed1d3ba8250ab61d9c26de09b7e
|
||||
[6] meta: baseline.mpb size=1964 sha256=54153a9b8b6e284af3deb5c3dbce6d21c997fed1d3ba8250ab61d9c26de09b7e
|
||||
[7] firmware link: frame_poc_a.bin 0x5d600 bytes (0 warnings; build logs /tmp/opencode/poca/build5.log)
|
||||
[python-reference] verify_mpb(baseline.mpb): code baseline 1.0.0 epoch 1 iram 0 sha256=54153a9b... (matches meta)
|
||||
[reloc-fix-note] allowlist held with the mirrored project_elf/project_so flags as-is; NO extra link flag needed (R_XTENSA_32 never emitted for this closed C module); gates enforce it from now on
|
||||
--- on-device session (flash + scripted REPL, /dev/ttyACM0; script /tmp/opencode/poca/session.py; full log /tmp/opencode/poca/session-run5.log, EXIT=0) ---
|
||||
[flash] idf.py -B build/default -p /dev/ttyACM0 flash: Hash of data verified, 0x5d600 app image
|
||||
[boot] ESP32-S3 v0.2, octal PSRAM 8MB @80MHz, IDF v6.0.2, app 408df44-dirty
|
||||
[PASS-view]
|
||||
[poca-verify] mpb size=1964 sha256=54153a9b8b6e284af3deb5c3dbce6d21c997fed1d3ba8250ab61d9c26de09b7e
|
||||
[poca-verify] meta size=1964 sha256=54153a9b... (build) ; mpb digest MATCH
|
||||
[poca] view name=baseline version=1.0.0 epoch=1 key_id=e5677a1c abi=1.0 iram=0B max_mem=262144B payloads=1
|
||||
[poca] view payload[0] span offset=208 length=1684
|
||||
[PASS-load-psram-addr]
|
||||
[poca-load] psram free before=8385920
|
||||
I (4213) ELF: elf->entry=0x420612e4
|
||||
[poca-load] entry sym frame_plugin_entry vaddr=0x00000234 mapped=0x3c0612e4 exec=0x420612e4 delta=0x06000000
|
||||
[poca-load] query fn ptr=0x420612e4
|
||||
[poca-load] table ptr=0x3c06135c struct_size=28 abi=1.0
|
||||
[poca-load] prepare()=0 OK
|
||||
[poca-load] text [0x3c061248 .. +0xd0) data [0x3c06131c .. +0x5c) bss 0x404 rodata 0x40 drlro 0x1c
|
||||
[poca-load] psram free after=8382596 consumed=3324 (staging 1964 + text 208 + data/rodata/drlro/bss 1180 = 3352 raw, 3324 after TLSF rounding)
|
||||
[PASS-magic]
|
||||
[poca-activate] activate fn ptr=0x420612d0 (PSRAM exec mirror window)
|
||||
[poca-activate] returned=0x1501e22e expected=0x1501e22e
|
||||
[poca-activate] MAGIC MATCH (computed by plugin code in PSRAM over plugin's own pattern bytes)
|
||||
[PASS-unload-frees]
|
||||
[poca-unload] psram free after=8385920 (before-load=8385920 delta=+0)
|
||||
[PASS-10cycles] 10/10 clean cycles, 10/10 magic matches (load->activate->unload x10, addresses stable, no fault)
|
||||
[bug-fix-1] SIGNATURE_INVALID on first device run: ensure_crypto passed a stack-local mpb_trusted_key_t; mpb_mbedtls_crypto_make keeps the pointer -> dangling. Fix: static storage. (T7/T8 note: same lifetime rule applies to every future crypto make caller.)
|
||||
[bug-fix-2] session script prompt race: "Returned from app_main()" log line lands after the first prompt -> read_quiet(quiesce) boot detection + rstrip prompt compare.
|
||||
--- gates ---
|
||||
[format] clang-format -i + --dry-run --Werror clean on plugin_abi.h baseline.c poca_plugin.cc poca_plugin.hh poca_console.cc (clang-format 22.1.8 local; CI pins 18 — 22 agrees with all checked-in files per T11 learning)
|
||||
[host-ctest] cmake --build .build/poc-host + ctest: 100% tests passed out of 52 (untouched suites sanity)
|
||||
[determinism] touch baseline.c -> full pipeline rebuild -> baseline.mpb sha256=54153a9b... byte-identical (RFC6979 + deterministic compile); embedded meta unchanged, no stale embed possible across rebuilds
|
||||
[poc-a-build] full firmware build 0 warnings (grep -c warning == 0), frame_poc_a.bin 0x5d600 bytes, 64% app partition free
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,731 @@
|
||||
=== T8 session start 2026-09-01T00:09:25+08:00 worktree=2f67b4f ===
|
||||
|
||||
=== T8 gates summary (2026-09-01) ===
|
||||
worktree commit: e0e7159 feat(poc-a): generation coexistence with measured admission budget
|
||||
build: 0 warnings (ninja -C build/default, post-format)
|
||||
board /dev/ttyACM0: run_coexist.py PASS x2 (6/6 markers each), run_matrix.py PASS x2 (3 positives + 10 negatives, canary accounting), poca iram 3 regression PASS (no leak)
|
||||
host: ctest 52/52 (.build/poc-host-t8, ASan), pytest 87 passed, ruff format/check clean (tools tests)
|
||||
format: clang-format 18.1.8 -i + --dry-run --Werror clean (main/*.cc/*.hh, baseline.c)
|
||||
determinism: baseline/baseline_v2/baseline_300k/neg_maxmem .mpb sha256 stable across touch+rebuild
|
||||
baseline_v2 2cefd14d5588118a190e20ea2ffbeadafa9758821a07291e5c942b13862152e1
|
||||
baseline_300k d0c256fdf8520666d04e9f9a35d8ebaf852413a831106334ad06111f1e91a19c
|
||||
neg_maxmem fcb9beab9c7852e9a85e1871acbf233f3c73589c001f2d64719fb492d89c1c8c
|
||||
baseline e5b0a63199cd6ba7e8f54d3cf75a8121e037c5c9aa477a2d8082bfa6c4791f64
|
||||
artifact: poc/apps/poc_a/plugins/ADMISSION-BUDGET.md (frozen Gate-A output)
|
||||
notepads: learnings.md T8 section + issues.md notes for T9/T10 updated
|
||||
scope: git show --stat e0e7159 -> only poc/apps/poc_a/** (13 files)
|
||||
=== T8 DoneClaim ===
|
||||
{
|
||||
"task": 8,
|
||||
"commit": "e0e7159",
|
||||
"coexist_transcript": "6/6 markers x2 runs: [PASS-v1-active-60calls] (60 calls@500ms, 0 mismatch) [PASS-v2-candidate-loaded] (v2 text 0x3c061fa4 vs v1 0x3c061268, independent arenas) [PASS-single-candidate-guard] (err=-8 FRAME_ERR_BUSY, psram+canary unchanged) [PASS-both-generations-respond] (magic_v1 0x1501e22e AND magic_v2 0x771eee2c, fns 0x420612f0/0x4206202c distinct) [PASS-swap-unload-old] [PASS-budget-table]",
|
||||
"heap_table": {
|
||||
"psram_baseline_free": 8385920,
|
||||
"per_instance_v1_bytes": 3388,
|
||||
"coexist_peak_bytes": 6776,
|
||||
"final_free": 8385920,
|
||||
"restored": "exact",
|
||||
"psram_min_ever": 8379144,
|
||||
"iram_exec_baseline_free": 311340,
|
||||
"iram_exec_delta_attribution": "poca_gen task stack 4096B + TCB (DIRAM shared heap), baseline plugins 0B",
|
||||
"stack_hwm": {"console_repl": "2120B/6144", "poca_gen": "3460B/4096", "IDLE0": "756B", "IDLE1": "864B"}
|
||||
},
|
||||
"admission": {"300KiB": "requestable, loaded+activated+unloaded clean", "600KiB_hostile": "rejected pre-init, canary unchanged", "phdr_budget_rule": "unchanged (neg_phspan still rejects)"},
|
||||
"budget_table_path": "poc/apps/poc_a/plugins/ADMISSION-BUDGET.md",
|
||||
"gates": {"build_warn": 0, "matrix_regression": "PASS x2", "iram_regression": "PASS", "host_ctest": "52/52", "pytest": 87, "fmt": "18.1.8 clean", "determinism": "4/4 mpb stable"},
|
||||
"notes_for_T9_T10": "reuse load_positive_into/stage_and_verify + heap_snap/print_stack_snap in poca_plugin.cc; TRACE_FACILITY now on; per-instance 3388B baseline-class; hostile manifest fixture pattern = plugins/coexist/build_maxmem_corpus.py; poca_gen silent-loop-task pattern for concurrent-call proofs"
|
||||
}
|
||||
=== T8 session end ===
|
||||
|
||||
=== T8 board evidence capture (final pass, post-commit e0e7159) 2026-09-01T00:31:20+08:00 ===
|
||||
e0e7159 feat(poc-a): generation coexistence with measured admission budget
|
||||
poc/apps/poc_a/main/CMakeLists.txt | 28 +
|
||||
poc/apps/poc_a/main/poca_console.cc | 8 +-
|
||||
poc/apps/poc_a/main/poca_plugin.cc | 1012 ++++++++++++++------
|
||||
poc/apps/poc_a/main/poca_plugin.hh | 15 +-
|
||||
poc/apps/poc_a/plugins/ADMISSION-BUDGET.md | 89 ++
|
||||
poc/apps/poc_a/plugins/baseline/baseline.c | 10 +-
|
||||
poc/apps/poc_a/plugins/baseline_300k/manifest.json | 3 +
|
||||
poc/apps/poc_a/plugins/baseline_v2/manifest.json | 3 +
|
||||
.../poc_a/plugins/coexist/build_maxmem_corpus.py | 121 +++
|
||||
poc/apps/poc_a/plugins/coexist/run_coexist.py | 181 ++++
|
||||
poc/apps/poc_a/plugins/gen_meta_header.cmake | 15 +-
|
||||
poc/apps/poc_a/plugins/plugins.cmake | 73 +-
|
||||
poc/apps/poc_a/sdkconfig.defaults | 5 +
|
||||
13 files changed, 1273 insertions(+), 290 deletions(-)
|
||||
--- poca> poca status
|
||||
poca status
|
||||
elf_loader: vendored espressif 1.3.3 @6526c5b1 (esp-iot-solution)
|
||||
ELF_LOADER=y LOAD_PSRAM=y CACHE_OFFSET=y SET_MMU=n DLSO=n
|
||||
esp_elf_t state size: 116 bytes
|
||||
loader entries: esp_elf_init=0x42010744 esp_elf_relocate=0x42010784
|
||||
registered host imports: poca_host_sentinel poca_host_add
|
||||
entry queries so far: 21 (execution canary)
|
||||
iram cache syncs so far: 3 (p5 counter)
|
||||
heap internal size= 426207 free= 374935 largest= 286720 min_ever= 362879
|
||||
heap iram-exec size= 362144 free= 310872 largest= 286720 min_ever= 298816
|
||||
heap psram size= 8386280 free= 8385920 largest= 8257536 min_ever= 8379144
|
||||
poca>
|
||||
--- poca> poca status
|
||||
poca status
|
||||
elf_loader: vendored espressif 1.3.3 @6526c5b1 (esp-iot-solution)
|
||||
ELF_LOADER=y LOAD_PSRAM=y CACHE_OFFSET=y SET_MMU=n DLSO=n
|
||||
esp_elf_t state size: 116 bytes
|
||||
loader entries: esp_elf_init=0x42010744 esp_elf_relocate=0x42010784
|
||||
registered host imports: poca_host_sentinel poca_host_add
|
||||
entry queries so far: 21 (execution canary)
|
||||
iram cache syncs so far: 3 (p5 counter)
|
||||
heap internal size= 426207 free= 374935 largest= 286720 min_ever= 362879
|
||||
heap iram-exec size= 362144 free= 310872 largest= 286720 min_ever= 298816
|
||||
heap psram size= 8386280 free= 8385920 largest= 8257536 min_ever= 8379144
|
||||
poca>
|
||||
--- poca> poca verify baseline_v2
|
||||
poca verify baseline_v2
|
||||
[poca-verify] baseline_v2 size=1988 sha256=2cefd14d5588118a190e20ea2ffbeadafa9758821a07291e5c942b13862152e1
|
||||
[poca] mpb digest MATCH
|
||||
[poca] view name=baseline version=2.0.0 epoch=1 key_id=e5677a1c abi=1.0 iram=0B max_mem=262144B payloads=1
|
||||
[poca] view payload[0] span offset=208 length=1708
|
||||
[poca] phdr loads=2 memsz=1900 pad=4120 budget=6020 manifest max_mem=262144
|
||||
[poca-verify] PASS
|
||||
poca>
|
||||
--- poca> poca load baseline_v2
|
||||
poca load baseline_v2
|
||||
[poca-load] begin baseline_v2 (entry_queries=21)
|
||||
[poca-load] psram free before=8385920
|
||||
[poca-load] mpb size=1988 sha256=2cefd14d5588118a190e20ea2ffbeadafa9758821a07291e5c942b13862152e1
|
||||
[poca] mpb digest MATCH
|
||||
[poca] view name=baseline version=2.0.0 epoch=1 key_id=e5677a1c abi=1.0 iram=0B max_mem=262144B payloads=1
|
||||
[poca] view payload[0] span offset=208 length=1708
|
||||
[poca-load] identity name=baseline version=2.0.0 MATCH
|
||||
[poca] admission max_mem=262144 default_arena=262144 hard_max=524288 OK
|
||||
[poca] phdr loads=2 memsz=1900 pad=4120 budget=6020 manifest max_mem=262144
|
||||
I (437787) ELF: ELF loader version: 1.3.3
|
||||
I (437788) ELF: elf->entry=0x42061304
|
||||
[poca-load] entry sym frame_plugin_entry vaddr=0x00000234 mapped=0x3c061304 exec=0x42061304 delta=0x06000000
|
||||
[poca-load] query fn ptr=0x42061304
|
||||
[poca-load] table ptr=0x3c06137c struct_size=52 abi=1.2
|
||||
[poca-load] prepare()=0 OK
|
||||
[poca-load] text [0x3c061268 .. +0xd0) data [0x3c06133c .. +0x74) bss 0x404 rodata 0x40 drlro 0x34
|
||||
[poca-load] psram free after=8382532 consumed=3388
|
||||
[poca-load] PASS
|
||||
poca>
|
||||
--- poca> poca activate
|
||||
poca activate
|
||||
[poca-activate] baseline_v2 activate fn ptr=0x420612f0
|
||||
[poca-activate] returned=0x771eee2c expected=0x771eee2c
|
||||
[poca-activate] MAGIC MATCH
|
||||
[poca-activate] PASS
|
||||
poca>
|
||||
--- poca> poca unload
|
||||
poca unload
|
||||
[poca-unload] psram free after=8385920 (before-load=8385920 delta=+0)
|
||||
[poca-unload] PASS
|
||||
poca>
|
||||
--- poca> poca verify baseline_300k
|
||||
poca verify baseline_300k
|
||||
[poca-verify] baseline_300k size=1988 sha256=d0c256fdf8520666d04e9f9a35d8ebaf852413a831106334ad06111f1e91a19c
|
||||
[poca] mpb digest MATCH
|
||||
[poca] view name=baseline version=1.0.1 epoch=1 key_id=e5677a1c abi=1.0 iram=0B max_mem=307200B payloads=1
|
||||
[poca] view payload[0] span offset=208 length=1708
|
||||
[poca] phdr loads=2 memsz=1900 pad=4120 budget=6020 manifest max_mem=307200
|
||||
[poca-verify] PASS
|
||||
poca>
|
||||
--- poca> poca load baseline_300k
|
||||
poca load baseline_300k
|
||||
[poca-load] begin baseline_300k (entry_queries=22)
|
||||
[poca-load] psram free before=8385920
|
||||
[poca-load] mpb size=1988 sha256=d0c256fdf8520666d04e9f9a35d8ebaf852413a831106334ad06111f1e91a19c
|
||||
[poca] mpb digest MATCH
|
||||
[poca] view name=baseline version=1.0.1 epoch=1 key_id=e5677a1c abi=1.0 iram=0B max_mem=307200B payloads=1
|
||||
[poca] view payload[0] span offset=208 length=1708
|
||||
[poca-load] identity name=baseline version=1.0.1 MATCH
|
||||
[poca] admission max_mem=307200 default_arena=262144 hard_max=524288 OK
|
||||
[poca] phdr loads=2 memsz=1900 pad=4120 budget=6020 manifest max_mem=307200
|
||||
I (444192) ELF: ELF loader version: 1.3.3
|
||||
I (444193) ELF: elf->entry=0x42061304
|
||||
[poca-load] entry sym frame_plugin_entry vaddr=0x00000234 mapped=0x3c061304 exec=0x42061304 delta=0x06000000
|
||||
[poca-load] query fn ptr=0x42061304
|
||||
[poca-load] table ptr=0x3c06137c struct_size=52 abi=1.2
|
||||
[poca-load] prepare()=0 OK
|
||||
[poca-load] text [0x3c061268 .. +0xd0) data [0x3c06133c .. +0x74) bss 0x404 rodata 0x40 drlro 0x34
|
||||
[poca-load] psram free after=8382532 consumed=3388
|
||||
[poca-load] PASS
|
||||
poca>
|
||||
--- poca> poca activate
|
||||
poca activate
|
||||
[poca-activate] baseline_300k activate fn ptr=0x420612f0
|
||||
[poca-activate] returned=0x1501e22e expected=0x1501e22e
|
||||
[poca-activate] MAGIC MATCH
|
||||
[poca-activate] PASS
|
||||
poca>
|
||||
--- poca> poca unload
|
||||
poca unload
|
||||
[poca-unload] psram free after=8385920 (before-load=8385920 delta=+0)
|
||||
[poca-unload] PASS
|
||||
poca>
|
||||
--- poca> poca load neg_maxmem
|
||||
poca load neg_maxmem
|
||||
[poca-load] begin neg_maxmem (entry_queries=23)
|
||||
[poca-load] psram free before=8385920
|
||||
[poca-load] mpb size=1976 sha256=fcb9beab9c7852e9a85e1871acbf233f3c73589c001f2d64719fb492d89c1c8c
|
||||
[poca] mpb digest MATCH
|
||||
[poca] view name=baseline version=1.0.0 epoch=1 key_id=e5677a1c abi=1.0 iram=0B max_mem=614400B payloads=1
|
||||
[poca] view payload[0] span offset=196 length=1708
|
||||
[poca-load] identity name=baseline version=1.0.0 MATCH
|
||||
[poca] admission max_mem=614400 default_arena=262144 hard_max=524288 REJECT(>hard max)
|
||||
[poca-load] NEGATIVE neg_maxmem PASS (admission: max_memory=614400 > 524288 hard max, rejected pre-init)
|
||||
[poca-load] entry_queries=23 (unchanged=yes)
|
||||
poca>
|
||||
--- poca> poca status
|
||||
poca status
|
||||
elf_loader: vendored espressif 1.3.3 @6526c5b1 (esp-iot-solution)
|
||||
ELF_LOADER=y LOAD_PSRAM=y CACHE_OFFSET=y SET_MMU=n DLSO=n
|
||||
esp_elf_t state size: 116 bytes
|
||||
loader entries: esp_elf_init=0x42010744 esp_elf_relocate=0x42010784
|
||||
registered host imports: poca_host_sentinel poca_host_add
|
||||
entry queries so far: 23 (execution canary)
|
||||
iram cache syncs so far: 3 (p5 counter)
|
||||
heap internal size= 426207 free= 374947 largest= 286720 min_ever= 362879
|
||||
heap iram-exec size= 362144 free= 310884 largest= 286720 min_ever= 298816
|
||||
heap psram size= 8386280 free= 8385920 largest= 8257536 min_ever= 8379144
|
||||
poca>
|
||||
--- poca> poca coexist
|
||||
poca coexist
|
||||
[T8-heap] phase=baseline psram free=8385920 largest=8257536 min_ever=8379144 | iram-exec free=310904 largest=286720 min_ever=298816 | internal free=374967
|
||||
[T8-stack] phase=baseline tasks=5
|
||||
[T8-stack] console_repl prio=5 stack_hwm=2056B
|
||||
[T8-stack] IDLE0 prio=0 stack_hwm=756B
|
||||
[T8-stack] IDLE1 prio=0 stack_hwm=752B
|
||||
[T8-stack] ipc0 prio=24 stack_hwm=600B
|
||||
[T8-stack] ipc1 prio=24 stack_hwm=596B
|
||||
[poca-coexist] phase 1: load v1 (baseline 1.0.0) as ACTIVE
|
||||
[poca-coexist] psram free before=8385920
|
||||
[poca-coexist] mpb size=1988 sha256=e5b0a63199cd6ba7e8f54d3cf75a8121e037c5c9aa477a2d8082bfa6c4791f64
|
||||
[poca] mpb digest MATCH
|
||||
[poca] view name=baseline version=1.0.0 epoch=1 key_id=e5677a1c abi=1.0 iram=0B max_mem=262144B payloads=1
|
||||
[poca] view payload[0] span offset=208 length=1708
|
||||
[poca-coexist] identity name=baseline version=1.0.0 MATCH
|
||||
[poca] admission max_mem=262144 default_arena=262144 hard_max=524288 OK
|
||||
[poca] phdr loads=2 memsz=1900 pad=4120 budget=6020 manifest max_mem=262144
|
||||
I (452204) ELF: ELF loader version: 1.3.3
|
||||
I (452204) ELF: elf->entry=0x42061304
|
||||
[poca-coexist] entry sym frame_plugin_entry vaddr=0x00000234 mapped=0x3c061304 exec=0x42061304 delta=0x06000000
|
||||
[poca-coexist] query fn ptr=0x42061304
|
||||
[poca-coexist] table ptr=0x3c06137c struct_size=52 abi=1.2
|
||||
[poca-coexist] prepare()=0 OK
|
||||
[poca-coexist] text [0x3c061268 .. +0xd0) data [0x3c06133c .. +0x74) bss 0x404 rodata 0x40 drlro 0x34
|
||||
[poca-coexist] psram free after=8382532 consumed=3388
|
||||
[poca-coexist] v1 ACTIVE activate returned=0x1501e22e expected=0x1501e22e MATCH
|
||||
[poca-coexist] v1 self-call loop started (every 500ms, core 0)
|
||||
[T8-heap] phase=v1-active psram free=8382532 largest=8257536 min_ever=8379144 | iram-exec free=306692 largest=286720 min_ever=298816 | internal free=370755
|
||||
[poca-coexist] phase 2: stage v2 (baseline 2.0.0) as CANDIDATE
|
||||
[poca-cand] psram free before=8382532
|
||||
[poca-cand] mpb size=1988 sha256=2cefd14d5588118a190e20ea2ffbeadafa9758821a07291e5c942b13862152e1
|
||||
[poca] mpb digest MATCH
|
||||
[poca] view name=baseline version=2.0.0 epoch=1 key_id=e5677a1c abi=1.0 iram=0B max_mem=262144B payloads=1
|
||||
[poca] view payload[0] span offset=208 length=1708
|
||||
[poca-cand] identity name=baseline version=2.0.0 MATCH
|
||||
[poca] admission max_mem=262144 default_arena=262144 hard_max=524288 OK
|
||||
[poca] phdr loads=2 memsz=1900 pad=4120 budget=6020 manifest max_mem=262144
|
||||
I (452518) ELF: ELF loader version: 1.3.3
|
||||
I (452518) ELF: elf->entry=0x42062040
|
||||
[poca-cand] entry sym frame_plugin_entry vaddr=0x00000234 mapped=0x3c062040 exec=0x42062040 delta=0x06000000
|
||||
[poca-cand] query fn ptr=0x42062040
|
||||
[poca-cand] table ptr=0x3c0620b8 struct_size=52 abi=1.2
|
||||
[poca-cand] prepare()=0 OK
|
||||
[poca-cand] text [0x3c061fa4 .. +0xd0) data [0x3c062078 .. +0x74) bss 0x404 rodata 0x40 drlro 0x34
|
||||
[poca-cand] psram free after=8379144 consumed=3388
|
||||
[poca-coexist] v2 CANDIDATE resident: text=0x3c061fa4 (v1 text=0x3c061268) independent arenas
|
||||
[PASS-v2-candidate-loaded]
|
||||
[T8-heap] phase=coexist-peak psram free=8379144 largest=8257536 min_ever=8379144 | iram-exec free=306692 largest=286720 min_ever=298816 | internal free=370755
|
||||
[poca-cand] FAIL busy: candidate generation already staged (PLUG-004)
|
||||
[poca-coexist] third candidate (baseline_300k) err=-8 (want -8 BUSY) psram_unchanged=yes canary_unchanged=yes
|
||||
[PASS-single-candidate-guard]
|
||||
[poca-coexist] gen-old activate fn=0x420612f0 returned=0x1501e22e expected=0x1501e22e MATCH
|
||||
[poca-coexist] gen-new activate fn=0x4206202c returned=0x771eee2c expected=0x771eee2c MATCH
|
||||
[poca-coexist] distinct code addresses=yes (delta=0xd3c) loop_calls=1 loop_mismatch=0
|
||||
[PASS-both-generations-respond]
|
||||
[T8-stack] phase=coexist-peak tasks=6
|
||||
[T8-stack] console_repl prio=5 stack_hwm=2056B
|
||||
[T8-stack] IDLE0 prio=0 stack_hwm=756B
|
||||
[T8-stack] IDLE1 prio=0 stack_hwm=752B
|
||||
[T8-stack] poca_gen prio=4 stack_hwm=3460B
|
||||
[T8-stack] ipc1 prio=24 stack_hwm=596B
|
||||
[T8-stack] ipc0 prio=24 stack_hwm=600B
|
||||
[poca-coexist] phase 5: waiting for 60 loop calls
|
||||
[poca-coexist] loop progress calls=10 mismatch=0
|
||||
[poca-coexist] loop progress calls=10 mismatch=0
|
||||
[poca-coexist] loop progress calls=20 mismatch=0
|
||||
[poca-coexist] loop progress calls=20 mismatch=0
|
||||
[poca-coexist] loop progress calls=30 mismatch=0
|
||||
[poca-coexist] loop progress calls=30 mismatch=0
|
||||
[poca-coexist] loop progress calls=40 mismatch=0
|
||||
[poca-coexist] loop progress calls=40 mismatch=0
|
||||
[poca-coexist] loop progress calls=50 mismatch=0
|
||||
[poca-coexist] loop progress calls=50 mismatch=0
|
||||
[poca-coexist] loop progress calls=60 mismatch=0
|
||||
[poca-coexist] v1 loop final calls=60 (>=60=yes) mismatches=0 (==0=yes)
|
||||
[PASS-v1-active-60calls]
|
||||
[poca-coexist] phase 6: swap (unload old v1, promote v2)
|
||||
[poca-coexist] v2 promoted ACTIVE activate returned=0x771eee2c expected=0x771eee2c MATCH
|
||||
[PASS-swap-unload-old]
|
||||
[T8-heap] phase=v2-active psram free=8382532 largest=8257536 min_ever=8379144 | iram-exec free=310904 largest=286720 min_ever=298816 | internal free=374967
|
||||
[T8-heap] phase=final psram free=8385920 largest=8257536 min_ever=8379144 | iram-exec free=310904 largest=286720 min_ever=298816 | internal free=374967
|
||||
[T8-budget] psram baseline_free=8385920 per_instance_v1=3388 coexist_peak(v1+v2+2 stagings)=6776 final_free=8385920 restored=yes
|
||||
[T8-budget] headroom vs 8MiB pool: peak uses 0.08% (6776/8388608); 2x256KiB arena caps + measured overhead fit=yes
|
||||
[T8-budget] iram-exec baseline_free=310904 peak_free=306692 delta=-4212 (baseline plugins carry no .plugin_iram)
|
||||
[T8-budget] min_ever floors: psram=8379144 iram-exec=298816
|
||||
[PASS-budget-table]
|
||||
[poca-coexist] PASS
|
||||
poca>
|
||||
--- poca> poca load baseline
|
||||
poca load baseline
|
||||
[poca-load] begin baseline (entry_queries=25)
|
||||
[poca-load] psram free before=8385920
|
||||
[poca-load] mpb size=1988 sha256=e5b0a63199cd6ba7e8f54d3cf75a8121e037c5c9aa477a2d8082bfa6c4791f64
|
||||
[poca] mpb digest MATCH
|
||||
[poca] view name=baseline version=1.0.0 epoch=1 key_id=e5677a1c abi=1.0 iram=0B max_mem=262144B payloads=1
|
||||
[poca] view payload[0] span offset=208 length=1708
|
||||
[poca-load] identity name=baseline version=1.0.0 MATCH
|
||||
[poca] admission max_mem=262144 default_arena=262144 hard_max=524288 OK
|
||||
[poca] phdr loads=2 memsz=1900 pad=4120 budget=6020 manifest max_mem=262144
|
||||
I (483131) ELF: ELF loader version: 1.3.3
|
||||
I (483131) ELF: elf->entry=0x42061304
|
||||
[poca-load] entry sym frame_plugin_entry vaddr=0x00000234 mapped=0x3c061304 exec=0x42061304 delta=0x06000000
|
||||
[poca-load] query fn ptr=0x42061304
|
||||
[poca-load] table ptr=0x3c06137c struct_size=52 abi=1.2
|
||||
[poca-load] prepare()=0 OK
|
||||
[poca-load] text [0x3c061268 .. +0xd0) data [0x3c06133c .. +0x74) bss 0x404 rodata 0x40 drlro 0x34
|
||||
[poca-load] psram free after=8382532 consumed=3388
|
||||
[poca-load] PASS
|
||||
poca>
|
||||
--- poca> poca activate
|
||||
poca activate
|
||||
[poca-activate] baseline activate fn ptr=0x420612f0
|
||||
[poca-activate] returned=0x1501e22e expected=0x1501e22e
|
||||
[poca-activate] MAGIC MATCH
|
||||
[poca-activate] PASS
|
||||
poca>
|
||||
--- poca> poca unload
|
||||
poca unload
|
||||
[poca-unload] psram free after=8385920 (before-load=8385920 delta=+0)
|
||||
[poca-unload] PASS
|
||||
poca>
|
||||
--- poca> poca status
|
||||
poca status
|
||||
elf_loader: vendored espressif 1.3.3 @6526c5b1 (esp-iot-solution)
|
||||
ELF_LOADER=y LOAD_PSRAM=y CACHE_OFFSET=y SET_MMU=n DLSO=n
|
||||
esp_elf_t state size: 116 bytes
|
||||
loader entries: esp_elf_init=0x42010744 esp_elf_relocate=0x42010784
|
||||
registered host imports: poca_host_sentinel poca_host_add
|
||||
entry queries so far: 26 (execution canary)
|
||||
iram cache syncs so far: 3 (p5 counter)
|
||||
heap internal size= 426207 free= 374959 largest= 286720 min_ever= 362879
|
||||
heap iram-exec size= 362144 free= 310896 largest= 286720 min_ever= 298816
|
||||
heap psram size= 8386280 free= 8385920 largest= 8257536 min_ever= 8379144
|
||||
poca>
|
||||
|
||||
COEXIST PASS (6/6 markers, 5 heap phases, 300KiB requestable + 600KiB rejected, canary start=21)
|
||||
COEXIST3_EXIT=0
|
||||
--- poca> poca status
|
||||
poca status
|
||||
elf_loader: vendored espressif 1.3.3 @6526c5b1 (esp-iot-solution)
|
||||
ELF_LOADER=y LOAD_PSRAM=y CACHE_OFFSET=y SET_MMU=n DLSO=n
|
||||
esp_elf_t state size: 116 bytes
|
||||
loader entries: esp_elf_init=0x42010744 esp_elf_relocate=0x42010784
|
||||
registered host imports: poca_host_sentinel poca_host_add
|
||||
entry queries so far: 26 (execution canary)
|
||||
iram cache syncs so far: 3 (p5 counter)
|
||||
heap internal size= 426207 free= 374959 largest= 286720 min_ever= 362879
|
||||
heap iram-exec size= 362144 free= 310896 largest= 286720 min_ever= 298816
|
||||
heap psram size= 8386280 free= 8385920 largest= 8257536 min_ever= 8379144
|
||||
poca>
|
||||
--- poca> poca status
|
||||
poca status
|
||||
elf_loader: vendored espressif 1.3.3 @6526c5b1 (esp-iot-solution)
|
||||
ELF_LOADER=y LOAD_PSRAM=y CACHE_OFFSET=y SET_MMU=n DLSO=n
|
||||
esp_elf_t state size: 116 bytes
|
||||
loader entries: esp_elf_init=0x42010744 esp_elf_relocate=0x42010784
|
||||
registered host imports: poca_host_sentinel poca_host_add
|
||||
entry queries so far: 26 (execution canary)
|
||||
iram cache syncs so far: 3 (p5 counter)
|
||||
heap internal size= 426207 free= 374959 largest= 286720 min_ever= 362879
|
||||
heap iram-exec size= 362144 free= 310896 largest= 286720 min_ever= 298816
|
||||
heap psram size= 8386280 free= 8385920 largest= 8257536 min_ever= 8379144
|
||||
poca>
|
||||
--- poca> poca verify baseline
|
||||
poca verify baseline
|
||||
[poca-verify] baseline size=1988 sha256=e5b0a63199cd6ba7e8f54d3cf75a8121e037c5c9aa477a2d8082bfa6c4791f64
|
||||
[poca] mpb digest MATCH
|
||||
[poca] view name=baseline version=1.0.0 epoch=1 key_id=e5677a1c abi=1.0 iram=0B max_mem=262144B payloads=1
|
||||
[poca] view payload[0] span offset=208 length=1708
|
||||
[poca] phdr loads=2 memsz=1900 pad=4120 budget=6020 manifest max_mem=262144
|
||||
[poca-verify] PASS
|
||||
poca>
|
||||
--- poca> poca load baseline
|
||||
poca load baseline
|
||||
[poca-load] begin baseline (entry_queries=26)
|
||||
[poca-load] psram free before=8385920
|
||||
[poca-load] mpb size=1988 sha256=e5b0a63199cd6ba7e8f54d3cf75a8121e037c5c9aa477a2d8082bfa6c4791f64
|
||||
[poca] mpb digest MATCH
|
||||
[poca] view name=baseline version=1.0.0 epoch=1 key_id=e5677a1c abi=1.0 iram=0B max_mem=262144B payloads=1
|
||||
[poca] view payload[0] span offset=208 length=1708
|
||||
[poca-load] identity name=baseline version=1.0.0 MATCH
|
||||
[poca] admission max_mem=262144 default_arena=262144 hard_max=524288 OK
|
||||
[poca] phdr loads=2 memsz=1900 pad=4120 budget=6020 manifest max_mem=262144
|
||||
I (502357) ELF: ELF loader version: 1.3.3
|
||||
I (502357) ELF: elf->entry=0x42061304
|
||||
[poca-load] entry sym frame_plugin_entry vaddr=0x00000234 mapped=0x3c061304 exec=0x42061304 delta=0x06000000
|
||||
[poca-load] query fn ptr=0x42061304
|
||||
[poca-load] table ptr=0x3c06137c struct_size=52 abi=1.2
|
||||
[poca-load] prepare()=0 OK
|
||||
[poca-load] text [0x3c061268 .. +0xd0) data [0x3c06133c .. +0x74) bss 0x404 rodata 0x40 drlro 0x34
|
||||
[poca-load] psram free after=8382532 consumed=3388
|
||||
[poca-load] PASS
|
||||
poca>
|
||||
--- poca> poca activate
|
||||
poca activate
|
||||
[poca-activate] baseline activate fn ptr=0x420612f0
|
||||
[poca-activate] returned=0x1501e22e expected=0x1501e22e
|
||||
[poca-activate] MAGIC MATCH
|
||||
[poca-activate] PASS
|
||||
poca>
|
||||
--- poca> poca unload
|
||||
poca unload
|
||||
[poca-unload] psram free after=8385920 (before-load=8385920 delta=+0)
|
||||
[poca-unload] PASS
|
||||
poca>
|
||||
--- poca> poca verify globdat
|
||||
poca verify globdat
|
||||
[poca-verify] globdat size=2052 sha256=2d51698e19fc8aa636745577923c467d6103dd3e3e36d6e3b9a7ad67998a37f5
|
||||
[poca] mpb digest MATCH
|
||||
[poca] view name=globdat version=1.0.0 epoch=1 key_id=e5677a1c abi=1.0 iram=0B max_mem=262144B payloads=1
|
||||
[poca] view payload[0] span offset=204 length=1776
|
||||
[poca] phdr loads=2 memsz=1971 pad=4121 budget=6092 manifest max_mem=262144
|
||||
[poca-verify] PASS
|
||||
poca>
|
||||
--- poca> poca load globdat
|
||||
poca load globdat
|
||||
[poca-load] begin globdat (entry_queries=27)
|
||||
[poca-load] psram free before=8385920
|
||||
[poca-load] mpb size=2052 sha256=2d51698e19fc8aa636745577923c467d6103dd3e3e36d6e3b9a7ad67998a37f5
|
||||
[poca] mpb digest MATCH
|
||||
[poca] view name=globdat version=1.0.0 epoch=1 key_id=e5677a1c abi=1.0 iram=0B max_mem=262144B payloads=1
|
||||
[poca] view payload[0] span offset=204 length=1776
|
||||
[poca-load] identity name=globdat version=1.0.0 MATCH
|
||||
[poca] admission max_mem=262144 default_arena=262144 hard_max=524288 OK
|
||||
[poca] phdr loads=2 memsz=1971 pad=4121 budget=6092 manifest max_mem=262144
|
||||
I (508762) ELF: ELF loader version: 1.3.3
|
||||
I (508762) ELF: elf->entry=0x4206138c
|
||||
[poca-load] entry sym frame_plugin_entry vaddr=0x0000029c mapped=0x3c06138c exec=0x4206138c delta=0x06000000
|
||||
[poca-load] query fn ptr=0x4206138c
|
||||
[poca-load] table ptr=0x3c0613e0 struct_size=52 abi=1.2
|
||||
[poca-load] prepare()=0 OK
|
||||
[poca-load] GLOB_DAT host_sentinel=0x4200ba04 expected=0x4200ba04 MATCH
|
||||
[poca-load] text [0x3c0612c8 .. +0xd3) data [0x3c0613a0 .. +0x74) bss 0x408 rodata 0x40 drlro 0x34
|
||||
[poca-load] psram free after=8382432 consumed=3488
|
||||
[poca-load] PASS
|
||||
poca>
|
||||
--- poca> poca activate
|
||||
poca activate
|
||||
[poca-activate] globdat activate fn ptr=0x42061310
|
||||
[poca-activate] returned=0x4bec22f0 expected=0x4bec22f0
|
||||
[poca-activate] MAGIC MATCH
|
||||
[poca-activate] PASS
|
||||
poca>
|
||||
--- poca> poca unload
|
||||
poca unload
|
||||
[poca-unload] psram free after=8385920 (before-load=8385920 delta=+0)
|
||||
[poca-unload] PASS
|
||||
poca>
|
||||
--- poca> poca verify plt
|
||||
poca verify plt
|
||||
[poca-verify] plt size=2180 sha256=3afc184c27b2cd6d37d53940d014c83fa72e260cb457e3505a5e107b63cc5be4
|
||||
[poca] mpb digest MATCH
|
||||
[poca] view name=plt version=1.0.0 epoch=1 key_id=e5677a1c abi=1.0 iram=0B max_mem=262144B payloads=1
|
||||
[poca] view payload[0] span offset=200 length=1908
|
||||
[poca] phdr loads=2 memsz=2023 pad=4129 budget=6152 manifest max_mem=262144
|
||||
[poca-verify] PASS
|
||||
poca>
|
||||
--- poca> poca load plt
|
||||
poca load plt
|
||||
[poca-load] begin plt (entry_queries=28)
|
||||
[poca-load] psram free before=8385920
|
||||
[poca-load] mpb size=2180 sha256=3afc184c27b2cd6d37d53940d014c83fa72e260cb457e3505a5e107b63cc5be4
|
||||
[poca] mpb digest MATCH
|
||||
[poca] view name=plt version=1.0.0 epoch=1 key_id=e5677a1c abi=1.0 iram=0B max_mem=262144B payloads=1
|
||||
[poca] view payload[0] span offset=200 length=1908
|
||||
[poca-load] identity name=plt version=1.0.0 MATCH
|
||||
[poca] admission max_mem=262144 default_arena=262144 hard_max=524288 OK
|
||||
[poca] phdr loads=2 memsz=2023 pad=4129 budget=6152 manifest max_mem=262144
|
||||
I (515167) ELF: ELF loader version: 1.3.3
|
||||
I (515168) ELF: elf->entry=0x42061424
|
||||
[poca-load] entry sym frame_plugin_entry vaddr=0x000002bc mapped=0x3c061424 exec=0x42061424 delta=0x06000000
|
||||
[poca-load] query fn ptr=0x42061424
|
||||
[poca-load] table ptr=0x3c061478 struct_size=52 abi=1.2
|
||||
[poca-load] prepare()=0 OK
|
||||
[poca-load] GLOB_DAT host_add=0x4203299c expected=0x4203299c MATCH
|
||||
[poca-load] text [0x3c061348 .. +0xeb) data [0x3c061438 .. +0x74) bss 0x404 rodata 0x40 drlro 0x34
|
||||
[poca-load] psram free after=8382280 consumed=3640
|
||||
[poca-load] PASS
|
||||
poca>
|
||||
--- poca> poca activate
|
||||
poca activate
|
||||
[poca-activate] plt activate fn ptr=0x42061398
|
||||
[poca-activate] returned=0xf027ea65 expected=0xf027ea65
|
||||
[poca-activate] MAGIC MATCH
|
||||
[poca-activate] PASS
|
||||
poca>
|
||||
--- poca> poca unload
|
||||
poca unload
|
||||
[poca-unload] psram free after=8385920 (before-load=8385920 delta=+0)
|
||||
[poca-unload] PASS
|
||||
poca>
|
||||
--- poca> poca status
|
||||
poca status
|
||||
elf_loader: vendored espressif 1.3.3 @6526c5b1 (esp-iot-solution)
|
||||
ELF_LOADER=y LOAD_PSRAM=y CACHE_OFFSET=y SET_MMU=n DLSO=n
|
||||
esp_elf_t state size: 116 bytes
|
||||
loader entries: esp_elf_init=0x42010744 esp_elf_relocate=0x42010784
|
||||
registered host imports: poca_host_sentinel poca_host_add
|
||||
entry queries so far: 29 (execution canary)
|
||||
iram cache syncs so far: 3 (p5 counter)
|
||||
heap internal size= 426207 free= 374963 largest= 286720 min_ever= 362879
|
||||
heap iram-exec size= 362144 free= 310900 largest= 286720 min_ever= 298816
|
||||
heap psram size= 8386280 free= 8385920 largest= 8257536 min_ever= 8379144
|
||||
poca>
|
||||
--- poca> poca load import_neg
|
||||
poca load import_neg
|
||||
[poca-load] begin import_neg (entry_queries=29)
|
||||
[poca-load] psram free before=8385920
|
||||
[poca-load] mpb size=1800 sha256=422eb0050d5cd7f0e688237b2609099c2bbf46344400341a9ca0e7de811b66de
|
||||
[poca] mpb digest MATCH
|
||||
[poca] view name=import_neg version=1.0.0 epoch=1 key_id=e5677a1c abi=1.0 iram=0B max_mem=262144B payloads=1
|
||||
[poca] view payload[0] span offset=208 length=1520
|
||||
[poca-load] identity name=import_neg version=1.0.0 MATCH
|
||||
[poca] admission max_mem=262144 default_arena=262144 hard_max=524288 OK
|
||||
[poca] phdr loads=2 memsz=739 pad=4121 budget=4860 manifest max_mem=262144
|
||||
I (521574) ELF: ELF loader version: 1.3.3
|
||||
I (521574) ELF: elf->entry=0x420611ec
|
||||
E (521574) ELF: Can't find symbol frame_unknown_symbol
|
||||
[poca-load] FAIL esp_elf_relocate err=-88
|
||||
[poca-load] entry_queries=29 (unchanged=yes)
|
||||
[poca-load] NEGATIVE import_neg PASS (errno -88, expected -88)
|
||||
poca>
|
||||
--- poca> poca load neg_r32
|
||||
poca load neg_r32
|
||||
[poca-load] begin neg_r32 (entry_queries=29)
|
||||
[poca-load] psram free before=8385920
|
||||
[poca-load] mpb size=1984 sha256=857b211ef2f2b3c1b7dbdc2173d5b255b8d51b016e91563ca5de1c5d8e33a0b9
|
||||
[poca] mpb digest MATCH
|
||||
[poca] view name=neg_r32 version=1.0.0 epoch=1 key_id=e5677a1c abi=1.0 iram=0B max_mem=262144B payloads=1
|
||||
[poca] view payload[0] span offset=204 length=1708
|
||||
[poca-load] identity name=neg_r32 version=1.0.0 MATCH
|
||||
[poca] admission max_mem=262144 default_arena=262144 hard_max=524288 OK
|
||||
[poca] phdr loads=2 memsz=1900 pad=4120 budget=6020 manifest max_mem=262144
|
||||
I (523174) ELF: ELF loader version: 1.3.3
|
||||
I (523175) ELF: elf->entry=0x420612e4
|
||||
E (523175) elf_arch: info=1 is not supported
|
||||
E (523176) ELF: Failed to relocate type=1 offset=0x198 ret=-22
|
||||
[poca-load] FAIL esp_elf_relocate err=-22
|
||||
[poca-load] entry_queries=29 (unchanged=yes)
|
||||
[poca-load] NEGATIVE neg_r32 PASS (errno -22, expected -22)
|
||||
poca>
|
||||
--- poca> poca load neg_s0op
|
||||
poca load neg_s0op
|
||||
[poca-load] begin neg_s0op (entry_queries=29)
|
||||
[poca-load] psram free before=8385920
|
||||
[poca-load] mpb size=1988 sha256=4863f40c4e347dbea34e189f1271ea40d5e78be32d56a072a48a755f0908ae76
|
||||
[poca] mpb digest MATCH
|
||||
[poca] view name=neg_s0op version=1.0.0 epoch=1 key_id=e5677a1c abi=1.0 iram=0B max_mem=262144B payloads=1
|
||||
[poca] view payload[0] span offset=208 length=1708
|
||||
[poca-load] identity name=neg_s0op version=1.0.0 MATCH
|
||||
[poca] admission max_mem=262144 default_arena=262144 hard_max=524288 OK
|
||||
[poca] phdr loads=2 memsz=1900 pad=4120 budget=6020 manifest max_mem=262144
|
||||
I (524776) ELF: ELF loader version: 1.3.3
|
||||
I (524776) ELF: elf->entry=0x42061304
|
||||
E (524777) elf_arch: info=20 is not supported
|
||||
E (524777) ELF: Failed to relocate type=20 offset=0x198 ret=-22
|
||||
[poca-load] FAIL esp_elf_relocate err=-22
|
||||
[poca-load] entry_queries=29 (unchanged=yes)
|
||||
[poca-load] NEGATIVE neg_s0op PASS (errno -22, expected -22)
|
||||
poca>
|
||||
--- poca> poca load neg_phbe
|
||||
poca load neg_phbe
|
||||
[poca-load] begin neg_phbe (entry_queries=29)
|
||||
[poca-load] psram free before=8385920
|
||||
[poca-load] mpb size=1988 sha256=def19837dbdf39ffbc4304e5e3dee7b07e9e9240255810c1527269f59b3cd83f
|
||||
[poca] mpb digest MATCH
|
||||
[poca] view name=neg_phbe version=1.0.0 epoch=1 key_id=e5677a1c abi=1.0 iram=0B max_mem=262144B payloads=1
|
||||
[poca] view payload[0] span offset=208 length=1708
|
||||
[poca-load] identity name=neg_phbe version=1.0.0 MATCH
|
||||
[poca] admission max_mem=262144 default_arena=262144 hard_max=524288 OK
|
||||
[poca] phdr loads=2 memsz=1900 pad=4120 budget=6020 manifest max_mem=262144
|
||||
I (526378) ELF: ELF loader version: 1.3.3
|
||||
E (526378) ELF: Invalid ELF image: magic/class/data/machine mismatch (class=1 data=2 machine=94)
|
||||
[poca-load] FAIL esp_elf_relocate err=-22
|
||||
[poca-load] entry_queries=29 (unchanged=yes)
|
||||
[poca-load] NEGATIVE neg_phbe PASS (errno -22, expected -22)
|
||||
poca>
|
||||
--- poca> poca load neg_ph64
|
||||
poca load neg_ph64
|
||||
[poca-load] begin neg_ph64 (entry_queries=29)
|
||||
[poca-load] psram free before=8385920
|
||||
[poca-load] mpb size=1988 sha256=044006b88065d587c43d41ccac222947a8e10f233130c679aabe9ee70eb56c3d
|
||||
[poca] mpb digest MATCH
|
||||
[poca] view name=neg_ph64 version=1.0.0 epoch=1 key_id=e5677a1c abi=1.0 iram=0B max_mem=262144B payloads=1
|
||||
[poca] view payload[0] span offset=208 length=1708
|
||||
[poca-load] identity name=neg_ph64 version=1.0.0 MATCH
|
||||
[poca] admission max_mem=262144 default_arena=262144 hard_max=524288 OK
|
||||
[poca] phdr loads=2 memsz=1900 pad=4120 budget=6020 manifest max_mem=262144
|
||||
I (527979) ELF: ELF loader version: 1.3.3
|
||||
E (527980) ELF: Invalid ELF image: magic/class/data/machine mismatch (class=2 data=1 machine=94)
|
||||
[poca-load] FAIL esp_elf_relocate err=-22
|
||||
[poca-load] entry_queries=29 (unchanged=yes)
|
||||
[poca-load] NEGATIVE neg_ph64 PASS (errno -22, expected -22)
|
||||
poca>
|
||||
--- poca> poca load neg_phmach
|
||||
poca load neg_phmach
|
||||
[poca-load] begin neg_phmach (entry_queries=29)
|
||||
[poca-load] psram free before=8385920
|
||||
[poca-load] mpb size=1988 sha256=dda290678c4f7c8cb51901cc3e2e406a15efe0bf207b96dbeb9103508edd9ebf
|
||||
[poca] mpb digest MATCH
|
||||
[poca] view name=neg_phmach version=1.0.0 epoch=1 key_id=e5677a1c abi=1.0 iram=0B max_mem=262144B payloads=1
|
||||
[poca] view payload[0] span offset=208 length=1708
|
||||
[poca-load] identity name=neg_phmach version=1.0.0 MATCH
|
||||
[poca] admission max_mem=262144 default_arena=262144 hard_max=524288 OK
|
||||
[poca] phdr loads=2 memsz=1900 pad=4120 budget=6020 manifest max_mem=262144
|
||||
I (529581) ELF: ELF loader version: 1.3.3
|
||||
E (529581) ELF: Invalid ELF image: magic/class/data/machine mismatch (class=1 data=1 machine=40)
|
||||
[poca-load] FAIL esp_elf_relocate err=-22
|
||||
[poca-load] entry_queries=29 (unchanged=yes)
|
||||
[poca-load] NEGATIVE neg_phmach PASS (errno -22, expected -22)
|
||||
poca>
|
||||
--- poca> poca load neg_phspan
|
||||
poca load neg_phspan
|
||||
[poca-load] begin neg_phspan (entry_queries=29)
|
||||
[poca-load] psram free before=8385920
|
||||
[poca-load] mpb size=1988 sha256=84b8c820513f798d5b3840b844e4f62c6478253aec05ec9bc279fdeab1cd38e5
|
||||
[poca] mpb digest MATCH
|
||||
[poca] view name=neg_phspan version=1.0.0 epoch=1 key_id=e5677a1c abi=1.0 iram=0B max_mem=262144B payloads=1
|
||||
[poca] view payload[0] span offset=208 length=1708
|
||||
[poca-load] identity name=neg_phspan version=1.0.0 MATCH
|
||||
[poca] admission max_mem=262144 default_arena=262144 hard_max=524288 OK
|
||||
[poca] phdr loads=2 memsz=15729860 pad=0 budget=15729860 manifest max_mem=262144
|
||||
[poca-load] NEGATIVE neg_phspan PASS (phdr admission rejected before load)
|
||||
[poca-load] entry_queries=29 (unchanged=yes)
|
||||
poca>
|
||||
--- poca> poca load cxx_ctor
|
||||
poca load cxx_ctor
|
||||
[poca-load] begin cxx_ctor (entry_queries=29)
|
||||
[poca-load] psram free before=8385920
|
||||
[poca-load] mpb size=3472 sha256=f42b201b2437b25a84ece2a5c60c9e7d67b7ad2ad537d7c1906d64d125049e36
|
||||
[poca] mpb digest MATCH
|
||||
[poca] view name=cxx_ctor version=1.0.0 epoch=1 key_id=e5677a1c abi=1.0 iram=0B max_mem=262144B payloads=1
|
||||
[poca] view payload[0] span offset=208 length=3192
|
||||
[poca-load] identity name=cxx_ctor version=1.0.0 MATCH
|
||||
[poca] admission max_mem=262144 default_arena=262144 hard_max=524288 OK
|
||||
[poca] phdr loads=2 memsz=1936 pad=4096 budget=6032 manifest max_mem=262144
|
||||
I (532783) ELF: ELF loader version: 1.3.3
|
||||
E (532784) ELF: Forbidden C++ feature section '.ctors' (appendix C 11.2); rejecting image before load
|
||||
[poca-load] FAIL esp_elf_relocate err=-22
|
||||
[poca-load] entry_queries=29 (unchanged=yes)
|
||||
[poca-load] NEGATIVE cxx_ctor PASS (errno -22, expected -22)
|
||||
poca>
|
||||
--- poca> poca load cxx_tls
|
||||
poca load cxx_tls
|
||||
[poca-load] begin cxx_tls (entry_queries=29)
|
||||
[poca-load] psram free before=8385920
|
||||
[poca-load] mpb size=3724 sha256=9ecfc63689709f9af00751f860926d6ecd92ab28cacd9d4ed237f48a934c2a4f
|
||||
[poca] mpb digest MATCH
|
||||
[poca] view name=cxx_tls version=1.0.0 epoch=1 key_id=e5677a1c abi=1.0 iram=0B max_mem=262144B payloads=1
|
||||
[poca] view payload[0] span offset=204 length=3448
|
||||
[poca-load] identity name=cxx_tls version=1.0.0 MATCH
|
||||
[poca] admission max_mem=262144 default_arena=262144 hard_max=524288 OK
|
||||
[poca] phdr loads=2 memsz=2088 pad=4096 budget=6184 manifest max_mem=262144
|
||||
I (534385) ELF: ELF loader version: 1.3.3
|
||||
E (534385) ELF: Forbidden C++ feature section '.tdata' (appendix C 11.2); rejecting image before load
|
||||
[poca-load] FAIL esp_elf_relocate err=-22
|
||||
[poca-load] entry_queries=29 (unchanged=yes)
|
||||
[poca-load] NEGATIVE cxx_tls PASS (errno -22, expected -22)
|
||||
poca>
|
||||
--- poca> poca load neg_tls_nosect
|
||||
poca load neg_tls_nosect
|
||||
[poca-load] begin neg_tls_nosect (entry_queries=29)
|
||||
[poca-load] psram free before=8385920
|
||||
[poca-load] mpb size=3732 sha256=63dff93d4555cc9382dd8059f5b53be97c8f4d53b19ead0a377d5c74b0551928
|
||||
[poca] mpb digest MATCH
|
||||
[poca] view name=neg_tls_nosect version=1.0.0 epoch=1 key_id=e5677a1c abi=1.0 iram=0B max_mem=262144B payloads=1
|
||||
[poca] view payload[0] span offset=212 length=3448
|
||||
[poca-load] identity name=neg_tls_nosect version=1.0.0 MATCH
|
||||
[poca] admission max_mem=262144 default_arena=262144 hard_max=524288 OK
|
||||
[poca] phdr loads=2 memsz=2088 pad=4096 budget=6184 manifest max_mem=262144
|
||||
I (535987) ELF: ELF loader version: 1.3.3
|
||||
I (535988) ELF: elf->entry=0x42061a50
|
||||
E (535988) elf_arch: info=51 is not supported
|
||||
E (535989) ELF: Failed to relocate type=51 offset=0x1f8 ret=-22
|
||||
[poca-load] FAIL esp_elf_relocate err=-22
|
||||
[poca-load] entry_queries=29 (unchanged=yes)
|
||||
[poca-load] NEGATIVE neg_tls_nosect PASS (errno -22, expected -22)
|
||||
poca>
|
||||
--- poca> poca status
|
||||
poca status
|
||||
elf_loader: vendored espressif 1.3.3 @6526c5b1 (esp-iot-solution)
|
||||
ELF_LOADER=y LOAD_PSRAM=y CACHE_OFFSET=y SET_MMU=n DLSO=n
|
||||
esp_elf_t state size: 116 bytes
|
||||
loader entries: esp_elf_init=0x42010744 esp_elf_relocate=0x42010784
|
||||
registered host imports: poca_host_sentinel poca_host_add
|
||||
entry queries so far: 29 (execution canary)
|
||||
iram cache syncs so far: 3 (p5 counter)
|
||||
heap internal size= 426207 free= 374915 largest= 286720 min_ever= 362879
|
||||
heap iram-exec size= 362144 free= 310852 largest= 286720 min_ever= 298816
|
||||
heap psram size= 8386280 free= 8385920 largest= 8257536 min_ever= 8379144
|
||||
poca>
|
||||
--- poca> poca load baseline
|
||||
poca load baseline
|
||||
[poca-load] begin baseline (entry_queries=29)
|
||||
[poca-load] psram free before=8385920
|
||||
[poca-load] mpb size=1988 sha256=e5b0a63199cd6ba7e8f54d3cf75a8121e037c5c9aa477a2d8082bfa6c4791f64
|
||||
[poca] mpb digest MATCH
|
||||
[poca] view name=baseline version=1.0.0 epoch=1 key_id=e5677a1c abi=1.0 iram=0B max_mem=262144B payloads=1
|
||||
[poca] view payload[0] span offset=208 length=1708
|
||||
[poca-load] identity name=baseline version=1.0.0 MATCH
|
||||
[poca] admission max_mem=262144 default_arena=262144 hard_max=524288 OK
|
||||
[poca] phdr loads=2 memsz=1900 pad=4120 budget=6020 manifest max_mem=262144
|
||||
I (539190) ELF: ELF loader version: 1.3.3
|
||||
I (539190) ELF: elf->entry=0x42061304
|
||||
[poca-load] entry sym frame_plugin_entry vaddr=0x00000234 mapped=0x3c061304 exec=0x42061304 delta=0x06000000
|
||||
[poca-load] query fn ptr=0x42061304
|
||||
[poca-load] table ptr=0x3c06137c struct_size=52 abi=1.2
|
||||
[poca-load] prepare()=0 OK
|
||||
[poca-load] text [0x3c061268 .. +0xd0) data [0x3c06133c .. +0x74) bss 0x404 rodata 0x40 drlro 0x34
|
||||
[poca-load] psram free after=8382532 consumed=3388
|
||||
[poca-load] PASS
|
||||
poca>
|
||||
--- poca> poca activate
|
||||
poca activate
|
||||
[poca-activate] baseline activate fn ptr=0x420612f0
|
||||
[poca-activate] returned=0x1501e22e expected=0x1501e22e
|
||||
[poca-activate] MAGIC MATCH
|
||||
[poca-activate] PASS
|
||||
poca>
|
||||
--- poca> poca unload
|
||||
poca unload
|
||||
[poca-unload] psram free after=8385920 (before-load=8385920 delta=+0)
|
||||
[poca-unload] PASS
|
||||
poca>
|
||||
|
||||
MATRIX PASS (positives=3, negatives=10, canary=29 unchanged across all negatives, canary_start=26)
|
||||
MATRIX3_EXIT=0
|
||||
poca status
|
||||
elf_loader: vendored espressif 1.3.3 @6526c5b1 (esp-iot-solution)
|
||||
ELF_LOADER=y LOAD_PSRAM=y CACHE_OFFSET=y SET_MMU=n DLSO=n
|
||||
esp_elf_t state size: 116 bytes
|
||||
loader entries: esp_elf_init=0x42010744 esp_elf_relocate=0x42010784
|
||||
registered host imports: poca_host_sentinel poca_host_add
|
||||
entry queries so far: 30 (execution canary)
|
||||
iram cache syncs so far: 3 (p5 counter)
|
||||
heap internal size= 426207 free= 374919 largest= 286720 min_ever= 362879
|
||||
heap iram-exec size= 362144 free= 310856 largest= 286720 min_ever= 298816
|
||||
heap psram size= 8386280 free= 8385920 largest= 8257536 min_ever= 8379144
|
||||
poca>
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user