Track the bench scripts (run_overnight.py and its stages, the link and ITS client libraries, the phone-vs-node comparison) with the first reports. Changes for the spare XIAO (no cell): - run_overnight.py picks the single Espressif board by default and refuses to test a build that is not this checkout's HEAD. - The unsigned soak stops as "transmit path wedged" after 40 resource_limit refusals in a row and tries whether a repeated STATION_CONFIGURE clears it. - "Refused requests put nothing on the radio" counts only own transmissions; frames heard from other stations are copied by RAW_CAPTURE too. - start_overnight.ps1: optional build and flash, host C tests in the background, Windows kept awake. setup_workstation.ps1 checks and installs git, Python 3.11, pyserial, asn1tools, MSYS2 gcc and make, ESP-IDF 6.0.2. - obu-firmware/docs/overnight-bench-test.tex (and PDF) describe the test, the workstation set-up and the findings of the 2026-11-25 runs.
160 lines
12 KiB
Plaintext
160 lines
12 KiB
Plaintext
micrOBU bench run, 6.3 h
|
|
PASS 1278 FAIL 802 WARN 5 INFO 67 SKIP 0
|
|
|
|
== FAIL ==
|
|
conformance frames use the MAC the phone named (spec: MicrOBU 16-octet STATION_CONFIGURE) (x2) on air: ['66:f1:4c:b7:92:65']
|
|
soak-unsigned every frame uses the 802.11 source MAC the phone named in STATION_CONFIGURE (16-octet form) (x11) 2400 of 2400 frames differ, e.g. ['a2:68:56:aa:e7:40'] (wanted 02:b3:0a:ce:00:04)
|
|
reconfigure a frame sent right after a reconfigure leaves with the new MAC and security (x781) reply accepted, 1 frames, src 72:80:ec:aa:4b:62 want 02:b3:0a:ce:00:08
|
|
soak-unsigned requests accepted (queue not full, no refusal) (x4) 2383 refused: {'accepted': 17, 'resource_limit': 2383}
|
|
resets panic/error text on the console (x4) Guru Meditation Error: Core 0 panic'ed (Illegal instruction). Exception was unhandled.
|
|
|
|
== WARN ==
|
|
firmware the board does not run this checkout's firmware board 1c3a66e-dirty, checkout ce18a39: results describe the board's build, not the source here (flash it: obu-firmware/FLASHING.md)
|
|
soak-unsigned radio_failed stays 0 (x4) +2383
|
|
|
|
== INFO ==
|
|
firmware board runs version 1c3a66e-dirty, compiled Nov 10 2026 23:04:26, project microbu_firmware; checkout HEAD ce18a39
|
|
conformance battery reading with no cell (x2) battery_mv 0 (0 = not measured, no shutdown on it)
|
|
conformance an unfragmented link message over 512 octets (x2) reply: none (the spec says to fragment; link_service.cpp drops it before dispatch)
|
|
conformance POTI_UPDATE 8 s behind the station clock (x2) reply: time_regression
|
|
conformance 802.11 source of own unsecured frames (x2) 72:08:38:b1:d8:2f
|
|
conformance credentials on this board (configure with security on) (x2) credentials_loaded 1, tickets 1
|
|
conformance signed payload of 1398 octets (x2) CONFIRM accepted, transmitted NO, requests_refused +1, sign_failed +0
|
|
conformance signed payload of 1399 octets (x2) CONFIRM accepted, transmitted NO, requests_refused +1, sign_failed +0
|
|
conformance signed payload of 1400 octets (x2) CONFIRM accepted, transmitted NO, requests_refused +1, sign_failed +0
|
|
conformance GN address after naming MAC 02:b3:0a:ce:00:03 88:00:02:b3:0a:ce:00:03
|
|
conformance after the stage (x2) uptime 28976 ms, heap_free 75268, heap_min 55028, radio failed 0, resets seen 1
|
|
soak-unsigned host-side fragment accounting (x11) {'frag_complete': 1526}
|
|
soak-signed host-side fragment accounting (x11) {'frag_complete': 2596}
|
|
fuzz seed (x11) 333791341 (replay with --fuzz-seed 333791341)
|
|
idle-listen V2X_RX heard on the air while listening (x10) 0 messages in 300 s
|
|
conformance GN address after naming MAC 02:b3:0a:ce:06:1a 88:00:02:b3:0a:ce:06:1a
|
|
heap lowest free heap ever seen by the station (heap_min_free) 49736 octets
|
|
rx nothing was heard on the air during the run no other ITS station in range of this board, or the radio was never on
|
|
link host-side counters frag_complete 23441, frames_ok 366523
|
|
|
|
== PASS ==
|
|
conformance station answers STATUS_REQUEST after a reset (x2)
|
|
conformance STATUS detail is the 131-octet snapshot (spec: Status confirmation payload) (x2)
|
|
conformance a reset station is unconfigured (x2)
|
|
conformance uptime restarted at the reset (x2)
|
|
conformance STATUS uptime runs at real time (x2)
|
|
conformance opcode 0x00 is answered unknown_opcode (link_service.cpp default) (x2)
|
|
conformance opcode 0x40 is answered unknown_opcode (link_service.cpp default) (x2)
|
|
conformance opcode 0x7e is answered unknown_opcode (link_service.cpp default) (x2)
|
|
conformance opcode 0x80 is answered unknown_opcode (link_service.cpp default) (x2)
|
|
conformance opcode 0x85 is answered unknown_opcode (link_service.cpp default) (x2)
|
|
conformance opcode 0x90 is answered unknown_opcode (link_service.cpp default) (x2)
|
|
conformance opcode 0xff is answered unknown_opcode (link_service.cpp default) (x2)
|
|
conformance STATUS_REQUEST with a body is malformed (x2)
|
|
conformance STATION_CONFIGURE of 0 octets is malformed (spec: 6 or 16) (x2)
|
|
conformance STATION_CONFIGURE of 1 octets is malformed (spec: 6 or 16) (x2)
|
|
conformance STATION_CONFIGURE of 5 octets is malformed (spec: 6 or 16) (x2)
|
|
conformance STATION_CONFIGURE of 7 octets is malformed (spec: 6 or 16) (x2)
|
|
conformance STATION_CONFIGURE of 15 octets is malformed (spec: 6 or 16) (x2)
|
|
conformance STATION_CONFIGURE of 17 octets is malformed (spec: 6 or 16) (x2)
|
|
conformance STATION_CONFIGURE security=2 is malformed (x2)
|
|
conformance STATION_CONFIGURE beaconing=2 is malformed (x2)
|
|
conformance 16-octet STATION_CONFIGURE radio=3 is malformed (x2)
|
|
conformance POTI_UPDATE of 5 octets is malformed (x2)
|
|
conformance RAW_CAPTURE with a 2-octet body is malformed (x2)
|
|
conformance RAW_CAPTURE mode with a high nibble is invalid_argument (raw_capture_policy.hpp) (x2)
|
|
conformance RAW_CAPTURE on before STATION_CONFIGURE is not_configured (x2)
|
|
conformance BTP_DATA_REQUEST before STATION_CONFIGURE is not_configured (x2)
|
|
conformance BTP_DATA_REQUEST btp_type=2 is malformed (x2)
|
|
conformance BTP_DATA_REQUEST with 32 permission octets is malformed (x2)
|
|
conformance BTP_DATA_REQUEST with 3 stray trailing octets is malformed (x2)
|
|
conformance BTP_DATA_REQUEST cut short is malformed (x2)
|
|
conformance BTP_DATA_REQUEST with the optional generated_at_ms decodes (then not_configured) (x2)
|
|
conformance CONFIRM echoes sequence 65534 (counters wrap 65535 -> 0) (x2)
|
|
conformance CONFIRM echoes sequence 65535 (counters wrap 65535 -> 0) (x2)
|
|
conformance CONFIRM echoes sequence 0 (counters wrap 65535 -> 0) (x2)
|
|
conformance CONFIRM echoes sequence 1 (counters wrap 65535 -> 0) (x2)
|
|
conformance test request is exactly 1536 octets (the request maximum) (x2)
|
|
conformance 1536-octet request in fragments of 240 octets is joined and decoded (-> not_configured) (x2)
|
|
conformance 1536-octet request in fragments of 504 octets is joined and decoded (-> not_configured) (x2)
|
|
conformance fragmented request declaring 1537 octets is resource_limit (x2)
|
|
conformance a fragment that leaves a gap is dropped without a reply (x2)
|
|
conformance an unfinished request is discarded after the 2 s idle timeout (its late last fragment gets no reply) (x2)
|
|
conformance at most 8 incomplete requests are held (spec: pending maximum 8) (x2)
|
|
conformance a frame with a wrong CRC is counted in link_crc_errors and ignored (x2)
|
|
conformance a valid frame after 60 octets of noise is answered (resync) (x2)
|
|
conformance a valid frame after a doubled 0xAA is answered (x2)
|
|
conformance a valid frame after a header declaring 1537 payload octets is answered (resync) (x2)
|
|
conformance a valid frame after a header declaring 4000 payload octets is answered (resync) (x2)
|
|
conformance a valid frame after a header declaring 65535 payload octets is answered (resync) (x2)
|
|
conformance a frame cut short and padded out is dropped and the next valid frame is answered (x2)
|
|
conformance a frame of unknown type does not disturb the link (x2)
|
|
conformance STATION_CONFIGURE (6 octets, unsecured, 5 dBm) is accepted (x2)
|
|
conformance STATION_CONFIGURE detail is 18 octets (spec: gn_address, identifier, credentials_loaded, tickets) (x2)
|
|
conformance RAW_CAPTURE mode 0x05 (on + own TX) after configure is accepted (x2)
|
|
conformance BTP_DATA_REQUEST before the first POTI_UPDATE is rejected (no ITS time, no fix) (x2)
|
|
conformance POTI_UPDATE with latitude 91 degrees is invalid_argument (x2)
|
|
conformance an accepted POTI_UPDATE is silent (spec: errors return CONFIRM) (x2)
|
|
conformance an accepted POTI_UPDATE counts in poti_updates (x2)
|
|
conformance unsecured BTP_DATA_REQUEST of 24 octets is accepted (x2)
|
|
conformance unsecured BTP_DATA_REQUEST of 43 octets is accepted (x2)
|
|
conformance unsecured BTP_DATA_REQUEST of 300 octets is accepted (x2)
|
|
conformance every accepted request leaves the radio, byte for byte (own-TX RAW_FRAME copy, unwrapped independently) (x2)
|
|
conformance unsecured frames carry no security envelope (x2)
|
|
conformance transport type 2 (TSB) unsecured is unsupported (station_unsecured: geonet.c builds SHB only) (x2)
|
|
conformance btp_type 2 is malformed (x2)
|
|
conformance refused requests put nothing on the radio (x2)
|
|
conformance signed BTP_DATA_REQUEST is accepted (x2)
|
|
conformance the signed request leaves the radio inside a signed envelope (IEEE 1609.2 signedData) (x2)
|
|
conformance signed frames use the MAC the phone named (x2)
|
|
conformance a signed request generated 5 s ago is rejected as stale (tx_policy::is_stale) (x2)
|
|
conformance a stale request is never transmitted (x2)
|
|
conformance 16-octet STATION_CONFIGURE naming a MAC is accepted (x2)
|
|
conformance the station did not reset during the stage (x2)
|
|
soak-unsigned RAW_CAPTURE own-TX capture accepted (x11)
|
|
soak-unsigned every request got a CONFIRM (x11)
|
|
soak-unsigned requests accepted (queue not full, no refusal) (x7)
|
|
soak-unsigned the station did not reset during the phase (x11)
|
|
soak-unsigned STATUS requests_accepted counts the accepted requests (x11)
|
|
soak-unsigned radio_failed stays 0 (x7)
|
|
soak-unsigned link_crc_errors stays 0 (host sends valid frames only) (x11)
|
|
soak-unsigned no captured own-TX frame was corrupted (x11)
|
|
soak-unsigned no request was transmitted twice (x11)
|
|
soak-unsigned accepted requests seen leaving the radio (own-TX RAW_FRAME copy) (x11)
|
|
soak-signed RAW_CAPTURE own-TX capture accepted (x11)
|
|
soak-signed every request got a CONFIRM (x11)
|
|
soak-signed requests accepted (queue not full, no refusal) (x11)
|
|
soak-signed the station did not reset during the phase (x11)
|
|
soak-signed STATUS requests_accepted counts the accepted requests (x11)
|
|
soak-signed radio_failed stays 0 (x11)
|
|
soak-signed link_crc_errors stays 0 (host sends valid frames only) (x11)
|
|
soak-signed sign_failed stays 0 (x11)
|
|
soak-signed every frame uses the 802.11 source MAC the phone named in STATION_CONFIGURE (16-octet form) (x11)
|
|
soak-signed no captured own-TX frame was corrupted (x11)
|
|
soak-signed no request was transmitted twice (x11)
|
|
soak-signed accepted requests seen leaving the radio (own-TX RAW_FRAME copy) (x11)
|
|
raw-toggle RAW_CAPTURE 0x00 accepted (x22)
|
|
raw-toggle mode 0x00 copies none of the station's own frames (x22)
|
|
raw-toggle RAW_CAPTURE 0x05 accepted (x22)
|
|
raw-toggle mode 0x05 copies the station's own frames (x22)
|
|
raw-toggle RAW_CAPTURE 0x01 accepted (x11)
|
|
raw-toggle mode 0x01 copies none of the station's own frames (x11)
|
|
raw-toggle RAW_CAPTURE 0x07 accepted (x11)
|
|
raw-toggle mode 0x07 copies the station's own frames (x11)
|
|
raw-toggle RAW_CAPTURE 0x03 accepted (x11)
|
|
raw-toggle mode 0x03 copies none of the station's own frames (x11)
|
|
reconfigure a frame sent right after a reconfigure leaves with the new MAC and security (x396)
|
|
reconfigure every STATION_CONFIGURE was accepted (x11)
|
|
reconfigure the station did not reset while being reconfigured (x11)
|
|
fuzz station answers before the fuzz run (x11)
|
|
fuzz fuzz starts unconfigured (nothing can reach the radio) (x11)
|
|
fuzz fuzz run (x11)
|
|
fuzz heap after fuzz is within 8 KB of the start (x11)
|
|
resets board answers after a reset (x50)
|
|
resets board comes back unconfigured (x50)
|
|
resets the reset was a fresh boot (uptime small) (x50)
|
|
resets ROM boot banner seen on reopen (x50)
|
|
resets first frame after a reset is transmitted (x50)
|
|
idle-listen STATUS answered once a second throughout (x10)
|
|
idle-listen the station did not reset while idle (x10)
|
|
idle-listen receive queue never overflowed (radio_dropped) (x10)
|
|
heap heap_min_free stays above 16 KB
|
|
heap resets: free heap trend over 5 readings (no reset in between)
|
|
|