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.
157 lines
11 KiB
Plaintext
157 lines
11 KiB
Plaintext
micrOBU bench run, 0.1 h
|
|
PASS 217 FAIL 0 WARN 1 INFO 29 SKIP 1
|
|
|
|
== WARN ==
|
|
link frames from the board with a bad CRC 1 (USB corruption or a board-side write cut short)
|
|
|
|
== INFO ==
|
|
firmware board runs version ce18a39-dirty, compiled Nov 25 2026 14:23:51, project microbu_firmware; checkout HEAD ce18a39
|
|
conformance battery reading with no cell (x2) battery_mv 4007 (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) 02:7f:88:bf:4e:cd
|
|
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 29333 ms, heap_free 75268, heap_min 55028, radio failed 0, resets seen 1
|
|
soak-unsigned host-side fragment accounting {'frag_complete': 49}
|
|
soak-signed host-side fragment accounting {'frag_complete': 83}
|
|
fuzz seed 1599518015 (replay with --fuzz-seed 1599518015)
|
|
idle-listen V2X_RX heard on the air while listening 61 messages in 20 s
|
|
idle-listen V2X_RX by type/signed/size so far CAM <=64 x410
|
|
conformance GN address after naming MAC 02:b3:0a:ce:00:1b 88:00:02:b3:0a:ce:00:1b
|
|
heap lowest free heap ever seen by the station (heap_min_free) 49128 octets
|
|
rx everything the radio heard on the air during the run (V2X_RX) CAM <=64 x410
|
|
link host-side counters frag_complete 103, frames_bad_crc 1, frames_ok 4392
|
|
|
|
== SKIP ==
|
|
idle-listen large V2X_RX (above 494 B) reassembled intact by the host 0; fragments completed 103, errors 0
|
|
|
|
== 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 frames use the MAC the phone named (spec: MicrOBU 16-octet STATION_CONFIGURE) (x2)
|
|
conformance the station did not reset during the stage (x2)
|
|
soak-unsigned RAW_CAPTURE own-TX capture accepted
|
|
soak-unsigned every request got a CONFIRM
|
|
soak-unsigned requests accepted (queue not full, no refusal)
|
|
soak-unsigned the station did not reset during the phase
|
|
soak-unsigned STATUS requests_accepted counts the accepted requests
|
|
soak-unsigned radio_failed stays 0
|
|
soak-unsigned link_crc_errors stays 0 (host sends valid frames only)
|
|
soak-unsigned every frame uses the 802.11 source MAC the phone named in STATION_CONFIGURE (16-octet form)
|
|
soak-unsigned no captured own-TX frame was corrupted
|
|
soak-unsigned no request was transmitted twice
|
|
soak-unsigned accepted requests seen leaving the radio (own-TX RAW_FRAME copy)
|
|
soak-signed RAW_CAPTURE own-TX capture accepted
|
|
soak-signed every request got a CONFIRM
|
|
soak-signed requests accepted (queue not full, no refusal)
|
|
soak-signed the station did not reset during the phase
|
|
soak-signed STATUS requests_accepted counts the accepted requests
|
|
soak-signed radio_failed stays 0
|
|
soak-signed link_crc_errors stays 0 (host sends valid frames only)
|
|
soak-signed sign_failed stays 0
|
|
soak-signed every frame uses the 802.11 source MAC the phone named in STATION_CONFIGURE (16-octet form)
|
|
soak-signed no captured own-TX frame was corrupted
|
|
soak-signed no request was transmitted twice
|
|
soak-signed accepted requests seen leaving the radio (own-TX RAW_FRAME copy)
|
|
raw-toggle RAW_CAPTURE 0x00 accepted (x2)
|
|
raw-toggle mode 0x00 copies none of the station's own frames (x2)
|
|
raw-toggle RAW_CAPTURE 0x05 accepted (x2)
|
|
raw-toggle mode 0x05 copies the station's own frames (x2)
|
|
raw-toggle RAW_CAPTURE 0x01 accepted
|
|
raw-toggle mode 0x01 copies none of the station's own frames
|
|
raw-toggle RAW_CAPTURE 0x07 accepted
|
|
raw-toggle mode 0x07 copies the station's own frames
|
|
raw-toggle RAW_CAPTURE 0x03 accepted
|
|
raw-toggle mode 0x03 copies none of the station's own frames
|
|
reconfigure a frame sent right after a reconfigure leaves with the new MAC and security (x12)
|
|
reconfigure every STATION_CONFIGURE was accepted
|
|
reconfigure the station did not reset while being reconfigured
|
|
fuzz station answers before the fuzz run
|
|
fuzz fuzz starts unconfigured (nothing can reach the radio)
|
|
fuzz fuzz run
|
|
fuzz heap after fuzz is within 8 KB of the start
|
|
resets board answers after a reset (x2)
|
|
resets board comes back unconfigured (x2)
|
|
resets the reset was a fresh boot (uptime small) (x2)
|
|
resets ROM boot banner seen on reopen (x2)
|
|
resets first frame after a reset is transmitted (x2)
|
|
idle-listen STATUS answered once a second throughout
|
|
idle-listen the station did not reset while idle
|
|
idle-listen receive queue never overflowed (radio_dropped)
|
|
heap heap_min_free stays above 16 KB
|
|
|