me

/

vinix-ports Public
382 commits 0 issues 0 pull requests 1 contributor Discussions Projects Snippets LOC history Platform CI

Bound GLX fixture probes and record the clean signed roots

diviocity committed 4 days ago · 1a0d858a3557477b0d4d79f573b43c778b04b477 View patch
Unverified signature 2 files changed +8 -4
tests/x11/README.md +2 -0

@@ -118,6 +118,8 @@ An in-place update from the first test feed installed all six signed packages. I

118118

119119The refreshed feed adds `vinix-pkg` 1.0.0-2 on both architectures. On x86_64, `tests/public-mode-upgrade.py` installed the seven signed updates onto a disposable copy of the original 138-package desktop-plus-X11 client. libalpm ran the hook, and the audit reported zero inaccessible paths in `/usr` and `/etc/X11`, down from 138. See `foundation/release-mode-migration-feed-01` and `foundation/release-mode-migration-host-01`, receipt SHA-256 `c8f6aa4041a25457f6fe433204df66c5c5adc0904599c7a5ed62ae15d62ffd2a` and `da93252dbc9f1ecfd8ee587bb5fa9ba3fee77827c1f3fe819743c34d94423a45`.

120120

121+The refreshed feed passed clean installs of the desktop profile on both architectures, with 70 packages on x86_64 and 69 on AArch64. Each desktop-plus-X11 install validated 138 signed packages and indexed 335 bitmap fonts. The ownership and target ELF audit matched before and after the worker copied each verified client from scratch storage. See `foundation/release-mode-migration-cold-roots-01`, receipt SHA-256 `e0fc295d07a72cbb59117679f26f975477ad9e97ca9397f29085fc7daffc58f5`.

122+

121123Use the same signed feed for the downloadable X11 sidecar. Cold-install `vinix-release-desktop` into one client. Into a second client, cold-install both `vinix-release-desktop` and `vinix-release-x11` with the target font hooks enabled.

122124

123125```sh

tests/x11/graphics.sh +6 -4

@@ -9,6 +9,7 @@ finish() {

99 if [ "$status" -ne 0 ]; then

1010 echo "Vinix graphics fixture failed at $phase"

1111 if [ -f /tmp/xvfb-glx.log ]; then cat /tmp/xvfb-glx.log; fi

12+ if [ -f /tmp/xset-glx.log ]; then cat /tmp/xset-glx.log; fi

1213 fi

1314 if [ -n "$server" ]; then kill "$server" 2>/dev/null || true; fi

1415 if [ "$(id -u)" = 0 ]; then /sbin/poweroff -f; fi

@@ -46,15 +47,16 @@ fi

4647phase=egl

4748LIBGL_DRIVERS_PATH=/usr/lib/mesa24/dri /vinix-egl-check

4849

49-phase=glx-server

50+phase=glx-authorization

5051export LIBGL_DRIVERS_PATH=/usr/lib/xorg/modules/dri

5152mkdir -p /tmp

52-xauth -q -f "$XAUTHORITY" add "$DISPLAY" MIT-MAGIC-COOKIE-1 0123456789abcdef0123456789abcdef

53+timeout -k 5 60 xauth -q -f "$XAUTHORITY" add "$DISPLAY" MIT-MAGIC-COOKIE-1 0123456789abcdef0123456789abcdef

54+phase=glx-readiness

5355Xvfb-glx "$DISPLAY" -auth "$XAUTHORITY" -nolisten tcp -noreset -screen 0 128x128x24 \

5456 +extension GLX +iglx >/tmp/xvfb-glx.log 2>&1 &

5557server=$!

5658attempt=0

57-until xset q >/tmp/xset-glx.log 2>&1; do

59+until timeout -k 5 15 xset q >/tmp/xset-glx.log 2>&1; do

5860 kill -0 "$server"

5961 attempt=$((attempt + 1))

6062 [ "$attempt" -lt 30 ]

@@ -62,5 +64,5 @@ until xset q >/tmp/xset-glx.log 2>&1; do

6264done

6365

6466phase=glx-client

65-LIBGL_ALWAYS_INDIRECT=1 /vinix-glx-check

67+LIBGL_ALWAYS_INDIRECT=1 timeout -k 5 120 /vinix-glx-check

6668echo 'VPAC FIXTURE GUEST PASS'