From 86e9028178aac918d497e749a616ef2c70cb73ec Mon Sep 17 00:00:00 2001 From: diviocity Date: Mon, 30 Nov 2026 22:14:39 +0100 Subject: [PATCH] Record AArch64 HTTPS upgrade and archived SDK fixtures --- BOOTSTRAP.md | 2 ++ tests/FEED.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/BOOTSTRAP.md b/BOOTSTRAP.md index 6f2161b..36e1d7d 100644 --- a/BOOTSTRAP.md +++ b/BOOTSTRAP.md @@ -203,6 +203,8 @@ Earlier graphics, toolchain and desktop test media are in `foundation/archived-c Earlier package-manager and userland boot media use the same recovery procedure. See `foundation/archived-completed-pkg-userland-boot-01`, receipt SHA-256 `e427dc2a5280cf86c040d6f3db90188696019a69a2df1c0bd7f0eabf1f71030a`. +The archive in `foundation/archived-completed-clients-01` preserves completed SDK clients, fixture sources and the AArch64 combined-runtime test media. It saved about 500 MiB on the worker. Use its `restore-paths` and verify `archives.sha256` before extraction. Receipt SHA-256 `a4a341b222b22fb9b07ddca848fe7406e9534d8fef92eccdec337a32324dc035`. + `foundation/archived-gcc-deltas-01` and `foundation/archived-vpac-disk-deltas-01` preserve older compressed archives as Zstandard deltas against closely matching archives on the same worker. Each TSV records the original pathname and hash, the reference and its hash, and the original mode and modification time. Recreate the original compressed archive with `zstd -d -M1024MB --patch-from="$reference" "$delta" -o "$original"`, verify its SHA-256, and restore its recorded metadata before running the original evidence checker. The receipt SHA-256 values are `c1890c05479bfa0ab51d5ffdb9a9de421b2d0835923cbfc3d7a51a070ab960cf` and `274775396dd874acb4a82d12058680d267eff837c1318ab3f82079e84ceab1f2`. An eight-package x86_64 guest tested the BusyBox wget applet and its separately packaged TLS helper. It rejected an unknown certificate, retrieved the expected bytes after installing the local CA, and rejected the same certificate for a different hostname. The guest fixture is `tests/userland/wget.sh`. The worker keeps the install, audit and serial hashes in `foundation/wget-guest-x86_64-01/receipts.sha256`, SHA-256 `5872d1467ee2594b9305bed5fa1ceb084c8c3fde4ebccb0539db25d02b3849f9`. diff --git a/tests/FEED.md b/tests/FEED.md index 8fde54f..daad745 100644 --- a/tests/FEED.md +++ b/tests/FEED.md @@ -227,6 +227,8 @@ Run `vpac-guest.py` with `--scenario upgrade --package-command pkg` to exercise Add `--upgrade-https` to serve the signed update on guest loopback TLS and switch the disposable guest's vpac repository URL to that endpoint. The fixture uses the packaged curl and OpenSSL, and the upgrade checks vpac's signature validation record with the normal package and database signature requirements enabled. With `--signed-update "$previous_update_feed"`, the runner compares the existing signed package against the build receipt before staging it and its indexes. The first x86_64 HTTPS run installed the signed update on the candidate kernel. Its test disk and roots can be restored using `replay.sha256` and `restore-paths` in `foundation/ports-candidate-https-upgrades-02/amd64`, archive evidence SHA-256 `a9835ee287eaca1832782f70d46c4a59438751230a7955178b1bd41cfde7679f`. +The AArch64 candidate kernel passed the same signed upgrade over HTTPS with the fixture CA installed by subject hash. The peer certificate trust was separate from the CA package being upgraded. See `foundation/ports-candidate-https-upgrades-03/arm64`, archive evidence SHA-256 `9009c349e3ebf106d1adf3e15303ac36274a6ec2a65fee8e3a663c96eda63480`. + The original ext2 files from `vinix-pkg-guest-01`, `vinix-pkg-upgrade-01` and `vpac-transaction-08` are compressed in `foundation/archived-pkg-fixture-disks-01`. Its `restore.tsv` gives their original paths, uncompressed checksums, modes and timestamps. Restore each needed file with `zstd -d --sparse` before rerunning its disk receipt checks. Each expanded archive matched the original checksum before relocation. The archive receipt manifest has SHA-256 `c5b49fbb69cddfe2fcb3828cd1b7316d48b4f1ef90a155fa369f2ba63a32bbf9`. To exercise the original release binaries against the installed libraries on a worker of the same architecture, run `python3 tests/exec-linkage.py "$arch" "$client" "$auditor" --proot "$proot" --release "$archive" "$sha256" "$report"`. The probe binds one original executable over its guest path and runs the installed musl loader with `--list`. A negative control changed a library import in the original input and verified that the installed loader diagnosed the changed SONAME. In the 129-package x86_64 root, 52 of 95 dynamic image executables relocated, 27 reported failures and 16 fixed-address executables needed direct execution. Twelve of 17 X11 sidecar executables relocated. See `foundation/release-binary-relocation-02`, receipt SHA-256 `8483666ef4294f1ac5d44c1eb637a8f5200be4e613e635d835ef4f86e7ffa37b`. Directly starting the release `cpp` and `cc1` in that root expanded `__SIZEOF_POINTER__` to 8. See `foundation/release-original-exec-02`, receipt SHA-256 `b9f1659e4669df9f3d4aeddea37fd9b85abc40f9d55045fff1fc7096f091a209`. -- 2.56.1