interplane.Get Omega
Read in your language

CUDApp

CUDA++: AIEN’s GPU machine-code toolchain, runtime and driver client for NVIDIA GPUs without the CUDA toolkit. Hardware coverage and driver replacement limits are explicit.

Brought by drakestapleton

branch main Branches Tags History

CUDApp / evidence / uxl-brief-20261113 / archive / level2-rebuild / TRANSCRIPT.txt

653 lines · 29498 bytes Raw Blame History
1
2################ env.txt ################
3## date
42026-11-13T18:47:12Z
5## uname -a
6Linux spark-b87b 7.0.0-1019-nvidia #19~24.04.2-Ubuntu SMP PREEMPT_DYNAMIC Sun Sep 6 18:35:11 UTC 2 aarch64 aarch64 aarch64 GNU/Linux
7## os-release
8PRETTY_NAME="Ubuntu 24.04.5 LTS"
9VERSION_ID="24.04"
10## getconf PAGESIZE
114096
12## glibc
13ldd (Ubuntu GLIBC 2.39-0ubuntu8.9) 2.39
14## nproc
1520
16## clean-env tool lookup (PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin)
17git -> /usr/bin/git
18python3 -> /usr/bin/python3
19cc -> /usr/bin/cc
20gcc -> /usr/bin/gcc
21clang -> MISSING
22qemu-x86_64 -> /usr/bin/qemu-x86_64
23qemu-x86_64-static -> MISSING
24sha256sum -> /usr/bin/sha256sum
25realpath -> /usr/bin/realpath
26strace -> /usr/bin/strace
27readelf -> /usr/bin/readelf
28objdump -> /usr/bin/objdump
29## versions
30git version 2.43.0
31Python 3.12.3
32cc (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0
33qemu-x86_64 version 8.2.2 (Debian 1:8.2.2+ds-0ubuntu1.18)
34## readlink cc
35/usr/bin/aarch64-linux-gnu-gcc-13
36## dpkg owners
37qemu-user: /usr/bin/qemu-x86_64
38gcc-13-aarch64-linux-gnu: /usr/bin/aarch64-linux-gnu-gcc-13
39python3.12-minimal: /usr/bin/python3.12
40git: /usr/bin/git
41## login-shell tool lookup (may differ)
42qemu-x86_64 -> /usr/bin/qemu-x86_64
43python3 -> /usr/bin/python3
44cc -> /usr/bin/cc
45git -> /usr/bin/git
46## ptrace_scope
471
48## unprivileged_userns_clone / apparmor userns
491
501
51## binfmt x86
52llvm-18-runtime.binfmt python3.12 qemu-alpha qemu-armeb qemu-cris qemu-hexagon qemu-hppa qemu-i386 qemu-loongarch64 qemu-m68k qemu-microblaze qemu-mips qemu-mips64 qemu-mips64el qemu-mipsel qemu-mipsn32 qemu-mipsn32el qemu-ppc qemu-ppc64 qemu-ppc64le qemu-riscv32 qemu-riscv64 qemu-s390x qemu-sh4 qemu-sh4eb qemu-sparc qemu-sparc32plus qemu-sparc64 qemu-x86_64 qemu-xtensa qemu-xtensaeb register status
53## lane-ish env vars in login shell (names only)
54none
55## df
56/dev/nvme0n1p2 3.7T 3.1T 444G 88% /
57
58################ pool.sh ################
59#!/bin/sh
60# usage: pool.sh CMD... runs CMD under hive CPU pool locks 10-11,10,11 on cores 10,11 at nice 10
61# with a clean environment (no lane variables): HOME, PATH (system only), LANG, TERM.
62Q=/home/drakestapleton/handoffs/hive/queen
63exec flock "$Q/pool-10-11.lock" flock "$Q/pool-10.lock" flock "$Q/pool-11.lock" \
64 taskset -c 10,11 nice -n 10 \
65 env -i HOME="$HOME" PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LANG=C.UTF-8 TERM=dumb "$@"
66
67################ runB-clone.sh ################
68set -x
69date -u +%FT%TZ
70git clone https://www.aienos.com/rad/z4RxD8vXigmWg61nM8miQ8DVPAXEP.git CUDApp; echo "### rc=$?"
71cd CUDApp; echo "### rc=$?"
72git checkout dc536882c06a692991be97dc65cd2d037d82b129; echo "### rc=$?"
73cd ..
74git clone https://www.aienos.com/rad/z6do9WDBhuSnvopDkgFdFr1yWA62.git omega-mv; echo "### rc=$?"
75git -C omega-mv checkout 2ee0a70d1830581b706f288e722f3329d51f3583; echo "### rc=$?"
76sha256sum omega-mv/seed/out/omc; echo "### rc=$?"
77date -u +%FT%TZ
78
79---------------- output: runB-clone.log ----------------
80+ date -u +%FT%TZ
812026-11-13T18:47:43Z
82+ git clone https://www.aienos.com/rad/z4RxD8vXigmWg61nM8miQ8DVPAXEP.git CUDApp
83Cloning into 'CUDApp'...
84+ echo ### rc=0
85### rc=0
86+ cd CUDApp
87+ echo ### rc=0
88### rc=0
89+ git checkout dc536882c06a692991be97dc65cd2d037d82b129
90Note: switching to 'dc536882c06a692991be97dc65cd2d037d82b129'.
91
92You are in 'detached HEAD' state. You can look around, make experimental
93changes and commit them, and you can discard any commits you make in this
94state without impacting any branches by switching back to a branch.
95
96If you want to create a new branch to retain commits you create, you may
97do so (now or later) by using -c with the switch command. Example:
98
99 git switch -c <new-branch-name>
100
101Or undo this operation with:
102
103 git switch -
104
105Turn off this advice by setting config variable advice.detachedHead to false
106
107HEAD is now at dc536882 Derive AMD scratch checks from the pinned descriptor definition
108+ echo ### rc=0
109### rc=0
110+ cd ..
111+ git clone https://www.aienos.com/rad/z6do9WDBhuSnvopDkgFdFr1yWA62.git omega-mv
112Cloning into 'omega-mv'...
113+ echo ### rc=0
114### rc=0
115+ git -C omega-mv checkout 2ee0a70d1830581b706f288e722f3329d51f3583
116Note: switching to '2ee0a70d1830581b706f288e722f3329d51f3583'.
117
118You are in 'detached HEAD' state. You can look around, make experimental
119changes and commit them, and you can discard any commits you make in this
120state without impacting any branches by switching back to a branch.
121
122If you want to create a new branch to retain commits you create, you may
123do so (now or later) by using -c with the switch command. Example:
124
125 git switch -c <new-branch-name>
126
127Or undo this operation with:
128
129 git switch -
130
131Turn off this advice by setting config variable advice.detachedHead to false
132
133HEAD is now at 2ee0a70d Keep the exact closure policy beside its enforcement
134+ echo ### rc=0
135### rc=0
136+ sha256sum omega-mv/seed/out/omc
13726540e6de62402d5784b30b24d7c6faae488137c1f8a4b3e784fd0b5d5528991 omega-mv/seed/out/omc
138+ echo ### rc=0
139### rc=0
140+ date -u +%FT%TZ
1412026-11-13T18:47:57Z
142 Command being timed: "../pool.sh sh ../runB-clone.sh"
143 User time (seconds): 8.57
144 System time (seconds): 1.83
145 Percent of CPU this job got: 77%
146 Elapsed (wall clock) time (h:mm:ss or m:ss): 0:13.49
147 Average shared text size (kbytes): 0
148 Average unshared data size (kbytes): 0
149 Average stack size (kbytes): 0
150 Average total size (kbytes): 0
151 Maximum resident set size (kbytes): 210588
152 Average resident set size (kbytes): 0
153 Major (requiring I/O) page faults: 2
154 Minor (reclaiming a frame) page faults: 123464
155 Voluntary context switches: 39836
156 Involuntary context switches: 20093
157 Swaps: 0
158 File system inputs: 6096
159 File system outputs: 1438200
160 Socket messages sent: 0
161 Socket messages received: 0
162 Signals delivered: 0
163 Page size (bytes): 4096
164 Exit status: 0
165
166################ runB-gate.sh ################
167# Level 2 block of BRIEF.md section 6, lines after the omc hash, verbatim; cwd = directory holding CUDApp and omega-mv
168echo "START $(date -u +%FT%T.%NZ)"
169cd CUDApp; echo "### rc=$? cd CUDApp"
170python3 -I tests/amd-kfd-launch/check.py "$(realpath ../omega-mv/seed/out/omc)" > ../../gate-stdout.log 2> ../../gate-stderr.log; echo "### rc=$? check.py"
171sha256sum build/amd-kfd-launch/gate/launch-x86; echo "### rc=$? sha256sum"
172echo "END $(date -u +%FT%T.%NZ)"
173
174---------------- output: runB-gate.log ----------------
175START 2026-11-13T18:48:25.355545827Z
176### rc=0 cd CUDApp
177### rc=0 check.py
17808a504911ec6e87a9746632a14d22245155597e3a8ed384c93c0e5260bb691e1 build/amd-kfd-launch/gate/launch-x86
179### rc=0 sha256sum
180END 2026-11-13T18:48:46.033806334Z
181 Command being timed: "../pool.sh sh ../runB-gate.sh"
182 User time (seconds): 4.95
183 System time (seconds): 12.71
184 Percent of CPU this job got: 85%
185 Elapsed (wall clock) time (h:mm:ss or m:ss): 0:20.69
186 Average shared text size (kbytes): 0
187 Average unshared data size (kbytes): 0
188 Average stack size (kbytes): 0
189 Average total size (kbytes): 0
190 Maximum resident set size (kbytes): 181120
191 Average resident set size (kbytes): 0
192 Major (requiring I/O) page faults: 92
193 Minor (reclaiming a frame) page faults: 317419
194 Voluntary context switches: 2140141
195 Involuntary context switches: 26343
196 Swaps: 0
197 File system inputs: 13320
198 File system outputs: 138024
199 Socket messages sent: 0
200 Socket messages received: 0
201 Signals delivered: 0
202 Page size (bytes): 4096
203 Exit status: 0
204
205################ runA-literal.sh ################
206echo "=== Level 1 block ==="
207git clone https://www.aienos.com/rad/z4RxD8vXigmWg61nM8miQ8DVPAXEP.git CUDApp
208echo "### rc=$? pwd=$(pwd | sed s,/home/drakestapleton/work/hive/uxl-brief-20261113/PublicRebuild,SCRATCH,)"
209cd CUDApp
210echo "### rc=$? pwd=$(pwd | sed s,/home/drakestapleton/work/hive/uxl-brief-20261113/PublicRebuild,SCRATCH,)"
211git checkout dc536882c06a692991be97dc65cd2d037d82b129
212echo "### rc=$? pwd=$(pwd | sed s,/home/drakestapleton/work/hive/uxl-brief-20261113/PublicRebuild,SCRATCH,)"
213python3 -I evidence/amd-qwen38-native-refusal-20261113/verify.py
214echo "### rc=$? pwd=$(pwd | sed s,/home/drakestapleton/work/hive/uxl-brief-20261113/PublicRebuild,SCRATCH,)"
215echo "=== Level 2 block ==="
216git clone https://www.aienos.com/rad/z6do9WDBhuSnvopDkgFdFr1yWA62.git omega-mv
217echo "### rc=$? pwd=$(pwd | sed s,/home/drakestapleton/work/hive/uxl-brief-20261113/PublicRebuild,SCRATCH,)"
218git -C omega-mv checkout 2ee0a70d1830581b706f288e722f3329d51f3583
219echo "### rc=$? pwd=$(pwd | sed s,/home/drakestapleton/work/hive/uxl-brief-20261113/PublicRebuild,SCRATCH,)"
220sha256sum omega-mv/seed/out/omc
221echo "### rc=$? pwd=$(pwd | sed s,/home/drakestapleton/work/hive/uxl-brief-20261113/PublicRebuild,SCRATCH,)"
222# 26540e6de62402d5784b30b24d7c6faae488137c1f8a4b3e784fd0b5d5528991
223
224cd CUDApp
225echo "### rc=$? pwd=$(pwd | sed s,/home/drakestapleton/work/hive/uxl-brief-20261113/PublicRebuild,SCRATCH,)"
226python3 -I tests/amd-kfd-launch/check.py "$(realpath ../omega-mv/seed/out/omc)"
227echo "### rc=$? pwd=$(pwd | sed s,/home/drakestapleton/work/hive/uxl-brief-20261113/PublicRebuild,SCRATCH,)"
228# ends with: AMD-KFD-LAUNCH CPU PASS {...}
229sha256sum build/amd-kfd-launch/gate/launch-x86
230echo "### rc=$? pwd=$(pwd | sed s,/home/drakestapleton/work/hive/uxl-brief-20261113/PublicRebuild,SCRATCH,)"
231# 08a504911ec6e87a9746632a14d22245155597e3a8ed384c93c0e5260bb691e1
232
233---------------- output: runA-literal.log ----------------
234=== Level 1 block ===
235Cloning into 'CUDApp'...
236### rc=0 pwd=SCRATCH/A
237### rc=0 pwd=SCRATCH/A/CUDApp
238Note: switching to 'dc536882c06a692991be97dc65cd2d037d82b129'.
239
240You are in 'detached HEAD' state. You can look around, make experimental
241changes and commit them, and you can discard any commits you make in this
242state without impacting any branches by switching back to a branch.
243
244If you want to create a new branch to retain commits you create, you may
245do so (now or later) by using -c with the switch command. Example:
246
247 git switch -c <new-branch-name>
248
249Or undo this operation with:
250
251 git switch -
252
253Turn off this advice by setting config variable advice.detachedHead to false
254
255HEAD is now at dc536882 Derive AMD scratch checks from the pinned descriptor definition
256### rc=0 pwd=SCRATCH/A/CUDApp
257EVIDENCE PASS 65 hashed files; raw steps/IDs; independent graph; reference coding24; calculations
258### rc=0 pwd=SCRATCH/A/CUDApp
259=== Level 2 block ===
260Cloning into 'omega-mv'...
261### rc=0 pwd=SCRATCH/A/CUDApp
262Note: switching to '2ee0a70d1830581b706f288e722f3329d51f3583'.
263
264You are in 'detached HEAD' state. You can look around, make experimental
265changes and commit them, and you can discard any commits you make in this
266state without impacting any branches by switching back to a branch.
267
268If you want to create a new branch to retain commits you create, you may
269do so (now or later) by using -c with the switch command. Example:
270
271 git switch -c <new-branch-name>
272
273Or undo this operation with:
274
275 git switch -
276
277Turn off this advice by setting config variable advice.detachedHead to false
278
279HEAD is now at 2ee0a70d Keep the exact closure policy beside its enforcement
280### rc=0 pwd=SCRATCH/A/CUDApp
28126540e6de62402d5784b30b24d7c6faae488137c1f8a4b3e784fd0b5d5528991 omega-mv/seed/out/omc
282### rc=0 pwd=SCRATCH/A/CUDApp
283../runA-literal.sh: 19: cd: can't cd to CUDApp
284### rc=2 pwd=SCRATCH/A/CUDApp
285realpath: ../omega-mv/seed/out/omc: No such file or directory
286### rc=64 pwd=SCRATCH/A/CUDApp
287sha256sum: build/amd-kfd-launch/gate/launch-x86: No such file or directory
288### rc=1 pwd=SCRATCH/A/CUDApp
289 Command being timed: "sh ../runA-literal.sh"
290 User time (seconds): 9.39
291 System time (seconds): 2.55
292 Percent of CPU this job got: 19%
293 Elapsed (wall clock) time (h:mm:ss or m:ss): 1:02.34
294 Average shared text size (kbytes): 0
295 Average unshared data size (kbytes): 0
296 Average stack size (kbytes): 0
297 Average total size (kbytes): 0
298 Maximum resident set size (kbytes): 201140
299 Average resident set size (kbytes): 0
300 Major (requiring I/O) page faults: 47
301 Minor (reclaiming a frame) page faults: 132986
302 Voluntary context switches: 49186
303 Involuntary context switches: 13611
304 Swaps: 0
305 File system inputs: 82840
306 File system outputs: 1438224
307 Socket messages sent: 0
308 Socket messages received: 0
309 Signals delivered: 0
310 Page size (bytes): 4096
311 Exit status: 0
312runA sh rc=0
313
314################ runC-controls.sh ################
315# Controls, run from SCRATCH/C. Separate fresh clone so the Run B tree stays untouched.
316set -x
317date -u +%FT%TZ
318git clone -q https://www.aienos.com/rad/z4RxD8vXigmWg61nM8miQ8DVPAXEP.git CUDApp; echo "### rc=$?"
319git -C CUDApp checkout -q dc536882c06a692991be97dc65cd2d037d82b129; echo "### rc=$?"
320git -C CUDApp rev-parse HEAD
321# --- control 1: compiler with exactly one byte changed (last byte XOR 0x01) ---
322cp ../B/omega-mv/seed/out/omc omc-onebyte
323python3 -c "
324import pathlib; p=pathlib.Path('omc-onebyte'); b=bytearray(p.read_bytes()); b[-1]^=1; p.write_bytes(b)"
325cmp -l ../B/omega-mv/seed/out/omc omc-onebyte | wc -l
326sha256sum ../B/omega-mv/seed/out/omc omc-onebyte
327cd CUDApp
328ls -d build 2>&1
329python3 -I tests/amd-kfd-launch/check.py "$(realpath ../omc-onebyte)"; echo "### rc=$? wrong-compiler (one byte changed)"
330ls -d build 2>&1; echo "### ls-build rc=$? (2 = no build directory was created)"
331git status --short --ignored | head -5; echo "### git status lines above (none = tree untouched)"
332# --- control 2: the path form the brief's realpath protects against (relative path) ---
333python3 -I tests/amd-kfd-launch/check.py ../../B/omega-mv/seed/out/omc; echo "### rc=$? relative compiler path"
334ls -d build 2>&1
335# --- qemu-absent run: PATH is a symlink farm of /usr/bin without qemu-x86_64* ---
336mkdir -p ../noqemu-bin
337for f in /usr/bin/*; do b=$(basename "$f"); case "$b" in qemu-x86_64*) ;; *) ln -sf "$f" ../noqemu-bin/"$b";; esac; done
338NQ=$(realpath ../noqemu-bin)
339env PATH="$NQ" sh -c 'command -v qemu-x86_64; echo "### command -v qemu rc=$?"; command -v python3 cc'
340env PATH="$NQ" python3 -I tests/amd-kfd-launch/check.py "$(realpath ../../B/omega-mv/seed/out/omc)" > ../noqemu-gate-stdout.log 2> ../noqemu-gate-stderr.log; echo "### rc=$? gate without qemu-x86_64 on PATH"
341tail -2 ../noqemu-gate-stdout.log | cut -c1-240; tail -5 ../noqemu-gate-stderr.log
342grep -c '^PASS ' ../noqemu-gate-stdout.log; grep -c '^FAIL ' ../noqemu-gate-stdout.log
343python3 -c "
344import json; s=json.load(open('build/amd-kfd-launch/gate/summary.json')); print('summary checks',s['checks'],'failures',s['failures'],'qemu',s['qemu'])"
345sha256sum build/amd-kfd-launch/gate/launch-x86 build/amd-kfd-launch/gate/launch-a64 build/amd-kfd-launch/gate/vadd.hsaco
346# --- Level 1 tamper control (this throwaway clone only): change one byte of one published raw file ---
347python3 -I evidence/amd-qwen38-native-refusal-20261113/verify.py; echo "### rc=$? verify.py clean"
348python3 -c "
349import pathlib; p=pathlib.Path('evidence/amd-qwen38-native-refusal-20261113/native/sample1.stdout'); b=bytearray(p.read_bytes()); b[-2]^=1; p.write_bytes(b)"
350git status --short
351python3 -I evidence/amd-qwen38-native-refusal-20261113/verify.py; echo "### rc=$? verify.py after one-byte tamper of native/sample1.stdout"
352date -u +%FT%TZ
353
354---------------- output: runC-controls.log ----------------
355+ date -u +%FT%TZ
3562026-11-13T18:51:08Z
357+ git clone -q https://www.aienos.com/rad/z4RxD8vXigmWg61nM8miQ8DVPAXEP.git CUDApp
358+ echo ### rc=0
359### rc=0
360+ git -C CUDApp checkout -q dc536882c06a692991be97dc65cd2d037d82b129
361+ echo ### rc=0
362### rc=0
363+ git -C CUDApp rev-parse HEAD
364dc536882c06a692991be97dc65cd2d037d82b129
365+ cp ../B/omega-mv/seed/out/omc omc-onebyte
366+ python3 -c
367import pathlib; p=pathlib.Path('omc-onebyte'); b=bytearray(p.read_bytes()); b[-1]^=1; p.write_bytes(b)
368+ + wc -l
369cmp -l ../B/omega-mv/seed/out/omc omc-onebyte
3701
371+ sha256sum ../B/omega-mv/seed/out/omc omc-onebyte
37226540e6de62402d5784b30b24d7c6faae488137c1f8a4b3e784fd0b5d5528991 ../B/omega-mv/seed/out/omc
37393a01e5877b9cc4eee7a96730d704688ed8f74ad3a1b4cb580285a9971d89f56 omc-onebyte
374+ cd CUDApp
375+ ls -d build
376ls: cannot access 'build': No such file or directory
377+ realpath ../omc-onebyte
378+ python3 -I tests/amd-kfd-launch/check.py /home/drakestapleton/work/hive/uxl-brief-20261113/PublicRebuild/C/omc-onebyte
379REFUSED compiler digest
380+ echo ### rc=69 wrong-compiler (one byte changed)
381### rc=69 wrong-compiler (one byte changed)
382+ ls -d build
383ls: cannot access 'build': No such file or directory
384+ echo ### ls-build rc=2 (2 = no build directory was created)
385### ls-build rc=2 (2 = no build directory was created)
386+ git status --short --ignored
387+ head -5
388+ echo ### git status lines above (none = tree untouched)
389### git status lines above (none = tree untouched)
390+ python3 -I tests/amd-kfd-launch/check.py ../../B/omega-mv/seed/out/omc
391+ echo ### rc=64 relative compiler path
392### rc=64 relative compiler path
393+ ls -d build
394ls: cannot access 'build': No such file or directory
395+ mkdir -p ../noqemu-bin
396+ realpath ../noqemu-bin
397+ NQ=/home/drakestapleton/work/hive/uxl-brief-20261113/PublicRebuild/C/noqemu-bin
398+ env PATH=/home/drakestapleton/work/hive/uxl-brief-20261113/PublicRebuild/C/noqemu-bin sh -c command -v qemu-x86_64; echo "### command -v qemu rc=$?"; command -v python3 cc
399### command -v qemu rc=127
400/home/drakestapleton/work/hive/uxl-brief-20261113/PublicRebuild/C/noqemu-bin/python3
401+ realpath ../../B/omega-mv/seed/out/omc
402+ env PATH=/home/drakestapleton/work/hive/uxl-brief-20261113/PublicRebuild/C/noqemu-bin python3 -I tests/amd-kfd-launch/check.py /home/drakestapleton/work/hive/uxl-brief-20261113/PublicRebuild/B/omega-mv/seed/out/omc
403+ echo ### rc=1 gate without qemu-x86_64 on PATH
404### rc=1 gate without qemu-x86_64 on PATH
405+ tail -2 ../noqemu-gate-stdout.log
406+ cut -c1-240
407AssertionError
408
409+ tail -5 ../noqemu-gate-stderr.log
410+ grep -c ^PASS ../noqemu-gate-stdout.log
411208
412+ grep -c ^FAIL ../noqemu-gate-stdout.log
4131
414+ python3 -c
415import json; s=json.load(open('build/amd-kfd-launch/gate/summary.json')); print('summary checks',s['checks'],'failures',s['failures'],'qemu',s['qemu'])
416Traceback (most recent call last):
417 File "<string>", line 2, in <module>
418FileNotFoundError: [Errno 2] No such file or directory: 'build/amd-kfd-launch/gate/summary.json'
419+ sha256sum build/amd-kfd-launch/gate/launch-x86 build/amd-kfd-launch/gate/launch-a64 build/amd-kfd-launch/gate/vadd.hsaco
42008a504911ec6e87a9746632a14d22245155597e3a8ed384c93c0e5260bb691e1 build/amd-kfd-launch/gate/launch-x86
4212d6bfba83dcf836f879e318df9df2cc75bd46909f6173c7b3f7b7c36b9e89a47 build/amd-kfd-launch/gate/launch-a64
42210eb12e019ff2117ddc0190650899d4254589375c62e5ebb970b1bbb7e67e55f build/amd-kfd-launch/gate/vadd.hsaco
423+ python3 -I evidence/amd-qwen38-native-refusal-20261113/verify.py
424EVIDENCE PASS 65 hashed files; raw steps/IDs; independent graph; reference coding24; calculations
425+ echo ### rc=0 verify.py clean
426### rc=0 verify.py clean
427+ python3 -c
428import pathlib; p=pathlib.Path('evidence/amd-qwen38-native-refusal-20261113/native/sample1.stdout'); b=bytearray(p.read_bytes()); b[-2]^=1; p.write_bytes(b)
429+ git status --short
430 M evidence/amd-qwen38-native-refusal-20261113/native/sample1.stdout
431+ python3 -I evidence/amd-qwen38-native-refusal-20261113/verify.py
432Traceback (most recent call last):
433 File "/home/drakestapleton/work/hive/uxl-brief-20261113/PublicRebuild/C/CUDApp/evidence/amd-qwen38-native-refusal-20261113/verify.py", line 9, in <module>
434 for name,digest in hashes.items():assert hashlib.sha256((D/name).read_bytes()).hexdigest()==digest,name
435 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
436AssertionError: native/sample1.stdout
437+ echo ### rc=1 verify.py after one-byte tamper of native/sample1.stdout
438### rc=1 verify.py after one-byte tamper of native/sample1.stdout
439+ date -u +%FT%TZ
4402026-11-13T18:51:55Z
441 Command being timed: "sh ../runC-controls.sh"
442 User time (seconds): 6.63
443 System time (seconds): 13.65
444 Percent of CPU this job got: 43%
445 Elapsed (wall clock) time (h:mm:ss or m:ss): 0:46.99
446 Average shared text size (kbytes): 0
447 Average unshared data size (kbytes): 0
448 Average stack size (kbytes): 0
449 Average total size (kbytes): 0
450 Maximum resident set size (kbytes): 181120
451 Average resident set size (kbytes): 0
452 Major (requiring I/O) page faults: 121
453 Minor (reclaiming a frame) page faults: 708455
454 Voluntary context switches: 1986934
455 Involuntary context switches: 35167
456 Swaps: 0
457 File system inputs: 25640
458 File system outputs: 355136
459 Socket messages sent: 0
460 Socket messages received: 0
461 Signals delivered: 0
462 Page size (bytes): 4096
463 Exit status: 0
464runC sh rc=0
465
466################ runD-more.sh ################
467D=/home/drakestapleton/work/hive/uxl-brief-20261113/PublicRebuild
468echo "=== D1: same symlink-farm PATH as the qemu-absent run, plus qemu-x86_64 (shows the farm itself is not the cause) ==="
469cd $D/C/CUDApp
470git checkout -q -- evidence/amd-qwen38-native-refusal-20261113/native/sample1.stdout; git status --short; echo "### tree restored rc=$?"
471rm -rf build
472cp -a ../noqemu-bin ../withqemu-bin && ln -s /usr/bin/qemu-x86_64 ../withqemu-bin/qemu-x86_64
473WQ=$(realpath ../withqemu-bin)
474t0=$(date +%s.%N)
475env PATH="$WQ" python3 -I tests/amd-kfd-launch/check.py "$(realpath ../../B/omega-mv/seed/out/omc)" > ../withqemu-gate-stdout.log 2> ../withqemu-gate-stderr.log; echo "### rc=$? gate with farm PATH + qemu-x86_64"
476t1=$(date +%s.%N); echo "seconds $(echo "$t1 - $t0" | bc)"
477grep -c '^PASS ' ../withqemu-gate-stdout.log; grep -c '^FAIL ' ../withqemu-gate-stdout.log; grep -o '^AMD-KFD-LAUNCH CPU PASS {"binaries": {"a64": "[0-9a-f]*", "x86": "[0-9a-f]*"}, "checks": [0-9]*' ../withqemu-gate-stdout.log
478python3 -c "
479import json; s=json.load(open('build/amd-kfd-launch/gate/summary.json')); print('summary checks',s['checks'],'failures',s['failures'],'qemu',s['qemu'])"
480echo "=== D2: seed/omega-from-seed.sh in a local copy of the omega-mv clone, bounded by timeout 600 ==="
481cd $D/S
482git clone -q --no-hardlinks ../B/omega-mv omega-mv; echo "### rc=$? local clone"
483git -C omega-mv checkout -q 2ee0a70d1830581b706f288e722f3329d51f3583; git -C omega-mv rev-parse HEAD
484cd omega-mv
485sha256sum seed/out/omc
486mv seed/out/omc ../omc.checked-in; echo "### moved checked-in omc aside rc=$? (so a pass cannot come from the committed file)"
487t0=$(date +%s.%N)
488timeout 600 sh seed/omega-from-seed.sh > ../from-seed.log 2>&1; echo "### rc=$? sh seed/omega-from-seed.sh (124 = hit the 600 s bound)"
489t1=$(date +%s.%N); echo "seconds $(echo "$t1 - $t0" | bc)"
490tail -25 ../from-seed.log | cut -c1-200
491sha256sum seed/out/omc ../omc.checked-in; cmp seed/out/omc ../omc.checked-in && echo "seed-built omc is byte-identical to the checked-in omc"
492git status --short | head -10; echo "### git status lines above (none = tracked files unchanged)"
493
494---------------- output: runD-more.log ----------------
495=== D1: same symlink-farm PATH as the qemu-absent run, plus qemu-x86_64 (shows the farm itself is not the cause) ===
496### tree restored rc=0
497### rc=0 gate with farm PATH + qemu-x86_64
498seconds 20.709560299
499274
5000
501AMD-KFD-LAUNCH CPU PASS {"binaries": {"a64": "2d6bfba83dcf836f879e318df9df2cc75bd46909f6173c7b3f7b7c36b9e89a47", "x86": "08a504911ec6e87a9746632a14d22245155597e3a8ed384c93c0e5260bb691e1"}, "checks": 274
502summary checks 274 failures 0 qemu /home/drakestapleton/work/hive/uxl-brief-20261113/PublicRebuild/C/withqemu-bin/qemu-x86_64
503=== D2: seed/omega-from-seed.sh in a local copy of the omega-mv clone, bounded by timeout 600 ===
504### rc=0 local clone
5052ee0a70d1830581b706f288e722f3329d51f3583
50626540e6de62402d5784b30b24d7c6faae488137c1f8a4b3e784fd0b5d5528991 seed/out/omc
507### moved checked-in omc aside rc=0 (so a pass cannot come from the committed file)
508### rc=0 sh seed/omega-from-seed.sh (124 = hit the 600 s bound)
509seconds .892790089
510PASS seed0 408 bytes, rebuilds itself
511PASS hex1 776 bytes, born from seed0
512PASS asm2 2464 bytes, born from hex1
513PASS om4 om4.bin 16200 bytes
514PASS diagnostic source identity and generated strings
515PASS omc fixpoint 26540e6de62402d5784b30b24d7c6faae488137c1f8a4b3e784fd0b5d5528991
516PASS generated compiler size record
517SIZE_RECORD PASS cases=8
518PASS fwd exit 0
519PASS fwd runs, exit 7
520PASS mut exit 0
521PASS mut runs, exit 0
522PASS cycle exit 9
523PASS assign exit 7
524RC=0
52526540e6de62402d5784b30b24d7c6faae488137c1f8a4b3e784fd0b5d5528991 seed/out/omc
52626540e6de62402d5784b30b24d7c6faae488137c1f8a4b3e784fd0b5d5528991 ../omc.checked-in
527seed-built omc is byte-identical to the checked-in omc
528### git status lines above (none = tracked files unchanged)
529 Command being timed: "./pool.sh sh runD-more.sh"
530 User time (seconds): 7.25
531 System time (seconds): 13.95
532 Percent of CPU this job got: 85%
533 Elapsed (wall clock) time (h:mm:ss or m:ss): 0:24.75
534 Average shared text size (kbytes): 0
535 Average unshared data size (kbytes): 0
536 Average stack size (kbytes): 0
537 Average total size (kbytes): 0
538 Maximum resident set size (kbytes): 210184
539 Average resident set size (kbytes): 0
540 Major (requiring I/O) page faults: 68
541 Minor (reclaiming a frame) page faults: 410174
542 Voluntary context switches: 2185017
543 Involuntary context switches: 22547
544 Swaps: 0
545 File system inputs: 218656
546 File system outputs: 1376048
547 Socket messages sent: 0
548 Socket messages received: 0
549 Signals delivered: 0
550 Page size (bytes): 4096
551 Exit status: 0
552
553################ S/from-seed.log (run D2, checked-in omc moved aside first) ################
554PASS seed0 408 bytes, rebuilds itself
555PASS hex1 776 bytes, born from seed0
556PASS asm2 2464 bytes, born from hex1
557PASS om4 om4.bin 16200 bytes
558PASS diagnostic source identity and generated strings
559PASS omc fixpoint 26540e6de62402d5784b30b24d7c6faae488137c1f8a4b3e784fd0b5d5528991
560PASS generated compiler size record
561SIZE_RECORD PASS cases=8
562PASS fwd exit 0
563PASS fwd runs, exit 7
564PASS mut exit 0
565PASS mut runs, exit 0
566PASS cycle exit 9
567PASS assign exit 7
568RC=0
569
570################ runE-from-seed.sh ################
571# Proof run for the corrected "rebuild the compiler from its seed" command, as an outside engineer would type it.
572# Fresh local copy of the public omega-mv clone (SCRATCH/B/omega-mv, cloned over https), nothing moved aside.
573D=/home/drakestapleton/work/hive/uxl-brief-20261113/PublicRebuild
574cd $D && rm -rf S2 && mkdir S2 && cd S2
575git clone -q --no-hardlinks ../B/omega-mv omega-mv; echo "### rc=$? local clone"
576git -C omega-mv checkout -q 2ee0a70d1830581b706f288e722f3329d51f3583; echo "### rc=$? checkout"
577cd omega-mv
578git rev-parse HEAD
579echo "--- git status --short --untracked-files=all BEFORE ---"; git status --short --untracked-files=all; echo "### before: $(git status --short --untracked-files=all | wc -l) lines"
580sha256sum seed/out/omc seed/out/omc.sha256 seed/omc/size-history.tsv
581stat -c '%y %n' seed/out/omc
582t0=$(date +%s.%N)
583sh seed/omega-from-seed.sh > ../from-seed.log 2>&1; rc=$?
584t1=$(date +%s.%N)
585echo "### rc=$rc sh seed/omega-from-seed.sh"; echo "wall seconds $(echo "$t1 - $t0" | bc)"
586cat ../from-seed.log
587echo "--- git status --short --untracked-files=all AFTER ---"; git status --short --untracked-files=all; echo "### after: $(git status --short --untracked-files=all | wc -l) lines"
588echo "--- git status --short --ignored AFTER (ignored build output) ---"; git status --short --ignored | head -5
589git diff --stat | tail -1; echo "### git diff rc=$(git diff --quiet; echo $?) (0 = no tracked content changed)"
590sha256sum seed/out/omc seed/out/omc.sha256 seed/omc/size-history.tsv
591stat -c '%y %n' seed/out/omc
592du -sh build 2>/dev/null
593
594---------------- output: runE-from-seed.log ----------------
595### rc=0 local clone
596### rc=0 checkout
5972ee0a70d1830581b706f288e722f3329d51f3583
598--- git status --short --untracked-files=all BEFORE ---
599### before: 0 lines
60026540e6de62402d5784b30b24d7c6faae488137c1f8a4b3e784fd0b5d5528991 seed/out/omc
6010849fb227b8e30fb76415e53b3544edb667163a5cafc416f35c86ee91f075cae seed/out/omc.sha256
602c9396cad17540c666d21d5121dbbe93a34ebb57d4d0566e3aa822c354897de7f seed/omc/size-history.tsv
6032026-11-13 12:54:36.277974797 -0600 seed/out/omc
604### rc=0 sh seed/omega-from-seed.sh
605wall seconds .827506231
606PASS seed0 408 bytes, rebuilds itself
607PASS hex1 776 bytes, born from seed0
608PASS asm2 2464 bytes, born from hex1
609PASS om4 om4.bin 16200 bytes
610PASS diagnostic source identity and generated strings
611PASS omc fixpoint 26540e6de62402d5784b30b24d7c6faae488137c1f8a4b3e784fd0b5d5528991
612PASS generated compiler size record
613SIZE_RECORD PASS cases=8
614PASS fwd exit 0
615PASS fwd runs, exit 7
616PASS mut exit 0
617PASS mut runs, exit 0
618PASS cycle exit 9
619PASS assign exit 7
620RC=0
621--- git status --short --untracked-files=all AFTER ---
622### after: 0 lines
623--- git status --short --ignored AFTER (ignored build output) ---
624!! build/
625### git diff rc=0 (0 = no tracked content changed)
62626540e6de62402d5784b30b24d7c6faae488137c1f8a4b3e784fd0b5d5528991 seed/out/omc
6270849fb227b8e30fb76415e53b3544edb667163a5cafc416f35c86ee91f075cae seed/out/omc.sha256
628c9396cad17540c666d21d5121dbbe93a34ebb57d4d0566e3aa822c354897de7f seed/omc/size-history.tsv
6292026-11-13 12:54:37.694332697 -0600 seed/out/omc
6303.3M build
631 Command being timed: "./pool.sh sh runE-from-seed.sh"
632 User time (seconds): 2.19
633 System time (seconds): 1.51
634 Percent of CPU this job got: 101%
635 Elapsed (wall clock) time (h:mm:ss or m:ss): 0:03.64
636 Average shared text size (kbytes): 0
637 Average unshared data size (kbytes): 0
638 Average stack size (kbytes): 0
639 Average total size (kbytes): 0
640 Maximum resident set size (kbytes): 209944
641 Average resident set size (kbytes): 0
642 Major (requiring I/O) page faults: 13
643 Minor (reclaiming a frame) page faults: 109589
644 Voluntary context switches: 2744
645 Involuntary context switches: 644
646 Swaps: 0
647 File system inputs: 199544
648 File system outputs: 1233160
649 Socket messages sent: 0
650 Socket messages received: 0
651 Signals delivered: 0
652 Page size (bytes): 4096
653 Exit status: 0