Run the overnight bench test on the spare board, and document it
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.
This commit is contained in:
@@ -0,0 +1,97 @@
|
||||
====================================================================================================
|
||||
PHONE LOG databases\MicrOBU V2X log - v2x_log_20261123_152248_esp32.db
|
||||
hardware esp32_c5, phone Google Pixel 9 Pro, app 0.1.0, link ble
|
||||
20256 messages over 3350 s (first 15:22:48, last 16:18:38)
|
||||
by type: CAM 16334, DENM 90, MAPEM 1261, SPATEM 2571
|
||||
====================================================================================================
|
||||
NODE PCAP databases\its5_20261123_150746.pcap
|
||||
27367 records, 27366 unwrapped to a CAM/DENM/MAPEM/SPATEM/VAM payload, 1 not (beacons, other BTP ports, unsigned-but-not-GN, truncated)
|
||||
by type: CAM 17485, DENM 76, MAPEM 3277, SPATEM 6528
|
||||
signed 322, unsigned 27044, GeoBroadcast 9881, truncated 0
|
||||
====================================================================================================
|
||||
CLOCK ALIGNMENT: node clock + 1795443494.178 s = phone clock; spread 25 ms over 12887 shared CAMs; first quarter 1795443494.153 s, last quarter 1795443494.204 s (drift 51 ms)
|
||||
the node heard 21513 messages inside the phone's recording window (5853 outside it are ignored)
|
||||
====================================================================================================
|
||||
WHAT THE NODE HEARD vs WHAT THE PHONE LOGGED (one-to-one, +/-0.50 s, identical bytes)
|
||||
type bytes signed node phone missed share
|
||||
CAM 43 unsigned 8240 7873 367 95.5%
|
||||
CAM 26 unsigned 5218 5014 204 96.1%
|
||||
SPATEM 888 unsigned 3002 0 3002 0.0%
|
||||
SPATEM 58 unsigned 2091 2018 73 96.5%
|
||||
MAPEM 1198 unsigned 1536 0 1536 0.0%
|
||||
MAPEM 377 unsigned 1034 977 57 94.5%
|
||||
CAM 43 signed 316 0 316 0.0%
|
||||
DENM 329 unsigned 48 43 5 89.6%
|
||||
DENM 311 unsigned 17 16 1 94.1%
|
||||
DENM 303 unsigned 11 9 2 81.8%
|
||||
ALL 21513 15950 5563 74.1%
|
||||
per type: CAM 12887/13774 93.6%; DENM 68/76 89.5%; MAPEM 977/2570 38.0%; SPATEM 2018/5093 39.6%
|
||||
====================================================================================================
|
||||
PER SENDING STATION (ItsPduHeader.stationId)
|
||||
station type node phone share first..last heard by the node
|
||||
195936478 CAM 8240 7873 95.5% +1 s .. +3350 s
|
||||
1095348116 CAM 5218 5014 96.1% +1 s .. +3350 s
|
||||
1095348116 SPATEM 5093 2018 39.6% +1 s .. +3350 s
|
||||
1095348116 MAPEM 2570 977 38.0% +2 s .. +3350 s
|
||||
4011198281 CAM 316 0 0.0% +1 s .. +426 s
|
||||
2829209000 DENM 48 43 89.6% +1103 s .. +1160 s
|
||||
7798929 DENM 28 25 89.3% +153 s .. +975 s
|
||||
====================================================================================================
|
||||
WHEN THE MISSES HAPPEN
|
||||
miss runs in node order (all types): 3944 runs, longest 4; run length 1: 2390, 2: 1491, 3-4: 63, 5-9: 0, 10+: 0
|
||||
CAM 887 misses in 662 runs; longest run 5; single-message misses 501 (56 % of the misses)
|
||||
DENM 8 misses in 6 runs; longest run 2; single-message misses 4 (50 % of the misses)
|
||||
MAPEM 1593 misses in 55 runs; longest run 1537; single-message misses 52 (3 % of the misses)
|
||||
SPATEM 3075 misses in 62 runs; longest run 3002; single-message misses 52 (2 % of the misses)
|
||||
minute by minute (node messages / share the phone logged):
|
||||
0 s: 218 89.0% 30 s: 223 88.8% 60 s: 201 88.1% 90 s: 216 89.4%
|
||||
120 s: 201 89.1% 150 s: 239 74.1% 180 s: 202 80.7% 210 s: 229 53.7%
|
||||
240 s: 206 53.9% 270 s: 231 51.9% 300 s: 216 76.9% 330 s: 215 81.9%
|
||||
360 s: 221 82.4% 390 s: 205 87.3% 420 s: 204 92.6% 450 s: 179 96.6%
|
||||
480 s: 200 97.5% 510 s: 180 97.2% 540 s: 195 97.4% 570 s: 182 98.9%
|
||||
600 s: 193 98.4% 630 s: 188 98.4% 660 s: 186 97.8% 690 s: 193 99.0%
|
||||
720 s: 184 98.9% 750 s: 204 96.1% 780 s: 179 97.8% 810 s: 197 94.9%
|
||||
840 s: 186 98.4% 870 s: 193 97.4% 900 s: 180 98.3% 930 s: 201 99.0%
|
||||
960 s: 201 98.0% 990 s: 181 99.4% 1020 s: 195 99.0% 1050 s: 187 98.9%
|
||||
1080 s: 202 98.0% 1110 s: 209 98.1% 1140 s: 221 96.8% 1170 s: 187 96.8%
|
||||
1200 s: 209 96.7% 1230 s: 195 94.9% 1260 s: 192 80.7% 1290 s: 200 75.5%
|
||||
1320 s: 150 68.7% 1350 s: 202 45.5% 1380 s: 192 48.4% 1410 s: 204 59.8%
|
||||
1440 s: 168 60.7% 1470 s: 206 59.2% 1500 s: 188 61.2% 1530 s: 192 62.0%
|
||||
1560 s: 190 63.2% 1590 s: 192 63.5% 1620 s: 200 63.0% 1650 s: 183 66.1%
|
||||
1680 s: 200 65.5% 1710 s: 177 62.7% 1740 s: 191 61.8% 1770 s: 178 64.6%
|
||||
1800 s: 198 63.1% 1830 s: 188 63.3% 1860 s: 189 66.7% 1890 s: 199 62.3%
|
||||
1920 s: 171 64.9% 1950 s: 201 61.2% 1980 s: 177 63.3% 2010 s: 198 64.6%
|
||||
2040 s: 182 63.7% 2070 s: 200 64.5% 2100 s: 180 63.9% 2130 s: 199 67.3%
|
||||
2160 s: 192 64.1% 2190 s: 183 62.8% 2220 s: 193 65.3% 2250 s: 182 62.1%
|
||||
2280 s: 192 63.5% 2310 s: 178 62.4% 2340 s: 198 63.6% 2370 s: 179 63.7%
|
||||
2400 s: 194 61.9% 2430 s: 193 63.7% 2460 s: 181 64.6% 2490 s: 200 63.5%
|
||||
2520 s: 185 64.3% 2550 s: 202 63.4% 2580 s: 185 66.5% 2610 s: 202 63.4%
|
||||
2640 s: 178 62.4% 2670 s: 194 63.4% 2700 s: 184 65.2% 2730 s: 196 63.3%
|
||||
2760 s: 182 64.8% 2790 s: 77 100.0% 2820 s: 164 70.1% 2850 s: 179 62.6%
|
||||
2880 s: 198 62.6% 2910 s: 180 62.2% 2940 s: 198 64.1% 2970 s: 180 65.6%
|
||||
3000 s: 207 63.8% 3030 s: 185 63.2% 3060 s: 203 64.0% 3090 s: 195 64.6%
|
||||
3120 s: 182 62.6% 3150 s: 196 62.2% 3180 s: 176 61.9% 3210 s: 199 63.8%
|
||||
3240 s: 189 64.0% 3270 s: 199 62.3% 3300 s: 174 63.2% 3330 s: 138 63.0%
|
||||
====================================================================================================
|
||||
WHERE THE MISSES ARE LOST (from the phone's once-a-second link_status rows; the board's counters as the phone read them)
|
||||
over the run (ble link): board radio_received +15577, radio_dropped (its 16-frame queue overflowed) +0,
|
||||
link CRC errors 0, malformed 0, app received 20256 link frames, board TX submitted 398 / failed 0
|
||||
link state per second: connected 3189
|
||||
board restarts seen (uptime went backwards): 0
|
||||
the 5563 missed messages, by what the counters did in that second:
|
||||
5563 no counter moved (not heard by this board's radio, or lost on the BLE/USB hop)
|
||||
If the last row dominates, the loss is invisible to the phone-side counters: either the phone's board never heard the
|
||||
frame (different antenna than the node, a collision, the radio held out for a BLE connection event), or a V2X_RX
|
||||
notification/fragment was dropped on the way (the firmware counts that only in a LOG line the phone cannot see over BLE).
|
||||
note: 'radio_received' is not compared with the log; it counts frames the board's stack took, not every V2X_RX it forwarded.
|
||||
====================================================================================================
|
||||
LARGE MESSAGES (above 494 bytes: sent as link fragments since 2026-11-23) vs small MAPEM/SPATEM
|
||||
MAPEM+SPATEM > 494 B node 4538 phone 0 0.0%
|
||||
MAPEM+SPATEM <= 494 B node 3125 phone 2995 95.8%
|
||||
====================================================================================================
|
||||
ONLY THE PHONE HEARD (in the log, not in the pcap within +/-0.50 s)
|
||||
CAM 3447 of 16334 phone messages not in the node's capture (21.1%)
|
||||
DENM 22 of 90 phone messages not in the node's capture (24.4%)
|
||||
MAPEM 283 of 1261 phone messages not in the node's capture (22.4%)
|
||||
SPATEM 553 of 2571 phone messages not in the node's capture (21.5%)
|
||||
(a node-side miss is a different antenna, a collision, or a node that was busy; read it against the node's own loss)
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,63 @@
|
||||
====================================================================================================
|
||||
PHONE LOG databases\MicrOBU V2X log - v2x_log_20261123_171249_esp32.db
|
||||
hardware esp32_c5, phone Google Pixel 9 Pro, app 0.1.0, link ble
|
||||
3255 messages over 440 s (first 17:12:50, last 17:20:09)
|
||||
by type: CAM 2186, MAPEM 351, SPATEM 718
|
||||
====================================================================================================
|
||||
NODE PCAP databases\its5_20261123_170818.pcap
|
||||
3292 records, 3292 unwrapped to a CAM/DENM/MAPEM/SPATEM/VAM payload, 0 not (beacons, other BTP ports, unsigned-but-not-GN, truncated)
|
||||
by type: CAM 2077, MAPEM 392, SPATEM 794, VAM 29
|
||||
signed 38, unsigned 3254, GeoBroadcast 1186, truncated 0
|
||||
====================================================================================================
|
||||
CLOCK ALIGNMENT: node clock + 1795447789.240 s = phone clock; spread 15 ms over 1710 shared CAMs; first quarter 1795447789.238 s, last quarter 1795447789.242 s (drift 4 ms)
|
||||
the node heard 2773 messages inside the phone's recording window (519 outside it are ignored)
|
||||
====================================================================================================
|
||||
WHAT THE NODE HEARD vs WHAT THE PHONE LOGGED (one-to-one, +/-0.50 s, identical bytes)
|
||||
type bytes signed node phone missed share
|
||||
CAM 43 unsigned 1070 1069 1 99.9%
|
||||
CAM 26 unsigned 689 641 48 93.0%
|
||||
SPATEM 888 unsigned 680 559 121 82.2%
|
||||
MAPEM 1198 unsigned 334 261 73 78.1%
|
||||
ALL 2773 2530 243 91.2%
|
||||
per type: CAM 1710/1759 97.2%; MAPEM 261/334 78.1%; SPATEM 559/680 82.2%
|
||||
====================================================================================================
|
||||
PER SENDING STATION (ItsPduHeader.stationId)
|
||||
station type node phone share first..last heard by the node
|
||||
195936478 CAM 1070 1069 99.9% +0 s .. +440 s
|
||||
1095348116 CAM 689 641 93.0% +0 s .. +440 s
|
||||
1095348116 SPATEM 680 559 82.2% +0 s .. +439 s
|
||||
1095348116 MAPEM 334 261 78.1% +1 s .. +439 s
|
||||
====================================================================================================
|
||||
WHEN THE MISSES HAPPEN
|
||||
miss runs in node order (all types): 239 runs, longest 2; run length 1: 235, 2: 4, 3-4: 0, 5-9: 0, 10+: 0
|
||||
CAM 49 misses in 47 runs; longest run 2; single-message misses 45 (92 % of the misses)
|
||||
MAPEM 73 misses in 55 runs; longest run 5; single-message misses 45 (62 % of the misses)
|
||||
SPATEM 121 misses in 79 runs; longest run 4; single-message misses 52 (43 % of the misses)
|
||||
minute by minute (node messages / share the phone logged):
|
||||
0 s: 196 91.8% 30 s: 180 92.2% 60 s: 198 91.9% 90 s: 188 94.7%
|
||||
120 s: 198 90.9% 150 s: 197 92.9% 180 s: 194 93.3% 210 s: 190 93.7%
|
||||
240 s: 183 94.0% 270 s: 195 92.3% 300 s: 175 90.3% 330 s: 203 91.1%
|
||||
360 s: 173 91.3% 390 s: 192 81.2% 420 s: 111 83.8%
|
||||
====================================================================================================
|
||||
WHERE THE MISSES ARE LOST (from the phone's once-a-second link_status rows; the board's counters as the phone read them)
|
||||
over the run (ble link): board radio_received +1895, radio_dropped (its 16-frame queue overflowed) +0,
|
||||
link CRC errors 0, malformed 0, app received 3253 link frames, board TX submitted 0 / failed 0
|
||||
link state per second: connected 421
|
||||
board restarts seen (uptime went backwards): 0
|
||||
the 243 missed messages, by what the counters did in that second:
|
||||
243 no counter moved (not heard by this board's radio, or lost on the BLE/USB hop)
|
||||
If the last row dominates, the loss is invisible to the phone-side counters: either the phone's board never heard the
|
||||
frame (different antenna than the node, a collision, the radio held out for a BLE connection event), or a V2X_RX
|
||||
notification/fragment was dropped on the way (the firmware counts that only in a LOG line the phone cannot see over BLE).
|
||||
note: 'radio_received' is not compared with the log; it counts frames the board's stack took, not every V2X_RX it forwarded.
|
||||
====================================================================================================
|
||||
LARGE MESSAGES (above 494 bytes: sent as link fragments since 2026-11-23) vs small MAPEM/SPATEM
|
||||
MAPEM+SPATEM > 494 B node 1014 phone 820 80.9%
|
||||
MAPEM+SPATEM <= 494 B node 0 phone 0 -
|
||||
====================================================================================================
|
||||
ONLY THE PHONE HEARD (in the log, not in the pcap within +/-0.50 s)
|
||||
CAM 476 of 2186 phone messages not in the node's capture (21.8%)
|
||||
MAPEM 90 of 351 phone messages not in the node's capture (25.6%)
|
||||
SPATEM 159 of 718 phone messages not in the node's capture (22.1%)
|
||||
(a node-side miss is a different antenna, a collision, or a node that was busy; read it against the node's own loss)
|
||||
wrote obu-firmware\test\results\2026-11-23_1712_misses.csv
|
||||
@@ -0,0 +1,159 @@
|
||||
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)
|
||||
|
||||
@@ -0,0 +1,156 @@
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user