interplane.Get Omega
Read in your language

omega-bridge

Omega-first language interoperability: checked conversion backends and native language bindings

Brought by drakestapleton

branch main Branches Tags History

omega-bridge / evidence / native-x86-aien-abi1 / v2-final.log

168 lines · 10365 bytes Raw Blame History
1COMMAND bwrap --dev-bind / / --dev /dev --proc /proc -- taskset -c 10-14 nice -n 10 sh tests/native/v2/run.sh /tmp/bh/x86-aien-v2-final
2INFO omc 734f0a39319fbfa930bcc62cb30dbf06d47d78e126372b74f5baf478e6126b61; OM-2 compiler ~/work/cudastack/lanes/omega-mv-bh-aien/seed/out/omc sha256 b8f8f1371bc0303f8da02db8b754e085d5dd852620c8d8d676c5769c233d9195
3PASS tools/native: madd (OM-1) + vec, lay, one, hoist (OM-2): library, six bindings, omega_api.h
4SPAN-COMPARE PASS (counts 1/2; five refusal controls, including other-byte mutation)
5PASS exact span comparison controls
6SPAN-COMPARE PASS normalized=1
7SPAN-COMPARE PASS normalized=1
8SPAN-COMPARE PASS normalized=1
9SPAN-COMPARE PASS normalized=1
10SPAN-COMPARE PASS normalized=1
11SPAN-COMPARE PASS normalized=1
12SPAN-COMPARE PASS normalized=1
13SPAN-COMPARE PASS normalized=1
14SPAN-COMPARE PASS normalized=1
15SPAN-COMPARE PASS normalized=1
16SPAN-COMPARE PASS normalized=1
17SPAN-COMPARE PASS normalized=9
18PASS ABI v1 historical bindings equal except counted C span zero-init (1 per unit; 9 in set; existing runtime/private normalization): 72 cases
19PASS identities: source sha256 (computed by native.om) == sha256sum, omc digest, profile; ident.txt has the OM-1 unit too
20PASS embedded code == compiler output, per OM-2 unit
21FAIL hoist writes 0 of x20..x26 and 3 of d8..d15: OMEGA_NATIVE_OMC2 does not hoist (omega-mv perf/omc-loop-checks)
22PASS no OM-2 unit's code names x18, x19 or x29
23PASS exported symbols: 17 omega2_ (13 exports, 4 idents) + omega_madd; no psum, no v1 name for a v2 unit
24PASS ABI v2 embedded code labels are private local text symbols
25PASS all ABI v1/v2 private runtime, code and entry symbols have local binding
26PASS no v2 caller declares an Omega function by hand
27PASS c caller (67 checks)
28PASS c-bti caller (67 checks)
29PASS cpp caller (16 checks)
30PASS python caller (18 checks)
31PASS rust caller (16 checks)
32PASS rust-2024 caller (16 checks)
33PASS zig caller (16 checks)
34PASS go caller (16 checks)
35PASS c refuses the v1 symbol at link time: undefined reference to `omega_bsum'
36PASS cpp refuses the v1 symbol at link time: undefined reference to `omega_bsum'
37PASS python refuses the v1 symbol at link time: undefined symbol: omega_bsum
38PASS rust refuses the v1 symbol at link time: undefined reference to `omega_bsum'
39PASS zig refuses the v1 symbol at link time: undefined symbol: omega_bsum
40PASS go refuses the v1 symbol at link time: undefined reference to `omega_bsum'
41PASS stale identity: C header from another vec.om is detected (two src digests)
42PASS stale identity control: the matching header passes
43PASS stale identity: the Python binding refuses to import
44PASS generator accepts the control OM-2 unit
45PASS generator refuses an OM-2 unit without its omega-unit line
46PASS generator refuses a short omc digest
47PASS generator refuses a non-hex omc digest
48PASS generator refuses a unit name that is not a C identifier
49PASS generator refuses a repeated unit name
50PASS generator refuses an export name repeated across units
51PASS generator refuses an om2 diag unit
52PASS generator refuses eight slots (four unsized views)
53PASS generator refuses an undeclared layout
54PASS generator refuses out buffers over 65536 bytes
55PASS generator refuses a uint scalar parameter
56PASS generator refuses a uint result
57PASS generator refuses a parameter name ending in _len
58PASS generator refuses two exports in a 4-byte code
59PASS generator refuses a c-type note naming no layout
60PASS mutant wrap caught (1 failing checks, e.g. #748 golden: vpart len 2^64-1, o 2^64-2, k 4 refused (32))
61PASS mutant overlap caught (9 failing checks, e.g. vcopy edit == view refused)
62PASS mutant outcopy caught (6 failing checks, e.g. digest: tag, a's bytes, zeros; result n)
63PASS trampoline (text pre) called directly: 2 checks (return, trap)
64PASS trampoline (text fp) called directly: 2 checks (return, trap)
65PASS trampoline mutant pre x19x20 caught (2 failing checks)
66PASS trampoline mutant pre x21x22 caught (2 failing checks)
67PASS trampoline mutant pre x23x24 caught (2 failing checks)
68PASS trampoline mutant pre x25x26 caught (2 failing checks)
69PASS trampoline mutant pre x27x28 caught (2 failing checks)
70PASS trampoline mutant pre d8d9 caught (2 failing checks)
71PASS trampoline mutant pre d10d11 caught (2 failing checks)
72PASS trampoline mutant pre d12d13 caught (2 failing checks)
73PASS trampoline mutant pre d14d15 caught (2 failing checks)
74PASS trampoline mutant pre x29 caught (2 failing checks)
75PASS trampoline mutant fp x19x20 caught (2 failing checks)
76PASS trampoline mutant fp x21x22 caught (2 failing checks)
77PASS trampoline mutant fp x23x24 caught (2 failing checks)
78PASS trampoline mutant fp x25x26 caught (2 failing checks)
79PASS trampoline mutant fp x27x28 caught (2 failing checks)
80PASS trampoline mutant fp d8d9 caught (2 failing checks)
81PASS trampoline mutant fp d10d11 caught (2 failing checks)
82PASS trampoline mutant fp d12d13 caught (2 failing checks)
83PASS trampoline mutant fp d14d15 caught (2 failing checks)
84PASS trampoline mutant fp x29 caught (2 failing checks)
85SPAN-COMPARE PASS normalized=14
86PASS historical v2-set outputs equal (only c: 14 counted span zero-inits; existing runtime/private normalization)
87PASS freestanding object from omega_api_decl.h: undefined symbols are only absorb bsum digest swap8 (no abort)
88PASS omega_api_defs.o defines the API (swap8 ...) and holds the abort reference
89PASS control: the same object from the inline omega_api.h references abort (what the freestanding gate refuses)
90PASS freestanding object + omega_api_defs.o + library: results correct
91PASS out-of-line wrapper aborts on a nonzero status (SIGABRT, exit 134)
92PASS mutant apih (definitions in the header) caught: implicit declaration of function ‘abort’
93PASS mutant api (inline wrappers lose static inline) caught by the byte-identity check
94PASS freestanding OM-2: 3 checks incl. copy-back mutant
95PASS tools/native nohost: exit 110 (tools/native: refused ~/work/cudastack/lanes/BridgeHostAienX86/tests/native/v2/host/hfile.om: outside the native call subset, or a name the binding cannot carry (docs/NATIVE-ABI.md); nothing installed)
96PASS tools/native hostfs: exit 110 (tools/native: --host is not freestanding; nothing installed)
97PASS tools/native hostx86fs: exit 110 (tools/native: --host is not freestanding; nothing installed)
98PASS tools/native hostok: exit 0
99PASS hfile identity names its host words: host=fclose,fopen,fstat,stat,getuid,geteuid,getgid,getegid,lstat
100PASS host-c caller (6 checks)
101PASS host-rust caller (6 checks)
102PASS tools/native hostset: exit 0
103PASS --host is inert for the v2 set (no host words): all nine generated files byte-identical
104PASS native-gen clean: exit 0 without host, 0 with host
105PASS native-gen clean1: exit 0 without host, 0 with host
106PASS native-gen paren: exit 110 without host, 0 with host, host=geteuid
107PASS native-gen tab: exit 110 without host, 0 with host, host=geteuid
108PASS native-gen cr: exit 110 without host, 0 with host, host=geteuid
109PASS native-gen note: exit 0 without host, 0 with host
110PASS native-gen pnote: exit 110 without host, 0 with host, host=geteuid
111PASS native-gen unlink: exit 110 without host, 110 with host
112PASS native-gen om1: exit 110 without host, 110 with host
113PASS native-gen near: exit 0 without host, 0 with host
114PASS native-gen freest: exit 0 without host, 110 with host
115PASS native-gen fapic: exit 0 without host, 110 with host
116PASS mutant hscan-off caught: paren case exits 0 without host (the check above wants 110)
117SINGLE-EDIT caller PASS length, empty, null-result and alias controls
118PASS v1: exact zero-init declarations=1
119SINGLE-EDIT caller PASS length, empty, null-result and alias controls
120PASS v2: exact zero-init declarations=1
121SINGLE-EDIT caller PASS length, empty, null-result and alias controls
122PASS v2-device: exact zero-init declarations=4
123SINGLE-EDIT caller PASS length, empty, null-result and alias controls
124PASS v2-context: exact zero-init declarations=4
125PASS single-edit warning mutant: GCC refuses sp[1].lo with maybe-uninitialized, rc=1
126SINGLE-EDIT PASS (v1, v2, device-default, device-context; four declaration counts; GCC warning mutant)
127PASS single-edit spans: four profiles, exact initialization counts and warning mutant
128NATIVE-DEVICE PASS pipe/ioctl C differential, memfd doorbell, stale/exhaustion, clocks
129NATIVE-AIEN-IOCTL PASS (five invalid-fd C differentials, exact short/long traps; driver NOT_RUN)
130PASS context capacity4098, exhaustion, reuse, cross-context and live-destroy controls
131PASS owned fixed bind, foreign/data-map refusal, failed-bind retirement and cleanup controls
132NATIVE-CONTEXT PASS capacity4098, owned fixed bind, retirement, context ownership and concurrent contexts
133NATIVE-CONTEXT-RO PASS default and explicit dispatch tables reject writes
134NATIVE-MULTI-UNIT PASS three Omega inputs, one library, shared default/explicit contexts and foreign-handle refusals
135PASS three-unit library no-host refusal110; no library installed
136PASS no-host negative control monons
137PASS no-host negative control realns
138PASS no-host negative control sleepns
139PASS no-host negative control devctl
140PASS no-host negative control mapnew
141PASS no-host negative control mapdrop
142PASS no-host negative control mapread
143PASS no-host negative control mapwrite
144PASS no-host negative control devcall
145PASS no-host negative control uvmctl
146PASS no-host negative control mapaddr
147PASS no-host negative control mapget
148PASS no-host negative control mapset
149PASS no-host negative control maphold
150PASS no-host negative control mapbind
151PASS incompatible mapping-compiler format refused
152PASS context-export namespace collision refused
153PASS entry31 killed rc=-6
154PASS context-generation killed rc=-6
155PASS live-destroy killed rc=-6
156PASS readonly-dispatch killed rc=-6
157PASS bind-ownership killed rc=-6
158PASS context-capacity killed rc=-6
159PASS handle-slot-bits killed rc=-6
160PASS failed-bind-retirement killed rc=-6
161NATIVE-CLEANUP PASS quarantine refuses bind/read/write, busy destroy, retry drop then destroy
162PASS quarantine-bind killed rc=-6
163PASS quarantine-read killed rc=-11
164PASS aien-length mutant killed at short-count assertion rc=42
165NATIVE-DEVICE-QUAL PASS (15 word controls, 2 ABI controls, 5 ioctl controls, 3-unit shared-context fixture, cleanup-failure control, 11 mutants; chip NOT_RUN)
166PASS device words: C differential, contexts, cleanup failure, 15 host controls, 2 ABI controls, 5 ioctl controls and 11 mutants
167NATIVE-V2 FAIL 1
168RC=1