me

/

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

Stream package migration progress to guest serial

diviocity committed 4 days ago · c098c2d02bf81f433d5a80f7da5f09b3073a48ae View patch
Unverified signature 2 files changed +7 -6
tests/x11/README.md +2 -0

@@ -128,6 +128,8 @@ The AMD64 sidecar and signed migration fixtures keep their original backing disk

128128

129129The AMD64 SATA sidecar fixture passed all six compiler checks and verified the sidecar checksum. After 5,314 seconds, its ext2 snapshot showed 5,620 more inodes than the original backing disk. QEMU reached the 5,400-second deadline during extraction. The NVMe replay verified the same backing disk's checksum and ext2 format, then booted the same volume identity. The SATA timeout evidence is in `foundation/release-mode-migration-sata-sidecar-progress-01`, receipt SHA-256 `513b0c8848a62857d0c04a3df5f12b716b8f27a0c355a8b0704006dc114921ee`.

130130

131+The migration fixture streams the package transaction to serial and keeps a copy for its hook-error check. The worker ran the fixture's logging block with the signed BusyBox shell and tee applet for each target. It observed both output streams before releasing a held package command, verified that tee preserved a failed package command's exit status, and checked that a reported hook failure stopped the fixture. See `foundation/release-mode-migration-stream-fixture-01`, receipt SHA-256 `c5aecd55f7659f68abf295bad3c8a7b86920fc2d884321e344d422433f33faf5`.

132+

131133Use 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.

132134

133135```sh

tests/x11/public-mode-upgrade.sh +5 -6

@@ -8,12 +8,11 @@ test "$(id -u)" = 0

8test "$(vpac o --quiet /usr/bin/pkg)" = vinix-pkg

19test "$(stat -c '%a' /usr/include/libiberty)" = 700

210

3-pkg upgrade >/tmp/public-mode-upgrade.log 2>&1 || {

4- cat /tmp/public-mode-upgrade.log

5- exit 1

6-}

7-cat /tmp/public-mode-upgrade.log

8-if grep -E '^error:|failed to run .*hook|scriptlet failed' /tmp/public-mode-upgrade.log; then

11+log=/tmp/public-mode-upgrade.log

12+set -o pipefail

13+pkg upgrade 2>&1 | tee "$log"

14+set +o pipefail

15+if grep -E '^error:|failed to run .*hook|scriptlet failed' "$log"; then

916 exit 1

1017fi

1118