interplane.Get Omega
Read in your language

synapse

A component of the AienOS ecosystem.

Brought by drakestapleton

branch main Branches Tags History

synapse / evidence / g3-shm-ring / red-green / red.txt

77 lines · 7410 bytes Raw Blame History
1# Red (2026-10-16, rev 864aeca code with ring.rs stubbed): every g3_ring test run alone
2# Stub 1 (red1): try_recv trusts the peer: no index, length, torn or sequence checks (diff: red1-stub.diff).
3# The transport refusal test hangs under stub 1 (the reader waits forever on a frame that never validates; killed, exit 143), so it is skipped in this listing.
4test attach_refuses_an_unsealed_wrong_size_or_mismatched_region ... ok
5test attached_peer_cannot_shrink_or_grow_the_sealed_region ... ok
6test cross_process_ring_delivers_every_record_once_in_order ... ok
7test honest_indices_wrap_past_u64_max_and_the_ring_end_without_loss ... ok
8test hostile_reader_tail_is_refused_by_the_sender ... ok
9test hostile_writer_bad_lengths_cannot_make_the_reader_panic_or_read_outside_the_ring ... FAILED (exit 101)
10 thread 'hostile_writer_bad_lengths_cannot_make_the_reader_panic_or_read_outside_the_ring' (1092894) panicked at crates/synapse-wire/tests/g3_ring.rs:132:27:
11 hostile length accepted: Record
12test hostile_writer_cannot_make_the_reader_accept_a_record_twice ... FAILED (exit 101)
13 thread 'hostile_writer_cannot_make_the_reader_accept_a_record_twice' (1092906) panicked at crates/synapse-wire/tests/g3_ring.rs:344:73:
14 called `Result::unwrap_err()` on an `Ok` value: Record
15test hostile_writer_index_wrap_cannot_make_the_reader_panic_or_read_outside_the_ring ... FAILED (exit 101)
16 thread 'hostile_writer_index_wrap_cannot_make_the_reader_panic_or_read_outside_the_ring' (1092920) panicked at crates/synapse-wire/tests/g3_ring.rs:167:14:
17 hostile head accepted: Record
18test hostile_writer_random_pokes_never_panic_and_never_deliver_a_record_twice ... FAILED (exit 101)
19 thread 'hostile_writer_random_pokes_never_panic_and_never_deliver_a_record_twice' (1092935) panicked at /rustc/48a229ceaefd4985c50990b14116b6d856af0985/library/alloc/src/raw_vec/mod.rs:28:5:
20 capacity overflow
21 thread 'hostile_writer_random_pokes_never_panic_and_never_deliver_a_record_twice' (1092935) panicked at crates/synapse-wire/tests/g3_ring.rs:90:19:
22 reader panicked on hostile input: seed 0 step 39
23test hostile_writer_torn_frames_are_refused_and_payloads_are_copied_out_before_validation ... FAILED (exit 101)
24 thread 'hostile_writer_torn_frames_are_refused_and_payloads_are_copied_out_before_validation' (1092948) panicked at crates/synapse-wire/tests/g3_ring.rs:217:73:
25 called `Result::unwrap_err()` on an `Ok` value: Record
26test model_test_no_frame_is_lost_or_duplicated ... ok
27test model_test_two_threads_two_mappings_no_record_lost_or_duplicated ... ok
28test negative_control_trusting_reader_panics_or_accepts_twice_on_the_same_inputs ... ok
29test ring_refusal_reaches_the_frame_transport_as_wire_ring_violation ... SKIPPED in this run (hangs under this stub: see note)
30test ring_stream_carries_the_g1_session_and_acknowledges_durable_changes ... ok
31
32# Stub 2 (red2): ring offsets not masked to the capacity (diff: red2-stub.diff).
33test attach_refuses_an_unsealed_wrong_size_or_mismatched_region ... ok
34test attached_peer_cannot_shrink_or_grow_the_sealed_region ... ok
35test cross_process_ring_delivers_every_record_once_in_order ... FAILED (exit 101)
36 thread 'cross_process_ring_delivers_every_record_once_in_order' (1010975) panicked at crates/synapse-wire/tests/g3_ring.rs:731:5:
37 assertion failed: child.wait().unwrap().success()
38test honest_indices_wrap_past_u64_max_and_the_ring_end_without_loss ... FAILED (exit 101)
39 thread 'honest_indices_wrap_past_u64_max_and_the_ring_end_without_loss' (1010991) panicked at crates/synapse-wire/src/ring.rs:423:10:
40 index out of bounds: the len is 96 but the index is 96
41test hostile_reader_tail_is_refused_by_the_sender ... FAILED (exit 101)
42 thread 'hostile_reader_tail_is_refused_by_the_sender' (1011005) panicked at crates/synapse-wire/src/ring.rs:423:10:
43 index out of bounds: the len is 128 but the index is 2305843009213693983
44test hostile_writer_bad_lengths_cannot_make_the_reader_panic_or_read_outside_the_ring ... FAILED (exit 101)
45 thread 'hostile_writer_bad_lengths_cannot_make_the_reader_panic_or_read_outside_the_ring' (1011017) panicked at crates/synapse-wire/src/ring.rs:423:10:
46 index out of bounds: the len is 128 but the index is 2305843009213693983
47 thread 'hostile_writer_bad_lengths_cannot_make_the_reader_panic_or_read_outside_the_ring' (1011017) panicked at crates/synapse-wire/tests/g3_ring.rs:90:19:
48 reader panicked on hostile input: len 121 published 256
49test hostile_writer_cannot_make_the_reader_accept_a_record_twice ... FAILED (exit 101)
50 thread 'hostile_writer_cannot_make_the_reader_accept_a_record_twice' (1011026) panicked at crates/synapse-wire/src/ring.rs:423:10:
51 index out of bounds: the len is 128 but the index is 2305843009213693983
52test hostile_writer_index_wrap_cannot_make_the_reader_panic_or_read_outside_the_ring ... FAILED (exit 101)
53 thread 'hostile_writer_index_wrap_cannot_make_the_reader_panic_or_read_outside_the_ring' (1011034) panicked at crates/synapse-wire/src/ring.rs:423:10:
54 index out of bounds: the len is 128 but the index is 2305843009213693983
55test hostile_writer_random_pokes_never_panic_and_never_deliver_a_record_twice ... FAILED (exit 101)
56 thread 'hostile_writer_random_pokes_never_panic_and_never_deliver_a_record_twice' (1011042) panicked at crates/synapse-wire/src/ring.rs:423:10:
57 index out of bounds: the len is 128 but the index is 2305843009213693983
58test hostile_writer_torn_frames_are_refused_and_payloads_are_copied_out_before_validation ... FAILED (exit 101)
59 thread 'hostile_writer_torn_frames_are_refused_and_payloads_are_copied_out_before_validation' (1011050) panicked at crates/synapse-wire/src/ring.rs:423:10:
60 index out of bounds: the len is 128 but the index is 2305843009213693983
61 thread 'hostile_writer_torn_frames_are_refused_and_payloads_are_copied_out_before_validation' (1011050) panicked at crates/synapse-wire/tests/g3_ring.rs:90:19:
62 reader panicked on hostile input: torn record
63test model_test_no_frame_is_lost_or_duplicated ... FAILED (exit 101)
64 thread 'model_test_no_frame_is_lost_or_duplicated' (1011058) panicked at crates/synapse-wire/src/ring.rs:423:10:
65 index out of bounds: the len is 80 but the index is 80
66test model_test_two_threads_two_mappings_no_record_lost_or_duplicated ... FAILED (exit 101)
67 thread '<unnamed>' (1011067) panicked at crates/synapse-wire/src/ring.rs:423:10:
68 index out of bounds: the len is 1088 but the index is 2305843009213693856
69 thread 'model_test_two_threads_two_mappings_no_record_lost_or_duplicated' (1011066) panicked at crates/synapse-wire/tests/g3_ring.rs:649:19:
70 called `Result::unwrap()` on an `Err` value: Any { .. }
71test negative_control_trusting_reader_panics_or_accepts_twice_on_the_same_inputs ... FAILED (exit 101)
72 thread 'negative_control_trusting_reader_panics_or_accepts_twice_on_the_same_inputs' (1011075) panicked at crates/synapse-wire/tests/g3_ring.rs:508:24:
73 index out of bounds: the len is 128 but the index is 128
74 thread 'negative_control_trusting_reader_panics_or_accepts_twice_on_the_same_inputs' (1011075) panicked at crates/synapse-wire/src/ring.rs:423:10:
75 index out of bounds: the len is 128 but the index is 2305843009213693983
76test ring_refusal_reaches_the_frame_transport_as_wire_ring_violation ... ok
77test ring_stream_carries_the_g1_session_and_acknowledges_durable_changes ... ok