interplane.Get Omega
Read in your language

omega-mv

Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.

Brought by drakestapleton

branch main Branches Tags History

omega-mv / evidence / CAND3-LIVING-f816473-G7b / R16-G7 / raw / 20261006T140516Z-97ee27584cda / rx_emergency.log

111 lines · 6265 bytes Raw Blame History
1./build/rx_emergency_test
2[+] E1 setup: a control capability revoked by the office
3[+] E1 stop refused: no credential (rc -27, want -27)
4[+] E1 stop refused: forged credential (rc -27, want -27)
5[+] E1 stop refused: enrolled intruder presenting the operator's capability (rc -4, want -4)
6[+] E1 stop refused: operator with the wrong right on the control resource (rc -4, want -4)
7[+] E1 stop refused: operator with the halt right on another resource (rc -4, want -4)
8[+] E1 stop refused: operator with a revoked control capability (rc -4, want -4)
9[+] E1 stop refused: a reaction's subject with a valid control capability (rc -4, want -4)
10[+] E1 the world is still running after every refused stop
11[+] E1 refused stops changed neither the world digest nor the crumb log
12[+] E1 a forged resume is refused before 'not stopped' is told
13[+] E1 an authorized resume of a running world answers RX_HALT_NOT_STOPPED
14[+] E1 the not-stopped resume left no crumb
15[+] E1 control: the world still publishes and reacts (R2 wrote 4*10)
16[+] E3 setup: publish E.f0 = 41 (wakes R)
17[+] E3 setup: R is computing, held in its function
18[+] E3 setup: publish E.f1 = 5 (wakes R2, queued: one worker)
19[+] E2 an authorized stop takes effect (seq 1, operator, reason 77)
20[+] E2 OPERATOR_STOP crumb names the control capability and the reason
21[+] E2 no halt directory: durable = 0 (said, not hidden)
22[+] E2 the stop added exactly one crumb
23[+] E2 a second stop (another operator) answers RX_HALT_ALREADY, no crumb
24[+] E2 the second stop changed nothing
25[+] E2 outside publication refused: RX_ERR_HALTED
26[+] E2 the refused publication changed nothing
27[+] E3 the activation computed under the stop ended CANCELLED, RX_ERR_HALTED
28[+] E3 nothing it computed was published (O unchanged, no COMMIT)
29[+] E3 R2's queued wake was not taken while stopped (50 ms)
30[+] E3 refused count = 2 (one publication, one activation)
31[+] E2 another authorized operator resumes
32[+] E2 OPERATOR_RESUME crumb: parent = the stop, cap = the resumer's
33[+] E3 on resume the cancelled activation and the queued wake both ran
34[+] E3 their results: O = 41+1, Q = 5*10
35[+] E3 each committed exactly once
36[+] E4 race: 13275 publications ok, 734309 refused HALTED, 0 other; 386 stops, 386 resumes
37[+] E4 the crumb log did not overflow (every event is in it)
38[+] E4 no EXTERNAL or COMMIT crumb between a STOP and its RESUME
39[+] E4 STOP and RESUME strictly alternate
40[+] E4 one STOP crumb per accepted stop, one RESUME per accepted resume
41[+] E4 every stop/resume answer was OK, ALREADY or NOT_STOPPED
42[+] E4 the crumb chain verifies
43[+] E5 setup: second world
44[+] E5 setup: world with operator, proposer, promoter; bound generation store
45[+] E5 stop during the live barrier: stop rc 0, promote rc -51 (want -51)
46[+] E5 active generation unchanged, in memory and on disk
47[+] E5 a proposal under the stop is refused: RX_GEN_ERR_HALTED
48[+] E5 operator resumes
49[+] E5 stop during the disk writes: stop rc 0, promote rc -51 (want -51)
50[+] E5 active generation unchanged, in memory and on disk
51[+] E5 a proposal under the stop is refused: RX_GEN_ERR_HALTED
52[+] E5 operator resumes
53[+] E5 control: after resume the same promoter promotes
54[+] E6 setup: halt directory
55[+] E6 setup: world
56[+] E6 no mark: set_halt_dir answers 0, world runs
57[+] E6 the stop wrote its mark durably (durable = 1)
58[+] E6 the mark names the operator, the capability and the reason, and is sealed
59[+] E6 restart: new world
60[+] E6 the new world starts stopped, restored from the mark (seq, operator, reason)
61[+] E6 the restored stop refuses publication
62[+] E6 setup: directory with a damaged mark
63[+] E6 torn: new world
64[+] E6 a mark with one byte changed still stops the world (RX_ERR_TORN)
65[+] E6 an authorized resume lifts the torn stop and retires its mark
66[+] E6 the torn record is kept, not deleted
67[+] E6 the kept record starts with the damaged bytes, unchanged
68[+] E6 unbound store opened over the halt directory
69[+] E6 unbound store: promotion refused by the mark
70[+] E6 world restored stopped
71[+] E6 setup: halt directory made read-only
72[+] E6 a resume that cannot retire the mark is refused: world stays stopped, mark stays
73[+] E6 setup: halt directory writable again
74[+] E6 resume: world runs, mark removed
75[+] E6 exactly one kept stop record
76[+] E6 kept record = the stop's bytes + who resumed, sealed
77[+] E6 control: with the mark gone the store promotes
78[+] E7 setup: world with R3 (woken by R's commit)
79[+] E7 setup: publish E.f0 = 6 (R runs, its commit wakes R3)
80[+] E7 setup: R3 is computing, held in its function
81[+] E7 operator stop while R3 computes
82[+] E7 the refused activation did not spend R3's episode budget (not quarantined)
83[+] E7 object create under the stop: RX_ERR_HALTED, no object
84[+] E7 object retire under the stop: RX_ERR_HALTED
85[+] E7 refused create/retire changed nothing (digest, crumbs, Q still live)
86[+] E7 operator resume
87[+] E7 R3 ran again after resume and committed
88[+] E7 its result: Q.f1 = (6+1)*100
89[+] E7 setup: halt directory
90[+] E7 setup: OPERATOR_HALT is a dangling symlink
91[+] E7 link: new world
92[+] E7 a symlink mark stops the world (RX_ERR_TORN)
93[+] E7 resume lifts it
94[+] E7 the link is removed and a resumed record kept
95RX_EMERGENCY_STOP: PASS (0 failures; host CPU, real caproot authority)
96CC="cc" bash tests/runtime/rx_emergency_mutants.sh
97ok unmutated: PASS
98ok M1 run_one publishes under a stop: killed (4 checks failed)
99ok M2 workers take work under a stop: killed (1 checks failed)
100ok M3 outside publication under a stop: killed (7 checks failed)
101ok M4 caller check ignores the stop: killed (6 checks failed)
102ok M5 a reaction subject may stop the world: killed (7 checks failed)
103ok M6 store ignores the durable mark: killed (2 checks failed)
104ok M7 a restarted world ignores the mark: killed (14 checks failed)
105ok M8 resume deletes the mark without keeping the record: killed (5 checks failed)
106ok M9 the stop is not in force until the disk write returns: killed (28 checks failed)
107ok M10 a refused activation spends the episode budget: killed (3 checks failed)
108ok M11 object create under a stop: killed (2 checks failed)
109ok M12 object retire under a stop: killed (4 checks failed)
110ok M13 a symlink mark reads as absent: killed (3 checks failed)
111RX_EMERGENCY_MUTANTS: PASS