From 1a0d858a3557477b0d4d79f573b43c778b04b477 Mon Sep 17 00:00:00 2001 From: diviocity Date: Tue, 1 Dec 2026 04:29:48 +0100 Subject: [PATCH] Bound GLX fixture probes and record the clean signed roots --- tests/x11/README.md | 2 ++ tests/x11/graphics.sh | 10 ++++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/tests/x11/README.md b/tests/x11/README.md index ccd03f9..dd85cb2 100644 --- a/tests/x11/README.md +++ b/tests/x11/README.md @@ -118,6 +118,8 @@ An in-place update from the first test feed installed all six signed packages. I The 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`. +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`. + Use 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. ```sh diff --git a/tests/x11/graphics.sh b/tests/x11/graphics.sh index dd18bca..ae031f2 100644 --- a/tests/x11/graphics.sh +++ b/tests/x11/graphics.sh @@ -9,6 +9,7 @@ finish() { if [ "$status" -ne 0 ]; then echo "Vinix graphics fixture failed at $phase" if [ -f /tmp/xvfb-glx.log ]; then cat /tmp/xvfb-glx.log; fi + if [ -f /tmp/xset-glx.log ]; then cat /tmp/xset-glx.log; fi fi if [ -n "$server" ]; then kill "$server" 2>/dev/null || true; fi if [ "$(id -u)" = 0 ]; then /sbin/poweroff -f; fi @@ -46,15 +47,16 @@ fi phase=egl LIBGL_DRIVERS_PATH=/usr/lib/mesa24/dri /vinix-egl-check -phase=glx-server +phase=glx-authorization export LIBGL_DRIVERS_PATH=/usr/lib/xorg/modules/dri mkdir -p /tmp -xauth -q -f "$XAUTHORITY" add "$DISPLAY" MIT-MAGIC-COOKIE-1 0123456789abcdef0123456789abcdef +timeout -k 5 60 xauth -q -f "$XAUTHORITY" add "$DISPLAY" MIT-MAGIC-COOKIE-1 0123456789abcdef0123456789abcdef +phase=glx-readiness Xvfb-glx "$DISPLAY" -auth "$XAUTHORITY" -nolisten tcp -noreset -screen 0 128x128x24 \ +extension GLX +iglx >/tmp/xvfb-glx.log 2>&1 & server=$! attempt=0 -until xset q >/tmp/xset-glx.log 2>&1; do +until timeout -k 5 15 xset q >/tmp/xset-glx.log 2>&1; do kill -0 "$server" attempt=$((attempt + 1)) [ "$attempt" -lt 30 ] @@ -62,5 +64,5 @@ until xset q >/tmp/xset-glx.log 2>&1; do done phase=glx-client -LIBGL_ALWAYS_INDIRECT=1 /vinix-glx-check +LIBGL_ALWAYS_INDIRECT=1 timeout -k 5 120 /vinix-glx-check echo 'VPAC FIXTURE GUEST PASS' -- 2.56.1