@@ -63,18 +63,24 @@ 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 | Native 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 ` |
73+
74+ The configuration columns indicate which optional layers each guest supports;
75+ they do not represent every configuration and package combination being tested.
76+ The native package format is accepted by ` --install ` . Snap candidates are copied
77+ into the guest and installed by the ` openshell-snap ` provisioner; current Snap
78+ conformance coverage uses Ubuntu 24.04 with Docker Snap.
7379
7480The ` 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.
81+ local Snap lifecycle experiments. Add ` docker-snap ` after ` snapd ` to install
82+ the Docker ** Snap** and model the ` docker:docker-daemon ` interface used by the
83+ OpenShell Snap. This is separate from the host-package Docker configuration.
7884
7985` podman-rootless ` configures the explicit rootless Podman guest setup used by
8086OpenShell tests. It supports Fedora and Ubuntu 26.04 or later. Ubuntu adds the
@@ -242,27 +248,26 @@ nix run .#test-guest -- \
242248 -- openshell --version
243249```
244250
245- ## Reproduce Snap gateway startup
251+ ## Verify Snap gateway status
246252
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.
253+ The candidate Snap must be native to the guest architecture. The ` openshell-snap `
254+ provisioner installs it, connects the Docker/log/system interfaces, registers the
255+ local gateway, and waits for ` openshell status ` , matching the Release Canary
256+ validation flow.
252257
253258``` shell
254259nix run .# test-guest -- \
255260 --distro ubuntu-24-04 \
256261 --with snapd \
262+ --with docker-snap \
257263 --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
264+ --copy ./openshell_* .snap:/var/lib/openshell-conformance/candidate /openshell.snap \
265+ --provision openshell- snap \
266+ -- true
261267```
262268
263269` --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.
270+ runner prints their location after shutdown.
266271
267272
268273The destination must be an absolute guest path. Copied files are installed with mode ` 0755 ` .
@@ -271,7 +276,8 @@ The destination must be an absolute guest path. Copied files are installed with
271276
272277``` text
273278--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
279+ --with NAME Apply docker, docker-snap, podman-rootless, selinux, or snapd; repeatable
280+ --provision NAME Apply a post-artifact system provisioner; repeatable
275281--install PATH Install a .deb or .rpm package; repeatable
276282--copy SRC:DEST Copy a regular file into the guest, preserving its host mode;
277283 repeatable
0 commit comments