From df1075db1abc051c593b4252625fbacca9e02927 Mon Sep 17 00:00:00 2001 From: diviocity Date: Mon, 30 Nov 2026 22:18:43 +0100 Subject: [PATCH] Run the native compiler and release sidecar in one guest --- tests/toolchain/guest.sh | 5 +++++ tests/x11/README.md | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/tests/toolchain/guest.sh b/tests/toolchain/guest.sh index 0c5e363..a2c1b9d 100644 --- a/tests/toolchain/guest.sh +++ b/tests/toolchain/guest.sh @@ -20,4 +20,9 @@ cp /usr/share/vinix-toolchain-test/* /tmp/vinix-toolchain-test/ cd /tmp/vinix-toolchain-test phase=compile-and-run make -j1 check +if [ -n "${VINIX_TOOLCHAIN_NEXT_FIXTURE:-}" ]; then + echo 'Vinix toolchain compiled and ran all six fixtures' + trap - EXIT + exec /bin/sh "$VINIX_TOOLCHAIN_NEXT_FIXTURE" +fi echo 'VPAC FIXTURE GUEST PASS' diff --git a/tests/x11/README.md b/tests/x11/README.md index fd4f0e6..b1dbb3b 100644 --- a/tests/x11/README.md +++ b/tests/x11/README.md @@ -85,6 +85,8 @@ The tool audits both clients and checks the package versions, modes, link target For the published tarball smoke test, place the sidecar in a disposable copy of the desktop guest root at `/vinix-x11-sidecar.tar.gz` alongside the `egl.v` and `glx.v` probe executables. Prefix the `graphics.sh` fixture with `VINIX_X11_SIDECAR_SHA256` set to the archive's digest from the release manifest. Boot the matching release kernel with `tests/disk-root.py --desktop-init` and use `--space-for` with the full graphics root to reserve room for extraction. The guest verifies the archive, extracts it with packaged BusyBox, checks that `pkg` is unchanged and exercises the same EGL and GLX pixel reads. The worker verified extraction and the DRI hard link with both release BusyBox binaries on a small sidecar fixture. See `foundation/ports-sidecar-busybox-extract-proof-01`, receipt SHA-256 `2af23f5cf0fa836af61eeca8fef7bda77fbf9533a14c8de349d83b6c6fedd185`. +Run the native compiler checks in the same guest by placing the [toolchain Makefile and source fixtures](../toolchain/) in `/usr/share/vinix-toolchain-test`. Start `tests/toolchain/guest.sh` with `VINIX_TOOLCHAIN_NEXT_FIXTURE` set to the path of the prepared graphics fixture. The toolchain script prints its completion marker and runs the graphics fixture, which reports the final guest result and powers off. + Both architectures passed the desktop PID 1 and framebuffer checks from a disposable ext2 image. Those runs used the five checksum-pinned native programs from the November 28 release. The x86_64 chained fixture also ran its second script after registration and verified the larger disk size. A separate test published a signed feed with `--publish-only`, then installed musl and netbase into a clean root using the pinned public key. See `foundation/native-desktop-disk-path-01`, `foundation/native-desktop-chained-fixture-01` and `foundation/combined-publish-only-01`, receipt SHA-256 `86c564cb9415859d2411343f74b8ad8926418c16bedb4a612aab85db46137ccd`, `cb2d6c6afbdf2733676080f49792aa11b10907d1778d2bc3d01ae3317874a7e0` and `afde40678739b96cf16db58803ef87447ae4499a9e70f3425814a244e12d6883`. The complete desktop and X11 transaction still needs both graphics feeds. Set `VINIX_MESA_NATIVE_FILE` to a Meson native machine file whose `pkg_config_path` includes a build-host `wayland-scanner.pc`. The worker reused the source-built x86_64 Wayland scanner from an audited signed root. Meson found the native scanner through that file, found the target Wayland client in the SDK, and generated a protocol header. Mako and Intel CLC run in the build environment. See `xorg/mesa-host-tools-03/generator-check`, receipt SHA-256 `8df63367710d4ead9e968d30fe97eb3c63b45b4eba0f444447f5bf75b0cd4229`. @@ -97,6 +99,8 @@ AArch64 `mesa-glx-legacy` 24.0.9-1 built against 42 signed SDK packages and pass The x86_64 `mesa-glx-legacy` 24.0.9-1 build used 42 signed SDK packages and passed the ELF audit. Its archive SHA-256 is `ec9680fa3eba469240d09e2c28e37202806a6ebf0cf2c741b07b28bce5bb248f`. The source and archive coverage check verified 149 of 158 x86_64 outputs after adding it. See `release-inputs/upstream-7f173671/mesa-legacy-x86-release-coverage-01`, receipt SHA-256 `a38a2ae3baae879d675637bf0bbc3dfc323f2a6e711cb4fa186edad2105e4201`. A clean signed install audited 32 packages, 5,506 owned paths and 102 ELFs. The candidate kernel then booted the root, loaded `libGL` and the swrast DRI driver, and called the driver's extension entry point. See `xorg/legacy-loader-x86_64-01`, receipt SHA-256 `69c97c6a0c0b7ebe65cfc3b793022407d5abba04c6f287a5aaf3385af97e6abe`. +The x86_64 legacy loader's disk and clients are recoverable from `foundation/archived-legacy-x86-guest-and-https-client-01`, receipt SHA-256 `dbc33a29e29463d3897193c73d01b0d9c30874f4a88e9f3272e2df036ccc2faa`. Verify `archives.sha256` and extract from the worker state directory to recover the listed `restore-paths`. + The refreshed source plan includes the AArch64 GCC runtime release 2 and the split Mesa archives. The graphics dependency inventory found ready archives for 88 x86_64 and 71 AArch64 package names at their planned versions. AArch64 libxml2 had two different archives for 2.13.9-1. The graphics queue uses the archive already installed in the audited LLVM SDK, SHA-256 `b5cda4ef51da15ed533f54354aa54bdadf0b604fa3db5cfa1b903ed914206a5e`. See `xorg/mesa-dependency-pool-01` and `release-inputs/upstream-7f173671/order-02`, receipt SHA-256 `b5c322922dc200c50a7ac7d36fa9f07f5c09a699c1ca40dd7e13a6182bd01959` and `0432bbc6fff489421b88046086cd2de6f8cddc6242fd40605c2bbc70b2d0ff2b`. Restore the legacy loader guest's disk from `xorg/archived-legacy-loader-aarch64-01/root.ext2.zst` to the path in `restore-path`, then check the uncompressed digest in the original guest's `disk/receipts.sha256`. The archive receipt SHA-256 is `ed44315d6fa501daea41cb912b12921b4dc5ab3a2d0ceb8cfa4bc06810915195`. -- 2.56.1