@@ -63,18 +63,18 @@ The root [`flake.nix`](../../flake.nix) exposes this directory as the `test-gues
6363
6464## Supported configurations
6565
66- | Distro | Docker | Rootless Podman | SELinux | Package format |
67- | --- | --- | --- | --- | --- |
68- | Ubuntu 24.04 | Yes | No | No | ` .deb ` |
69- | Ubuntu 26.04 | Yes | Yes | No | ` .deb ` |
70- | CentOS Stream 10 | No | No | Yes | ` .rpm ` |
71- | Fedora 44 | No | Yes | Yes | ` .rpm ` |
72- | Rocky Linux 9 | Yes | No | Yes | ` .rpm ` |
66+ | Distro | Docker package | Docker Snap | Rootless Podman | SELinux | Package format |
67+ | --- | --- | --- | --- | --- | --- |
68+ | Ubuntu 24.04 | Yes | Yes | No | No | ` .deb ` |
69+ | Ubuntu 26.04 | Yes | Yes | Yes | No | ` .deb ` |
70+ | CentOS Stream 10 | No | No | No | Yes | ` .rpm ` |
71+ | Fedora 44 | No | No | Yes | Yes | ` .rpm ` |
72+ | Rocky Linux 9 | Yes | No | No | Yes | ` .rpm ` |
7373
7474The ` snapd ` configuration is available for Ubuntu and prepares snapd for
75- local Snap lifecycle experiments. It does not install Docker, because the Snap
76- gateway reproduction uses the Docker ** Snap** and its ` docker:docker-daemon `
77- interface rather than the host-package Docker configuration.
75+ local Snap lifecycle experiments. Add ` docker-snap ` after ` snapd ` to install
76+ the Docker ** Snap** and model the ` docker:docker-daemon ` interface used by the
77+ OpenShell Snap. This is separate from the host-package Docker configuration.
7878
7979` podman-rootless ` configures the explicit rootless Podman guest setup used by
8080OpenShell tests. It supports Fedora and Ubuntu 26.04 or later. Ubuntu adds the
@@ -242,27 +242,26 @@ nix run .#test-guest -- \
242242 -- openshell --version
243243```
244244
245- ## Reproduce Snap gateway startup
245+ ## Verify Snap gateway status
246246
247- The gateway Snap must be native to the guest architecture. Copy an existing
248- Snap artifact and the reproduction script into a prepared Ubuntu guest, then
249- run the script as root. It follows the Release Canary ordering exactly: install
250- the Snap, connect Docker/log/system interfaces, and immediately query the
251- gateway. On each failure it prints snapd and gateway journals.
247+ The candidate Snap must be native to the guest architecture. The ` openshell-snap `
248+ provisioner installs it, connects the Docker/log/system interfaces, registers the
249+ local gateway, and waits for ` openshell status ` , matching the Release Canary
250+ validation flow.
252251
253252``` shell
254253nix run .# test-guest -- \
255254 --distro ubuntu-24-04 \
256255 --with snapd \
256+ --with docker-snap \
257257 --keep \
258- --copy ./openshell_* .snap:/tmp /openshell.snap \
259- --copy ./nix/test-guest/scripts/ snap-gateway-repro.sh:/usr/local/bin/snap-gateway-repro \
260- -- sudo /usr/local/bin/snap-gateway-repro /tmp/openshell.snap 10 30
258+ --copy ./openshell_* .snap:/var/lib/openshell-conformance/candidate /openshell.snap \
259+ --provision openshell- snap \
260+ -- true
261261```
262262
263263` --keep ` retains the overlay and serial log when diagnosing a failure. The
264- runner prints their location after shutdown. The final ` 30 ` accepts automatic
265- recovery for up to 30 seconds; omit it to require the canary's immediate check.
264+ runner prints their location after shutdown.
266265
267266
268267The destination must be an absolute guest path. Copied files are installed with mode ` 0755 ` .
@@ -271,7 +270,8 @@ The destination must be an absolute guest path. Copied files are installed with
271270
272271``` text
273272--distro NAME Base distro: ubuntu-24-04, ubuntu-26-04, centos, fedora, or rocky
274- --with NAME Apply docker, podman-rootless, selinux, or snapd; repeatable
273+ --with NAME Apply docker, docker-snap, podman-rootless, selinux, or snapd; repeatable
274+ --provision NAME Apply a post-artifact system provisioner; repeatable
275275--install PATH Install a .deb or .rpm package; repeatable
276276--copy SRC:DEST Copy a regular file into the guest, preserving its host mode;
277277 repeatable
0 commit comments