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
CUDApp / evidence / uxl-brief-20261113 / archive / level2-rebuild / TRANSCRIPT.txt
| 1 | |
| 2 | ################ env.txt ################ |
| 3 | ## date |
| 4 | 2026-11-13T18:47:12Z |
| 5 | ## uname -a |
| 6 | Linux 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 |
| 8 | PRETTY_NAME="Ubuntu 24.04.5 LTS" |
| 9 | VERSION_ID="24.04" |
| 10 | ## getconf PAGESIZE |
| 11 | 4096 |
| 12 | ## glibc |
| 13 | ldd (Ubuntu GLIBC 2.39-0ubuntu8.9) 2.39 |
| 14 | ## nproc |
| 15 | 20 |
| 16 | ## clean-env tool lookup (PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin) |
| 17 | git -> /usr/bin/git |
| 18 | python3 -> /usr/bin/python3 |
| 19 | cc -> /usr/bin/cc |
| 20 | gcc -> /usr/bin/gcc |
| 21 | clang -> MISSING |
| 22 | qemu-x86_64 -> /usr/bin/qemu-x86_64 |
| 23 | qemu-x86_64-static -> MISSING |
| 24 | sha256sum -> /usr/bin/sha256sum |
| 25 | realpath -> /usr/bin/realpath |
| 26 | strace -> /usr/bin/strace |
| 27 | readelf -> /usr/bin/readelf |
| 28 | objdump -> /usr/bin/objdump |
| 29 | ## versions |
| 30 | git version 2.43.0 |
| 31 | Python 3.12.3 |
| 32 | cc (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0 |
| 33 | qemu-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 |
| 37 | qemu-user: /usr/bin/qemu-x86_64 |
| 38 | gcc-13-aarch64-linux-gnu: /usr/bin/aarch64-linux-gnu-gcc-13 |
| 39 | python3.12-minimal: /usr/bin/python3.12 |
| 40 | git: /usr/bin/git |
| 41 | ## login-shell tool lookup (may differ) |
| 42 | qemu-x86_64 -> /usr/bin/qemu-x86_64 |
| 43 | python3 -> /usr/bin/python3 |
| 44 | cc -> /usr/bin/cc |
| 45 | git -> /usr/bin/git |
| 46 | ## ptrace_scope |
| 47 | 1 |
| 48 | ## unprivileged_userns_clone / apparmor userns |
| 49 | 1 |
| 50 | 1 |
| 51 | ## binfmt x86 |
| 52 | llvm-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) |
| 54 | none |
| 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. |
| 62 | Q=/home/drakestapleton/handoffs/hive/queen |
| 63 | exec 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 ################ |
| 68 | set -x |
| 69 | date -u +%FT%TZ |
| 70 | git clone https://www.aienos.com/rad/z4RxD8vXigmWg61nM8miQ8DVPAXEP.git CUDApp; echo "### rc=$?" |
| 71 | cd CUDApp; echo "### rc=$?" |
| 72 | git checkout dc536882c06a692991be97dc65cd2d037d82b129; echo "### rc=$?" |
| 73 | cd .. |
| 74 | git clone https://www.aienos.com/rad/z6do9WDBhuSnvopDkgFdFr1yWA62.git omega-mv; echo "### rc=$?" |
| 75 | git -C omega-mv checkout 2ee0a70d1830581b706f288e722f3329d51f3583; echo "### rc=$?" |
| 76 | sha256sum omega-mv/seed/out/omc; echo "### rc=$?" |
| 77 | date -u +%FT%TZ |
| 78 | |
| 79 | ---------------- output: runB-clone.log ---------------- |
| 80 | + date -u +%FT%TZ |
| 81 | 2026-11-13T18:47:43Z |
| 82 | + git clone https://www.aienos.com/rad/z4RxD8vXigmWg61nM8miQ8DVPAXEP.git CUDApp |
| 83 | Cloning into 'CUDApp'... |
| 84 | + echo ### rc=0 |
| 85 | ### rc=0 |
| 86 | + cd CUDApp |
| 87 | + echo ### rc=0 |
| 88 | ### rc=0 |
| 89 | + git checkout dc536882c06a692991be97dc65cd2d037d82b129 |
| 90 | Note: switching to 'dc536882c06a692991be97dc65cd2d037d82b129'. |
| 91 | |
| 92 | You are in 'detached HEAD' state. You can look around, make experimental |
| 93 | changes and commit them, and you can discard any commits you make in this |
| 94 | state without impacting any branches by switching back to a branch. |
| 95 | |
| 96 | If you want to create a new branch to retain commits you create, you may |
| 97 | do so (now or later) by using -c with the switch command. Example: |
| 98 | |
| 99 | git switch -c <new-branch-name> |
| 100 | |
| 101 | Or undo this operation with: |
| 102 | |
| 103 | git switch - |
| 104 | |
| 105 | Turn off this advice by setting config variable advice.detachedHead to false |
| 106 | |
| 107 | HEAD 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 |
| 112 | Cloning into 'omega-mv'... |
| 113 | + echo ### rc=0 |
| 114 | ### rc=0 |
| 115 | + git -C omega-mv checkout 2ee0a70d1830581b706f288e722f3329d51f3583 |
| 116 | Note: switching to '2ee0a70d1830581b706f288e722f3329d51f3583'. |
| 117 | |
| 118 | You are in 'detached HEAD' state. You can look around, make experimental |
| 119 | changes and commit them, and you can discard any commits you make in this |
| 120 | state without impacting any branches by switching back to a branch. |
| 121 | |
| 122 | If you want to create a new branch to retain commits you create, you may |
| 123 | do so (now or later) by using -c with the switch command. Example: |
| 124 | |
| 125 | git switch -c <new-branch-name> |
| 126 | |
| 127 | Or undo this operation with: |
| 128 | |
| 129 | git switch - |
| 130 | |
| 131 | Turn off this advice by setting config variable advice.detachedHead to false |
| 132 | |
| 133 | HEAD 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 |
| 137 | 26540e6de62402d5784b30b24d7c6faae488137c1f8a4b3e784fd0b5d5528991 omega-mv/seed/out/omc |
| 138 | + echo ### rc=0 |
| 139 | ### rc=0 |
| 140 | + date -u +%FT%TZ |
| 141 | 2026-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 |
| 168 | echo "START $(date -u +%FT%T.%NZ)" |
| 169 | cd CUDApp; echo "### rc=$? cd CUDApp" |
| 170 | python3 -I tests/amd-kfd-launch/check.py "$(realpath ../omega-mv/seed/out/omc)" > ../../gate-stdout.log 2> ../../gate-stderr.log; echo "### rc=$? check.py" |
| 171 | sha256sum build/amd-kfd-launch/gate/launch-x86; echo "### rc=$? sha256sum" |
| 172 | echo "END $(date -u +%FT%T.%NZ)" |
| 173 | |
| 174 | ---------------- output: runB-gate.log ---------------- |
| 175 | START 2026-11-13T18:48:25.355545827Z |
| 176 | ### rc=0 cd CUDApp |
| 177 | ### rc=0 check.py |
| 178 | 08a504911ec6e87a9746632a14d22245155597e3a8ed384c93c0e5260bb691e1 build/amd-kfd-launch/gate/launch-x86 |
| 179 | ### rc=0 sha256sum |
| 180 | END 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 ################ |
| 206 | echo "=== Level 1 block ===" |
| 207 | git clone https://www.aienos.com/rad/z4RxD8vXigmWg61nM8miQ8DVPAXEP.git CUDApp |
| 208 | echo "### rc=$? pwd=$(pwd | sed s,/home/drakestapleton/work/hive/uxl-brief-20261113/PublicRebuild,SCRATCH,)" |
| 209 | cd CUDApp |
| 210 | echo "### rc=$? pwd=$(pwd | sed s,/home/drakestapleton/work/hive/uxl-brief-20261113/PublicRebuild,SCRATCH,)" |
| 211 | git checkout dc536882c06a692991be97dc65cd2d037d82b129 |
| 212 | echo "### rc=$? pwd=$(pwd | sed s,/home/drakestapleton/work/hive/uxl-brief-20261113/PublicRebuild,SCRATCH,)" |
| 213 | python3 -I evidence/amd-qwen38-native-refusal-20261113/verify.py |
| 214 | echo "### rc=$? pwd=$(pwd | sed s,/home/drakestapleton/work/hive/uxl-brief-20261113/PublicRebuild,SCRATCH,)" |
| 215 | echo "=== Level 2 block ===" |
| 216 | git clone https://www.aienos.com/rad/z6do9WDBhuSnvopDkgFdFr1yWA62.git omega-mv |
| 217 | echo "### rc=$? pwd=$(pwd | sed s,/home/drakestapleton/work/hive/uxl-brief-20261113/PublicRebuild,SCRATCH,)" |
| 218 | git -C omega-mv checkout 2ee0a70d1830581b706f288e722f3329d51f3583 |
| 219 | echo "### rc=$? pwd=$(pwd | sed s,/home/drakestapleton/work/hive/uxl-brief-20261113/PublicRebuild,SCRATCH,)" |
| 220 | sha256sum omega-mv/seed/out/omc |
| 221 | echo "### rc=$? pwd=$(pwd | sed s,/home/drakestapleton/work/hive/uxl-brief-20261113/PublicRebuild,SCRATCH,)" |
| 222 | # 26540e6de62402d5784b30b24d7c6faae488137c1f8a4b3e784fd0b5d5528991 |
| 223 | |
| 224 | cd CUDApp |
| 225 | echo "### rc=$? pwd=$(pwd | sed s,/home/drakestapleton/work/hive/uxl-brief-20261113/PublicRebuild,SCRATCH,)" |
| 226 | python3 -I tests/amd-kfd-launch/check.py "$(realpath ../omega-mv/seed/out/omc)" |
| 227 | echo "### rc=$? pwd=$(pwd | sed s,/home/drakestapleton/work/hive/uxl-brief-20261113/PublicRebuild,SCRATCH,)" |
| 228 | # ends with: AMD-KFD-LAUNCH CPU PASS {...} |
| 229 | sha256sum build/amd-kfd-launch/gate/launch-x86 |
| 230 | echo "### 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 === |
| 235 | Cloning into 'CUDApp'... |
| 236 | ### rc=0 pwd=SCRATCH/A |
| 237 | ### rc=0 pwd=SCRATCH/A/CUDApp |
| 238 | Note: switching to 'dc536882c06a692991be97dc65cd2d037d82b129'. |
| 239 | |
| 240 | You are in 'detached HEAD' state. You can look around, make experimental |
| 241 | changes and commit them, and you can discard any commits you make in this |
| 242 | state without impacting any branches by switching back to a branch. |
| 243 | |
| 244 | If you want to create a new branch to retain commits you create, you may |
| 245 | do so (now or later) by using -c with the switch command. Example: |
| 246 | |
| 247 | git switch -c <new-branch-name> |
| 248 | |
| 249 | Or undo this operation with: |
| 250 | |
| 251 | git switch - |
| 252 | |
| 253 | Turn off this advice by setting config variable advice.detachedHead to false |
| 254 | |
| 255 | HEAD is now at dc536882 Derive AMD scratch checks from the pinned descriptor definition |
| 256 | ### rc=0 pwd=SCRATCH/A/CUDApp |
| 257 | EVIDENCE PASS 65 hashed files; raw steps/IDs; independent graph; reference coding24; calculations |
| 258 | ### rc=0 pwd=SCRATCH/A/CUDApp |
| 259 | === Level 2 block === |
| 260 | Cloning into 'omega-mv'... |
| 261 | ### rc=0 pwd=SCRATCH/A/CUDApp |
| 262 | Note: switching to '2ee0a70d1830581b706f288e722f3329d51f3583'. |
| 263 | |
| 264 | You are in 'detached HEAD' state. You can look around, make experimental |
| 265 | changes and commit them, and you can discard any commits you make in this |
| 266 | state without impacting any branches by switching back to a branch. |
| 267 | |
| 268 | If you want to create a new branch to retain commits you create, you may |
| 269 | do so (now or later) by using -c with the switch command. Example: |
| 270 | |
| 271 | git switch -c <new-branch-name> |
| 272 | |
| 273 | Or undo this operation with: |
| 274 | |
| 275 | git switch - |
| 276 | |
| 277 | Turn off this advice by setting config variable advice.detachedHead to false |
| 278 | |
| 279 | HEAD is now at 2ee0a70d Keep the exact closure policy beside its enforcement |
| 280 | ### rc=0 pwd=SCRATCH/A/CUDApp |
| 281 | 26540e6de62402d5784b30b24d7c6faae488137c1f8a4b3e784fd0b5d5528991 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 |
| 285 | realpath: ../omega-mv/seed/out/omc: No such file or directory |
| 286 | ### rc=64 pwd=SCRATCH/A/CUDApp |
| 287 | sha256sum: 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 |
| 312 | runA sh rc=0 |
| 313 | |
| 314 | ################ runC-controls.sh ################ |
| 315 | # Controls, run from SCRATCH/C. Separate fresh clone so the Run B tree stays untouched. |
| 316 | set -x |
| 317 | date -u +%FT%TZ |
| 318 | git clone -q https://www.aienos.com/rad/z4RxD8vXigmWg61nM8miQ8DVPAXEP.git CUDApp; echo "### rc=$?" |
| 319 | git -C CUDApp checkout -q dc536882c06a692991be97dc65cd2d037d82b129; echo "### rc=$?" |
| 320 | git -C CUDApp rev-parse HEAD |
| 321 | # --- control 1: compiler with exactly one byte changed (last byte XOR 0x01) --- |
| 322 | cp ../B/omega-mv/seed/out/omc omc-onebyte |
| 323 | python3 -c " |
| 324 | import pathlib; p=pathlib.Path('omc-onebyte'); b=bytearray(p.read_bytes()); b[-1]^=1; p.write_bytes(b)" |
| 325 | cmp -l ../B/omega-mv/seed/out/omc omc-onebyte | wc -l |
| 326 | sha256sum ../B/omega-mv/seed/out/omc omc-onebyte |
| 327 | cd CUDApp |
| 328 | ls -d build 2>&1 |
| 329 | python3 -I tests/amd-kfd-launch/check.py "$(realpath ../omc-onebyte)"; echo "### rc=$? wrong-compiler (one byte changed)" |
| 330 | ls -d build 2>&1; echo "### ls-build rc=$? (2 = no build directory was created)" |
| 331 | git 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) --- |
| 333 | python3 -I tests/amd-kfd-launch/check.py ../../B/omega-mv/seed/out/omc; echo "### rc=$? relative compiler path" |
| 334 | ls -d build 2>&1 |
| 335 | # --- qemu-absent run: PATH is a symlink farm of /usr/bin without qemu-x86_64* --- |
| 336 | mkdir -p ../noqemu-bin |
| 337 | for f in /usr/bin/*; do b=$(basename "$f"); case "$b" in qemu-x86_64*) ;; *) ln -sf "$f" ../noqemu-bin/"$b";; esac; done |
| 338 | NQ=$(realpath ../noqemu-bin) |
| 339 | env PATH="$NQ" sh -c 'command -v qemu-x86_64; echo "### command -v qemu rc=$?"; command -v python3 cc' |
| 340 | env 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" |
| 341 | tail -2 ../noqemu-gate-stdout.log | cut -c1-240; tail -5 ../noqemu-gate-stderr.log |
| 342 | grep -c '^PASS ' ../noqemu-gate-stdout.log; grep -c '^FAIL ' ../noqemu-gate-stdout.log |
| 343 | python3 -c " |
| 344 | import json; s=json.load(open('build/amd-kfd-launch/gate/summary.json')); print('summary checks',s['checks'],'failures',s['failures'],'qemu',s['qemu'])" |
| 345 | sha256sum 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 --- |
| 347 | python3 -I evidence/amd-qwen38-native-refusal-20261113/verify.py; echo "### rc=$? verify.py clean" |
| 348 | python3 -c " |
| 349 | import 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)" |
| 350 | git status --short |
| 351 | python3 -I evidence/amd-qwen38-native-refusal-20261113/verify.py; echo "### rc=$? verify.py after one-byte tamper of native/sample1.stdout" |
| 352 | date -u +%FT%TZ |
| 353 | |
| 354 | ---------------- output: runC-controls.log ---------------- |
| 355 | + date -u +%FT%TZ |
| 356 | 2026-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 |
| 364 | dc536882c06a692991be97dc65cd2d037d82b129 |
| 365 | + cp ../B/omega-mv/seed/out/omc omc-onebyte |
| 366 | + python3 -c |
| 367 | import pathlib; p=pathlib.Path('omc-onebyte'); b=bytearray(p.read_bytes()); b[-1]^=1; p.write_bytes(b) |
| 368 | + + wc -l |
| 369 | cmp -l ../B/omega-mv/seed/out/omc omc-onebyte |
| 370 | 1 |
| 371 | + sha256sum ../B/omega-mv/seed/out/omc omc-onebyte |
| 372 | 26540e6de62402d5784b30b24d7c6faae488137c1f8a4b3e784fd0b5d5528991 ../B/omega-mv/seed/out/omc |
| 373 | 93a01e5877b9cc4eee7a96730d704688ed8f74ad3a1b4cb580285a9971d89f56 omc-onebyte |
| 374 | + cd CUDApp |
| 375 | + ls -d build |
| 376 | ls: 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 |
| 379 | REFUSED compiler digest |
| 380 | + echo ### rc=69 wrong-compiler (one byte changed) |
| 381 | ### rc=69 wrong-compiler (one byte changed) |
| 382 | + ls -d build |
| 383 | ls: 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 |
| 394 | ls: 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 |
| 407 | AssertionError |
| 408 | |
| 409 | + tail -5 ../noqemu-gate-stderr.log |
| 410 | + grep -c ^PASS ../noqemu-gate-stdout.log |
| 411 | 208 |
| 412 | + grep -c ^FAIL ../noqemu-gate-stdout.log |
| 413 | 1 |
| 414 | + python3 -c |
| 415 | import json; s=json.load(open('build/amd-kfd-launch/gate/summary.json')); print('summary checks',s['checks'],'failures',s['failures'],'qemu',s['qemu']) |
| 416 | Traceback (most recent call last): |
| 417 | File "<string>", line 2, in <module> |
| 418 | FileNotFoundError: [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 |
| 420 | 08a504911ec6e87a9746632a14d22245155597e3a8ed384c93c0e5260bb691e1 build/amd-kfd-launch/gate/launch-x86 |
| 421 | 2d6bfba83dcf836f879e318df9df2cc75bd46909f6173c7b3f7b7c36b9e89a47 build/amd-kfd-launch/gate/launch-a64 |
| 422 | 10eb12e019ff2117ddc0190650899d4254589375c62e5ebb970b1bbb7e67e55f build/amd-kfd-launch/gate/vadd.hsaco |
| 423 | + python3 -I evidence/amd-qwen38-native-refusal-20261113/verify.py |
| 424 | EVIDENCE 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 |
| 428 | import 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 |
| 432 | Traceback (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 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 436 | AssertionError: 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 |
| 440 | 2026-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 |
| 464 | runC sh rc=0 |
| 465 | |
| 466 | ################ runD-more.sh ################ |
| 467 | D=/home/drakestapleton/work/hive/uxl-brief-20261113/PublicRebuild |
| 468 | echo "=== D1: same symlink-farm PATH as the qemu-absent run, plus qemu-x86_64 (shows the farm itself is not the cause) ===" |
| 469 | cd $D/C/CUDApp |
| 470 | git checkout -q -- evidence/amd-qwen38-native-refusal-20261113/native/sample1.stdout; git status --short; echo "### tree restored rc=$?" |
| 471 | rm -rf build |
| 472 | cp -a ../noqemu-bin ../withqemu-bin && ln -s /usr/bin/qemu-x86_64 ../withqemu-bin/qemu-x86_64 |
| 473 | WQ=$(realpath ../withqemu-bin) |
| 474 | t0=$(date +%s.%N) |
| 475 | env 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" |
| 476 | t1=$(date +%s.%N); echo "seconds $(echo "$t1 - $t0" | bc)" |
| 477 | grep -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 |
| 478 | python3 -c " |
| 479 | import json; s=json.load(open('build/amd-kfd-launch/gate/summary.json')); print('summary checks',s['checks'],'failures',s['failures'],'qemu',s['qemu'])" |
| 480 | echo "=== D2: seed/omega-from-seed.sh in a local copy of the omega-mv clone, bounded by timeout 600 ===" |
| 481 | cd $D/S |
| 482 | git clone -q --no-hardlinks ../B/omega-mv omega-mv; echo "### rc=$? local clone" |
| 483 | git -C omega-mv checkout -q 2ee0a70d1830581b706f288e722f3329d51f3583; git -C omega-mv rev-parse HEAD |
| 484 | cd omega-mv |
| 485 | sha256sum seed/out/omc |
| 486 | mv seed/out/omc ../omc.checked-in; echo "### moved checked-in omc aside rc=$? (so a pass cannot come from the committed file)" |
| 487 | t0=$(date +%s.%N) |
| 488 | timeout 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)" |
| 489 | t1=$(date +%s.%N); echo "seconds $(echo "$t1 - $t0" | bc)" |
| 490 | tail -25 ../from-seed.log | cut -c1-200 |
| 491 | sha256sum 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" |
| 492 | git 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 |
| 498 | seconds 20.709560299 |
| 499 | 274 |
| 500 | 0 |
| 501 | AMD-KFD-LAUNCH CPU PASS {"binaries": {"a64": "2d6bfba83dcf836f879e318df9df2cc75bd46909f6173c7b3f7b7c36b9e89a47", "x86": "08a504911ec6e87a9746632a14d22245155597e3a8ed384c93c0e5260bb691e1"}, "checks": 274 |
| 502 | summary 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 |
| 505 | 2ee0a70d1830581b706f288e722f3329d51f3583 |
| 506 | 26540e6de62402d5784b30b24d7c6faae488137c1f8a4b3e784fd0b5d5528991 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) |
| 509 | seconds .892790089 |
| 510 | PASS seed0 408 bytes, rebuilds itself |
| 511 | PASS hex1 776 bytes, born from seed0 |
| 512 | PASS asm2 2464 bytes, born from hex1 |
| 513 | PASS om4 om4.bin 16200 bytes |
| 514 | PASS diagnostic source identity and generated strings |
| 515 | PASS omc fixpoint 26540e6de62402d5784b30b24d7c6faae488137c1f8a4b3e784fd0b5d5528991 |
| 516 | PASS generated compiler size record |
| 517 | SIZE_RECORD PASS cases=8 |
| 518 | PASS fwd exit 0 |
| 519 | PASS fwd runs, exit 7 |
| 520 | PASS mut exit 0 |
| 521 | PASS mut runs, exit 0 |
| 522 | PASS cycle exit 9 |
| 523 | PASS assign exit 7 |
| 524 | RC=0 |
| 525 | 26540e6de62402d5784b30b24d7c6faae488137c1f8a4b3e784fd0b5d5528991 seed/out/omc |
| 526 | 26540e6de62402d5784b30b24d7c6faae488137c1f8a4b3e784fd0b5d5528991 ../omc.checked-in |
| 527 | seed-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) ################ |
| 554 | PASS seed0 408 bytes, rebuilds itself |
| 555 | PASS hex1 776 bytes, born from seed0 |
| 556 | PASS asm2 2464 bytes, born from hex1 |
| 557 | PASS om4 om4.bin 16200 bytes |
| 558 | PASS diagnostic source identity and generated strings |
| 559 | PASS omc fixpoint 26540e6de62402d5784b30b24d7c6faae488137c1f8a4b3e784fd0b5d5528991 |
| 560 | PASS generated compiler size record |
| 561 | SIZE_RECORD PASS cases=8 |
| 562 | PASS fwd exit 0 |
| 563 | PASS fwd runs, exit 7 |
| 564 | PASS mut exit 0 |
| 565 | PASS mut runs, exit 0 |
| 566 | PASS cycle exit 9 |
| 567 | PASS assign exit 7 |
| 568 | RC=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. |
| 573 | D=/home/drakestapleton/work/hive/uxl-brief-20261113/PublicRebuild |
| 574 | cd $D && rm -rf S2 && mkdir S2 && cd S2 |
| 575 | git clone -q --no-hardlinks ../B/omega-mv omega-mv; echo "### rc=$? local clone" |
| 576 | git -C omega-mv checkout -q 2ee0a70d1830581b706f288e722f3329d51f3583; echo "### rc=$? checkout" |
| 577 | cd omega-mv |
| 578 | git rev-parse HEAD |
| 579 | echo "--- git status --short --untracked-files=all BEFORE ---"; git status --short --untracked-files=all; echo "### before: $(git status --short --untracked-files=all | wc -l) lines" |
| 580 | sha256sum seed/out/omc seed/out/omc.sha256 seed/omc/size-history.tsv |
| 581 | stat -c '%y %n' seed/out/omc |
| 582 | t0=$(date +%s.%N) |
| 583 | sh seed/omega-from-seed.sh > ../from-seed.log 2>&1; rc=$? |
| 584 | t1=$(date +%s.%N) |
| 585 | echo "### rc=$rc sh seed/omega-from-seed.sh"; echo "wall seconds $(echo "$t1 - $t0" | bc)" |
| 586 | cat ../from-seed.log |
| 587 | echo "--- git status --short --untracked-files=all AFTER ---"; git status --short --untracked-files=all; echo "### after: $(git status --short --untracked-files=all | wc -l) lines" |
| 588 | echo "--- git status --short --ignored AFTER (ignored build output) ---"; git status --short --ignored | head -5 |
| 589 | git diff --stat | tail -1; echo "### git diff rc=$(git diff --quiet; echo $?) (0 = no tracked content changed)" |
| 590 | sha256sum seed/out/omc seed/out/omc.sha256 seed/omc/size-history.tsv |
| 591 | stat -c '%y %n' seed/out/omc |
| 592 | du -sh build 2>/dev/null |
| 593 | |
| 594 | ---------------- output: runE-from-seed.log ---------------- |
| 595 | ### rc=0 local clone |
| 596 | ### rc=0 checkout |
| 597 | 2ee0a70d1830581b706f288e722f3329d51f3583 |
| 598 | --- git status --short --untracked-files=all BEFORE --- |
| 599 | ### before: 0 lines |
| 600 | 26540e6de62402d5784b30b24d7c6faae488137c1f8a4b3e784fd0b5d5528991 seed/out/omc |
| 601 | 0849fb227b8e30fb76415e53b3544edb667163a5cafc416f35c86ee91f075cae seed/out/omc.sha256 |
| 602 | c9396cad17540c666d21d5121dbbe93a34ebb57d4d0566e3aa822c354897de7f seed/omc/size-history.tsv |
| 603 | 2026-11-13 12:54:36.277974797 -0600 seed/out/omc |
| 604 | ### rc=0 sh seed/omega-from-seed.sh |
| 605 | wall seconds .827506231 |
| 606 | PASS seed0 408 bytes, rebuilds itself |
| 607 | PASS hex1 776 bytes, born from seed0 |
| 608 | PASS asm2 2464 bytes, born from hex1 |
| 609 | PASS om4 om4.bin 16200 bytes |
| 610 | PASS diagnostic source identity and generated strings |
| 611 | PASS omc fixpoint 26540e6de62402d5784b30b24d7c6faae488137c1f8a4b3e784fd0b5d5528991 |
| 612 | PASS generated compiler size record |
| 613 | SIZE_RECORD PASS cases=8 |
| 614 | PASS fwd exit 0 |
| 615 | PASS fwd runs, exit 7 |
| 616 | PASS mut exit 0 |
| 617 | PASS mut runs, exit 0 |
| 618 | PASS cycle exit 9 |
| 619 | PASS assign exit 7 |
| 620 | RC=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) |
| 626 | 26540e6de62402d5784b30b24d7c6faae488137c1f8a4b3e784fd0b5d5528991 seed/out/omc |
| 627 | 0849fb227b8e30fb76415e53b3544edb667163a5cafc416f35c86ee91f075cae seed/out/omc.sha256 |
| 628 | c9396cad17540c666d21d5121dbbe93a34ebb57d4d0566e3aa822c354897de7f seed/omc/size-history.tsv |
| 629 | 2026-11-13 12:54:37.694332697 -0600 seed/out/omc |
| 630 | 3.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 |